Many t() calls

modify many t() calls.
This commit is contained in:
Adam Magness
2018-01-21 13:33:59 -05:00
parent 45f8000ba5
commit d49f986d1e
74 changed files with 1099 additions and 1009 deletions

View File

@@ -1,12 +1,15 @@
<?php
/**
* @file mod/viewsrc.php
*/
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Database\DBM;
function viewsrc_content(App $a) {
if (! local_user()) {
notice( t('Access denied.') . EOL);
notice(L10n::t('Access denied.') . EOL);
return;
}
@@ -14,7 +17,7 @@ function viewsrc_content(App $a) {
if(! $item_id) {
$a->error = 404;
notice( t('Item not found.') . EOL);
notice(L10n::t('Item not found.') . EOL);
return;
}