diff default/input/comment.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents 8cdcbe0d7dee
children 4bf00291b895
line wrap: on
line diff
--- a/default/input/comment.html	Fri May 19 12:59:43 2017 +0200
+++ b/default/input/comment.html	Sun May 21 16:10:44 2017 +0200
@@ -8,11 +8,11 @@
 {% endmacro %}
 
 {% macro body(rows=10, cols=50) %}
-    <textarea name="body" rows="{{rows}}" cols="{{cols}}" placeholder="Your comment"></textarea>
+    <textarea name="body" rows="{{rows}}" cols="{{cols}}" placeholder="{{_("Your comment")}}"></textarea>
 {% endmacro %}
 
 {% macro submit() %}
-    <input type="submit" value="Send">
+    <input type="submit" value="{{_("Send")}}">
 {% endmacro %}
 
 {% macro comment(service, node, action='') %}