feat(i18n): add Brazilian Portuguese (pt-BR) translations (#6840)

Updated TranslationStore to include support for Brazilian Portuguese by importing the corresponding translations file.
Extended TLanguage type to include "pt-BR" as a valid language option.
This commit is contained in:
Henrique
2025-04-01 06:46:58 -03:00
committed by GitHub
parent 921dfe3222
commit 9279b5f1fb
4 changed files with 2204 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ export const SUPPORTED_LANGUAGES: ILanguageOption[] = [
{ label: "Українська", value: "ua" },
{ label: "Polski", value: "pl" },
{ label: "한국어", value: "ko" },
{ label: "Português Brasil", value: "pt-BR" },
{ label: "Indonesian", value: "id" },
{ label: "Română", value: "ro" },
];

File diff suppressed because it is too large Load Diff

View File

@@ -165,6 +165,8 @@ export class TranslationStore {
return import("../locales/pl/translations.json");
case "ko":
return import("../locales/ko/translations.json");
case "pt-BR":
return import("../locales/pt-BR/translations.json");
case "id":
return import("../locales/id/translations.json");
case "ro":

View File

@@ -13,6 +13,7 @@ export type TLanguage =
| "ua"
| "pl"
| "ko"
| "pt-BR"
| "id"
| "ro";