]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Many t() calls
[friendica.git] / mod / videos.php
index 239d86168cf657f63359ade713cef74a8fbefc8d..3287e091fe2114a13060e664f3453493f6367306 100644 (file)
@@ -5,6 +5,7 @@
 use Friendica\App;
 use Friendica\Content\Nav;
 use Friendica\Core\Config;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Core\Worker;
 use Friendica\Database\DBM;
@@ -207,7 +208,7 @@ function videos_content(App $a) {
 
 
        if((Config::get('system','block_public')) && (! local_user()) && (! remote_user())) {
-               notice( t('Public access denied.') . EOL);
+               notice(L10n::t('Public access denied.') . EOL);
                return;
        }
 
@@ -217,7 +218,7 @@ function videos_content(App $a) {
        require_once('include/conversation.php');
 
        if(! x($a->data,'user')) {
-               notice( t('No videos selected') . EOL );
+               notice(L10n::t('No videos selected') . EOL );
                return;
        }
 
@@ -319,7 +320,7 @@ function videos_content(App $a) {
        }
 
        if($a->data['user']['hidewall'] && (local_user() != $owner_uid) && (! $remote_contact)) {
-               notice( t('Access to this item is restricted.') . EOL);
+               notice(L10n::t('Access to this item is restricted.') . EOL);
                return;
        }