[damned-lies] Mark strings translatable in branch edition form



commit a28d5c14233939108bf799dfab944662d05e86d3
Author: Claude Paroz <claude 2xlibre net>
Date:   Mon Sep 27 20:06:43 2010 +0200

    Mark strings translatable in branch edition form

 templates/module_edit_branches.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/templates/module_edit_branches.html b/templates/module_edit_branches.html
index 4bd9e5f..5e2d7c6 100644
--- a/templates/module_edit_branches.html
+++ b/templates/module_edit_branches.html
@@ -14,13 +14,13 @@
 
 <form action="#" method="POST">
 <table>
-<tr><th>Branch</th><th>Release</th><th>Category</th></tr>
+<tr><th>{% trans "Branch" %}</th><th>{% trans "Release" %}</th><th>{% trans "Category" %}</th></tr>
 {% for field1, field2 in form.get_branches %}
   <tr><td>{{ field1.label }}</td><td>{{ field1 }}</td><td>{{ field2 }}</td></tr>
 {% endfor %}
 
   <tr><td>{{ form.new_branch }}</td><td>{{ form.new_branch_release }}</td><td>{{ form.new_branch_category }}</td></tr>
-  <tr><td colspan="3" align="right"><input type="submit" value="Save" /></td></tr> 
+  <tr><td colspan="3" align="right"><input type="submit" value="{% trans "Save" %}" /></td></tr>
 </table>
 </form>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]