diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-08 17:11:17 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-08 17:11:17 -0500 |
commit | f93ce1fd7fca1a7229a9c9da4f1f4a3f98823524 (patch) | |
tree | 583a1786e7a1c8c89eae14ec5326205dbe6b67be /models/config.php | |
parent | 1ae99f6a85743255c918af5c8321818a580b09cc (diff) |
Minors improvements
Diffstat (limited to 'models/config.php')
-rw-r--r-- | models/config.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/models/config.php b/models/config.php index d854047d..4d39af87 100644 --- a/models/config.php +++ b/models/config.php @@ -11,10 +11,14 @@ class Config extends Base public function getLanguages() { - return array( + $languages = array( 'en_US' => t('English'), 'fr_FR' => t('French'), ); + + asort($languages); + + return $languages; } public function get($name, $default_value = '') |