$contact_details = Contact::getDetailsByURL($rr['url'], local_user(), $rr);
$contacts[] = [
- 'img_hover' => t('Visit %s\'s profile [%s]', $contact_details['name'], $rr['url']),
- 'edit_hover' => t('Edit contact'),
+ 'img_hover' => L10n::t('Visit %s\'s profile [%s]', $contact_details['name'], $rr['url']),
+ 'edit_hover' => L10n::t('Edit contact'),
'photo_menu' => Contact::photoMenu($rr),
'id' => $rr['id'],
'thumb' => proxy_url($contact_details['thumb'], false, PROXY_SIZE_THUMB),
$o = replace_macros(
$tpl,
[
- '$header' => t('Contacts who are not members of a group'),
+ '$header' => L10n::t('Contacts who are not members of a group'),
'$contacts' => $contacts,
'$paginate' => paginate($a)]
);