* adding Brazilian Portuguese translation; added a repository on Docker Hub to use in Umbrel — version ptbr jovaniojunior/kan-ptbr:latest * add notes to changelog.md * adjust pt-BR date format in date-fns * improve Portuguese integration across code functions and other small pt-BR tweaks * chore: gen missing translations --------- Co-authored-by: Henry <henry_ball@hotmail.co.uk>
28 lines
430 B
TypeScript
28 lines
430 B
TypeScript
export const locales = [
|
|
"en",
|
|
"fr",
|
|
"de",
|
|
"es",
|
|
"it",
|
|
"nl",
|
|
"ru",
|
|
"pl",
|
|
"ptbr"
|
|
] as const;
|
|
|
|
export type Locale = (typeof locales)[number];
|
|
|
|
export const defaultLocale: Locale = "en";
|
|
|
|
export const localeNames: Record<Locale, string> = {
|
|
en: "English",
|
|
fr: "Français",
|
|
de: "Deutsch",
|
|
es: "Español",
|
|
it: "Italiano",
|
|
nl: "Nederlands",
|
|
ru: "Русский",
|
|
pl: "Polski",
|
|
ptbr: "Português",
|
|
};
|