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 .= "