# HG changeset patch
# User Thomas De Schampheleire <[email protected]>
# 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 =
 
_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to