@brightspace-ui/intl 3.34.0 → 3.34.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/lang/haw.js +1 -1
- package/lang/ja.js +1 -1
- package/lang/mi.js +1 -1
- package/lang/vi.js +1 -1
- package/lang/zh-cn.js +1 -1
- package/lang/zh-tw.js +1 -1
- package/lib/localize.js +11 -4
- package/package.json +1 -1
package/lang/haw.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"intl-common:actions:done": "Pau", // done action (in Title Case)
|
|
13
13
|
"intl-common:actions:edit": "Hoʻoponopono", // edit action (in Title Case)
|
|
14
14
|
"intl-common:actions:finish": "Hoʻopau", // finish action (in Title Case)
|
|
15
|
-
"intl-common:actions:more": "
|
|
15
|
+
"intl-common:actions:more": "ʻOi aku", // more action (in Title Case)
|
|
16
16
|
"intl-common:actions:print": "Paʻi", // print action (in Title Case)
|
|
17
17
|
"intl-common:actions:remove": "Wehe", // remove action (in Title Case)
|
|
18
18
|
"intl-common:actions:save": "Mālama", // save action (in Title Case)
|
package/lang/ja.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"intl-common:actions:done": "終了", // done action (in Title Case)
|
|
13
13
|
"intl-common:actions:edit": "編集", // edit action (in Title Case)
|
|
14
14
|
"intl-common:actions:finish": "完了", // finish action (in Title Case)
|
|
15
|
-
"intl-common:actions:more": "
|
|
15
|
+
"intl-common:actions:more": "詳細を表示", // more action (in Title Case)
|
|
16
16
|
"intl-common:actions:print": "印刷", // print action (in Title Case)
|
|
17
17
|
"intl-common:actions:remove": "削除", // remove action (in Title Case)
|
|
18
18
|
"intl-common:actions:save": "保存", // save action (in Title Case)
|
package/lang/mi.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"intl-common:actions:done": "Kua oti", // done action (in Title Case)
|
|
13
13
|
"intl-common:actions:edit": "Whakatika", // edit action (in Title Case)
|
|
14
14
|
"intl-common:actions:finish": "Mutu", // finish action (in Title Case)
|
|
15
|
-
"intl-common:actions:more": "
|
|
15
|
+
"intl-common:actions:more": "Ä’tahi atu", // more action (in Title Case)
|
|
16
16
|
"intl-common:actions:print": "Tā", // print action (in Title Case)
|
|
17
17
|
"intl-common:actions:remove": "Tango", // remove action (in Title Case)
|
|
18
18
|
"intl-common:actions:save": "Tiaki", // save action (in Title Case)
|
package/lang/vi.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"intl-common:actions:done": "Hoàn tất", // done action (in Title Case)
|
|
13
13
|
"intl-common:actions:edit": "Chỉnh sửa", // edit action (in Title Case)
|
|
14
14
|
"intl-common:actions:finish": "Xong", // finish action (in Title Case)
|
|
15
|
-
"intl-common:actions:more": "
|
|
15
|
+
"intl-common:actions:more": "Thêm", // more action (in Title Case)
|
|
16
16
|
"intl-common:actions:print": "In", // print action (in Title Case)
|
|
17
17
|
"intl-common:actions:remove": "Loại bỏ", // remove action (in Title Case)
|
|
18
18
|
"intl-common:actions:save": "Lưu", // save action (in Title Case)
|
package/lang/zh-cn.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"intl-common:actions:done": "完成", // done action (in Title Case)
|
|
13
13
|
"intl-common:actions:edit": "编辑", // edit action (in Title Case)
|
|
14
14
|
"intl-common:actions:finish": "完成", // finish action (in Title Case)
|
|
15
|
-
"intl-common:actions:more": "
|
|
15
|
+
"intl-common:actions:more": "更多", // more action (in Title Case)
|
|
16
16
|
"intl-common:actions:print": "打印", // print action (in Title Case)
|
|
17
17
|
"intl-common:actions:remove": "移除", // remove action (in Title Case)
|
|
18
18
|
"intl-common:actions:save": "保存", // save action (in Title Case)
|
package/lang/zh-tw.js
CHANGED
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
"intl-common:actions:done": "完成", // done action (in Title Case)
|
|
13
13
|
"intl-common:actions:edit": "編輯", // edit action (in Title Case)
|
|
14
14
|
"intl-common:actions:finish": "完成", // finish action (in Title Case)
|
|
15
|
-
"intl-common:actions:more": "
|
|
15
|
+
"intl-common:actions:more": "更多", // more action (in Title Case)
|
|
16
16
|
"intl-common:actions:print": "列印", // print action (in Title Case)
|
|
17
17
|
"intl-common:actions:remove": "移除", // remove action (in Title Case)
|
|
18
18
|
"intl-common:actions:save": "儲存", // save action (in Title Case)
|
package/lib/localize.js
CHANGED
|
@@ -238,12 +238,19 @@ export const getLocalizeClass = (superclass = class {}) => class LocalizeClass e
|
|
|
238
238
|
if (osloCollection) {
|
|
239
239
|
const oslo = this.documentLocaleSettings.oslo;
|
|
240
240
|
let languageId = 0;
|
|
241
|
-
if (oslo
|
|
241
|
+
if (oslo) {
|
|
242
242
|
const batch = new URL(oslo.batch, document.location.origin);
|
|
243
|
+
const collection = new URL(oslo.collection, document.location.origin);
|
|
243
244
|
languageId = supportedLocalesDetails.find(l => l.code === osloLang || l.pack === osloLang)?.id;
|
|
244
|
-
if (languageId
|
|
245
|
-
batch.searchParams.
|
|
246
|
-
|
|
245
|
+
if (languageId) {
|
|
246
|
+
if (languageId !== batch.searchParams.get('languageId')) {
|
|
247
|
+
batch.searchParams.set('languageId', languageId);
|
|
248
|
+
oslo.batch = batch.toString();
|
|
249
|
+
}
|
|
250
|
+
if (languageId !== collection.searchParams.get('languageId')) {
|
|
251
|
+
collection.searchParams.set('languageId', languageId);
|
|
252
|
+
oslo.collection = collection.toString();
|
|
253
|
+
}
|
|
247
254
|
}
|
|
248
255
|
}
|
|
249
256
|
return await getLocalizeOverrideResources(
|
package/package.json
CHANGED