From b0f04e75932553beb44e9b29de0e10452b20cb1c Mon Sep 17 00:00:00 2001 From: Piotr Orzechowski Date: Wed, 25 Oct 2017 04:35:34 +0200 Subject: [PATCH] Fix Polish language name spelling (#2766) --- conf/app.ini | 2 +- 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,한국어", ",") ) -- 2.39.5