From 9fca033338c85b341726791c38467a40fdd8a835 Mon Sep 17 00:00:00 2001 From: ondrass Date: Mon, 29 Oct 2001 11:57:39 +0000 Subject: [PATCH] Somebody messed up Czech locale name, corrected. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1643 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/i18n.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/functions/i18n.php b/functions/i18n.php index 77b66fe8..8587e078 100644 --- a/functions/i18n.php +++ b/functions/i18n.php @@ -24,9 +24,13 @@ $languages['ca']['CHARSET'] = 'iso-8859-1'; $languages['ca_CA']['ALIAS'] = 'ca'; - $languages['cs']['NAME'] = 'Czech'; - $languages['cs']['CHARSET'] = 'iso-8859-2'; - $languages['cs_CZ']['ALIAS'] = 'cs'; + /* PLEASE DON'T TOUCH!!! + * Correct locale name, which should be set by setlocale and/or putenv('LC_ALL='...) + * is 'cs_CZ' and NOT 'cs', this applies to all locale names, look into docs, if you + * don't believe me. Ondrej Sury, czech and slovak translator. + */ + $languages['cs_CZ']['NAME'] = 'Czech'; + $languages['cs_CZ']['CHARSET'] = 'iso-8859-2'; $languages['da']['NAME'] = 'Danish'; $languages['da']['CHARSET'] = 'iso-8859-1'; -- 2.25.1