summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-05-10 12:23:30 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-05-10 12:49:53 (GMT)
commit349a8e83b8a5dd352fd2db053562b6bd874f30e8 (patch)
tree18231ff0a60be83434087e044191455f031ab543 /src/corelib
parent79a173386abe7dbd0dba2bc8c96298484a3bba27 (diff)
downloadQt-349a8e83b8a5dd352fd2db053562b6bd874f30e8.zip
Qt-349a8e83b8a5dd352fd2db053562b6bd874f30e8.tar.gz
Qt-349a8e83b8a5dd352fd2db053562b6bd874f30e8.tar.bz2
Improved mapping of locales on symbian.
Map Latin American Spanish to es_MX - Spanish in Mexica - the locale data for those two locales are the same, so it should be more or less safe. The proper solution is to add support for es-419_419 and es_419 locales to QLocale. Task-number: QT-3312 Reviewed-by: trustme
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qlocale_symbian.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_symbian.cpp b/src/corelib/tools/qlocale_symbian.cpp
index b1a7caa..2e5daec 100644
--- a/src/corelib/tools/qlocale_symbian.cpp
+++ b/src/corelib/tools/qlocale_symbian.cpp
@@ -134,7 +134,7 @@ static const symbianToISO symbian_to_iso_list[] = {
{ ELangBrazilianPortuguese, "pt_BR" },
{ ELangRomanian, "ro_RO" },
{ ELangSerbian, "sr_YU" },
- { ELangLatinAmericanSpanish, "es" },
+ { ELangLatinAmericanSpanish,"es_MX" }, // TODO: should be es_419
{ ELangUkrainian, "uk_UA" },
{ ELangUrdu, "ur_PK" }, // India/Pakistan
{ ELangVietnamese, "vi_VN" },