X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..1f0f7ba621cadc01c802863135583b1d0feb1bf4:/app/views/notifier/note_comment_notification.html.erb diff --git a/app/views/notifier/note_comment_notification.html.erb b/app/views/notifier/note_comment_notification.html.erb index b17fe67f8..d82723bbb 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,9 +1,9 @@
<%= 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 %> ==