mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 05:09:54 +01:00
feat(i18n): add English (United Kingdom)
This commit is contained in:
@@ -10,6 +10,11 @@ interface LocaleMapping {
|
||||
const LOCALE_MAPPINGS: Record<DISPLAYABLE_LOCALE_IDS, LocaleMapping | null> = {
|
||||
en: null,
|
||||
en_rtl: null,
|
||||
"en-GB": {
|
||||
languageCode: "en-GB",
|
||||
coreTranslation: () => import("ckeditor5/translations/en-gb.js"),
|
||||
premiumFeaturesTranslation: () => import("ckeditor5-premium-features/translations/en-gb.js"),
|
||||
},
|
||||
ar: {
|
||||
languageCode: "ar",
|
||||
coreTranslation: () => import("ckeditor5/translations/ar.js"),
|
||||
|
||||
@@ -15,6 +15,7 @@ const UNSORTED_LOCALES = [
|
||||
{ id: "cn", name: "简体中文", electronLocale: "zh_CN" },
|
||||
{ id: "de", name: "Deutsch", electronLocale: "de" },
|
||||
{ id: "en", name: "English", electronLocale: "en" },
|
||||
{ id: "en-GB", name: "English (United Kingdom)", electronLocale: "en_GB" },
|
||||
{ id: "es", name: "Español", electronLocale: "es" },
|
||||
{ id: "fr", name: "Français", electronLocale: "fr" },
|
||||
{ id: "it", name: "Italiano", electronLocale: "it" },
|
||||
|
||||
Reference in New Issue
Block a user