]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/message_notification.rhtml
Make the rest of the email translatable.
[rails.git] / app / views / notifier / message_notification.rhtml
index d52c0c71aa1358b6d2a2a7c96e7557dac8302ec8..4fb23e0a2b95aee0df5bb9fc905f5c0537e9372d 100644 (file)
@@ -1,36 +1,24 @@
 ***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
-***************************************************************************
-***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
-***************************************************************************
-***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
-***************************************************************************
-***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
+*                                                                         *
+<%= t'notifier.message_notification.banner1' %>
+<%= t'notifier.message_notification.banner2' %>
+*                                                                         *
 ***************************************************************************
 
-Hi <%= @to_user %>,
+<%= t'notifier.message_notification.hi', :to_user => @to_user %> 
 
-<%= @from_user %> has sent you a message through OpenStreetMap with the subject "<%= @subject %>":
+<%= t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
 
 ==
 <%= @body %>
 ==
 
-You can also read the message at <%= @readurl %>
-and you can reply at <%= @replyurl %>
+<%= t'notifier.message_notification.footer1', :readurl => @readurl %>
+<%= t'notifier.message_notification.footer2', :replyurl => @replyurl %>
 
 ***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
-***************************************************************************
-***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
-***************************************************************************
-***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
-***************************************************************************
-***************************************************************************
-Please do not reply to this email. Use the OpenStreetMap web site to reply.
+*                                                                         *
+<%= t'notifier.message_notification.banner1' %>
+<%= t'notifier.message_notification.banner2' %>
+*                                                                         *
 ***************************************************************************