- subject = I18n.t('notifier.note_comment_notification.subject_own', :commenter => comment.author_name) if @owner
- subject = I18n.t('notifier.note_comment_notification.subject_other', :commenter => comment.author_name) unless @owner
+ if @owner
+ subject = I18n.t("notifier.note_comment_notification.#{@event}.subject_own", :commenter => @commenter)
+ else
+ subject = I18n.t("notifier.note_comment_notification.#{@event}.subject_other", :commenter => @commenter)
+ end