Made the "do not edit generated code" notice clearer

Say where to find the scripts and make clear what to update to get
changes.

Change-Id: I424b7fdf846f7141c6df81eef90eb1ca0378bcf8
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Edward Welbourne 2017-05-23 18:16:49 +02:00
parent 2c04d1dab5
commit 9df60df12a
4 changed files with 10 additions and 6 deletions

View File

@ -82,8 +82,9 @@ static const int ImperialMeasurementSystemsCount =
http://www.unicode.org/cldr/
Do not change it, instead edit CLDR data and regenerate this file using
cldr2qlocalexml.py and qlocalexml2cpp.py.
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/.
*/
static const QLocaleId likely_subtags[] = {

View File

@ -119,7 +119,8 @@ struct QUtcData {
http://www.unicode.org/cldr/
Do not change this data, only generate it using cldr2qtimezone.py.
Do not edit this code: run cldr2qtimezone.py on updated (or
edited) CLDR data; see qtbase/util/local_database/.
*/
// Windows ID Key, Country Enum, IANA ID Index

View File

@ -342,7 +342,8 @@ newTempFile.write("""
http://www.unicode.org/cldr/
Do not change this data, only generate it using cldr2qtimezone.py.
Do not edit this code: run cldr2qtimezone.py on updated (or
edited) CLDR data; see qtbase/util/local_database/.
*/
""" % (str(datetime.date.today()), cldr_version, versionNumber) )

View File

@ -515,8 +515,9 @@ def main():
http://www.unicode.org/cldr/
Do not change it, instead edit CLDR data and regenerate this file using
cldr2qlocalexml.py and qlocalexml2cpp.py.
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/.
*/
""" % (str(datetime.date.today()), cldr_version) )