diff options
author | Piotr Orzechowski <tech@orzechowski.hub.pl> | 2017-10-25 04:35:34 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-10-24 21:35:34 -0500 |
commit | b0f04e75932553beb44e9b29de0e10452b20cb1c (patch) | |
tree | 662f76526b18e4ecd5ed91996d1e5f4a42e30aa5 | |
parent | 6eeadb2082193f8e3dc5269dfc6da2daef7eb6a1 (diff) | |
download | gitea-b0f04e75932553beb44e9b29de0e10452b20cb1c.tar.gz gitea-b0f04e75932553beb44e9b29de0e10452b20cb1c.zip |
Fix Polish language name spelling (#2766)
-rw-r--r-- | conf/app.ini | 2 | ||||
-rw-r--r-- | modules/setting/defaults.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/app.ini b/conf/app.ini index 3b1bccf816..3e07b98e69 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -522,7 +522,7 @@ MAX_RESPONSE_ITEMS = 50 [i18n] LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR -NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어 +NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어 ; Used for datetimepicker [i18n.datelang] diff --git a/modules/setting/defaults.go b/modules/setting/defaults.go index 281b81a612..4e3520898a 100644 --- a/modules/setting/defaults.go +++ b/modules/setting/defaults.go @@ -6,5 +6,5 @@ import ( var ( defaultLangs = strings.Split("en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,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,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어", ",") + defaultLangNames = strings.Split("English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어", ",") ) |