summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorDavid Schneiderbauer <daviian@users.noreply.github.com>2018-05-24 20:07:02 +0200
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-05-24 14:07:02 -0400
commit3b35c6e47cbb998659c302dcf2594c34e340574c (patch)
treebf5266d2524e9fdafcfd7bf7546403324a662edd /custom
parent062111de3be1750bebba305b030965d84382968e (diff)
downloadgitea-3b35c6e47cbb998659c302dcf2594c34e340574c.tar.gz
gitea-3b35c6e47cbb998659c302dcf2594c34e340574c.zip
add i18n section in config cheat sheet, reordered app.ini.sample (#4038)
* add i18n section in config cheat sheet, reordered app.ini.sample * fix wrong default config
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample17
1 files changed, 8 insertions, 9 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index aad6e9c762..8392576da2 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -571,19 +571,11 @@ MAX_RESPONSE_ITEMS = 50
LANGS = 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
NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,Українська,日本語,español,português do Brasil,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어
-[U2F]
-; Two Factor authentication with security keys
-; https://developers.yubico.com/U2F/App_ID.html
-APP_ID = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s
-; Comma seperated list of truisted facets
-TRUSTED_FACETS = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s
-
-
; Used for datetimepicker
[i18n.datelang]
en-US = en
zh-CN = zh
-zh-HK = zh-TW
+zh-HK = zh-HK
zh-TW = zh-TW
de-DE = de
fr-FR = fr
@@ -604,6 +596,13 @@ sr-SP = sr
sv-SE = sv
ko-KR = ko
+[U2F]
+; Two Factor authentication with security keys
+; https://developers.yubico.com/U2F/App_ID.html
+APP_ID = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s
+; Comma seperated list of truisted facets
+TRUSTED_FACETS = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s
+
; Extension mapping to highlight class
; e.g. .toml=ini
[highlight.mapping]