From 13597ca259e1dc3df05f063dee2d982d127f59fc Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 24 Sep 2013 09:52:31 +0100 Subject: [PATCH] Fix translation lookups in text version of note comment notification --- app/views/notifier/note_comment_notification.text.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %> == -- 2.43.2