]> git.openstreetmap.org Git - osqa.git/commitdiff
changed these files to use blocktrans instead.
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 15 Jun 2010 16:31:45 +0000 (16:31 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 15 Jun 2010 16:31:45 +0000 (16:31 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@423 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/question_edit_tips.html
forum/skins/default/templates/question_retag.html

index df199ca2f8e9f31d2b100275803fba0d659ca2a5..cd94876b1b2d3039a18ef4c3ea70b038a31ed641 100644 (file)
@@ -66,7 +66,9 @@
             {% trans "They will help other find your question." %}
         </li>
         <li>
-            {% trans "A question can have up to " %} {{settings.FORM_MAX_NUMBER_OF_TAGS}} {% trans " tags, but it must have at least " %} {{settings.FORM_MIN_NUMBER_OF_TAGS}} {% trans "." %}
+            {% blocktrans with settings.FORM_MAX_NUMBER_OF_TAGS as max_number_of_tags and settings.FORM_MIN_NUMBER_OF_TAGS as min_number_of_tags %}
+                A question can have up to {{max_number_of_tags}} tags, but it must have at least {{min_number_of_tags}}.
+            {% endblocktrans %}
         </li>
     </ul>
 </div>
index e57a15481d9a8983ad4e003fa3a51bb3746a15a5..c40037b88dd18998e7d14d1fc1a93b23ad866bb6 100644 (file)
@@ -41,7 +41,9 @@
                 messages: {
                                tags: {
                         required: "{% trans "tags are required" %}",
-                        maxlength: "{% trans "up to " %} {{settings.FORM_MAX_LENGTH_OF_TAG}} {% trans " tags, less than " %} {{settings.FORM_MIN_LENGTH_OF_TAG}} {% trans " characters each" %}"
+                        {% blocktrans with settings.FORM_MAX_NUMBER_OF_TAGS as max_number_of_tags and settings.FORM_MAX_LENGTH_OF_TAG as max_length_of_tags %}
+                        maxlength: "up to {{max_number_of_tags}} tags, less than {{max_length_of_tags}} characters each"
+                        {% endblocktrans %}
                     }
                 }