pds-dev-kit-web 1.9.5 → 1.9.7
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/dist/src/common/services/i18n/i18n.js +10 -4
- package/dist/src/common/services/i18n/resources/en.json +0 -6835
- package/dist/src/common/services/i18n/resources/es.json +0 -6835
- package/dist/src/common/services/i18n/resources/fil.json +9 -0
- package/dist/src/common/services/i18n/resources/index.d.ts +11 -41012
- package/dist/src/common/services/i18n/resources/index.js +8 -5
- package/dist/src/common/services/i18n/resources/ja.json +9 -0
- package/dist/src/common/services/i18n/resources/ko.json +0 -6835
- package/dist/src/common/services/i18n/resources/zh-cn.json +9 -0
- package/dist/src/common/services/i18n/resources/zh-tw.json +0 -6835
- package/dist/src/common/styles/colorSet/UIColor.json +2 -1
- package/dist/src/common/styles/colorSet/index.d.ts +3 -2
- package/dist/src/common/styles/colorSet/index.js +2 -2
- package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
- package/dist/src/desktop/components/AdminList/BulkActionBar.js +1 -2
- package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +1 -1
- package/dist/storybook-static/{0.69b174ef.iframe.bundle.d.ts → 0.bdf0f29c.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{0.69b174ef.iframe.bundle.js → 0.bdf0f29c.iframe.bundle.js} +5 -5
- package/dist/storybook-static/{4.32dc09b1.iframe.bundle.d.ts → 4.62b599f9.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{4.32dc09b1.iframe.bundle.js → 4.62b599f9.iframe.bundle.js} +68 -68
- package/dist/storybook-static/{5.c1637fa3.iframe.bundle.d.ts → 5.ee42a9b1.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{5.c1637fa3.iframe.bundle.js → 5.ee42a9b1.iframe.bundle.js} +12 -12
- package/dist/storybook-static/{6.9d79e5b5.iframe.bundle.d.ts → 6.580084b5.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{6.9d79e5b5.iframe.bundle.js → 6.580084b5.iframe.bundle.js} +5 -5
- package/dist/storybook-static/{7.b309bb58.iframe.bundle.d.ts → 7.6c647d87.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{7.b309bb58.iframe.bundle.js → 7.6c647d87.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{main.1434d31c.iframe.bundle.d.ts → main.efb83dbc.iframe.bundle.d.ts} +38 -36
- package/dist/storybook-static/{main.1434d31c.iframe.bundle.js → main.efb83dbc.iframe.bundle.js} +691 -620
- package/dist/storybook-static/{runtime~main.b6fc2c86.iframe.bundle.d.ts → runtime~main.316ecc0a.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{runtime~main.b6fc2c86.iframe.bundle.js → runtime~main.316ecc0a.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{vendors~main.0fbc3a5b.iframe.bundle.d.ts → vendors~main.d952545a.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{vendors~main.0fbc3a5b.iframe.bundle.js → vendors~main.d952545a.iframe.bundle.js} +340 -340
- package/package.json +1 -2
- package/release-note.md +2 -11
- package/dist/src/common/services/i18n/resources/jp.json +0 -6844
- package/dist/src/common/services/i18n/resources/zh-zh.json +0 -6844
|
@@ -17,11 +17,17 @@ var i18next_browser_languagedetector_1 = __importDefault(require("i18next-browse
|
|
|
17
17
|
var i18next_intervalplural_postprocessor_1 = __importDefault(require("i18next-intervalplural-postprocessor"));
|
|
18
18
|
var react_i18next_1 = require("react-i18next");
|
|
19
19
|
var resources_1 = __importDefault(require("./resources"));
|
|
20
|
-
|
|
20
|
+
var availableLanguages = ['ko', 'en', 'ja', 'es', 'zh', 'zh-cn', 'zh-hk', 'zh-tw', 'fil'];
|
|
21
|
+
i18next_1.default
|
|
22
|
+
.use(i18next_browser_languagedetector_1.default)
|
|
23
|
+
.use(i18next_intervalplural_postprocessor_1.default)
|
|
24
|
+
.use(react_i18next_1.initReactI18next)
|
|
25
|
+
.init({
|
|
26
|
+
fallbackLng: { zh: ['zh-cn'], 'zh-hk': ['zh-tw'], default: ['en'] },
|
|
21
27
|
resources: resources_1.default,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
supportedLngs: availableLanguages,
|
|
29
|
+
nonExplicitSupportedLngs: true,
|
|
30
|
+
lowerCaseLng: true
|
|
25
31
|
});
|
|
26
32
|
// override getSuffix method to support plurals in 'ko'
|
|
27
33
|
var originalGetSuffix = i18next_1.default.services.pluralResolver.getSuffix;
|