From: Tom Hughes Date: Tue, 24 Sep 2013 08:52:31 +0000 (+0100) Subject: Fix translation lookups in text version of note comment notification X-Git-Tag: live~4694 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/13597ca259e1dc3df05f063dee2d982d127f59fc Fix translation lookups in text version of note comment notification --- diff --git a/app/views/notifier/note_comment_notification.text.erb b/app/views/notifier/note_comment_notification.text.erb index 81306f9cb..8d73b9124 100644 --- a/app/views/notifier/note_comment_notification.text.erb +++ b/app/views/notifier/note_comment_notification.text.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 %> ==