mirror of
https://github.com/makeplane/plane.git
synced 2026-02-14 01:59:28 -06:00
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:
@@ -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" },
|
||||
];
|
||||
|
||||
2200
packages/i18n/src/locales/pt-BR/translations.json
Normal file
2200
packages/i18n/src/locales/pt-BR/translations.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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":
|
||||
|
||||
@@ -13,6 +13,7 @@ export type TLanguage =
|
||||
| "ua"
|
||||
| "pl"
|
||||
| "ko"
|
||||
| "pt-BR"
|
||||
| "id"
|
||||
| "ro";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user