Lokalise: Translations update (#2342)
This pull request was initiated by Lokalise (user Lu) at 2023-12-19 10:48:13 ## Release Notes Added Czech translations. Updated translations for German, Korean, Russian, Ukrainian, Traditional Chinese.
This commit is contained in:
parent
1d29ac3c42
commit
1712d96daa
16 changed files with 439 additions and 11 deletions
|
@ -192,6 +192,7 @@ import iconsZoomIn from './icons/icon/zoom-in.svg'
|
|||
import iconsZoomOut from './icons/icon/zoom-out.svg'
|
||||
import translationsAr from './translations/ar.json'
|
||||
import translationsCa from './translations/ca.json'
|
||||
import translationsCs from './translations/cs.json'
|
||||
import translationsDa from './translations/da.json'
|
||||
import translationsDe from './translations/de.json'
|
||||
import translationsEn from './translations/en.json'
|
||||
|
@ -407,6 +408,7 @@ export function getAssetUrlsByImport(opts) {
|
|||
translations: {
|
||||
ar: formatAssetUrl(translationsAr, opts),
|
||||
ca: formatAssetUrl(translationsCa, opts),
|
||||
cs: formatAssetUrl(translationsCs, opts),
|
||||
da: formatAssetUrl(translationsDa, opts),
|
||||
de: formatAssetUrl(translationsDe, opts),
|
||||
en: formatAssetUrl(translationsEn, opts),
|
||||
|
|
|
@ -189,6 +189,7 @@ export function getAssetUrls(opts) {
|
|||
translations: {
|
||||
ar: formatAssetUrl('./translations/ar.json', opts),
|
||||
ca: formatAssetUrl('./translations/ca.json', opts),
|
||||
cs: formatAssetUrl('./translations/cs.json', opts),
|
||||
da: formatAssetUrl('./translations/da.json', opts),
|
||||
de: formatAssetUrl('./translations/de.json', opts),
|
||||
en: formatAssetUrl('./translations/en.json', opts),
|
||||
|
|
1
packages/assets/types.d.ts
vendored
1
packages/assets/types.d.ts
vendored
|
@ -179,6 +179,7 @@ export type AssetUrls = {
|
|||
translations: {
|
||||
ar: string
|
||||
ca: string
|
||||
cs: string
|
||||
da: string
|
||||
de: string
|
||||
en: string
|
||||
|
|
|
@ -558,6 +558,7 @@ export function getAssetUrlsByMetaUrl(opts) {
|
|||
translations: {
|
||||
ar: formatAssetUrl(new URL('./translations/ar.json', import.meta.url).href, opts),
|
||||
ca: formatAssetUrl(new URL('./translations/ca.json', import.meta.url).href, opts),
|
||||
cs: formatAssetUrl(new URL('./translations/cs.json', import.meta.url).href, opts),
|
||||
da: formatAssetUrl(new URL('./translations/da.json', import.meta.url).href, opts),
|
||||
de: formatAssetUrl(new URL('./translations/de.json', import.meta.url).href, opts),
|
||||
en: formatAssetUrl(new URL('./translations/en.json', import.meta.url).href, opts),
|
||||
|
|
|
@ -485,7 +485,7 @@ export const DefaultSvgDefs: () => null;
|
|||
// @public (undocumented)
|
||||
export const defaultUserPreferences: Readonly<{
|
||||
name: "New User";
|
||||
locale: "ar" | "ca" | "da" | "de" | "en" | "es" | "fa" | "fi" | "fr" | "gl" | "he" | "hi-in" | "hu" | "it" | "ja" | "ko-kr" | "ku" | "my" | "ne" | "no" | "pl" | "pt-br" | "pt-pt" | "ro" | "ru" | "sv" | "te" | "th" | "tr" | "uk" | "vi" | "zh-cn" | "zh-tw";
|
||||
locale: "ar" | "ca" | "cs" | "da" | "de" | "en" | "es" | "fa" | "fi" | "fr" | "gl" | "he" | "hi-in" | "hu" | "it" | "ja" | "ko-kr" | "ku" | "my" | "ne" | "no" | "pl" | "pt-br" | "pt-pt" | "ro" | "ru" | "sv" | "te" | "th" | "tr" | "uk" | "vi" | "zh-cn" | "zh-tw";
|
||||
color: "#02B1CC" | "#11B3A3" | "#39B178" | "#55B467" | "#7B66DC" | "#9D5BD2" | "#BD54C6" | "#E34BA9" | "#EC5E41" | "#F04F88" | "#F2555A" | "#FF802B";
|
||||
isDarkMode: false;
|
||||
edgeScrollSpeed: 1;
|
||||
|
|
|
@ -6126,7 +6126,7 @@
|
|||
},
|
||||
{
|
||||
"kind": "Content",
|
||||
"text": "<{\n name: \"New User\";\n locale: \"ar\" | \"ca\" | \"da\" | \"de\" | \"en\" | \"es\" | \"fa\" | \"fi\" | \"fr\" | \"gl\" | \"he\" | \"hi-in\" | \"hu\" | \"it\" | \"ja\" | \"ko-kr\" | \"ku\" | \"my\" | \"ne\" | \"no\" | \"pl\" | \"pt-br\" | \"pt-pt\" | \"ro\" | \"ru\" | \"sv\" | \"te\" | \"th\" | \"tr\" | \"uk\" | \"vi\" | \"zh-cn\" | \"zh-tw\";\n color: \"#02B1CC\" | \"#11B3A3\" | \"#39B178\" | \"#55B467\" | \"#7B66DC\" | \"#9D5BD2\" | \"#BD54C6\" | \"#E34BA9\" | \"#EC5E41\" | \"#F04F88\" | \"#F2555A\" | \"#FF802B\";\n isDarkMode: false;\n edgeScrollSpeed: 1;\n animationSpeed: 0 | 1;\n isSnapMode: false;\n}>"
|
||||
"text": "<{\n name: \"New User\";\n locale: \"ar\" | \"ca\" | \"cs\" | \"da\" | \"de\" | \"en\" | \"es\" | \"fa\" | \"fi\" | \"fr\" | \"gl\" | \"he\" | \"hi-in\" | \"hu\" | \"it\" | \"ja\" | \"ko-kr\" | \"ku\" | \"my\" | \"ne\" | \"no\" | \"pl\" | \"pt-br\" | \"pt-pt\" | \"ro\" | \"ru\" | \"sv\" | \"te\" | \"th\" | \"tr\" | \"uk\" | \"vi\" | \"zh-cn\" | \"zh-tw\";\n color: \"#02B1CC\" | \"#11B3A3\" | \"#39B178\" | \"#55B467\" | \"#7B66DC\" | \"#9D5BD2\" | \"#BD54C6\" | \"#E34BA9\" | \"#EC5E41\" | \"#F04F88\" | \"#F2555A\" | \"#FF802B\";\n isDarkMode: false;\n edgeScrollSpeed: 1;\n animationSpeed: 0 | 1;\n isSnapMode: false;\n}>"
|
||||
}
|
||||
],
|
||||
"fileUrlPath": "packages/editor/src/lib/config/TLUserPreferences.ts",
|
||||
|
|
|
@ -559,6 +559,9 @@ export const LANGUAGES: readonly [{
|
|||
}, {
|
||||
readonly locale: "ca";
|
||||
readonly label: "Català";
|
||||
}, {
|
||||
readonly locale: "cs";
|
||||
readonly label: "Čeština";
|
||||
}, {
|
||||
readonly locale: "da";
|
||||
readonly label: "Danish";
|
||||
|
|
|
@ -2688,7 +2688,7 @@
|
|||
},
|
||||
{
|
||||
"kind": "Content",
|
||||
"text": "readonly [{\n readonly locale: \"ar\";\n readonly label: \"عربي\";\n}, {\n readonly locale: \"ca\";\n readonly label: \"Català\";\n}, {\n readonly locale: \"da\";\n readonly label: \"Danish\";\n}, {\n readonly locale: \"de\";\n readonly label: \"Deutsch\";\n}, {\n readonly locale: \"en\";\n readonly label: \"English\";\n}, {\n readonly locale: \"es\";\n readonly label: \"Español\";\n}, {\n readonly locale: \"fa\";\n readonly label: \"فارسی\";\n}, {\n readonly locale: \"fi\";\n readonly label: \"Suomi\";\n}, {\n readonly locale: \"fr\";\n readonly label: \"Français\";\n}, {\n readonly locale: \"gl\";\n readonly label: \"Galego\";\n}, {\n readonly locale: \"he\";\n readonly label: \"עברית\";\n}, {\n readonly locale: \"it\";\n readonly label: \"Italiano\";\n}, {\n readonly locale: \"ja\";\n readonly label: \"日本語\";\n}, {\n readonly locale: \"ko-kr\";\n readonly label: \"한국어\";\n}, {\n readonly locale: \"ku\";\n readonly label: \"کوردی\";\n}, {\n readonly locale: \"hi-in\";\n readonly label: \"हिन्दी\";\n}, {\n readonly locale: \"hu\";\n readonly label: \"Magyar\";\n}, {\n readonly locale: \"my\";\n readonly label: \"မြန်မာစာ\";\n}, {\n readonly locale: \"ne\";\n readonly label: \"नेपाली\";\n}, {\n readonly locale: \"no\";\n readonly label: \"Norwegian\";\n}, {\n readonly locale: \"pl\";\n readonly label: \"Polski\";\n}, {\n readonly locale: \"pt-br\";\n readonly label: \"Português - Brasil\";\n}, {\n readonly locale: \"pt-pt\";\n readonly label: \"Português - Europeu\";\n}, {\n readonly locale: \"ro\";\n readonly label: \"Română\";\n}, {\n readonly locale: \"ru\";\n readonly label: \"Russian\";\n}, {\n readonly locale: \"sv\";\n readonly label: \"Svenska\";\n}, {\n readonly locale: \"te\";\n readonly label: \"తెలుగు\";\n}, {\n readonly locale: \"th\";\n readonly label: \"ภาษาไทย\";\n}, {\n readonly locale: \"tr\";\n readonly label: \"Türkçe\";\n}, {\n readonly locale: \"uk\";\n readonly label: \"Ukrainian\";\n}, {\n readonly locale: \"vi\";\n readonly label: \"Tiếng Việt\";\n}, {\n readonly locale: \"zh-cn\";\n readonly label: \"Chinese - Simplified\";\n}, {\n readonly locale: \"zh-tw\";\n readonly label: \"繁體中文 (台灣)\";\n}]"
|
||||
"text": "readonly [{\n readonly locale: \"ar\";\n readonly label: \"عربي\";\n}, {\n readonly locale: \"ca\";\n readonly label: \"Català\";\n}, {\n readonly locale: \"cs\";\n readonly label: \"Čeština\";\n}, {\n readonly locale: \"da\";\n readonly label: \"Danish\";\n}, {\n readonly locale: \"de\";\n readonly label: \"Deutsch\";\n}, {\n readonly locale: \"en\";\n readonly label: \"English\";\n}, {\n readonly locale: \"es\";\n readonly label: \"Español\";\n}, {\n readonly locale: \"fa\";\n readonly label: \"فارسی\";\n}, {\n readonly locale: \"fi\";\n readonly label: \"Suomi\";\n}, {\n readonly locale: \"fr\";\n readonly label: \"Français\";\n}, {\n readonly locale: \"gl\";\n readonly label: \"Galego\";\n}, {\n readonly locale: \"he\";\n readonly label: \"עברית\";\n}, {\n readonly locale: \"it\";\n readonly label: \"Italiano\";\n}, {\n readonly locale: \"ja\";\n readonly label: \"日本語\";\n}, {\n readonly locale: \"ko-kr\";\n readonly label: \"한국어\";\n}, {\n readonly locale: \"ku\";\n readonly label: \"کوردی\";\n}, {\n readonly locale: \"hi-in\";\n readonly label: \"हिन्दी\";\n}, {\n readonly locale: \"hu\";\n readonly label: \"Magyar\";\n}, {\n readonly locale: \"my\";\n readonly label: \"မြန်မာစာ\";\n}, {\n readonly locale: \"ne\";\n readonly label: \"नेपाली\";\n}, {\n readonly locale: \"no\";\n readonly label: \"Norwegian\";\n}, {\n readonly locale: \"pl\";\n readonly label: \"Polski\";\n}, {\n readonly locale: \"pt-br\";\n readonly label: \"Português - Brasil\";\n}, {\n readonly locale: \"pt-pt\";\n readonly label: \"Português - Europeu\";\n}, {\n readonly locale: \"ro\";\n readonly label: \"Română\";\n}, {\n readonly locale: \"ru\";\n readonly label: \"Russian\";\n}, {\n readonly locale: \"sv\";\n readonly label: \"Svenska\";\n}, {\n readonly locale: \"te\";\n readonly label: \"తెలుగు\";\n}, {\n readonly locale: \"th\";\n readonly label: \"ภาษาไทย\";\n}, {\n readonly locale: \"tr\";\n readonly label: \"Türkçe\";\n}, {\n readonly locale: \"uk\";\n readonly label: \"Ukrainian\";\n}, {\n readonly locale: \"vi\";\n readonly label: \"Tiếng Việt\";\n}, {\n readonly locale: \"zh-cn\";\n readonly label: \"Chinese - Simplified\";\n}, {\n readonly locale: \"zh-tw\";\n readonly label: \"繁體中文 (台灣)\";\n}]"
|
||||
}
|
||||
],
|
||||
"fileUrlPath": "packages/tlschema/src/translations/languages.ts",
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
export const LANGUAGES = [
|
||||
{ locale: 'ar', label: 'عربي' },
|
||||
{ locale: 'ca', label: 'Català' },
|
||||
{ locale: 'cs', label: 'Čeština' },
|
||||
{ locale: 'da', label: 'Danish' },
|
||||
{ locale: 'de', label: 'Deutsch' },
|
||||
{ locale: 'en', label: 'English' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue