From: Adam Magness Date: Mon, 22 Jan 2018 14:54:13 +0000 (-0500) Subject: Finish t() for src X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=07d306aa3736aa8a0b46109b15a6c637919c33b1;p=friendica.git Finish t() for src Update t() calls in src folder --- diff --git a/src/App.php b/src/App.php index 2a134a9c17..7c87130b35 100644 --- a/src/App.php +++ b/src/App.php @@ -1,9 +1,12 @@ $this->get_baseurl(), '$local_user' => local_user(), '$generator' => 'Friendica' . ' ' . FRIENDICA_VERSION, - '$delitem' => t('Delete this item?'), - '$showmore' => t('show more'), - '$showfewer' => t('show fewer'), + '$delitem' => L10n::t('Delete this item?'), + '$showmore' => L10n::t('show more'), + '$showfewer' => L10n::t('show fewer'), '$update_interval' => $interval, '$shortcut_icon' => $shortcut_icon, '$touch_icon' => $touch_icon, diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index fcaafb898c..b5122da808 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -5,6 +5,7 @@ namespace Friendica\Content; use Friendica\Core\Addon; +use Friendica\Core\L10n; use Friendica\Database\DBM; use Friendica\Protocol\Diaspora; use dba; @@ -51,12 +52,12 @@ class ContactSelector $o .= "