1
0
Fork 0

Many t() calls

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

View file

@ -17,6 +17,7 @@
use Friendica\App;
use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\L10n;
use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBM;
@ -111,7 +112,7 @@ function item_post(App $a) {
}
if (!DBM::is_result($parent_item)) {
notice(t('Unable to locate original post.') . EOL);
notice(L10n::t('Unable to locate original post.') . EOL);
if (x($_REQUEST, 'return')) {
goaway($return_path);
}
@ -157,7 +158,7 @@ function item_post(App $a) {
// Now check that valid personal details have been provided
if (!can_write_wall($profile_uid) && !$allow_comment) {
notice(t('Permission denied.') . EOL) ;
notice(L10n::t('Permission denied.') . EOL) ;
if (x($_REQUEST, 'return')) {
goaway($return_path);
}