mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 00:49:00 +01:00
21 lines
574 B
TypeScript
21 lines
574 B
TypeScript
interface Locale {
|
|
id: string;
|
|
name: string;
|
|
rtl?: boolean;
|
|
}
|
|
|
|
export const LOCALES: Locale[] = [
|
|
{ id: "en", name: "English" },
|
|
{ id: "ro", name: "Română" },
|
|
{ id: "zh-Hans", name: "简体中文" },
|
|
{ id: "zh-Hant", name: "繁體中文" },
|
|
{ id: "fr", name: "Français" },
|
|
{ id: "it", name: "Italiano" },
|
|
{ id: "ja", name: "日本語" },
|
|
{ id: "pl", name: "Polski" },
|
|
{ id: "es", name: "Español" },
|
|
{ id: "ar", name: "اَلْعَرَبِيَّةُ", rtl: true },
|
|
].toSorted((a, b) => a.name.localeCompare(b.name));
|
|
|
|
|