summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-05-23 18:16:49 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2017-06-08 13:37:21 +0000
commit9df60df12a42a403a64dc8f9cd242c88b2cc9211 (patch)
treedafb0be8e8b7ce02bf60dda871dabeebcc8d434f /util
parent2c04d1dab56ed609a0f71dc4aff4c506905bb81c (diff)
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>
Diffstat (limited to 'util')
-rwxr-xr-xutil/local_database/cldr2qtimezone.py3
-rwxr-xr-xutil/local_database/qlocalexml2cpp.py5
2 files changed, 5 insertions, 3 deletions
diff --git a/util/local_database/cldr2qtimezone.py b/util/local_database/cldr2qtimezone.py
index 72abb3c355..7c10b1dfd2 100755
--- a/util/local_database/cldr2qtimezone.py
+++ b/util/local_database/cldr2qtimezone.py
@@ -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) )
diff --git a/util/local_database/qlocalexml2cpp.py b/util/local_database/qlocalexml2cpp.py
index 41adbb96ee..8499469868 100755
--- a/util/local_database/qlocalexml2cpp.py
+++ b/util/local_database/qlocalexml2cpp.py
@@ -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) )