mirror of
https://github.com/zadam/trilium.git
synced 2026-02-26 16:43:36 +01:00
Translations update from Hosted Weblate (#8796)
Some checks are pending
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Deploy Documentation / Build and Deploy Documentation (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / E2E tests on linux-arm64 (push) Waiting to run
playwright / E2E tests on linux-x64 (push) Waiting to run
Some checks are pending
Checks / main (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Deploy Documentation / Build and Deploy Documentation (push) Waiting to run
Dev / Test development (push) Waiting to run
Dev / Build Docker image (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile) (push) Blocked by required conditions
Dev / Check Docker build (Dockerfile.alpine) (push) Blocked by required conditions
/ Check Docker build (Dockerfile) (push) Waiting to run
/ Check Docker build (Dockerfile.alpine) (push) Waiting to run
/ Build Docker images (Dockerfile, ubuntu-24.04-arm, linux/arm64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.alpine, ubuntu-latest, linux/amd64) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v7) (push) Blocked by required conditions
/ Build Docker images (Dockerfile.legacy, ubuntu-24.04-arm, linux/arm/v8) (push) Blocked by required conditions
/ Merge manifest lists (push) Blocked by required conditions
playwright / E2E tests on linux-arm64 (push) Waiting to run
playwright / E2E tests on linux-x64 (push) Waiting to run
This commit is contained in:
commit
a3e4044fec
File diff suppressed because it is too large
Load Diff
@ -79,6 +79,7 @@ export const LOCALE_MAPPINGS: Record<DISPLAYABLE_LOCALE_IDS, (() => Promise<{ de
|
||||
es: () => import("@fullcalendar/core/locales/es"),
|
||||
fr: () => import("@fullcalendar/core/locales/fr"),
|
||||
it: () => import("@fullcalendar/core/locales/it"),
|
||||
hi: () => import("@fullcalendar/core/locales/hi"),
|
||||
ga: null,
|
||||
cn: () => import("@fullcalendar/core/locales/zh-cn"),
|
||||
tw: () => import("@fullcalendar/core/locales/zh-tw"),
|
||||
|
||||
@ -36,6 +36,7 @@ const LOCALE_MAPPINGS: Record<DISPLAYABLE_LOCALE_IDS, Options["locale"] | null>
|
||||
fr: "fr",
|
||||
ga: null,
|
||||
it: "it",
|
||||
hi: null,
|
||||
ja: "ja",
|
||||
pt: "pt",
|
||||
pl: null,
|
||||
|
||||
@ -23,8 +23,8 @@ describe("Canvas i18n", () => {
|
||||
if (locale.contentOnly || locale.devOnly) continue;
|
||||
const languageCode = LANGUAGE_MAPPINGS[locale.id];
|
||||
if (languageCode && !supportedLanguageCodes.has(languageCode)) {
|
||||
console.log("Supported locales:", Array.from(supportedLanguageCodes.values()).join(", "));
|
||||
expect.fail(`Unable to find locale for ${locale.id} -> ${languageCode}.`);
|
||||
const supportdLocales = Array.from(supportedLanguageCodes.values()).join(", ");
|
||||
expect.fail(`Unable to find locale for ${locale.id} -> ${languageCode}, supported locales: ${supportdLocales}`);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -12,6 +12,7 @@ export const LANGUAGE_MAPPINGS: Record<DISPLAYABLE_LOCALE_IDS, Language["code"]
|
||||
fr: "fr-FR",
|
||||
ga: null,
|
||||
it: "it-IT",
|
||||
hi: "hi-IN",
|
||||
ja: "ja-JP",
|
||||
pt: "pt-PT",
|
||||
pl: "pl-PL",
|
||||
|
||||
@ -307,13 +307,11 @@
|
||||
"quick-search-title": "Szybkie wyszukiwanie",
|
||||
"protected-session-title": "Chroniona sesja",
|
||||
"sync-status-title": "Status synchronizacji",
|
||||
"llm-chat-title": "Czat z notatkami",
|
||||
"text-notes": "Notatki tekstowe",
|
||||
"code-notes-title": "Notatki kodowe",
|
||||
"images-title": "Obrazy",
|
||||
"multi-factor-authentication-title": "MFA",
|
||||
"etapi-title": "ETAPI",
|
||||
"ai-llm-title": "AI/LLM",
|
||||
"other": "Inne",
|
||||
"visible-launchers-title": "Widoczne launchery",
|
||||
"user-guide": "Podręcznik użytkownika",
|
||||
|
||||
@ -46,6 +46,11 @@ const LOCALE_MAPPINGS: Record<DISPLAYABLE_LOCALE_IDS, LocaleMapping | null> = {
|
||||
coreTranslation: () => import("ckeditor5/translations/it.js"),
|
||||
premiumFeaturesTranslation: () => import("ckeditor5-premium-features/translations/it.js"),
|
||||
},
|
||||
hi: {
|
||||
languageCode: "hi",
|
||||
coreTranslation: () => import("ckeditor5/translations/hi.js"),
|
||||
premiumFeaturesTranslation: () => import("ckeditor5-premium-features/translations/hi.js"),
|
||||
},
|
||||
ja: {
|
||||
languageCode: "ja",
|
||||
coreTranslation: () => import("ckeditor5/translations/ja.js"),
|
||||
|
||||
@ -44,6 +44,7 @@ export const DAYJS_LOADER: Record<LOCALE_IDS, () => Promise<typeof import("dayjs
|
||||
"ga": () => import("dayjs/locale/ga.js"),
|
||||
"it": () => import("dayjs/locale/it.js"),
|
||||
"he": () => import("dayjs/locale/he.js"),
|
||||
"hi": () => import("dayjs/locale/hi.js"),
|
||||
"ja": () => import("dayjs/locale/ja.js"),
|
||||
"ku": () => import("dayjs/locale/ku.js"),
|
||||
"pt_br": () => import("dayjs/locale/pt-br.js"),
|
||||
|
||||
@ -21,6 +21,7 @@ const UNSORTED_LOCALES = [
|
||||
{ id: "fr", name: "Français", electronLocale: "fr" },
|
||||
{ id: "ga", name: "Gaeilge", electronLocale: "en" },
|
||||
{ id: "it", name: "Italiano", electronLocale: "it" },
|
||||
{ id: "hi", name: "हिन्दी", electronLocale: "hi" },
|
||||
{ id: "ja", name: "日本語", electronLocale: "ja" },
|
||||
{ id: "pt_br", name: "Português (Brasil)", electronLocale: "pt_BR" },
|
||||
{ id: "pt", name: "Português (Portugal)", electronLocale: "pt_PT" },
|
||||
|
||||
@ -11,7 +11,8 @@ const watchMode = process.argv.includes("--watch");
|
||||
|
||||
const LOCALE_MAPPINGS: Record<string, string> = {
|
||||
"es": "es-ES",
|
||||
"ga": "ga-IE"
|
||||
"ga": "ga-IE",
|
||||
"hi": "hi-IN"
|
||||
};
|
||||
|
||||
async function main() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user