]> git.openstreetmap.org Git - rails.git/commitdiff
Fix translation lookups in text version of note comment notification
authorTom Hughes <tom@compton.nu>
Tue, 24 Sep 2013 08:52:31 +0000 (09:52 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 24 Sep 2013 08:52:31 +0000 (09:52 +0100)
app/views/notifier/note_comment_notification.text.erb

index 81306f9cb2ac5f7e040b404bb6501d868a49641d..8d73b9124002842df93f75ba950207295136bc57 100644 (file)
@@ -1,9 +1,9 @@
 <%= t 'notifier.note_comment_notification.greeting' %>
 
 <% if @owner %>
 <%= 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 %>
 <% 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 %>
 
 ==
 <% end %>
 
 ==