go-gitea/modules/setting/defaults.go
Will 5cb540c481 fix language list
Standardized the languages' names within the list displayed when picking up a language at the bottom of the webpages
2018-07-19 08:34:26 +02:00

11 lines
539 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package setting
import (
"strings"
)
var (
defaultLangs = strings.Split("en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR", ",")
defaultLangNames = strings.Split("English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Pусский,Українська,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomi,Türkçe,Čeština,Cрпски,Svenska,한국어", ",")
)