summaryrefslogtreecommitdiffstats
path: root/util/locale_database/qlocalexml2cpp.py
diff options
context:
space:
mode:
authorSoroush Rabiei <soroush@ametisco.ir>2019-08-08 20:35:13 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-08-22 10:10:02 +0000
commit702664571252e4f5705e39a8258fc81a3fbf37d4 (patch)
tree01abab3715dfe2f5193dc56802c1b0d50870cc0d /util/locale_database/qlocalexml2cpp.py
parenta8cc4cea92bfe4c251458722cbd2e60c49024a2d (diff)
Add support for the Islamic Civil calendar
This has its own locale data, extracted from CLDR. This data may potentially be shared with other variants on the Islamic calendar, so is handled by a separate base-class, QHijriCalendar, on which such variants may base their implementations. [ChangeLog][QtCore][QCalendar] Added support for the Islamic Civil calendar, controlled by feature islamiccivilcalendar, with locale data that can be shared with other implementations, controlled by feature hijricalendar. Fixes: QTBUG-56675 Change-Id: Idf32d3da7034baa8ec5e66ef847e59a8a2f31cbd Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'util/locale_database/qlocalexml2cpp.py')
-rwxr-xr-xutil/locale_database/qlocalexml2cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/locale_database/qlocalexml2cpp.py b/util/locale_database/qlocalexml2cpp.py
index 130c2dca73..a5ff7ebbf4 100755
--- a/util/locale_database/qlocalexml2cpp.py
+++ b/util/locale_database/qlocalexml2cpp.py
@@ -44,7 +44,7 @@ from localexml import Locale
# TODO: Make calendars a command-line parameter
# map { CLDR name: Qt file name }
-calendars = {'gregorian': 'roman', 'persian': 'jalali',} # 'islamic': 'hijri', 'hebrew': 'hebrew',
+calendars = {'gregorian': 'roman', 'persian': 'jalali', 'islamic': 'hijri',} # 'hebrew': 'hebrew',
generated_template = """
/*