i18n of reply text email

This commit is contained in:
Carl Chenet 2017-02-08 08:28:36 +01:00
parent 9a8ef59f80
commit c47be904e0
3 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<%= @comment.user.username %> has replied to you:
<%= t(:emailreplyat, :author => "#{@comment.user.username}" %>
<%= word_wrap(@comment.plaintext_comment, :line_width => 72).gsub(/\n/, "\n ") %>
Continue this discussion at <%= @comment.url %>
<%= t(:emailcontinueto) %><%= @comment.url %>

View file

@ -458,3 +458,6 @@ en:
suggestcancel: "Cancel"
# reply at in views/email_message/notification.text.erb
emailreplyat: "Reply at "
# reply at in views/email_reply/reply.text.erb
emailreplyat: "%{author} has replied to you:"
emailcontinueto: "Continue this discussion at "

View file

@ -468,6 +468,9 @@ fr:
suggestcancel: "Annuler"
# reply at in views/email_message/notification.text.erb
replyat: "Répondre à "
# reply at in views/email_reply/reply.text.erb
emailreplyat: "%{author} vous a répondu : "
emailcontinueto: "Continuer cette discussion à "
date:
abbr_day_names:
- dim