use Friendica\App;
use Friendica\Content\ContactSelector;
use Friendica\Content\Nav;
+use Friendica\Core\L10n;
use Friendica\Core\NotificationsManager;
use Friendica\Core\System;
use Friendica\Database\DBM;
$contact_id = $r[0]['contact-id'];
}
else {
- notice( t('Invalid request identifier.') . EOL);
+ notice(L10n::t('Invalid request identifier.') . EOL);
return;
}
function notifications_content(App $a) {
if (! local_user()) {
- notice( t('Permission denied.') . EOL);
+ notice(L10n::t('Permission denied.') . EOL);
return;
}
}
if($notifs['total'] == 0)
- info( t('No introductions.') . EOL);
+ info(L10n::t('No introductions.') . EOL);
// Normal notifications (no introductions)
} else {