From ebcd8e16dbdb975b78bf521748067f963a3b26fe Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 11 Mar 2020 17:12:33 +0100 Subject: [PATCH] Deduplicate day-name data in QLocaleXML files This is a follow-up to commit ebb0212133bd91f1da4931b29eb1d33fb77b1444. The day name data appeared twice in the XML files. Skip the second copy, saving 8.8% of the intermediate file-size. This makes no change to generated QLocale data. Change-Id: Ic2cc543a2a85cbb1d2d47ebac7df4fa9ad6ee0a7 Reviewed-by: Lars Knoll --- util/locale_database/qlocalexml.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/locale_database/qlocalexml.py b/util/locale_database/qlocalexml.py index 187227886f7..87e356b8a74 100644 --- a/util/locale_database/qlocalexml.py +++ b/util/locale_database/qlocalexml.py @@ -200,8 +200,6 @@ class Locale: 'weekendStart', 'weekendEnd', 'longDateFormat', 'shortDateFormat', 'longTimeFormat', 'shortTimeFormat', - 'longDays', 'shortDays', 'narrowDays', - 'standaloneLongDays', 'standaloneShortDays', 'standaloneNarrowDays', 'currencyIsoCode', 'currencySymbol', 'currencyDisplayName', 'currencyFormat', 'currencyNegativeFormat' ) + tuple(self.propsMonthDay('days')) + tuple(