Fix regional language variants not being properly accessed (#152)

This commit is contained in:
Tmpod 2023-06-05 12:37:08 +00:00 committed by GitHub
parent f9e30813e1
commit 47d546dad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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"],

View file

@ -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: "中文" },
];