feat(i18n): add 3 languages

This commit is contained in:
Paul Makles 2021-12-07 16:44:17 +00:00
parent d8f48743b3
commit 3a093018eb

View file

@ -46,13 +46,16 @@ export enum Language {
MALAY = "ms",
NORWEGIAN_BOKMAL = "nb_NO",
DUTCH = "nl",
PERSIAN = "fa",
POLISH = "pl",
PORTUGUESE_BRAZIL = "pt_BR",
PORTUGUESE_PORTUGAL = "pt_PT",
ROMANIAN = "ro",
RUSSIAN = "ru",
SLOVAK = "sk",
SLOVENIAN = "sl",
SERBIAN = "sr",
SINHALESE = "si",
SWEDISH = "sv",
TAMIL = "ta",
THAI = "th",
@ -114,6 +117,7 @@ export const Languages: { [key in Language]: LanguageEntry } = {
ms: { display: "Melayu", emoji: "🇲🇾", i18n: "ms" },
nb_NO: { display: "Norsk bokmål", emoji: "🇳🇴", i18n: "nb_NO", dayjs: "nb" },
nl: { display: "Nederlands", emoji: "🇳🇱", i18n: "nl" },
fa: { display: "فارسی", emoji: "🇮🇷", i18n: "fa" },
pl: { display: "Polski", emoji: "🇵🇱", i18n: "pl" },
pt_BR: {
display: "Português (do Brasil)",
@ -121,11 +125,18 @@ export const Languages: { [key in Language]: LanguageEntry } = {
i18n: "pt_BR",
dayjs: "pt-br",
},
pt_PT: {
display: "Português (Portugal)",
emoji: "🇵🇹",
i18n: "pt_PT",
dayjs: "pt",
},
ro: { display: "Română", emoji: "🇷🇴", i18n: "ro" },
ru: { display: "Русский", emoji: "🇷🇺", i18n: "ru" },
sk: { display: "Slovensky", emoji: "🇸🇰", i18n: "sk" },
sl: { display: "Slovenščina", emoji: "🇸🇮", i18n: "sl" },
sr: { display: "Српски", emoji: "🇷🇸", i18n: "sr" },
si: { display: "සිංහල", emoji: "🇱🇰", i18n: "si" },
sv: { display: "Svenska", emoji: "🇸🇪", i18n: "sv" },
ta: { display: "தமிழ்", emoji: "🇮🇳", i18n: "ta" },
th: { display: "ไทย", emoji: "🇹🇭", i18n: "th" },