diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-11-14 17:00:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-15 13:55:00 +0100 |
commit | 40ed226e53fddc2a436233149feea6ca2d0c5740 (patch) | |
tree | 82d901e3284ca2bf7ecf87b206b569bc01e86ee5 /util/local_database/cldr2qlocalexml.py | |
parent | fc271b4273c7ebfe2d08a6a29ec99c2f13ebb8cd (diff) |
Misc fixes to the QLocale data parser/generator
Change-Id: I01589eae4e48bc1f484d54277de8f18262ca8f31
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'util/local_database/cldr2qlocalexml.py')
-rwxr-xr-x | util/local_database/cldr2qlocalexml.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/local_database/cldr2qlocalexml.py b/util/local_database/cldr2qlocalexml.py index e0bab604bb..e5accece74 100755 --- a/util/local_database/cldr2qlocalexml.py +++ b/util/local_database/cldr2qlocalexml.py @@ -136,13 +136,13 @@ def generateLocaleInfo(path): language_id = enumdata.languageCodeToId(language_code) if language_id == -1: - sys.stderr.write("unnknown language code \"" + language_code + "\"\n") + sys.stderr.write("unknown language code \"" + language_code + "\"\n") return {} language = enumdata.language_list[language_id][0] script_id = enumdata.scriptCodeToId(script_code) if script_code == -1: - sys.stderr.write("unnknown script code \"" + script_code + "\"\n") + sys.stderr.write("unknown script code \"" + script_code + "\"\n") return {} script = "AnyScript" if script_id != -1: @@ -153,7 +153,7 @@ def generateLocaleInfo(path): if country_id != -1: country = enumdata.country_list[country_id][0] if country == "": - sys.stderr.write("unnknown country code \"" + country_code + "\"\n") + sys.stderr.write("unknown country code \"" + country_code + "\"\n") return {} # So we say we accept only those values that have "contributed" or |