mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-23 22:22:07 -05:00
feat(i18n): add 3 languages
This commit is contained in:
parent
d8f48743b3
commit
3a093018eb
1 changed files with 11 additions and 0 deletions
|
@ -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" },
|
||||
|
|
Loading…
Reference in a new issue