diff options
-rw-r--r-- | src/corelib/tools/qlocale_data_p.h | 2 | ||||
-rw-r--r-- | src/corelib/tools/qlocale_mac.mm | 2 | ||||
-rw-r--r-- | src/corelib/tools/qt_attribution.json | 2 | ||||
-rw-r--r-- | src/corelib/tools/qtimezoneprivate_data_p.h | 4 | ||||
-rw-r--r-- | util/local_database/README | 1 | ||||
-rw-r--r-- | util/locale_database/README | 5 | ||||
-rwxr-xr-x | util/locale_database/cldr2qlocalexml.py (renamed from util/local_database/cldr2qlocalexml.py) | 0 | ||||
-rwxr-xr-x | util/locale_database/cldr2qtimezone.py (renamed from util/local_database/cldr2qtimezone.py) | 2 | ||||
-rwxr-xr-x | util/locale_database/dateconverter.py (renamed from util/local_database/dateconverter.py) | 0 | ||||
-rw-r--r-- | util/locale_database/enumdata.py (renamed from util/local_database/enumdata.py) | 0 | ||||
-rw-r--r-- | util/locale_database/formattags.txt (renamed from util/local_database/formattags.txt) | 0 | ||||
-rw-r--r-- | util/locale_database/localexml.py (renamed from util/local_database/localexml.py) | 0 | ||||
-rwxr-xr-x | util/locale_database/qlocalexml2cpp.py (renamed from util/local_database/qlocalexml2cpp.py) | 2 | ||||
-rw-r--r-- | util/locale_database/testlocales/localemodel.cpp (renamed from util/local_database/testlocales/localemodel.cpp) | 0 | ||||
-rw-r--r-- | util/locale_database/testlocales/localemodel.h (renamed from util/local_database/testlocales/localemodel.h) | 0 | ||||
-rw-r--r-- | util/locale_database/testlocales/localewidget.cpp (renamed from util/local_database/testlocales/localewidget.cpp) | 0 | ||||
-rw-r--r-- | util/locale_database/testlocales/localewidget.h (renamed from util/local_database/testlocales/localewidget.h) | 0 | ||||
-rw-r--r-- | util/locale_database/testlocales/main.cpp (renamed from util/local_database/testlocales/main.cpp) | 0 | ||||
-rw-r--r-- | util/locale_database/testlocales/testlocales.pro (renamed from util/local_database/testlocales/testlocales.pro) | 0 | ||||
-rw-r--r-- | util/locale_database/xpathlite.py (renamed from util/local_database/xpathlite.py) | 0 |
20 files changed, 12 insertions, 8 deletions
diff --git a/src/corelib/tools/qlocale_data_p.h b/src/corelib/tools/qlocale_data_p.h index cc9f99ae20..3e4fd4b8aa 100644 --- a/src/corelib/tools/qlocale_data_p.h +++ b/src/corelib/tools/qlocale_data_p.h @@ -84,7 +84,7 @@ static const int ImperialMeasurementSystemsCount = Do not edit this section: instead regenerate it using cldr2qlocalexml.py and qlocalexml2cpp.py on updated (or - edited) CLDR data; see qtbase/util/local_database/. + edited) CLDR data; see qtbase/util/locale_database/. */ static const QLocaleId likely_subtags[] = { diff --git a/src/corelib/tools/qlocale_mac.mm b/src/corelib/tools/qlocale_mac.mm index a092e377b5..6c721480f3 100644 --- a/src/corelib/tools/qlocale_mac.mm +++ b/src/corelib/tools/qlocale_mac.mm @@ -145,7 +145,7 @@ static QString macTimeToString(const QTime &time, bool short_format) // Mac uses the Unicode CLDR format codes // http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table -// See also qtbase/util/local_database/dateconverter.py +// See also qtbase/util/locale_database/dateconverter.py // Makes the assumption that input formats are always well formed and consecutive letters // never exceed the maximum for the format code. static QString macToQtFormat(QStringView sys_fmt) diff --git a/src/corelib/tools/qt_attribution.json b/src/corelib/tools/qt_attribution.json index 912da3f22c..f91742d421 100644 --- a/src/corelib/tools/qt_attribution.json +++ b/src/corelib/tools/qt_attribution.json @@ -22,7 +22,7 @@ "Name": "Unicode Common Locale Data Repository (CLDR)", "QDocModule": "qtcore", "QtUsage": "Used in Qt Core (QTimeZone, QLocale).", - "Files": "For update, see qtbase/util/local_database/cldr2qlocalexml.py", + "Files": "For update, see qtbase/util/locale_database/cldr2qlocalexml.py", "Files": "qlocale_data_p.h qtimezoneprivate_data_p.h", "Description": "The Unicode CLDR provides key building blocks for software to support the diff --git a/src/corelib/tools/qtimezoneprivate_data_p.h b/src/corelib/tools/qtimezoneprivate_data_p.h index 69b9417f19..5cedac3b49 100644 --- a/src/corelib/tools/qtimezoneprivate_data_p.h +++ b/src/corelib/tools/qtimezoneprivate_data_p.h @@ -67,7 +67,7 @@ QT_BEGIN_NAMESPACE with a QT:Spec of OffsetFromUTC These tables are automatically adapted from the CLDR supplemental/windowsZones.xml data file - using a script in qtbase/util/local_database. Please do not edit this data directly. In the + using a script in qtbase/util/locale_database. Please do not edit this data directly. In the future if ICU is made a hard dependency then the ICU resource can be used directly and this table removed */ @@ -120,7 +120,7 @@ struct QUtcData { http://www.unicode.org/cldr/ Do not edit this code: run cldr2qtimezone.py on updated (or - edited) CLDR data; see qtbase/util/local_database/. + edited) CLDR data; see qtbase/util/locale_database/. */ // Windows ID Key, Country Enum, IANA ID Index diff --git a/util/local_database/README b/util/local_database/README deleted file mode 100644 index 23b6a33ad8..0000000000 --- a/util/local_database/README +++ /dev/null @@ -1 +0,0 @@ -local_database is used to generate qlocale data from the Common Locale Data Repository (The database for localized names (like date formats, country names etc)). diff --git a/util/locale_database/README b/util/locale_database/README new file mode 100644 index 0000000000..8654968d66 --- /dev/null +++ b/util/locale_database/README @@ -0,0 +1,5 @@ +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. diff --git a/util/local_database/cldr2qlocalexml.py b/util/locale_database/cldr2qlocalexml.py index 4ce0a6e3b1..4ce0a6e3b1 100755 --- a/util/local_database/cldr2qlocalexml.py +++ b/util/locale_database/cldr2qlocalexml.py diff --git a/util/local_database/cldr2qtimezone.py b/util/locale_database/cldr2qtimezone.py index 7c10b1dfd2..256839317c 100755 --- a/util/local_database/cldr2qtimezone.py +++ b/util/locale_database/cldr2qtimezone.py @@ -343,7 +343,7 @@ newTempFile.write(""" http://www.unicode.org/cldr/ Do not edit this code: run cldr2qtimezone.py on updated (or - edited) CLDR data; see qtbase/util/local_database/. + edited) CLDR data; see qtbase/util/locale_database/. */ """ % (str(datetime.date.today()), cldr_version, versionNumber) ) diff --git a/util/local_database/dateconverter.py b/util/locale_database/dateconverter.py index 1990fe0c61..1990fe0c61 100755 --- a/util/local_database/dateconverter.py +++ b/util/locale_database/dateconverter.py diff --git a/util/local_database/enumdata.py b/util/locale_database/enumdata.py index 26bb74d1fe..26bb74d1fe 100644 --- a/util/local_database/enumdata.py +++ b/util/locale_database/enumdata.py diff --git a/util/local_database/formattags.txt b/util/locale_database/formattags.txt index 5138c37a81..5138c37a81 100644 --- a/util/local_database/formattags.txt +++ b/util/locale_database/formattags.txt diff --git a/util/local_database/localexml.py b/util/locale_database/localexml.py index e95b3aebcc..e95b3aebcc 100644 --- a/util/local_database/localexml.py +++ b/util/locale_database/localexml.py diff --git a/util/local_database/qlocalexml2cpp.py b/util/locale_database/qlocalexml2cpp.py index fb5ae5ba54..2dad2dd57a 100755 --- a/util/local_database/qlocalexml2cpp.py +++ b/util/locale_database/qlocalexml2cpp.py @@ -370,7 +370,7 @@ def main(): Do not edit this section: instead regenerate it using cldr2qlocalexml.py and qlocalexml2cpp.py on updated (or - edited) CLDR data; see qtbase/util/local_database/. + edited) CLDR data; see qtbase/util/locale_database/. */ """ % (str(datetime.date.today()), cldr_version) ) diff --git a/util/local_database/testlocales/localemodel.cpp b/util/locale_database/testlocales/localemodel.cpp index d380d01e09..d380d01e09 100644 --- a/util/local_database/testlocales/localemodel.cpp +++ b/util/locale_database/testlocales/localemodel.cpp diff --git a/util/local_database/testlocales/localemodel.h b/util/locale_database/testlocales/localemodel.h index b24fc5f4c6..b24fc5f4c6 100644 --- a/util/local_database/testlocales/localemodel.h +++ b/util/locale_database/testlocales/localemodel.h diff --git a/util/local_database/testlocales/localewidget.cpp b/util/locale_database/testlocales/localewidget.cpp index 3ff7f73a98..3ff7f73a98 100644 --- a/util/local_database/testlocales/localewidget.cpp +++ b/util/locale_database/testlocales/localewidget.cpp diff --git a/util/local_database/testlocales/localewidget.h b/util/locale_database/testlocales/localewidget.h index 896a6e5229..896a6e5229 100644 --- a/util/local_database/testlocales/localewidget.h +++ b/util/locale_database/testlocales/localewidget.h diff --git a/util/local_database/testlocales/main.cpp b/util/locale_database/testlocales/main.cpp index 0c3c45f989..0c3c45f989 100644 --- a/util/local_database/testlocales/main.cpp +++ b/util/locale_database/testlocales/main.cpp diff --git a/util/local_database/testlocales/testlocales.pro b/util/locale_database/testlocales/testlocales.pro index a9a6247f96..a9a6247f96 100644 --- a/util/local_database/testlocales/testlocales.pro +++ b/util/locale_database/testlocales/testlocales.pro diff --git a/util/local_database/xpathlite.py b/util/locale_database/xpathlite.py index 218135d7a7..218135d7a7 100644 --- a/util/local_database/xpathlite.py +++ b/util/locale_database/xpathlite.py |