]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bug in use of gettext/locale string
authorabjectio <abjectio@kollektivet0x242.no>
Wed, 10 Jun 2015 20:10:14 +0000 (22:10 +0200)
committerabjectio <abjectio@kollektivet0x242.no>
Wed, 10 Jun 2015 20:10:14 +0000 (22:10 +0200)
plugins/ChooseTheme/actions/choosethemesettings.php

index e284d8d231791c7c5db07f443e4933b1096b642d..97ef7229c920a3d7b1866d8ef4afa38e606994b4 100644 (file)
@@ -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');