X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c8ad2f86edefed72052b402742cadedb0d674d9..e4b94f4e5ef195dd5743ab3a510caecb7525a3b7:/app/views/notifier/note_comment_notification.text.erb?ds=sidebyside diff --git a/app/views/notifier/note_comment_notification.text.erb b/app/views/notifier/note_comment_notification.text.erb index 81306f9cb..7014a5057 100644 --- a/app/views/notifier/note_comment_notification.text.erb +++ b/app/views/notifier/note_comment_notification.text.erb @@ -1,13 +1,15 @@ -<%= t 'notifier.note_comment_notification.greeting' %> +<%= t '.greeting' %> <% if @owner %> -<%= t 'notifier.note_comment_notification.your_note', :commenter => @commenter, :place => @place %> +<%= t ".#{@event}.your_note", :commenter => @commenter, :place => @place %> <% else %> -<%= t 'notifier.note_comment_notification.commented_note', :commenter => @commenter, :place => @place %> +<%= t ".#{@event}.commented_note", :commenter => @commenter, :place => @place %> <% end %> +<% unless @comment.empty? %> == <%= @comment.to_text %> == -<%= t 'notifier.note_comment_notification.details', :url => @noteurl %> +<% end %> +<%= t '.details', :url => @noteurl %>