summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorEmanuel Angelo <emanuel.angelo@gmail.com>2020-06-05 09:07:56 +0100
committerGitHub <noreply@github.com>2020-06-05 09:07:56 +0100
commita39557f8fbd6bfa3346580d2a33f1dcc779c0f7f (patch)
treea26888cca3a9ca3ada175f24622add43203670a3 /modules/setting
parent2c5b3c72e8ebdf94ac764267fa78e4a0c5e93dc6 (diff)
downloadgitea-a39557f8fbd6bfa3346580d2a33f1dcc779c0f7f.tar.gz
gitea-a39557f8fbd6bfa3346580d2a33f1dcc779c0f7f.zip
European Portuguese translation (#11568)
This PR includes the modifications necessary to make use of the European Portuguese translation from the default setting.
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index f4ec19387b..62ca10a156 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -1003,15 +1003,15 @@ func NewContext() {
if len(Langs) == 0 {
Langs = []string{
"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"}
+ "ru-RU", "uk-UA", "ja-JP", "es-ES", "pt-BR", "pt-PT", "pl-PL", "bg-BG",
+ "it-IT", "fi-FI", "tr-TR", "cs-CZ", "sr-SP", "sv-SE", "ko-KR"}
}
Names = Cfg.Section("i18n").Key("NAMES").Strings(",")
if len(Names) == 0 {
Names = []string{"English", "简体中文", "繁體中文(香港)", "繁體中文(台灣)", "Deutsch",
"français", "Nederlands", "latviešu", "русский", "Українська", "日本語",
- "español", "português do Brasil", "polski", "български", "italiano",
- "suomi", "Türkçe", "čeština", "српски", "svenska", "한국어"}
+ "español", "português do Brasil", "Português de Portugal", "polski", "български",
+ "italiano", "suomi", "Türkçe", "čeština", "српски", "svenska", "한국어"}
}
dateLangs = Cfg.Section("i18n.datelang").KeysHash()