diff options
Diffstat (limited to 'forum/skins/default/templates')
-rw-r--r-- | forum/skins/default/templates/post_contributor_info.html | 2 | ||||
-rw-r--r-- | forum/skins/default/templates/question.html | 10 | ||||
-rw-r--r-- | forum/skins/default/templates/questions.html | 2 | ||||
-rw-r--r-- | forum/skins/default/templates/user_stats.html | 12 |
4 files changed, 13 insertions, 13 deletions
diff --git a/forum/skins/default/templates/post_contributor_info.html b/forum/skins/default/templates/post_contributor_info.html index 3fc3f400..260a0590 100644 --- a/forum/skins/default/templates/post_contributor_info.html +++ b/forum/skins/default/templates/post_contributor_info.html @@ -6,7 +6,7 @@ {% if wiki %} <p>{% trans "community wiki" %}</p> <p> - {% blocktrans count post.revisions.all|length as rev_count %}one revision{% plural %}{{rev_count}} revisions{% endblocktrans %} + {% blocktrans count post.revisions.all|length as rev_count %}{{rev_count}} revision{% plural %}{{rev_count}} revisions{% endblocktrans %} </p> <p>{{post.author.get_profile_link}}</p> {% else %} diff --git a/forum/skins/default/templates/question.html b/forum/skins/default/templates/question.html index 48b6d719..f0619ab8 100644 --- a/forum/skins/default/templates/question.html +++ b/forum/skins/default/templates/question.html @@ -195,9 +195,9 @@ {% endif %}
{% if question.comment_count > 5 %}
{% if request.user|can_add_comments:question %}/
- {% blocktrans count question.get_comments|slice:"5:"|length as counter %}see <strong>one</strong> more{% plural %}see <strong>{{counter}}</strong> more{% endblocktrans %}
+ {% blocktrans count question.get_comments|slice:"5:"|length as counter %}see <strong>{{counter}}</strong> more{% plural %}see <strong>{{counter}}</strong> more{% endblocktrans %}
{% else %}
- {% blocktrans count question.get_comments|slice:"5:"|length as counter %}see <strong>one</strong> more comment{% plural %}see <strong>{{counter}}</strong> more comments
+ {% blocktrans count question.get_comments|slice:"5:"|length as counter %}see <strong>{{counter}}</strong> more comment{% plural %}see <strong>{{counter}}</strong> more comments
{% endblocktrans %}
{% endif %}
{% endif %}</a>
@@ -221,7 +221,7 @@ <a name="sort-top"></a>
<div class="headUsers">
{% blocktrans count answers|length as counter %}
- One Answer:
+ {{counter}} Answer:
{% plural %}
{{counter}} Answers:
{% endblocktrans %}
@@ -337,9 +337,9 @@ {% endif %}
{% if answer.comment_count > 5 %}
{% if request.user|can_add_comments:answer %}/
- {% blocktrans count answer.get_comments|slice:"5:"|length as counter %}see <strong>one</strong> more{% plural %}see <strong>{{counter}}</strong> more{% endblocktrans %}
+ {% blocktrans count answer.get_comments|slice:"5:"|length as counter %}see <strong>{{counter}}</strong> more{% plural %}see <strong>{{counter}}</strong> more{% endblocktrans %}
{% else %}
- {% blocktrans count answer.get_comments|slice:"5:"|length as counter %}see <strong>one</strong> more comment{% plural %} see <strong>{{counter}}</strong> more comments{% endblocktrans %}
+ {% blocktrans count answer.get_comments|slice:"5:"|length as counter %}see <strong>{{counter}}</strong> more comment{% plural %} see <strong>{{counter}}</strong> more comments{% endblocktrans %}
{% endif %}
{% endif %}</a>
{% endif %}
diff --git a/forum/skins/default/templates/questions.html b/forum/skins/default/templates/questions.html index 8e09b185..0d586018 100644 --- a/forum/skins/default/templates/questions.html +++ b/forum/skins/default/templates/questions.html @@ -138,7 +138,7 @@ <div style="clear:both">
<p class="search-result-summary">
{% if author_name or search_tags or query %}
- {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} One question found{% plural %}{{q_num}} questions found{% endblocktrans %}
+ {% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} {{q_num}} question found{% plural %}{{q_num}} questions found{% endblocktrans %}
{% else %}
{% blocktrans count questions_count as cnt with questions_count|intcomma as q_num %} {{q_num}} question{% plural %}{{q_num}} questions{% endblocktrans %}
{% endif %}
diff --git a/forum/skins/default/templates/user_stats.html b/forum/skins/default/templates/user_stats.html index ae24a374..f5dcf4f5 100644 --- a/forum/skins/default/templates/user_stats.html +++ b/forum/skins/default/templates/user_stats.html @@ -8,12 +8,12 @@ <a name="questions"></a> {% spaceless %} - <h2>{% blocktrans count questions|length as counter %}<span class="count">1</span> Question{% plural %}<span class="count">{{counter}}</span> Questions{% endblocktrans %}</h2> + <h2>{% blocktrans count questions|length as counter %}<span class="count">{{counter}}</span> Question{% plural %}<span class="count">{{counter}}</span> Questions{% endblocktrans %}</h2> {% endspaceless %} {% include "users_questions.html" %} <a name="answers"></a> {% spaceless %} - <h2>{% blocktrans count answered_questions|length as counter %}<span class="count">1</span> Answer{% plural %}<span class="count">{{counter}}</span> Answers{% endblocktrans %}</h2> + <h2>{% blocktrans count answered_questions|length as counter %}<span class="count">{{counter}}</span> Answer{% plural %}<span class="count">{{counter}}</span> Answers{% endblocktrans %}</h2> {% endspaceless %} <div class="user-stats-table"> {% for answered_question in answered_questions %} @@ -31,7 +31,7 @@ {% endspaceless %} {% if answered_question.comment_count %} <span> - {% blocktrans count answered_question.comment_count as comment_count %}(one comment){% plural %}the answer has been commented {{comment_count}} times{% endblocktrans %} + {% blocktrans count answered_question.comment_count as comment_count %}({{comment_count}} comment){% plural %}the answer has been commented {{comment_count}} times{% endblocktrans %} </span> {% endif %} </div> @@ -41,7 +41,7 @@ <br/> <a name="votes"></a> {% spaceless %} - <h2>{% blocktrans count total_votes as cnt %}<span class="count">1</span> Vote{% plural %}<span class="count">{{cnt}}</span> Votes {% endblocktrans %}</h2> + <h2>{% blocktrans count total_votes as cnt %}<span class="count">{{cnt}}</span> Vote{% plural %}<span class="count">{{cnt}}</span> Votes {% endblocktrans %}</h2> {% endspaceless %} <div class="user-stats-table"> <table> @@ -61,7 +61,7 @@ </div> <a name="tags"></a> {% spaceless %} - <h2>{% blocktrans count user_tags|length as counter %}<span class="count">1</span> Tag{% plural %}<span class="count">{{counter}}</span> Tags{% endblocktrans %}</h2> + <h2>{% blocktrans count user_tags|length as counter %}<span class="count">{{counter}}</span> Tag{% plural %}<span class="count">{{counter}}</span> Tags{% endblocktrans %}</h2> {% endspaceless %} <div class="user-stats-table"> <table class="tags"> @@ -83,7 +83,7 @@ </div> <a name="badges"></a> {% spaceless %} - <h2>{% blocktrans count total_awards as counter %}<span class="count">1</span> Badge{% plural %}<span class="count">{{counter}}</span> Badges{% endblocktrans %}</h2> + <h2>{% blocktrans count total_awards as counter %}<span class="count">{{counter}}</span> Badge{% plural %}<span class="count">{{counter}}</span> Badges{% endblocktrans %}</h2> {% endspaceless %} <div class="user-stats-table"> <table> |