From f163e2c14e5c56b4ec98180e7e0d0937a73304d3 Mon Sep 17 00:00:00 2001 From: Duke Greene Date: Wed, 19 Jul 2023 14:02:39 -0400 Subject: [PATCH] Dukegreene/moderator notifications copy change (#19775) * update copy for moderator notifications * use helper to display mod notification in the view * add missing translate call --- app/views/users/_notifications.html.erb | 2 +- config/locales/helpers/en.yml | 2 +- config/locales/helpers/fr.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/users/_notifications.html.erb b/app/views/users/_notifications.html.erb index 97fddb9a6..991d7de7f 100644 --- a/app/views/users/_notifications.html.erb +++ b/app/views/users/_notifications.html.erb @@ -89,7 +89,7 @@
<%= f.check_box :mod_roundrobin_notifications, class: "crayons-checkbox" %> - <%= f.label :mod_roundrobin_notifications, "Send me occasional community-success mod notifications", class: "crayons-field__label" %> + <%= f.label :mod_roundrobin_notifications, t("helpers.label.users_notification_setting.mod_roundrobin_notifications"), class: "crayons-field__label" %>
<% end %> diff --git a/config/locales/helpers/en.yml b/config/locales/helpers/en.yml index d47128376..3e7a4fc5c 100644 --- a/config/locales/helpers/en.yml +++ b/config/locales/helpers/en.yml @@ -63,7 +63,7 @@ en: mobile_comment_notifications: Send me a push notification when someone replies to me in a comment thread welcome_notifications: Send me occasional tips on how to enhance my %{community} experience reaction_notifications: Send notifications when someone reacts to my content, such as comments or posts - mod_roundrobin_notifications: Send me occasional community-success mod notifications + mod_roundrobin_notifications: Send me notifications about new member activity users_setting: feed_url: RSS Feed URL placeholder: diff --git a/config/locales/helpers/fr.yml b/config/locales/helpers/fr.yml index 2d61c02eb..e229d6ca9 100644 --- a/config/locales/helpers/fr.yml +++ b/config/locales/helpers/fr.yml @@ -63,7 +63,7 @@ fr: mobile_comment_notifications: Envoyez-moi une notification push lorsque quelqu'un me répond dans un fil de commentaires welcome_notifications: Envoyez-moi de temps en temps des conseils pour améliorer mon expérience sur %{community} reaction_notifications: Envoyer des notifications lorsque quelqu'un réagit à mon contenu, comme des commentaires ou des messages - mod_roundrobin_notifications: Envoyez-moi des notifications occasionnelles sur le succès de la communauté + mod_roundrobin_notifications: Envoyez-moi des notifications sur l'activité des nouveaux membres users_setting: feed_url: URL du flux RSS placeholder: