1
0
forked from Kieran/snort

Merge pull request 'feat: add pt-BR to languages menu' (#623) from fernandoporazzi/snort:pt_BR-translations into main

Reviewed-on: Kieran/snort#623
This commit is contained in:
Kieran 2023-08-29 15:35:57 +00:00
commit d4eaf247b0
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 = () => {