[PATCH 1 of 3] ini: fix typo i18n.enable -> i18n.enabled (Issue #339)
Thomas De Schampheleire
patrickdepinguin at gmail.com
Mon Apr 1 20:25:29 UTC 2019
# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
# Date 1554111047 -7200
# Mon Apr 01 11:30:47 2019 +0200
# Branch stable
# Node ID 2b8563d0432ca1359f5ba5dab73af0b42a1743c0
# Parent 6af336051b2a0a57f1d088b296d7e259d40ba669
ini: fix typo i18n.enable -> i18n.enabled (Issue #339)
Commit f2f7a8c1281e changed the i18n-related ini settings to match
TurboGears2. Even though the commit message correctly refers to
'i18n.enabled', the code incorrectly used 'i18n.enable'.
diff --git a/development.ini b/development.ini
--- a/development.ini
+++ b/development.ini
@@ -91,7 +91,7 @@ static_files = true
## Internationalization (see setup documentation for details)
## By default, the language requested by the browser is used if available.
-#i18n.enable = false
+#i18n.enabled = false
## Fallback language, empty for English (valid values are the names of subdirectories in kallithea/i18n):
i18n.lang =
diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako
--- a/kallithea/lib/paster_commands/template.ini.mako
+++ b/kallithea/lib/paster_commands/template.ini.mako
@@ -186,7 +186,7 @@ static_files = true
<%text>## Internationalization (see setup documentation for details)</%text>
<%text>## By default, the language requested by the browser is used if available.</%text>
-#i18n.enable = false
+#i18n.enabled = false
<%text>## Fallback language, empty for English (valid values are the names of subdirectories in kallithea/i18n):</%text>
i18n.lang =
More information about the kallithea-general
mailing list