[icinga-checkins] icinga.org: icingaweb2/feature/localization-form-6073: Use 'Preferences' instead of 'General Settings'

git at icinga.org git at icinga.org
Thu Nov 13 18:08:52 CET 2014


Module: icingaweb2
Branch: feature/localization-form-6073
Commit: cc161764ff7663c2ae8f31d2719539b0a65ce403
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=cc161764ff7663c2ae8f31d2719539b0a65ce403

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Thu Nov 13 18:08:30 2014 +0100

Use 'Preferences' instead of 'General Settings'

refs #6073

---

 application/controllers/PreferenceController.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/application/controllers/PreferenceController.php b/application/controllers/PreferenceController.php
index c70e68e..442c27b 100644
--- a/application/controllers/PreferenceController.php
+++ b/application/controllers/PreferenceController.php
@@ -25,9 +25,9 @@ class PreferenceController extends BasePreferenceController
     public static function createProvidedTabs()
     {
         return array(
-            'general' => new Tab(
+            'preferences' => new Tab(
                 array(
-                    'title'     => t('General settings'),
+                    'title'     => t('Preferences'),
                     'url'       => Url::fromPath('/preference')
                 )
             )
@@ -51,6 +51,6 @@ class PreferenceController extends BasePreferenceController
         $form->handleRequest();
 
         $this->view->form = $form;
-        $this->getTabs()->activate('general');
+        $this->getTabs()->activate('preferences');
     }
 }



More information about the icinga-checkins mailing list