summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2014-08-19 12:10:53 +0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2014-08-19 12:10:53 +0400
commit0add9603665dc865e8cb8beed7c8b03f73958579 (patch)
tree688dfec3a69a3718a2b6d5a9544e208bd8856d52
parentd280bc3de06d2e712d3c5ef944af16c596760893 (diff)
downloadaskbot-0add9603665dc865e8cb8beed7c8b03f73958579.tar.gz
askbot-0add9603665dc865e8cb8beed7c8b03f73958579.tar.bz2
askbot-0add9603665dc865e8cb8beed7c8b03f73958579.zip
localized more settings
-rw-r--r--askbot/conf/flatpages.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/askbot/conf/flatpages.py b/askbot/conf/flatpages.py
index 9a705b5a..0c1d4b03 100644
--- a/askbot/conf/flatpages.py
+++ b/askbot/conf/flatpages.py
@@ -17,6 +17,7 @@ settings.register(
FLATPAGES,
'FORUM_ABOUT',
description=_('Text of the Q&A forum About page (html format)'),
+ localized=True,
help_text=\
_(
'Save, then <a href="http://validator.w3.org/">'
@@ -30,6 +31,7 @@ settings.register(
FLATPAGES,
'FORUM_FAQ',
description=_('Text of the Q&A forum FAQ page (html format)'),
+ localized=True,
help_text=\
_(
'Save, then <a href="http://validator.w3.org/">'
@@ -43,6 +45,7 @@ settings.register(
FLATPAGES,
'QUESTION_INSTRUCTIONS',
description=_('Instructions on how to ask questions'),
+ localized=True,
help_text=\
_(
'HTML is allowed. Save, then <a href="http://validator.w3.org/">'
@@ -57,6 +60,7 @@ settings.register(
FLATPAGES,
'FORUM_PRIVACY',
description=_('Text of the Q&A forum Privacy Policy (html format)'),
+ localized=True,
help_text=\
_(
'Save, then <a href="http://validator.w3.org/">'
@@ -70,8 +74,9 @@ settings.register(#this field is not editable manually
LongStringValue(
FLATPAGES,
'CATEGORY_TREE',
- description = 'Category tree',#no need to translate
- default = '[["dummy",[]]]',#empty array of arrays in json
+ description='Category tree',#no need to translate
+ localized=True,
+ default='[["dummy",[]]]',#empty array of arrays in json
help_text=_('Do not edit this field manually!!!')
#hidden = True
)