feat: add pt-BR to languages menu

This commit is contained in:
Fernando Porazzi 2023-08-29 11:31:16 +02:00 committed by fernandoporazzi
parent 8a3133af70
commit a6cb5ddace
3 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,9 @@ const getMessages = (locale: string) => {
case "th-TH":
case "th":
return (await import("translations/th_TH.json")).default;
case "pt-BR":
case "pt":
return (await import("translations/pt_BR.json")).default;
case DefaultLocale:
case "en":
return enMessages;

View File

@ -45,6 +45,8 @@ const Translators = [
bech32ToHex("npub19jk45jz45gczwfm22y9z69xhaex3nwg47dz84zw096xl6z62amkqj99rv7"), // Pextar - SV
bech32ToHex("npub1z9n5ktfjrlpyywds9t7ljekr9cm9jjnzs27h702te5fy8p2c4dgs5zvycf"), // Felix - DE
bech32ToHex("npub1wh30wunfpkezx5s7edqu9g0s0raeetf5dgthzm0zw7sk8wqygmjqqfljgh"), // Fernando Porazzi - pt-BR
];
export const DonateLNURL = "donate@snort.social";

View File

@ -28,6 +28,7 @@ export const AllLanguageCodes = [
"ta-IN",
"fa-IR",
"th",
"pt-BR",
];
const PreferencesPage = () => {