*/
use Friendica\App;
use Friendica\Content\Nav;
+use Friendica\Core\L10n;
use Friendica\Database\DBM;
use Friendica\Model\Profile;
function notes_content(App $a, $update = false) {
if (! local_user()) {
- notice( t('Permission denied.') . EOL);
+ notice(L10n::t('Permission denied.') . EOL);
return;
}