@ui5/webcomponents-localization 0.0.0-d849bec2c → 0.0.0-dc3ccac50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/.eslintignore +1 -0
  2. package/CHANGELOG.md +72 -0
  3. package/README.md +32 -1
  4. package/dist/Assets-static.js +2 -0
  5. package/dist/dates/CalendarDate.js +22 -2
  6. package/dist/dates/ExtremeDates.js +39 -0
  7. package/dist/dates/getRoundedTimestamp.js +14 -0
  8. package/dist/dates/getTodayUTCTimestamp.js +9 -0
  9. package/dist/dates/modifyDateBy.js +42 -0
  10. package/dist/generated/assets/cldr/ar.json +5 -3
  11. package/dist/generated/assets/cldr/ar_EG.json +5 -3
  12. package/dist/generated/assets/cldr/ar_SA.json +5 -3
  13. package/dist/generated/assets/cldr/bg.json +5 -3
  14. package/dist/generated/assets/cldr/ca.json +5 -3
  15. package/dist/generated/assets/cldr/cs.json +5 -3
  16. package/dist/generated/assets/cldr/cy.json +5886 -0
  17. package/dist/generated/assets/cldr/da.json +5 -3
  18. package/dist/generated/assets/cldr/de.json +5 -3
  19. package/dist/generated/assets/cldr/de_AT.json +5 -3
  20. package/dist/generated/assets/cldr/de_CH.json +5 -3
  21. package/dist/generated/assets/cldr/el.json +5 -3
  22. package/dist/generated/assets/cldr/el_CY.json +5 -3
  23. package/dist/generated/assets/cldr/en.json +6 -3
  24. package/dist/generated/assets/cldr/en_AU.json +5 -3
  25. package/dist/generated/assets/cldr/en_GB.json +5 -3
  26. package/dist/generated/assets/cldr/en_HK.json +5 -3
  27. package/dist/generated/assets/cldr/en_IE.json +5 -3
  28. package/dist/generated/assets/cldr/en_IN.json +5 -3
  29. package/dist/generated/assets/cldr/en_NZ.json +5 -3
  30. package/dist/generated/assets/cldr/en_PG.json +5 -3
  31. package/dist/generated/assets/cldr/en_SG.json +5 -3
  32. package/dist/generated/assets/cldr/en_ZA.json +5 -3
  33. package/dist/generated/assets/cldr/es.json +5 -3
  34. package/dist/generated/assets/cldr/es_AR.json +5 -3
  35. package/dist/generated/assets/cldr/es_BO.json +5 -3
  36. package/dist/generated/assets/cldr/es_CL.json +5 -3
  37. package/dist/generated/assets/cldr/es_CO.json +5 -3
  38. package/dist/generated/assets/cldr/es_MX.json +5 -3
  39. package/dist/generated/assets/cldr/es_PE.json +5 -3
  40. package/dist/generated/assets/cldr/es_UY.json +5 -3
  41. package/dist/generated/assets/cldr/es_VE.json +5 -3
  42. package/dist/generated/assets/cldr/et.json +5 -3
  43. package/dist/generated/assets/cldr/fa.json +5 -3
  44. package/dist/generated/assets/cldr/fi.json +5 -3
  45. package/dist/generated/assets/cldr/fr.json +5 -3
  46. package/dist/generated/assets/cldr/fr_BE.json +5 -3
  47. package/dist/generated/assets/cldr/fr_CA.json +5 -3
  48. package/dist/generated/assets/cldr/fr_CH.json +5 -3
  49. package/dist/generated/assets/cldr/fr_LU.json +5 -3
  50. package/dist/generated/assets/cldr/he.json +5 -3
  51. package/dist/generated/assets/cldr/hi.json +5 -3
  52. package/dist/generated/assets/cldr/hr.json +5 -3
  53. package/dist/generated/assets/cldr/hu.json +5 -3
  54. package/dist/generated/assets/cldr/id.json +5 -3
  55. package/dist/generated/assets/cldr/it.json +5 -3
  56. package/dist/generated/assets/cldr/it_CH.json +5 -3
  57. package/dist/generated/assets/cldr/ja.json +5 -3
  58. package/dist/generated/assets/cldr/kk.json +5 -3
  59. package/dist/generated/assets/cldr/ko.json +5 -3
  60. package/dist/generated/assets/cldr/lt.json +5 -3
  61. package/dist/generated/assets/cldr/lv.json +5 -3
  62. package/dist/generated/assets/cldr/ms.json +5 -3
  63. package/dist/generated/assets/cldr/nb.json +5 -3
  64. package/dist/generated/assets/cldr/nl.json +5 -3
  65. package/dist/generated/assets/cldr/nl_BE.json +5 -3
  66. package/dist/generated/assets/cldr/pl.json +5 -3
  67. package/dist/generated/assets/cldr/pt.json +5 -3
  68. package/dist/generated/assets/cldr/pt_PT.json +5 -3
  69. package/dist/generated/assets/cldr/ro.json +5 -3
  70. package/dist/generated/assets/cldr/ru.json +5 -3
  71. package/dist/generated/assets/cldr/ru_UA.json +5 -3
  72. package/dist/generated/assets/cldr/sk.json +5 -3
  73. package/dist/generated/assets/cldr/sl.json +5 -3
  74. package/dist/generated/assets/cldr/sr.json +5 -3
  75. package/dist/generated/assets/cldr/sr_Latn.json +5129 -0
  76. package/dist/generated/assets/cldr/sv.json +5 -3
  77. package/dist/generated/assets/cldr/th.json +5 -3
  78. package/dist/generated/assets/cldr/tr.json +5 -3
  79. package/dist/generated/assets/cldr/uk.json +5 -3
  80. package/dist/generated/assets/cldr/vi.json +5 -3
  81. package/dist/generated/assets/cldr/zh_CN.json +5 -3
  82. package/dist/generated/assets/cldr/zh_HK.json +5 -3
  83. package/dist/generated/assets/cldr/zh_SG.json +5 -3
  84. package/dist/generated/assets/cldr/zh_TW.json +5 -3
  85. package/dist/generated/json-imports/LocaleData-static.js +89 -0
  86. package/dist/generated/json-imports/LocaleData.js +87 -91
  87. package/dist/getCachedLocaleDataInstance.js +13 -0
  88. package/dist/sap/base/Log.js +2 -10
  89. package/dist/sap/base/assert.js +1 -5
  90. package/dist/sap/base/util/LoaderExtensions.js +12 -2
  91. package/dist/sap/base/util/array/uniqueSort.js +7 -7
  92. package/dist/sap/base/util/deepEqual.js +1 -5
  93. package/dist/sap/ui/base/Interface.js +3 -5
  94. package/dist/sap/ui/base/Metadata.js +1 -3
  95. package/dist/sap/ui/base/Object.js +26 -2
  96. package/dist/sap/ui/core/Locale.js +57 -31
  97. package/dist/sap/ui/core/LocaleData.js +28 -1502
  98. package/dist/sap/ui/core/date/UniversalDate.js +7 -5
  99. package/dist/sap/ui/core/format/DateFormat.js +40 -27
  100. package/hash.txt +1 -0
  101. package/package-scripts.js +14 -5
  102. package/package.json +12 -14
  103. package/src/Assets-static.js +2 -0
  104. package/src/dates/CalendarDate.js +22 -2
  105. package/src/dates/ExtremeDates.js +39 -0
  106. package/src/dates/getRoundedTimestamp.js +14 -0
  107. package/src/dates/getTodayUTCTimestamp.js +9 -0
  108. package/src/dates/modifyDateBy.js +42 -0
  109. package/src/getCachedLocaleDataInstance.js +13 -0
  110. package/src/sap/base/util/LoaderExtensions.js +12 -2
