X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/92ce228cbe24ed030090823d2a4e92ee5089732c..6964c445845831151921ed7de5222204b498f04b:/app/views/notifier/note_comment_notification.text.erb diff --git a/app/views/notifier/note_comment_notification.text.erb b/app/views/notifier/note_comment_notification.text.erb index 7b4ccd384..c8a967450 100644 --- a/app/views/notifier/note_comment_notification.text.erb +++ b/app/views/notifier/note_comment_notification.text.erb @@ -1,13 +1,13 @@ <%= t 'notifier.note_comment_notification.greeting' %> <% if @owner %> -<%= t 'notifier.note_comment_notification.your_note', :commenter => @commenter, :place => @place %> +<%= t "notifier.note_comment_notification.#{@event}.your_note", :commenter => @commenter, :place => @place %> <% else %> -<%= t 'notifier.note_comment_notification.commented_note', :commenter => @commenter, :place => @place %> +<%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %> <% end %> == -<%= @comment %> +<%= @comment.to_text %> == <%= t 'notifier.note_comment_notification.details', :url => @noteurl %>