changeset 2124:ac48e4c61b8c

properly mark <h2>s in ticket/{modify,submit}.html for i18n
author Cheer Xiao <xiaqqaix@gmail.com>
date Sat, 22 Jun 2013 00:13:52 +0800
parents 6b640b54adde
children 5b466c2d6f1e
files MoinMoin/templates/ticket/modify.html MoinMoin/templates/ticket/submit.html
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/ticket/modify.html	Sat Jun 22 00:10:14 2013 +0800
+++ b/MoinMoin/templates/ticket/modify.html	Sat Jun 22 00:13:52 2013 +0800
@@ -5,12 +5,12 @@
 {% endblock %}
 
 {% block form_controls %}
-    <h2>Add comment</h2>
+    <h2>{{ _("Add comment") }}</h2>
     <dl>
     {{ forms.render(form['message']) }}
     </dl>
 
-    <h2>Edit metadata</h2>
+    <h2>{{ _("Edit metadata") }}</h2>
     <dl>
     {{ forms.render_errors(form) }}
     {{ render_meta() }}
@@ -18,7 +18,7 @@
 
     {{ forms.render(form['submit']) }}
 
-    <h2>Back references</h2>
+    <h2>{{ _("Back references") }}</h2>
     <dl>
     {{ render_backref() }}
 {% endblock %}
--- a/MoinMoin/templates/ticket/submit.html	Sat Jun 22 00:10:14 2013 +0800
+++ b/MoinMoin/templates/ticket/submit.html	Sat Jun 22 00:13:52 2013 +0800
@@ -5,13 +5,13 @@
 {% endblock %}
 
 {% block form_controls %}
-    <h2>Describe the ticket</h2>
+    <h2>{{ _("Describe the ticket") }}</h2>
 
     <dl>
     {{ forms.render(form['message']) }}
     </dl>
 
-    <h2>Provide metadata</h2>
+    <h2>{{ _("Provide metadata") }}</h2>
     <dl>
     {{ forms.render_errors(form) }}
     {{ render_meta() }}