package/.eslintignore CHANGED
@@ -2,3 +2,4 @@ dist
2
2
  lib
3
3
  overlay
4
4
  package-scripts.js
5
+ .eslintrc.js
package/CHANGELOG.md CHANGED
@@ -3,6 +3,78 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-rc.15](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.14...v1.0.0-rc.15) (2021-07-23)
7
+
8
+
9
+ **Note:** Version bump only for package @ui5/webcomponents-icons-tnt
10
+
11
+
12
+
13
+
14
+ # [1.0.0-rc.14](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.13...v1.0.0-rc.14) (2021-04-01)
15
+
16
+
17
+
18
+
19
+
20
+ # [1.0.0-rc.13](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.12...v1.0.0-rc.13) (2021-03-26)
21
+
22
+
23
+
24
+
25
+ **Note:** Version bump only for package @ui5/webcomponents-localization
26
+
27
+
28
+
29
+
30
+
31
+ # [1.0.0-rc.12](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.11...v1.0.0-rc.12) (2021-02-18)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * **ui5-calendar:** Today date is now timezone aware ([#2660](https://github.com/SAP/ui5-webcomponents/issues/2660)) ([32dd0ef](https://github.com/SAP/ui5-webcomponents/commit/32dd0ef))
37
+
38
+
39
+
40
+
41
+ # [1.0.0-rc.11](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.10...v1.0.0-rc.11) (2020-12-21)
42
+
43
+ **Note:** Version bump only for package @ui5/webcomponents-localization
44
+
45
+
46
+
47
+
48
+
49
+ # [1.0.0-rc.10](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-11-12)
50
+
51
+
52
+ **Note:** Version bump only for package @ui5/webcomponents-localization
53
+
54
+
55
+
56
+
57
+
58
+ # [1.0.0-rc.9](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.8...v1.0.0-rc.9) (2020-10-08)
59
+
60
+
61
+ ### Features
62
+
63
+ **Note:** Version bump only for package @ui5/webcomponents-localization
64
+
65
+
66
+
67
+
68
+
69
+ # [1.0.0-rc.8](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-07-30)
70
+
71
+
72
+ **Note:** Version bump only for package @ui5/webcomponents-localization
73
+
74
+
75
+
76
+
77
+
6
78
  # [1.0.0-rc.7](https://github.com/SAP/ui5-webcomponents/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2020-04-30)
