@brightspace-ui/intl 3.36.3 → 3.38.0
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/ca.js +36 -36
- package/lib/common.js +2 -33
- package/package.json +4 -3
package/lang/ca.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"intl-common:actions:add": "
|
|
3
|
-
"intl-common:actions:apply": "
|
|
4
|
-
"intl-common:actions:browse": "
|
|
5
|
-
"intl-common:actions:cancel": "Cancel", // cancel action (in Title Case)
|
|
6
|
-
"intl-common:actions:clear": "
|
|
7
|
-
"intl-common:actions:close": "
|
|
8
|
-
"intl-common:actions:confirm": "
|
|
9
|
-
"intl-common:actions:copy": "
|
|
10
|
-
"intl-common:actions:create": "
|
|
11
|
-
"intl-common:actions:delete": "
|
|
12
|
-
"intl-common:actions:done": "
|
|
13
|
-
"intl-common:actions:edit": "
|
|
14
|
-
"intl-common:actions:finish": "
|
|
15
|
-
"intl-common:actions:more": "
|
|
16
|
-
"intl-common:actions:print": "
|
|
17
|
-
"intl-common:actions:remove": "
|
|
18
|
-
"intl-common:actions:save": "
|
|
19
|
-
"intl-common:actions:saveAndClose": "
|
|
20
|
-
"intl-common:actions:saveAndNew": "
|
|
21
|
-
"intl-common:actions:search": "
|
|
22
|
-
"intl-common:actions:submit": "
|
|
23
|
-
"intl-common:actions:update": "
|
|
24
|
-
"intl-common:characters:ampersand": "
|
|
25
|
-
"intl-common:characters:apostrophe": "apòstrof
|
|
2
|
+
"intl-common:actions:add": "Afegir", // add action (in Title Case)
|
|
3
|
+
"intl-common:actions:apply": "Aplicar", // apply action (in Title Case)
|
|
4
|
+
"intl-common:actions:browse": "Navega", // browse action (in Title Case)
|
|
5
|
+
"intl-common:actions:cancel": "Cancel·lar", // cancel action (in Title Case)
|
|
6
|
+
"intl-common:actions:clear": "Esborrar", // clear action (in Title Case)
|
|
7
|
+
"intl-common:actions:close": "Tancar", // close action (in Title Case)
|
|
8
|
+
"intl-common:actions:confirm": "Confirma", // confirm action (in Title Case)
|
|
9
|
+
"intl-common:actions:copy": "Copiar", // copy action (in Title Case)
|
|
10
|
+
"intl-common:actions:create": "Crear", // create action (in Title Case)
|
|
11
|
+
"intl-common:actions:delete": "Eliminar", // delete action (in Title Case)
|
|
12
|
+
"intl-common:actions:done": "Fet", // done action (in Title Case)
|
|
13
|
+
"intl-common:actions:edit": "Editar", // edit action (in Title Case)
|
|
14
|
+
"intl-common:actions:finish": "Finalitzar", // finish action (in Title Case)
|
|
15
|
+
"intl-common:actions:more": "Més", // more action (in Title Case)
|
|
16
|
+
"intl-common:actions:print": "Imprimir", // print action (in Title Case)
|
|
17
|
+
"intl-common:actions:remove": "Eliminar", // remove action (in Title Case)
|
|
18
|
+
"intl-common:actions:save": "Desar", // save action (in Title Case)
|
|
19
|
+
"intl-common:actions:saveAndClose": "Desar i tancar", // save and close action (in Title Case)
|
|
20
|
+
"intl-common:actions:saveAndNew": "Desar i nou", // save and new action (in Title Case)
|
|
21
|
+
"intl-common:actions:search": "Cerca", // search action (in Title Case)
|
|
22
|
+
"intl-common:actions:submit": "Lliurar", // submit action (in Title Case)
|
|
23
|
+
"intl-common:actions:update": "Actualitzar", // update action (in Title Case)
|
|
24
|
+
"intl-common:characters:ampersand": "signe «&»", // short name or description of the "&" character
|
|
25
|
+
"intl-common:characters:apostrophe": "apòstrof", // short name or description of the "'" character
|
|
26
26
|
"intl-common:characters:asterisk": "asterisc", // short name or description of the "*" character
|
|
27
|
-
"intl-common:characters:backslash": "barra
|
|
27
|
+
"intl-common:characters:backslash": "barra invertida", // short name or description of the "\" character
|
|
28
28
|
"intl-common:characters:colon": "dos punts", // short name or description of the ":" character
|
|
29
29
|
"intl-common:characters:comma": "coma", // short name or description of the "," character
|
|
30
|
-
"intl-common:characters:greaterThan": "
|
|
31
|
-
"intl-common:characters:lessThan": "menor que", // short name or description of the "<" character
|
|
32
|
-
"intl-common:characters:numberSign": "
|
|
33
|
-
"intl-common:characters:percentSign": "
|
|
30
|
+
"intl-common:characters:greaterThan": "signe «més gran que»", // short name or description of the ">" character
|
|
31
|
+
"intl-common:characters:lessThan": "signe de menor que", // short name or description of the "<" character
|
|
32
|
+
"intl-common:characters:numberSign": "signe numèric", // short name or description of the "#" character
|
|
33
|
+
"intl-common:characters:percentSign": "signe de percentatge", // short name or description of the "%" character
|
|
34
34
|
"intl-common:characters:pipe": "barra vertical", // short name or description of the "|" character
|
|
35
35
|
"intl-common:characters:questionMark": "signe d’interrogació", // short name or description of the "?" character
|
|
36
|
-
"intl-common:characters:quotationMark": "
|
|
36
|
+
"intl-common:characters:quotationMark": "cometes", // short name or description of the '"' character
|
|
37
37
|
"intl-common:confirm:no": "No", // no response to a question (in Title Case)
|
|
38
|
-
"intl-common:confirm:ok": "
|
|
39
|
-
"intl-common:confirm:yes": "
|
|
40
|
-
"intl-common:navigation:back:title": "
|
|
41
|
-
"intl-common:navigation:continue:title": "
|
|
42
|
-
"intl-common:navigation:next:title": "
|
|
43
|
-
"intl-common:navigation:previous:title": "
|
|
38
|
+
"intl-common:confirm:ok": "D’acord", // okay response to a question
|
|
39
|
+
"intl-common:confirm:yes": "Sí", // yes response to a question (in Title Case)
|
|
40
|
+
"intl-common:navigation:back:title": "Enrere", // term for navigating back to the previous page (in Title Case)
|
|
41
|
+
"intl-common:navigation:continue:title": "Continua", // continue action (in Title Case)
|
|
42
|
+
"intl-common:navigation:next:title": "Següent", // term for navigating to the next page or item (in Title Case)
|
|
43
|
+
"intl-common:navigation:previous:title": "Anterior", // term for navigating to the previous page or item (in Title Case)
|
|
44
44
|
};
|
package/lib/common.js
CHANGED
|
@@ -1,38 +1,7 @@
|
|
|
1
|
+
import { defaultLocale, supportedBaseLocales, supportedLangpacks, supportedLocales, supportedLocalesDetails } from './locale-data/supported.js';
|
|
1
2
|
import { DocumentLocaleSettings } from './document-locale-settings.js';
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
export const supportedBaseLocales = ['ar', 'ca', 'cy', 'da', 'de', 'en', 'es', 'fr', 'haw', 'hi', 'ja', 'ko', 'mi', 'nl', 'pt', 'sv', 'th', 'tr', 'vi', 'zh'];
|
|
5
|
-
export const supportedLangpacks = ['ar', 'ca', 'cy', 'da', 'de', 'en', 'en-gb', 'es', 'es-es', 'fr', 'fr-fr', 'fr-on', 'haw', 'hi', 'ja', 'ko', 'mi', 'nl', 'pt', 'sv', 'th', 'tr', 'vi', 'zh-cn', 'zh-tw'];
|
|
6
|
-
|
|
7
|
-
export const supportedLocalesDetails = [
|
|
8
|
-
{ id: 16, code: 'ar-sa', pack: 'ar', dir: 'rtl', name: 'العربية' },
|
|
9
|
-
{ id: 38, code: 'ca-es', pack: 'ca', dir: 'ltr', name: 'Català (Espanya)' },
|
|
10
|
-
{ id: 31, code: 'cy-gb', pack: 'cy', dir: 'ltr', name: 'Cymraeg (Y Deyrnas Unedig)' },
|
|
11
|
-
{ id: 28, code: 'da-dk', pack: 'da', dir: 'ltr', name: 'Dansk (danmark)' },
|
|
12
|
-
{ id: 26, code: 'de-de', pack: 'de', dir: 'ltr', name: 'Deutsch (Deutschland)' },
|
|
13
|
-
{ id: 13, code: 'en-ca', dir: 'ltr', name: 'English (Canada)' },
|
|
14
|
-
{ id: 11, code: 'en-gb', pack: 'en-gb', dir: 'ltr', name: 'English (United Kingdom)' },
|
|
15
|
-
{ id: 1, code: 'en-us', pack: 'en', dir: 'ltr', name: 'English (United States)' },
|
|
16
|
-
{ id: 30, code: 'es-es', pack: 'es-es', dir: 'ltr', name: 'Español (España)' },
|
|
17
|
-
{ id: 18, code: 'es-mx', pack: 'es', overrideCode: 'es-419', dir: 'ltr', name: 'Español (Latinoamérica)' },
|
|
18
|
-
{ id: 2, code: 'fr-ca', pack: 'fr', dir: 'ltr', name: 'Français (Canada)' },
|
|
19
|
-
{ id: 29, code: 'fr-fr', pack: 'fr-fr', dir: 'ltr', name: 'Français (France)' },
|
|
20
|
-
{ id: 32, code: 'fr-on', pack: 'fr-on', overrideCode: 'fr-CA-Ontario', dir: 'ltr', name: 'Français (Ontario)' },
|
|
21
|
-
{ id: 35, code: 'haw-us', pack: 'haw', dir: 'ltr', name: 'ʻŌlelo Hawaiʻi (ʻAmelika Hui Pū ʻIa)' },
|
|
22
|
-
{ id: 33, code: 'hi-in', pack: 'hi', dir: 'ltr', name: 'हिंदी (भारत)' },
|
|
23
|
-
{ id: 21, code: 'ja-jp', pack: 'ja', dir: 'ltr', name: '日本語 (日本)' },
|
|
24
|
-
{ id: 22, code: 'ko-kr', pack: 'ko', dir: 'ltr', name: '한국어 (대한민국)' },
|
|
25
|
-
{ id: 34, code: 'mi-nz', pack: 'mi', dir: 'ltr', name: 'Māori (Aotearoa)' },
|
|
26
|
-
{ id: 25, code: 'nl-nl', pack: 'nl', dir: 'ltr', name: 'Nederlands (Nederland)' },
|
|
27
|
-
{ id: 19, code: 'pt-br', pack: 'pt', dir: 'ltr', name: 'Português (Brasil)' },
|
|
28
|
-
{ id: 24, code: 'sv-se', pack: 'sv', dir: 'ltr', name: 'Svenska (Sverige)' },
|
|
29
|
-
{ id: 37, code: 'th-th', pack: 'th', dir: 'ltr', name: 'ไทย (ไทย)' },
|
|
30
|
-
{ id: 23, code: 'tr-tr', pack: 'tr', dir: 'ltr', name: 'Türkçe (Türkiye)' },
|
|
31
|
-
{ id: 36, code: 'vi-vn', pack: 'vi', dir: 'ltr', name: 'Tiếng Việt (Việt Nam)' },
|
|
32
|
-
{ id: 17, code: 'zh-cn', pack: 'zh-cn', overrideCode: 'zh-Hans', dir: 'ltr', name: '中文(简体)' },
|
|
33
|
-
{ id: 20, code: 'zh-tw', pack: 'zh-tw', overrideCode: 'zh-Hant', dir: 'ltr', name: '中文(繁体)' }
|
|
34
|
-
];
|
|
35
|
-
export const supportedLocales = supportedLocalesDetails.map((l) => l.code);
|
|
4
|
+
export { defaultLocale, supportedBaseLocales, supportedLangpacks, supportedLocalesDetails, supportedLocales };
|
|
36
5
|
|
|
37
6
|
function tryResolve(langTag) {
|
|
38
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/intl",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.38.0",
|
|
4
4
|
"description": "Internationalization APIs for number, date, time and file size formatting and parsing in D2L Brightspace.",
|
|
5
5
|
"main": "lib/number.js",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"/lang",
|
|
15
15
|
"/lib",
|
|
16
|
-
"!/lib/locale-data",
|
|
16
|
+
"!/lib/locale-data/",
|
|
17
|
+
"/lib/locales-data/support.js",
|
|
17
18
|
"/helpers"
|
|
18
19
|
],
|
|
19
20
|
"publishConfig": {
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"@brightspace-ui/testing": "^1",
|
|
44
45
|
"eslint": "^9",
|
|
45
46
|
"eslint-config-brightspace": "^3",
|
|
46
|
-
"sinon": "^
|
|
47
|
+
"sinon": "^22.0.0"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
50
|
"intl-messageformat": "^11"
|