diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-11-12 11:30:01 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-11-17 19:55:04 +0100 |
commit | 17701a95f8612865191f7719df1879c4114d8f6c (patch) | |
tree | 42ad4ef8b9c816cb2a0a6d4e897cf26432b5f94e /tests/auto/corelib | |
parent | 7c28fa7717b4bad67a4d1795cb79dc4160925694 (diff) |
QLocale: simplify currency display name lookup
We were extracting several candidate display names from CLDR for each
currency, joining them with semicolons, storing in a table, then using
only the first entry from the list - where we should probably have
used the first non-empty entry in any case.
So instead extract the first non-empty candidate name from CLDR and
store that simply, saving the need for semicolon-joining or parsing
out the first entry from the thus-joined list. This significantly
reduces the size of the currency name data table.
Change-Id: I201d0528348d5fcb9eceb5df86211b9c77de3485
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/corelib')
0 files changed, 0 insertions, 0 deletions