7
79
 
8
80
  **Note:** Version bump only for package @ui5/webcomponents-localization
package/README.md CHANGED
@@ -7,6 +7,37 @@
7
7
 
8
8
  Provides date/time and CLDR functionality for the purposes of building UI5 Web Components.
9
9
 
10
+ ## Provided assets
11
+
12
+ The assets, provided by this package, are CLDR data:
13
+
14
+ `import "@ui5/webcomponents-localization/dist/Assets.js";`
15
+
16
+ *Note:* These assets are already imported by the UI5 Web Components packages that need them.
17
+
18
+ ## Provided features
19
+
20
+ | Feature Import | Description |
21
+ |----------------------------------------------------------------------|---------------------------|
22
+ | `@ui5/webcomponents-localization/dist/features/calendar/Buddhist.js` | Buddhist calendar support |
23
+ | `@ui5/webcomponents-localization/dist/features/calendar/Islamic.js` | Islamic calendar support |
24
+ | `@ui5/webcomponents-localization/dist/features/calendar/Japanese.js` | Japanese calendar support |
25
+ | `@ui5/webcomponents-localization/dist/features/calendar/Persian.js` | Persian calendar support |
26
+
27
+ ### Advanced Calendar Types Feature
28
+
29
+ ```js
30
+ import "@ui5/webcomponents-localization/dist/features/calendar/Buddhist.js";
31
+ import "@ui5/webcomponents-localization/dist/features/calendar/Islamic.js";
32
+ import "@ui5/webcomponents-localization/dist/features/calendar/Japanese.js";
33
+ import "@ui5/webcomponents-localization/dist/features/calendar/Persian.js";
34
+ ```
35
+
36
+ The `ui5-date-picker` and `ui5-datetime-picker` components supports Gregorian Calendar by default.
37
+
38
+ In order to be able to use Buddhist, Islamic, Japanese, or Persian calendar with these components
39
+ (by setting its `primaryCalendarType` property), you must import one or more of the modules above.
40
+
10
41
  ## Resources
11
42
  - [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/master/README.md)
12
43
  - [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents)
@@ -16,7 +47,7 @@ Provides date/time and CLDR functionality for the purposes of building UI5 Web C
16
47
  We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
17
48
 
18
49
  ## Contribute
19
- Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/CONTRIBUTING.md).
50
+ Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/docs/6-contributing/02-conventions-and-guidelines.md).
20
51
 
21
52
  ## License
22
53
  Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
