@ui5/webcomponents-localization 1.1.2 → 1.2.2
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.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,34 @@
|
|
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.2.2](https://github.com/SAP/ui5-webcomponents/compare/v1.2.1...v1.2.2) (2022-03-22)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **localization:** fix js error if "sh" locale set ([#4905](https://github.com/SAP/ui5-webcomponents/issues/4905)) ([9ace82c](https://github.com/SAP/ui5-webcomponents/commit/9ace82c)), closes [#4904](https://github.com/SAP/ui5-webcomponents/issues/4904)
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
## [1.2.1](https://github.com/SAP/ui5-webcomponents/compare/v1.2.0...v1.2.1) (2022-03-02)
|
19
|
+
|
20
|
+
**Note:** Version bump only for package @ui5/webcomponents-localization
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
# [1.2.0](https://github.com/SAP/ui5-webcomponents/compare/v1.1.2...v1.2.0) (2022-02-28)
|
27
|
+
|
28
|
+
**Note:** Version bump only for package @ui5/webcomponents-localization
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
6
34
|
## [1.1.2](https://github.com/SAP/ui5-webcomponents/compare/v1.1.1...v1.1.2) (2022-01-26)
|
7
35
|
|
8
36
|
**Note:** Version bump only for package @ui5/webcomponents-localization
|
@@ -64,6 +64,7 @@ import ru_UA from "../assets/cldr/ru_UA.json";
|
|
64
64
|
import sk from "../assets/cldr/sk.json";
|
65
65
|
import sl from "../assets/cldr/sl.json";
|
66
66
|
import sr from "../assets/cldr/sr.json";
|
67
|
+
import sr_Latn from "../assets/cldr/sr_Latn.json";
|
67
68
|
import sv from "../assets/cldr/sv.json";
|
68
69
|
import th from "../assets/cldr/th.json";
|
69
70
|
import tr from "../assets/cldr/tr.json";
|
@@ -75,7 +76,7 @@ import zh_SG from "../assets/cldr/zh_SG.json";
|
|
75
76
|
import zh_TW from "../assets/cldr/zh_TW.json";
|
76
77
|
|
77
78
|
const cldrData = {
|
78
|
-
ar,ar_EG,ar_SA,bg,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW
|
79
|
+
ar,ar_EG,ar_SA,bg,ca,cs,da,de,de_AT,de_CH,el,el_CY,en,en_AU,en_GB,en_HK,en_IE,en_IN,en_NZ,en_PG,en_SG,en_ZA,es,es_AR,es_BO,es_CL,es_CO,es_MX,es_PE,es_UY,es_VE,et,fa,fi,fr,fr_BE,fr_CA,fr_CH,fr_LU,he,hi,hr,hu,id,it,it_CH,ja,kk,ko,lt,lv,ms,nb,nl,nl_BE,pl,pt,pt_PT,ro,ru,ru_UA,sk,sl,sr,sr_Latn,sv,th,tr,uk,vi,zh_CN,zh_HK,zh_SG,zh_TW
|
79
80
|
};
|
80
81
|
|
81
82
|
const fetchCldrJson = async (localeId) => {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { registerLocaleDataLoader } from "@ui5/webcomponents-base/dist/asset-registries/LocaleData.js";
|
2
2
|
|
3
|
-
const availableLocales = ["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"];
|
3
|
+
const availableLocales = ["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"];
|
4
4
|
|
5
5
|
const importCldrJson = async (localeId) => {
|
6
6
|
switch (localeId) {
|
@@ -68,6 +68,7 @@ const importCldrJson = async (localeId) => {
|
|
68
68
|
case "sk": return (await import("../assets/cldr/sk.json")).default;
|
69
69
|
case "sl": return (await import("../assets/cldr/sl.json")).default;
|
70
70
|
case "sr": return (await import("../assets/cldr/sr.json")).default;
|
71
|
+
case "sr_Latn": return (await import("../assets/cldr/sr_Latn.json")).default;
|
71
72
|
case "sv": return (await import("../assets/cldr/sv.json")).default;
|
72
73
|
case "th": return (await import("../assets/cldr/th.json")).default;
|
73
74
|
case "tr": return (await import("../assets/cldr/tr.json")).default;
|
package/hash.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
WxDe3QUtrOjzNXLHZ65GIiIMnKU=
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ui5/webcomponents-localization",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.2.2",
|
4
4
|
"description": "Localization for UI5 Web Components",
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
6
6
|
"license": "Apache-2.0",
|
@@ -28,12 +28,12 @@
|
|
28
28
|
"prepublishOnly": "npm run clean && npm run build"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
|
-
"@ui5/webcomponents-tools": "1.
|
32
|
-
"chromedriver": "
|
31
|
+
"@ui5/webcomponents-tools": "1.2.2",
|
32
|
+
"chromedriver": "99.0.0",
|
33
33
|
"mkdirp": "^1.0.4",
|
34
34
|
"resolve": "^1.20.0"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
|
-
"@ui5/webcomponents-base": "1.
|
37
|
+
"@ui5/webcomponents-base": "1.2.2"
|
38
38
|
}
|
39
39
|
}
|