Add custom message intro in email invitation

Also don't XML escape translated strings in the plain text version
master
Daniel Berteaud 11 years ago
parent d80ab2440a
commit 072215a071
  1. 1
      lib/Vroom/I18N/en.pm
  2. 1
      lib/Vroom/I18N/fr.pm
  3. 3
      templates/default/invite.email_html.ep
  4. 8
      templates/default/invite.email_text.ep

@ -18,6 +18,7 @@ our %Lexicon = (
"A_WEBCAM" => "A webcam", "A_WEBCAM" => "A webcam",
"A_MIC" => "A microphone", "A_MIC" => "A microphone",
"WHEN_YOU_ARE_READY" => "When you are ready, go to this address to join the conference", "WHEN_YOU_ARE_READY" => "When you are ready, go to this address to join the conference",
"MESSAGE_FROM_ORGANIZER" => "Message from the meeting organizer",
"HAVE_A_NICE_MEETING" => "Have a nice meeting :-)", "HAVE_A_NICE_MEETING" => "Have a nice meeting :-)",
"EMAIL_SIGN" => "VROOM! And video conferencing becomes free, simple and safe", "EMAIL_SIGN" => "VROOM! And video conferencing becomes free, simple and safe",
"FEEDBACK" => "Feedback", "FEEDBACK" => "Feedback",

@ -20,6 +20,7 @@ our %Lexicon = (
"A_WEBCAM" => "Une webcam", "A_WEBCAM" => "Une webcam",
"A_MIC" => "Un micro", "A_MIC" => "Un micro",
"WHEN_YOU_ARE_READY" => "Quand vous êtes prêt, rendez-vous sur cette adresse pour joindre la conférence", "WHEN_YOU_ARE_READY" => "Quand vous êtes prêt, rendez-vous sur cette adresse pour joindre la conférence",
"MESSAGE_FROM_ORGANIZER" => "Message de l'organisateur de la réunion",
"HAVE_A_NICE_MEETING" => "Bonne réunion :-)", "HAVE_A_NICE_MEETING" => "Bonne réunion :-)",
"EMAIL_SIGN" => "VROOM! Et la visio conférence devient libre, simple et sûr", "EMAIL_SIGN" => "VROOM! Et la visio conférence devient libre, simple et sûr",
"FEEDBACK" => "Retour d'expérience", "FEEDBACK" => "Retour d'expérience",

@ -28,6 +28,9 @@
</p> </p>
<% if ($message && $message ne ''){ %> <% if ($message && $message ne ''){ %>
<p> <p>
<%=l 'MESSAGE_FROM_ORGANIZER' %>:
</p>
<p>
<%= $message %> <%= $message %>
</p> </p>
<% } %> <% } %>

@ -2,7 +2,7 @@
my $url = $self->url_for('/')->to_abs; my $url = $self->url_for('/')->to_abs;
$url .= ($url =~ m/\/$/) ? '' : '/'; $url .= ($url =~ m/\/$/) ? '' : '/';
%> %>
<%=l 'YOU_ARE_INVITED_TO_A_MEETING' %> <%==l 'YOU_ARE_INVITED_TO_A_MEETING' %>
* <%=l 'A_MODERN_BROWSER' %> * <%=l 'A_MODERN_BROWSER' %>
* <%=l 'A_WEBCAM' %> * <%=l 'A_WEBCAM' %>
@ -10,12 +10,14 @@
<%=l 'WHEN_YOU_ARE_READY' %> <%=l 'WHEN_YOU_ARE_READY' %>
<%= $url . $room %> <%== $url . $room %>
<% if ($message && $message ne ''){ %> <% if ($message && $message ne ''){ %>
<%==l 'MESSAGE_FROM_ORGANIZER' %>:
<%== $message %> <%== $message %>
<% } %> <% } %>
<%=l 'HAVE_A_NICE_MEETING' %> <%=l 'HAVE_A_NICE_MEETING' %>
-- --
<%=l 'EMAIL_SIGN' %> <%==l 'EMAIL_SIGN' %>

Loading…
Cancel
Save