Rename util/locale_database/ to include the e that was missing
It was misnamed local_database, quite missing the point of its name. Change-Id: I73a4fdf24f53daac12304de1f443636d89afacb2 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
This commit is contained in:
parent
cf909f0ef6
commit
248b6756da
@ -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[] = {
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)).
|
5
util/locale_database/README
Normal file
5
util/locale_database/README
Normal file
@ -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.
|
@ -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) )
|
@ -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) )
|
Loading…
x
Reference in New Issue
Block a user