diff --git a/app/views/user_notifications/digest.text.erb b/app/views/user_notifications/digest.text.erb index e0ebacb13..c73d5bc3f 100644 --- a/app/views/user_notifications/digest.text.erb +++ b/app/views/user_notifications/digest.text.erb @@ -23,7 +23,7 @@ <%=raw(t :'user_notifications.digest.unsubscribe', site_link: site_link, - unsubscribe_link: raw(@markdown_linker.create('click here', email_unsubscribe_path(key: @user.temporary_key)))) %> + unsubscribe_link: raw(@markdown_linker.create(t('user_notifications.digest.click_here'), email_unsubscribe_path(key: @user.temporary_key)))) %> <%= raw(@markdown_linker.references) %> diff --git a/app/views/users/omniauth_callbacks/failure.html.erb b/app/views/users/omniauth_callbacks/failure.html.erb index cbd8f8c60..697043807 100644 --- a/app/views/users/omniauth_callbacks/failure.html.erb +++ b/app/views/users/omniauth_callbacks/failure.html.erb @@ -5,7 +5,7 @@ <%else%>
- Something went wrong processing your log in, please try again. + <% t 'login.omniauth_error_unknown' %>
<%end%> \ No newline at end of file diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 9c0c4ef8a..c06135762 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -455,6 +455,7 @@ en: errors: "%{errors}" not_available: "Not available. Try %{suggestion}?" omniauth_error: "Sorry, there was an error authorizing your %{strategy} account. Perhaps you did not approve authorization?" + omniauth_error_unknown: "Something went wrong processing your log in, please try again." user: @@ -707,6 +708,7 @@ en: new_activity: "New activity on your topics and posts:" new_topics: "New topics:" unsubscribe: "This summary email is sent as a courtesy notification from %{site_link} when we haven't seen you in a while.\nIf you'd like to turn it off or change your email preferences, %{unsubscribe_link}." + click_here: "click here" private_message: subject_template: "[%{site_name}] %{subject_prefix}%{topic_title}"