diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 15c82ada646..cdea3973017 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -419,7 +419,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo diff --git a/app/views/user_notifications/digest.text.erb b/app/views/user_notifications/digest.text.erb index 5230597c6b9..e3bbc1f8188 100644 --- a/app/views/user_notifications/digest.text.erb +++ b/app/views/user_notifications/digest.text.erb @@ -52,7 +52,7 @@ <%= digest_custom_text("above_footer") %> <%=raw(t :'user_notifications.digest.unsubscribe', site_link: site_link, - email_settings_url: Discourse.base_url + '/my/preferences/emails', + email_preferences_link: raw(@markdown_linker.create(t('user_notifications.digest.your_email_settings'), '/my/preferences/emails')), unsubscribe_link: raw(@markdown_linker.create(t('user_notifications.digest.click_here'), email_unsubscribe_url(key: @unsubscribe_key, only_path: true)))) %> <%= raw(@markdown_linker.references) %> diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index cd740988d9d..21fe80e59dc 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -2688,7 +2688,8 @@ en: popular_posts: "Popular Posts" more_new: "New for you" subject_template: "[%{email_prefix}] Summary" - unsubscribe: "This summary is sent from %{site_link} when we haven't seen you in a while. Change your email settings, or %{unsubscribe_link} to unsubscribe." + unsubscribe: "This summary is sent from %{site_link} when we haven't seen you in a while. Change %{email_preferences_link}, or %{unsubscribe_link} to unsubscribe." + your_email_settings: "your email settings" click_here: "click here" from: "%{site_name} summary" preheader: "A brief summary since your last visit on %{last_seen_at}"