diff options
author | Jeff Mitchell <mitchell@kde.org> | 2009-06-10 13:16:11 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-30 14:36:40 -0700 |
commit | c3cffaf9c798fef99754ebd1e9d9ee1a0f3a0231 (patch) | |
tree | b1632a2ef1243259fb669f1f943d8296b9a6bef7 /lib/language.php | |
parent | fc20da19bbd8c4a79872ebf7c7953a4622045133 (diff) |
Laconica defaults to a locale 'en' which uses language 'en'. Unfortunately, this language doesn't exist -- properly it's en_US. This causes a lot of spammy messages in syslog. This fix simply changes 'en' to have
the same properties as 'en-us', i.e. a language of en_US and a description of 'English (US)'.
Diffstat (limited to 'lib/language.php')
-rw-r--r-- | lib/language.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/language.php b/lib/language.php index cd6498d30..3ea3dd2aa 100644 --- a/lib/language.php +++ b/lib/language.php @@ -108,7 +108,7 @@ function get_all_languages() { 'el' => array('q' => 0.1, 'lang' => 'el', 'name' => 'Greek', 'direction' => 'ltr'), 'en-us' => array('q' => 1, 'lang' => 'en_US', 'name' => 'English (US)', 'direction' => 'ltr'), 'en-gb' => array('q' => 1, 'lang' => 'en_GB', 'name' => 'English (British)', 'direction' => 'ltr'), - 'en' => array('q' => 1, 'lang' => 'en', 'name' => 'English', 'direction' => 'ltr'), + 'en' => array('q' => 1, 'lang' => 'en_US', 'name' => 'English (US)', 'direction' => 'ltr'), 'es' => array('q' => 1, 'lang' => 'es', 'name' => 'Spanish', 'direction' => 'ltr'), 'fi' => array('q' => 1, 'lang' => 'fi', 'name' => 'Finnish', 'direction' => 'ltr'), 'fr-fr' => array('q' => 1, 'lang' => 'fr_FR', 'name' => 'French', 'direction' => 'ltr'), |