@@ -0,0 +1,2 @@
1
+ // Currently the base package provides CLDR assets only
2
+ import "./generated/json-imports/LocaleData-static.js";
@@ -64,9 +64,29 @@ class CalendarDate {
64
64
  return this._oUDate.getUTCMonth();
65
65
  }
66
66
 
67
- setMonth(month) {
67
+ /**
68
+ * Sets the given month as ordinal month of the year.
69
+ * @param {int} month An integer between 0 and 11, representing the months January through December( or their
70
+ * equivalent month names for the given calendar).
71
+ * If the specified value is is outside of the expected range, this method attempts to update the date information
72
+ * accordingly. For example, if 12 is given as a month, the year will be incremented by 1, and 1 will be used for month.
73
+ * @param {int} [date] An integer between 1 and 31, representing the day of the month, but other values are allowed.
74
+ * 0 will result in the previous month's last day.
75
+ * -1 will result in the day before the previous month's last day.
76
+ * 32 will result in:
77
+ * - first day of the next month if the current month has 31 days.
78
+ * - second day of the next month if the current month has 30 days.
79
+ * Other value will result in adding or subtracting days according to the given value.
80
+ * @returns {sap.ui.unified.calendar.CalendarDate} <code>this</code> for method chaining.
81
+ */
82
+ setMonth(month, date) {
68
83
  checkNumericLike(month, `Invalid month: ${month}`);
69
- this._oUDate.setUTCMonth(month);
84
+ if (date || date === 0) {
85
+ checkNumericLike(date, `Invalid date: ${date}`);
86
+ this._oUDate.setUTCMonth(month, date);
87
+ } else {
88
+ this._oUDate.setUTCMonth(month);
89
+ }
70
90
  return this;
71
91
  }
72
92
 
@@ -0,0 +1,39 @@
1
+ import CalendarDate from "./CalendarDate.js";
2
+
3
+ const cache = new Map();
4
+
5
+ const getMinCalendarDate = primaryCalendarType => {
6
+ const key = `min ${primaryCalendarType}`;
7
+
8
+ if (!cache.has(key)) {
9
+ const minDate = new CalendarDate(1, 0, 1, primaryCalendarType);
10
+ minDate.setYear(1);
11
+ minDate.setMonth(0);
12
+ minDate.setDate(1);
13
+ cache.set(key, minDate);
14
+ }
15
+
16
+ return cache.get(key);
17
+ };
18
+
19
+ const getMaxCalendarDate = primaryCalendarType => {
20
+ const key = `max ${primaryCalendarType}`;
21
+
22
+ if (!cache.has(key)) {
23
+ const maxDate = new CalendarDate(1, 0, 1, primaryCalendarType);
24
+ maxDate.setYear(9999);
25
+ maxDate.setMonth(11);
26
+ const tempDate = new CalendarDate(maxDate, primaryCalendarType);
27
+ tempDate.setDate(1);
28
+ tempDate.setMonth(tempDate.getMonth() + 1, 0);
29
+ maxDate.setDate(tempDate.getDate());// 31st for Gregorian Calendar
30
+ cache.set(key, maxDate);
31
+ }
32
+
33
+ return cache.get(key);
34
+ };
35
+
36
+ export {
37
+ getMinCalendarDate,
38
+ getMaxCalendarDate,
39
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Returns a timestamp with only the year, month and day (with zero hours, minutes and seconds) and without 000 for milliseconds
3
+ * @param millisecondsUTC
4
+ * @returns {number}
5
+ */
6
+ const getRoundedTimestamp = millisecondsUTC => {
7
+ if (!millisecondsUTC) {
8
+ millisecondsUTC = new Date().getTime();
9
+ }
10
+ const rounded = millisecondsUTC - (millisecondsUTC % (24 * 60 * 60 * 1000));
11
+ return rounded / 1000;
12
+ };
13
+
14
+ export default getRoundedTimestamp;
@@ -0,0 +1,9 @@
1
+ import CalendarDate from "./CalendarDate.js";
2
+
3
+ /**
4
+ * Returns a UTC timestamp representing today
5
+ * @public
6
+ */
7
+ const getTodayUTCTimestamp = primaryCalendarType => CalendarDate.fromLocalJSDate(new Date(), primaryCalendarType).valueOf() / 1000;
8
+
9
+ export default getTodayUTCTimestamp;
@@ -0,0 +1,42 @@
1
+ import CalendarDate from "./CalendarDate.js";
2
+
3
+ /**
4
+ * Adds or subtracts a given amount of days/months/years from a date.
5
+ * If minDate or maxDate are given, the result will be enforced within these limits
6
+ *
7
+ * @param date CalendarDate instance
8
+ * @param amount how many days/months/years to add (can be a negative number)
9
+ * @param unit what to modify: "day", "month" or "year"
10
+ * @param minDate minimum date to enforce
11
+ * @param maxDate maximum date to enforce
12
+ */
13
+ const modifyDateBy = (date, amount, unit, minDate = null, maxDate = null) => {
14
+ const newDate = new CalendarDate(date);
15
+ if (unit === "day") {
16
+ newDate.setDate(date.getDate() + amount);
17
+ } else if (unit === "month") {
18
+ newDate.setMonth(date.getMonth() + amount);
19
+ const stillSameMonth = amount === -1 && newDate.getMonth() === date.getMonth(); // f.e. PageUp remained in the same month
20
+ const monthSkipped = amount === 1 && newDate.getMonth() - date.getMonth() > 1; // f.e. PageDown skipped a whole month
21
+ if (stillSameMonth || monthSkipped) { // Select the last day of the month in any of these 2 scenarios
22
+ newDate.setDate(0);
23
+ }
24
+ } else {
25
+ newDate.setYear(date.getYear() + amount);
26
+ if (newDate.getMonth() !== date.getMonth()) { // f.e. 29th Feb to next/prev year
27
+ newDate.setDate(0); // Select the last day of the month
28
+ }
29
+ }
30
+
31
+ if (minDate && newDate.valueOf() < minDate.valueOf()) {
32
+ return new CalendarDate(minDate);
33
+ }
34
+
35
+ if (maxDate && newDate.valueOf() > maxDate.valueOf()) {
36
+ return new CalendarDate(maxDate);
37
+ }
38
+
39
+ return newDate;
40
+ };
41
+
42
+ export default modifyDateBy;
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "__license": "This file has been derived from Unicode Common Locale Data Repository (CLDR) files (http://cldr.unicode.org). See the copyright and permission notice in the Unicode-Data-Files-LICENSE.txt available at the same location as this file or visit http://www.unicode.org/copyright.html",
3
+ "__version": "35.1.0",
4
+ "__buildtime": "2020-10-20T05:15:22.539Z",
3
5
  "languages": {
4
6
  "aa": "الأفارية",
5
7
  "ab": "الأبخازية",
@@ -864,7 +866,7 @@
864
866
  "GU": "غوام",
865
867
  "GW": "غينيا بيساو",
866
868
  "GY": "غيانا",
867
- "HK": "هونج كونج، الصين",
869
+ "HK": "هونج كونج",
868
870
  "HK-alt-short": "هونغ كونغ",
869
871
  "HM": "جزيرة هيرد وجزر ماكدونالد",
870
872
  "HN": "هندوراس",
@@ -920,7 +922,7 @@
920
922
  "ML": "مالي",
921
923
  "MM": "ميانمار (بورما)",
922
924
  "MN": "منغوليا",
923
- "MO": "ماكاو، الصين",
925
+ "MO": "ماكاو",
924
926
  "MO-alt-short": "مكاو",
925
927
  "MP": "جزر ماريانا الشمالية",
926
928
  "MQ": "جزر المارتينيك",
@@ -1006,7 +1008,7 @@
1006
1008
  "TR": "تركيا",
1007
1009
  "TT": "ترينيداد وتوباغو",
1008
1010
  "TV": "توفالو",
1009
- "TW": "تايوان، الصين",
1011
+ "TW": "تايوان",
1010
1012
  "TZ": "تنزانيا",
1011
1013
  "UA": "أوكرانيا",
1012
1014
  "UG": "أوغندا",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "__license": "This file has been derived from Unicode Common Locale Data Repository (CLDR) files (http://cldr.unicode.org). See the copyright and permission notice in the Unicode-Data-Files-LICENSE.txt available at the same location as this file or visit http://www.unicode.org/copyright.html",
3
+ "__version": "35.1.0",
4
+ "__buildtime": "2020-10-20T05:15:22.539Z",
3
5
  "languages": {
4
6
  "aa": "الأفارية",
5
7
  "ab": "الأبخازية",
@@ -864,7 +866,7 @@
864
866
  "GU": "غوام",
865
867
  "GW": "غينيا بيساو",
866
868
  "GY": "غيانا",
867
- "HK": "هونج كونج، الصين",
869
+ "HK": "هونج كونج",
868
870
  "HK-alt-short": "هونغ كونغ",
869
871
  "HM": "جزيرة هيرد وجزر ماكدونالد",
870
872
  "HN": "هندوراس",
@@ -920,7 +922,7 @@
920
922
  "ML": "مالي",
921
923
  "MM": "ميانمار (بورما)",
922
924
  "MN": "منغوليا",
923
- "MO": "ماكاو، الصين",
925
+ "MO": "ماكاو",
924
926
  "MO-alt-short": "مكاو",
925
927
  "MP": "جزر ماريانا الشمالية",
926
928
  "MQ": "جزر المارتينيك",
@@ -1006,7 +1008,7 @@
1006
1008
  "TR": "تركيا",
1007
1009
  "TT": "ترينيداد وتوباغو",
1008
1010
  "TV": "توفالو",
1009
- "TW": "تايوان، الصين",
1011
+ "TW": "تايوان",
1010
1012
  "TZ": "تنزانيا",
1011
1013
  "UA": "أوكرانيا",
1012
1014
  "UG": "أوغندا",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "__license": "This file has been derived from Unicode Common Locale Data Repository (CLDR) files (http://cldr.unicode.org). See the copyright and permission notice in the Unicode-Data-Files-LICENSE.txt available at the same location as this file or visit http://www.unicode.org/copyright.html",
3
+ "__version": "35.1.0",
4
+ "__buildtime": "2020-10-20T05:15:22.539Z",
3
5
  "languages": {
4
6
  "aa": "الأفارية",
5
7
  "ab": "الأبخازية",
@@ -864,7 +866,7 @@
864
866
  "GU": "غوام",
865
867
  "GW": "غينيا بيساو",
866
868
  "GY": "غيانا",
867
- "HK": "هونج كونج، الصين",
869
+ "HK": "هونج كونج",
868
870
  "HK-alt-short": "هونغ كونغ",
869
871
  "HM": "جزيرة هيرد وجزر ماكدونالد",
870
872
  "HN": "هندوراس",
@@ -920,7 +922,7 @@
920
922
  "ML": "مالي",
921
923
  "MM": "ميانمار (بورما)",
922
924
  "MN": "منغوليا",
923
- "MO": "ماكاو، الصين",
925
+ "MO": "ماكاو",
924
926
  "MO-alt-short": "ماكاو",
925
927
  "MP": "جزر ماريانا الشمالية",
926
928
  "MQ": "جزر المارتينيك",
@@ -1006,7 +1008,7 @@
1006
1008
  "TR": "تركيا",
1007
1009
  "TT": "ترينيداد وتوباغو",
1008
1010
  "TV": "توفالو",
1009
- "TW": "تايوان، الصين",
1011
+ "TW": "تايوان",
1010
1012
  "TZ": "تنزانيا",
1011
1013
  "UA": "أوكرانيا",
1012
1014
  "UG": "أوغندا",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "__license": "This file has been derived from Unicode Common Locale Data Repository (CLDR) files (http://cldr.unicode.org). See the copyright and permission notice in the Unicode-Data-Files-LICENSE.txt available at the same location as this file or visit http://www.unicode.org/copyright.html",
3
+ "__version": "35.1.0",
4
+ "__buildtime": "2020-10-20T05:15:22.539Z",
3
5
  "languages": {
4
6
  "aa": "афарски",
5
7
  "ab": "абхазки",
@@ -844,7 +846,7 @@
844
846
  "GU": "Гуам",
845
847
  "GW": "Гвинея-Бисау",
846
848
  "GY": "Гаяна",
847
- "HK": "Хонконг, Китай",
849
+ "HK": "Хонконг",
848
850
  "HK-alt-short": "Хонконг",
849
851
  "HM": "острови Хърд и Макдоналд",
850
852
  "HN": "Хондурас",
@@ -900,7 +902,7 @@
900
902
  "ML": "Мали",
901
903
  "MM": "Мианмар (Бирма)",
902
904
  "MN": "Монголия",
903
- "MO": "Макао, Китай",
905
+ "MO": "Макао",
904
906
  "MO-alt-short": "Макао",
905
907
  "MP": "Северни Мариански острови",
906
908
  "MQ": "Мартиника",
@@ -986,7 +988,7 @@
986
988
  "TR": "Турция",
987
989
  "TT": "Тринидад и Тобаго",
988
990
  "TV": "Тувалу",
989
- "TW": "Тайван, Китай",
991
+ "TW": "Тайван",
990
992
  "TZ": "Танзания",
991
993
  "UA": "Украйна",
992
994
  "UG": "Уганда",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "__license": "This file has been derived from Unicode Common Locale Data Repository (CLDR) files (http://cldr.unicode.org). See the copyright and permission notice in the Unicode-Data-Files-LICENSE.txt available at the same location as this file or visit http://www.unicode.org/copyright.html",
3
+ "__version": "35.1.0",
4
+ "__buildtime": "2020-10-20T05:15:22.539Z",
3
5
  "languages": {
4
6
  "aa": "àfar",
5
7
  "ab": "abkhaz",
@@ -912,7 +914,7 @@
912
914
  "GU": "Guam",
913
915
  "GW": "Guinea Bissau",
914
916
  "GY": "Guyana",
915
- "HK": "Hong Kong, Xina",
917
+ "HK": "Hong Kong",
916
918
  "HK-alt-short": "Hong Kong",
917
919
  "HM": "Illa Heard i Illes McDonald",
918
920
  "HN": "Hondures",
@@ -968,7 +970,7 @@
968
970
  "ML": "Mali",
969
971
  "MM": "Myanmar (Birmània)",
970
972
  "MN": "Mongòlia",
971
- "MO": "Macau, Xina",
973
+ "MO": "Macau",
972
974
  "MO-alt-short": "Macau",
973
975
  "MP": "Illes Mariannes del Nord",
974
976
  "MQ": "Martinica",
@@ -1054,7 +1056,7 @@
1054
1056
  "TR": "Turquia",
1055
1057
  "TT": "Trinitat i Tobago",
1056
1058
  "TV": "Tuvalu",
1057
- "TW": "Taiwan, Xina",
1059
+ "TW": "Taiwan",
1058
1060
  "TZ": "Tanzània",
1059
1061
  "UA": "Ucraïna",
1060
1062
  "UG": "Uganda",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "__license": "This file has been derived from Unicode Common Locale Data Repository (CLDR) files (http://cldr.unicode.org). See the copyright and permission notice in the Unicode-Data-Files-LICENSE.txt available at the same location as this file or visit http://www.unicode.org/copyright.html",
3
+ "__version": "35.1.0",
4
+ "__buildtime": "2020-10-20T05:15:22.539Z",
3
5
  "languages": {
4
6
  "aa": "afarština",
5
7
  "ab": "abcházština",
@@ -955,7 +957,7 @@
955
957
  "GU": "Guam",
956
958
  "GW": "Guinea-Bissau",
957
959
  "GY": "Guyana",
958
- "HK": "Hongkong, Čína",
960
+ "HK": "Hongkong",
959
961
  "HK-alt-short": "Hongkong",
960
962
  "HM": "Heardův ostrov a McDonaldovy ostrovy",
961
963
  "HN": "Honduras",
@@ -1011,7 +1013,7 @@
1011
1013
  "ML": "Mali",
1012
1014
  "MM": "Myanmar (Barma)",
1013
1015
  "MN": "Mongolsko",
1014
- "MO": "Macao, Čína",
1016
+ "MO": "Macao",
1015
1017
  "MO-alt-short": "Macao",
1016
1018
  "MP": "Severní Mariany",
1017
1019
  "MQ": "Martinik",
@@ -1097,7 +1099,7 @@
1097
1099
  "TR": "Turecko",
1098
1100
  "TT": "Trinidad a Tobago",
1099
1101
  "TV": "Tuvalu",
1100
- "TW": "Tchaj-wan, Čína",
1102
+ "TW": "Tchaj-wan",
1101
1103
  "TZ": "Tanzanie",
1102
1104
  "UA": "Ukrajina",
1103
1105
  "UG": "Uganda",