diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/locale_database/README | 3 | ||||
-rwxr-xr-x | util/locale_database/cldr2qtimezone.py | 14 |
2 files changed, 10 insertions, 7 deletions
diff --git a/util/locale_database/README b/util/locale_database/README index 8654968d66..f55e53faa6 100644 --- a/util/locale_database/README +++ b/util/locale_database/README @@ -3,3 +3,6 @@ locale_database is used to generate qlocale data from CLDR. CLDR is the Common Locale Data Repository, a database for localized data (like date formats, country names etc). It is provided by the Unicode consortium. + +See cldr2qtimezone.py on how to update tables of Windows-specific +names for zones and UTC-offset zone names. diff --git a/util/locale_database/cldr2qtimezone.py b/util/locale_database/cldr2qtimezone.py index 56e26a6b94..4695c0d162 100755 --- a/util/locale_database/cldr2qtimezone.py +++ b/util/locale_database/cldr2qtimezone.py @@ -28,12 +28,12 @@ ############################################################################# """Parse CLDR data for QTimeZone use with MS-Windows -Script to parse the CLDR supplemental/windowsZones.xml file and encode -for use in QTimeZone. See ``./cldr2qlocalexml.py`` for where to get -the CLDR data. Pass its common/ directory as first parameter to this -script and the qtbase root directory as second parameter. It shall -update qtbase's src/corelib/time/qtimezoneprivate_data_p.h ready for -use. +Script to parse the CLDR common/supplemental/windowsZones.xml file and +encode for use in QTimeZone. See ``./cldr2qlocalexml.py`` for where +to get the CLDR data. Pass its root directory as first parameter to +this script and the qtbase root directory as second parameter. It +shall update qtbase's src/corelib/time/qtimezoneprivate_data_p.h ready +for use. """ import os @@ -45,7 +45,7 @@ from cldr import CldrAccess ### Data that may need updates in response to new entries in the CLDR file ### -# This script shall report the update you need, if this arises. +# This script shall report the updates you need to make, if any arise. # However, you may need to research the relevant zone's standard offset. # List of currently known Windows IDs. |