We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 409b762 commit a8d4a69Copy full SHA for a8d4a69
2 files changed
app/helpers/comments_helper.rb
@@ -58,7 +58,7 @@ def render_pings(content, pingable: nil)
58
was_pung = pingable.present? && pingable.include?(user.id)
59
classes = "ping #{'me' if user.same_as?(current_user)} #{'unpingable' unless was_pung}"
60
user_link user, class: classes, dir: 'ltr',
61
- title: was_pung ? '' : 'This user was not notified because they have not participated in this thread.'
+ title: was_pung ? '' : I18n.t('comments.warnings.unrelated_user_not_pinged')
62
end
63
end.html_safe
64
config/locales/strings/en.comments.yml
@@ -34,3 +34,6 @@ en:
34
Start new comment thread
35
reply_to_thread: >
36
Reply to this thread
37
+ warnings:
38
+ unrelated_user_not_pinged: >
39
+ This user was not notified because they have not participated in this thread.
0 commit comments