]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Many t() calls
[friendica.git] / mod / notes.php
index c02f0a759e298e2dd37cf5cb3808d4449a4e408a..b4cbadecf7aec32739ef228911cfc7adbe740660 100644 (file)
@@ -4,6 +4,7 @@
  */
 use Friendica\App;
 use Friendica\Content\Nav;
+use Friendica\Core\L10n;
 use Friendica\Database\DBM;
 use Friendica\Model\Profile;
 
@@ -27,7 +28,7 @@ function notes_init(App $a) {
 function notes_content(App $a, $update = false) {
 
        if (! local_user()) {
-               notice( t('Permission denied.') . EOL);
+               notice(L10n::t('Permission denied.') . EOL);
                return;
        }