diff default/event/invitation.html @ 20:8fa2fd2e928e

default: added i18n support
author Goffi <goffi@goffi.org>
date Sun, 21 May 2017 16:10:44 +0200
parents 422c54e0204a
children 24af9089aacd
line wrap: on
line diff
--- a/default/event/invitation.html	Fri May 19 12:59:43 2017 +0200
+++ b/default/event/invitation.html	Sun May 21 16:10:44 2017 +0200
@@ -2,8 +2,8 @@
 
 {% block body %}
 <div class='invitation_header box'>
-    <h1>Welcome {{name}}</h1>
-    <p class='instructions'>You have been invited to participate to an event</p>
+    <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1>
+    <p class='instructions'>{% trans %}You have been invited to participate to an event{% endtrans %}</p>
     {% if event.image is defined %}
         <p><img id='event_picture' src="{{event.image}}"></p>
     {% endif %}