diff --git a/recommended-instances.json b/recommended-instances.json index f69c6da..27e7e02 100644 --- a/recommended-instances.json +++ b/recommended-instances.json @@ -3,7 +3,8 @@ "da": ["feddit.dk"], "de": ["feddit.de"], "pt": ["lemmy.pt"], - "pt_BR": ["lemmy.pt"], + "pt-PT": ["lemmy.pt"], + "pt-BR": ["lemmy.pt"], "eu": ["lemmy.eus"], "ja": ["tabinezumi.net", "lm.korako.me"], "it": ["feddit.it"], diff --git a/src/shared/i18next.ts b/src/shared/i18next.ts index 8adbff1..c878fd9 100644 --- a/src/shared/i18next.ts +++ b/src/shared/i18next.ts @@ -42,11 +42,11 @@ export const languages = [ { resource: it, code: "it", name: "Italiano" }, { resource: ja, code: "ja", name: "日本語" }, { resource: ko, code: "ko", name: "한국어" }, - { resource: nb_NO, code: "nb_NO", name: "Norsk (bokmål)" }, + { resource: nb_NO, code: "nb-NO", name: "Norsk (bokmål)" }, { resource: nl, code: "nl", name: "Nederlands" }, { resource: pl, code: "pl", name: "Polski" }, { resource: pt, code: "pt", name: "Português" }, - { resource: pt_BR, code: "pt_BR", name: "Português (Brasil)" }, + { resource: pt_BR, code: "pt-BR", name: "Português (Brasil)" }, { resource: ru, code: "ru", name: "Русский" }, { resource: zh, code: "zh", name: "中文" }, ];