[icinga-checkins] icinga.org: icingaweb2/feature/setup-wizard-7163: Util\Translator: available locales should be sorted

git at icinga.org git at icinga.org
Wed Nov 12 12:11:34 CET 2014


Module: icingaweb2
Branch: feature/setup-wizard-7163
Commit: d253e1e5b0abcd5fd81ee23545c618fc5e8e17d4
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=d253e1e5b0abcd5fd81ee23545c618fc5e8e17d4

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Nov 11 19:45:56 2014 +0100

Util\Translator: available locales should be sorted

---

 library/Icinga/Util/Translator.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/library/Icinga/Util/Translator.php b/library/Icinga/Util/Translator.php
index 7552034..52a84bd 100644
--- a/library/Icinga/Util/Translator.php
+++ b/library/Icinga/Util/Translator.php
@@ -224,6 +224,7 @@ class Translator
                 }
             }
         }
+        sort($codes);
 
         return $codes;
     }



More information about the icinga-checkins mailing list