X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7599f98957334d1924550205f7ba12a726de7eb0..f6c7ed601159aca360da09948f1544172ddf1a41:/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 %> ==