X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a8d8e750dafd173d5f4f6c495fa932e099a6a58c..8bd001f1282b7a33a71c0565504e160dbe567d5d:/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 c8a967450..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.#{@event}.your_note", :commenter => @commenter, :place => @place %> +<%= t ".#{@event}.your_note", :commenter => @commenter, :place => @place %> <% else %> -<%= t "notifier.note_comment_notification.#{@event}.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 %>