diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-06-27 13:15:55 -0700 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-06-27 13:15:55 -0700 |
commit | ca3ea6846065e1c8a80a6908ee47690b93e5279a (patch) | |
tree | 1dcf8b73a566437c23b59a903b786b7af217d313 | |
parent | f7c7d0ab24d89175cd3e31f610e7d13d6c8c37c4 (diff) | |
parent | 7357505a97ce4525da3333c12e295969bf14784a (diff) | |
download | askbot-ca3ea6846065e1c8a80a6908ee47690b93e5279a.tar.gz askbot-ca3ea6846065e1c8a80a6908ee47690b93e5279a.tar.bz2 askbot-ca3ea6846065e1c8a80a6908ee47690b93e5279a.zip |
Merge pull request #82 from lissyx/master
Fixing some JavaScript
-rw-r--r-- | askbot/skins/default/templates/meta/editor_data.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/askbot/skins/default/templates/meta/editor_data.html b/askbot/skins/default/templates/meta/editor_data.html index 2363281c..9e243baa 100644 --- a/askbot/skins/default/templates/meta/editor_data.html +++ b/askbot/skins/default/templates/meta/editor_data.html @@ -3,11 +3,11 @@ askbot['settings']['tagsAreRequired'] = {% if settings.TAGS_ARE_REQUIRED %}true{% else %}false{% endif %}; askbot['settings']['maxTagLength'] = {{settings.MAX_TAG_LENGTH}}; - 'each tag must be shorter than %(max_chars)d characters', - askbot['messages']['maxTagLength'] = '{% trans max_chars = settings.MAX_TAG_LENGTH %}each tag must be shorter that {{max_chars}} character{% pluralize %}each tag must be shorter than {{max_chars}} characters{% endtrans %}'; + "each tag must be shorter than %(max_chars)d characters", + askbot['messages']['maxTagLength'] = "{% trans max_chars = settings.MAX_TAG_LENGTH %}each tag must be shorter that {{max_chars}} character{% pluralize %}each tag must be shorter than {{max_chars}} characters{% endtrans %}"; askbot['settings']['maxTagsPerPost'] = {{settings.MAX_TAGS_PER_POST}}; - askbot['messages']['maxTagsPerPost'] = '{% trans tag_count = settings.MAX_TAGS_PER_POST %}please use {{tag_count}} tag{% pluralize %}please use {{tag_count}} tags or less{% endtrans %}'; - askbot['messages']['tagLimits'] = '{% trans tag_count=settings.MAX_TAGS_PER_POST, max_chars=settings.MAX_TAG_LENGTH %}please use up to {{tag_count}} tags, less than {{max_chars}} characters each{% endtrans %}'; + askbot['messages']['maxTagsPerPost'] = "{% trans tag_count = settings.MAX_TAGS_PER_POST %}please use {{tag_count}} tag{% pluralize %}please use {{tag_count}} tags or less{% endtrans %}"; + askbot['messages']['tagLimits'] = "{% trans tag_count=settings.MAX_TAGS_PER_POST, max_chars=settings.MAX_TAG_LENGTH %}please use up to {{tag_count}} tags, less than {{max_chars}} characters each{% endtrans %}"; askbot['urls']['upload'] = '{% url "upload" %}'; askbot['settings']['minTitleLength'] = {{settings.MIN_TITLE_LENGTH}} askbot['settings']['minQuestionBodyLength'] = {{settings.MIN_QUESTION_BODY_LENGTH}} |