Adding Brazilian Portuguese translation to the frontend

This commit is contained in:
Gustavo Michels de Camargo
2025-06-22 01:43:21 -03:00
committed by mayswind
parent 4413f2c411
commit c1e4cd4bf1
3 changed files with 2208 additions and 2 deletions
+1 -1
View File
@@ -38,5 +38,5 @@ var AllLanguages = map[string]*LocaleInfo{
}, },
"pt-BR": { "pt-BR": {
Content: ptBR, Content: ptBR,
} },
} }
+10 -1
View File
@@ -8,6 +8,8 @@ import uk from './uk.json';
import vi from './vi.json'; import vi from './vi.json';
import zhHans from './zh_Hans.json'; import zhHans from './zh_Hans.json';
import zhHant from './zh_Hant.json'; import zhHant from './zh_Hant.json';
import ptBR from './pt_BR.json';
export interface LanguageInfo { export interface LanguageInfo {
readonly name: string; readonly name: string;
@@ -88,5 +90,12 @@ export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
alternativeLanguageTag: 'zh-TW', alternativeLanguageTag: 'zh-TW',
aliases: ['zh-CHT', 'zh-TW', 'zh-HK', 'zh-MO'], aliases: ['zh-CHT', 'zh-TW', 'zh-HK', 'zh-MO'],
content: zhHant content: zhHant
} },
'pt-BR': {
name: 'Portuguese (Brazil)',
displayName: 'Português (Brasil)',
alternativeLanguageTag: 'pt-BR',
aliases: ['pt'],
content: ptBR
},
}; };
File diff suppressed because it is too large Load Diff