mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 18:38:56 +03:00
+ i18n: add new languages
This commit is contained in:
parent
2d402f8cf7
commit
eb6dc76920
1 changed files with 12 additions and 0 deletions
12
home/i18n.go
12
home/i18n.go
|
@ -24,6 +24,18 @@ var allowedLanguages = map[string]bool{
|
|||
"zh-tw": true,
|
||||
"bg": true,
|
||||
"zh-cn": true,
|
||||
"cs": true,
|
||||
"da": true,
|
||||
"de": true,
|
||||
"id": true,
|
||||
"it": true,
|
||||
"ko": true,
|
||||
"nl": true,
|
||||
"pl": true,
|
||||
"pt-pt": true,
|
||||
"sk": true,
|
||||
"sl": true,
|
||||
"tr": true,
|
||||
}
|
||||
|
||||
func isLanguageAllowed(language string) bool {
|
||||
|
|
Loading…
Reference in a new issue