X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=group_text%2Fgroup_text.php;h=4c0cb14a9a3aeb211ae2626fbecedcb14323f9f9;hb=cdf5a5db8b832879337fed4cb033a7864c961598;hp=d5163e7397006d22108e322be6d27f0e9e442bb5;hpb=c71f7b0e1a7bb5ca88347b295dd3a4cc3106c5a9;p=friendica-addons.git diff --git a/group_text/group_text.php b/group_text/group_text.php index d5163e73..4c0cb14a 100644 --- a/group_text/group_text.php +++ b/group_text/group_text.php @@ -6,6 +6,7 @@ * Author: Thomas Willingham */ use Friendica\Core\Addon; +use Friendica\Core\L10n; use Friendica\Core\PConfig; function group_text_install() { @@ -42,7 +43,7 @@ function group_text_settings_post($a,$post) { return; PConfig::set(local_user(),'system','groupedit_image_limit',intval($_POST['group_text'])); - info( t('Group Text settings updated.') . EOL); + info(L10n::t('Group Text settings updated.') . EOL); } @@ -72,14 +73,14 @@ function group_text_settings(&$a,&$s) { /* Add some HTML to the existing form */ $s .= '
'; - $s .= '

' . t('Group Text') . '

'; + $s .= '

' . L10n::t('Group Text') . '

'; $s .= '
'; - $s .= ''; + $s .= ''; $s .= ''; $s .= '
'; /* provide a submit button */ - $s .= '
'; + $s .= '
'; }