modify language order

This commit is contained in:
MaysWind
2025-06-22 17:54:19 +08:00
parent 468a4b1bac
commit a7554d884f
2 changed files with 9 additions and 10 deletions
+3 -3
View File
@@ -21,6 +21,9 @@ var AllLanguages = map[string]*LocaleInfo{
"ja": {
Content: ja,
},
"pt-BR": {
Content: ptBR,
},
"ru": {
Content: ru,
},
@@ -36,7 +39,4 @@ var AllLanguages = map[string]*LocaleInfo{
"zh-Hant": {
Content: zhHant,
},
"pt-BR": {
Content: ptBR,
},
}
+6 -7
View File
@@ -59,6 +59,12 @@ export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
alternativeLanguageTag: 'ja-JP',
content: ja
},
'pt-BR': {
name: 'Portuguese (Brazil)',
displayName: 'Português (Brasil)',
alternativeLanguageTag: 'pt-BR',
content: ptBR
},
'ru': {
name: 'Russian',
displayName: 'Русский',
@@ -91,11 +97,4 @@ export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
aliases: ['zh-CHT', 'zh-TW', 'zh-HK', 'zh-MO'],
content: zhHant
},
'pt-BR': {
name: 'Portuguese (Brazil)',
displayName: 'Português (Brasil)',
alternativeLanguageTag: 'pt-BR',
aliases: ['pt'],
content: ptBR
},
};