From: abjectio Date: Wed, 10 Jun 2015 20:10:14 +0000 (+0200) Subject: Bug in use of gettext/locale string X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ea076a8783048f4297238081858e0425a075944f;p=quix0rs-gnu-social.git Bug in use of gettext/locale string --- diff --git a/plugins/ChooseTheme/actions/choosethemesettings.php b/plugins/ChooseTheme/actions/choosethemesettings.php index e284d8d231..97ef7229c9 100644 --- a/plugins/ChooseTheme/actions/choosethemesettings.php +++ b/plugins/ChooseTheme/actions/choosethemesettings.php @@ -80,7 +80,7 @@ class ChooseThemeSettingsAction extends SettingsAction { $chosen_theme = $available_themes[(int)$this->arg('dwct','0')]; $this->success = true; - $this->msg = _('Settings saved.'); + $this->msg = _m('Settings saved.'); $this->success = $this->scoped->setPref('chosen_theme', 'theme', $chosen_theme); // TRANS: Confirmation shown when user profile settings are saved. @@ -131,7 +131,7 @@ class ChooseThemeForm extends Form { $this->elementStart('fieldset'); $this->elementStart('ul', 'form_data'); $this->elementStart('li'); - $this->dropdown('dwct','Themes',$available_themes,'Select a theme',false, $this->prefs); + $this->dropdown('dwct',_m('Themes'),$available_themes,_m('Select a theme'),false, $this->prefs); $this->elementEnd('li'); $this->elementEnd('ul'); $this->elementEnd('fieldset');