]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-459, making some headers in the user stats template translatable
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 27 Jun 2011 11:52:30 +0000 (11:52 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 27 Jun 2011 11:52:30 +0000 (11:52 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1080 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/users/stats.html

index fe34b19f3010f415629ef5ca8d8eb72e366a7b0f..f2eb736221e1415c83af340ddb31522c7fb348a0 100644 (file)
@@ -11,9 +11,9 @@
         {% spaceless %}
             <h2>
                 {% blocktrans count questions.paginator.count as counter %}
-                <span class="count">{{counter}}</span> Question
+                <span class="count">{{counter}}</span> {% trans "Question" %}
                 {% plural %}
-                <span class="count">{{counter}}</span> Questions
+                <span class="count">{{counter}}</span> {% trans "Questions" %}
                 {% endblocktrans %}
                 <a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');"
                     href="{{ view_user.get_asked_url }}?type=rss" title="{% trans "subscribe to question RSS feed" %}"></a>
@@ -33,9 +33,9 @@
         {% spaceless %}
             <h2>
                 {% blocktrans count answers.paginator.count as counter %}
-                <span class="count">{{counter}}</span> Answer
+                <span class="count">{{counter}}</span> {% trans "Answer" %}
                 {% plural %}
-                <span class="count">{{counter}}</span> Answers
+                <span class="count">{{counter}}</span> {% trans "Answers" %}
                 {% endblocktrans %}
             </h2>
         {% endspaceless %}
@@ -65,9 +65,9 @@
         {% spaceless %}
             <h2>
                 {% blocktrans count total_votes as cnt %}
-                    <span class="count">{{cnt}}</span> Vote
+                    <span class="count">{{cnt}}</span> {% trans "Vote" %}
                 {% plural %}
-                    <span class="count">{{cnt}}</span> Votes
+                    <span class="count">{{cnt}}</span> {% trans "Votes" %}
                 {% endblocktrans %}
             </h2>
         {% endspaceless %}
@@ -91,9 +91,9 @@
         {% spaceless %}
             <h2>
                 {% blocktrans count user_tags|length as counter %}
-                    <span class="count">{{counter}}</span> Tag
+                    <span class="count">{{counter}}</span> {% trans "Tag" %}
                 {% plural %}
-                    <span class="count">{{counter}}</span> Tags
+                    <span class="count">{{counter}}</span> {% trans "Tags"  %}
                 {% endblocktrans %}
             </h2>
         {% endspaceless %}
         {% spaceless %}
         <h2>
             {% blocktrans count total_awards as counter %}
-            <span class="count">{{counter}}</span> Badge
+            <span class="count">{{counter}}</span> {% trans "Badge" %}
             {% plural %}
-            <span class="count">{{counter}}</span> Badges
+            <span class="count">{{counter}}</span> {% trans "Badges" %}
             {% endblocktrans %}
         </h2>
         {% endspaceless %}