qt5base-lts/tests/manual/qlocale
JiDe Zhang 50a7eb8cf7 Add the "Territory" enumerated type for QLocale
The use of "Country" is misleading as some entries in the enumeration
are not countries (eg, HongKong), for all that most are. The Unicode
Consortium's Common Locale Data Repository (CLDR, from which QLocale's
data is taken) calls these territories, so introduce territory-based
names and prepare to deprecate the country-based ones in due course.

[ChangeLog][QtCore][QLocale] QLocale now has Territory as an alias for
its Country enumeration, and associated territory-based names to match
its country-named methods, to better match the usage in relevant
standards. The country-based names shall in due course be deprecated
in favor of the territory-based names.

Fixes: QTBUG-91686
Change-Id: Ia1ae1ad7323867016186fb775c9600cd5113aa42
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-04-15 20:17:49 +08:00
..
calendar.cpp Pass QDate and QTime by value in manual calendar test code 2020-01-31 14:02:53 +01:00
calendar.h Pass QDate and QTime by value in manual calendar test code 2020-01-31 14:02:53 +01:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
currency.cpp tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
currency.h tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
dateformats.cpp tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
dateformats.h tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
info.cpp Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
info.h Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
languages.cpp Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
languages.h tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
main.cpp tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
miscellaneous.cpp tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
miscellaneous.h tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
numberformats.cpp tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
numberformats.h tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qlocale.pro Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API. 2015-09-01 16:57:46 +00:00
window.cpp Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
window.h tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00