diff options
author | sgiehl <stefan@piwik.org> | 2013-09-15 14:22:09 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2013-09-15 14:22:09 +0400 |
commit | e7e634f8bb00eed17f9cedc1fc64baf8cbda4543 (patch) | |
tree | b4b86421810b719a79279e5eaab717659f14b3f6 /plugins/CoreHome | |
parent | f3e516a3ac4902322c4e2c909be69f1633a82003 (diff) |
translations cleanup: removed a couple of duplicate keys
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r-- | plugins/CoreHome/CoreHome.php | 24 | ||||
-rw-r--r-- | plugins/CoreHome/javascripts/calendar.js | 24 | ||||
-rw-r--r-- | plugins/CoreHome/templates/_topBarHelloMenu.twig | 2 |
3 files changed, 25 insertions, 25 deletions
diff --git a/plugins/CoreHome/CoreHome.php b/plugins/CoreHome/CoreHome.php index 9e80cf47d5..b7dfca0796 100644 --- a/plugins/CoreHome/CoreHome.php +++ b/plugins/CoreHome/CoreHome.php @@ -115,18 +115,6 @@ class CoreHome extends \Piwik\Plugin $translationKeys[] = 'Annotations_HideAnnotationsFor'; $translationKeys[] = 'General_LoadingPopover'; $translationKeys[] = 'General_LoadingPopoverFor'; - $translationKeys[] = 'General_MonthJanuary'; - $translationKeys[] = 'General_MonthFebruary'; - $translationKeys[] = 'General_MonthMarch'; - $translationKeys[] = 'General_MonthApril'; - $translationKeys[] = 'General_MonthMay'; - $translationKeys[] = 'General_MonthJune'; - $translationKeys[] = 'General_MonthJuly'; - $translationKeys[] = 'General_MonthAugust'; - $translationKeys[] = 'General_MonthSeptember'; - $translationKeys[] = 'General_MonthOctober'; - $translationKeys[] = 'General_MonthNovember'; - $translationKeys[] = 'General_MonthDecember'; $translationKeys[] = 'General_ShortMonth_1'; $translationKeys[] = 'General_ShortMonth_2'; $translationKeys[] = 'General_ShortMonth_3'; @@ -139,6 +127,18 @@ class CoreHome extends \Piwik\Plugin $translationKeys[] = 'General_ShortMonth_10'; $translationKeys[] = 'General_ShortMonth_11'; $translationKeys[] = 'General_ShortMonth_12'; + $translationKeys[] = 'General_LongMonth_1'; + $translationKeys[] = 'General_LongMonth_2'; + $translationKeys[] = 'General_LongMonth_3'; + $translationKeys[] = 'General_LongMonth_4'; + $translationKeys[] = 'General_LongMonth_5'; + $translationKeys[] = 'General_LongMonth_6'; + $translationKeys[] = 'General_LongMonth_7'; + $translationKeys[] = 'General_LongMonth_8'; + $translationKeys[] = 'General_LongMonth_9'; + $translationKeys[] = 'General_LongMonth_10'; + $translationKeys[] = 'General_LongMonth_11'; + $translationKeys[] = 'General_LongMonth_12'; $translationKeys[] = 'General_ShortDay_1'; $translationKeys[] = 'General_ShortDay_2'; $translationKeys[] = 'General_ShortDay_3'; diff --git a/plugins/CoreHome/javascripts/calendar.js b/plugins/CoreHome/javascripts/calendar.js index a7b7aca6e0..42850f1969 100644 --- a/plugins/CoreHome/javascripts/calendar.js +++ b/plugins/CoreHome/javascripts/calendar.js @@ -164,18 +164,18 @@ _pk_translate('General_ShortMonth_11'), _pk_translate('General_ShortMonth_12')], monthNames: [ - _pk_translate('General_MonthJanuary'), - _pk_translate('General_MonthFebruary'), - _pk_translate('General_MonthMarch'), - _pk_translate('General_MonthApril'), - _pk_translate('General_MonthMay'), - _pk_translate('General_MonthJune'), - _pk_translate('General_MonthJuly'), - _pk_translate('General_MonthAugust'), - _pk_translate('General_MonthSeptember'), - _pk_translate('General_MonthOctober'), - _pk_translate('General_MonthNovember'), - _pk_translate('General_MonthDecember')] + _pk_translate('General_LongMonth_1'), + _pk_translate('General_LongMonth_2'), + _pk_translate('General_LongMonth_3'), + _pk_translate('General_LongMonth_4'), + _pk_translate('General_LongMonth_5'), + _pk_translate('General_LongMonth_6'), + _pk_translate('General_LongMonth_7'), + _pk_translate('General_LongMonth_8'), + _pk_translate('General_LongMonth_9'), + _pk_translate('General_LongMonth_10'), + _pk_translate('General_LongMonth_11'), + _pk_translate('General_LongMonth_12')] }; }; diff --git a/plugins/CoreHome/templates/_topBarHelloMenu.twig b/plugins/CoreHome/templates/_topBarHelloMenu.twig index 7fb0aadb81..eac13e2332 100644 --- a/plugins/CoreHome/templates/_topBarHelloMenu.twig +++ b/plugins/CoreHome/templates/_topBarHelloMenu.twig @@ -19,7 +19,7 @@ {% if userLogin == 'anonymous' %} <a href='index.php?module={{ loginModule }}'>{{ 'Login_LogIn'|translate }}</a> {% else %} - <a href='index.php?module={{ loginModule }}&action=logout'>{{ 'Login_Logout'|translate }}</a> + <a href='index.php?module={{ loginModule }}&action=logout'>{{ 'General_Logout'|translate }}</a> {% endif %} </span> </div> |