diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-16 18:25:21 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-16 18:25:21 +0100 |
commit | 116ab27e081253a572b1ce7a5188b472092bbec4 (patch) | |
tree | 649bda20e251b2fe7c466946b84d65344ea7a0d5 /app/views/user_mailer | |
parent | 2c766bd4b4c6dcf8e7c9a6dd9421edca0de57aba (diff) |
i18n for devise mailer too
Diffstat (limited to 'app/views/user_mailer')
6 files changed, 32 insertions, 0 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.en.html.erb b/app/views/user_mailer/confirmation_instructions.en.html.erb new file mode 100644 index 000000000..69e9ff80f --- /dev/null +++ b/app/views/user_mailer/confirmation_instructions.en.html.erb @@ -0,0 +1,5 @@ +<p>Welcome <%= @resource.email %>!</p> + +<p>You can confirm your Mastodon account email through the link below:</p> + +<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p> diff --git a/app/views/user_mailer/confirmation_instructions.en.text.erb b/app/views/user_mailer/confirmation_instructions.en.text.erb new file mode 100644 index 000000000..bb21cf8e2 --- /dev/null +++ b/app/views/user_mailer/confirmation_instructions.en.text.erb @@ -0,0 +1,5 @@ +Welcome <%= @resource.email %>! + +You can confirm your Mastodon account email through the link below: + +<%= confirmation_url(@resource, confirmation_token: @token) %> diff --git a/app/views/user_mailer/password_change.en.html.erb b/app/views/user_mailer/password_change.en.html.erb new file mode 100644 index 000000000..a1bc77463 --- /dev/null +++ b/app/views/user_mailer/password_change.en.html.erb @@ -0,0 +1,3 @@ +<p>Hello <%= @resource.email %>!</p> + +<p>We're contacting you to notify you that your password on Mastodon has been changed.</p> diff --git a/app/views/user_mailer/password_change.en.text.erb b/app/views/user_mailer/password_change.en.text.erb new file mode 100644 index 000000000..27581e604 --- /dev/null +++ b/app/views/user_mailer/password_change.en.text.erb @@ -0,0 +1,3 @@ +Hello <%= @resource.email %>! + +We're contacting you to notify you that your password on Mastodon has been changed. diff --git a/app/views/user_mailer/reset_password_instructions.en.html.erb b/app/views/user_mailer/reset_password_instructions.en.html.erb new file mode 100644 index 000000000..643b43319 --- /dev/null +++ b/app/views/user_mailer/reset_password_instructions.en.html.erb @@ -0,0 +1,8 @@ +<p>Hello <%= @resource.email %>!</p> + +<p>Someone has requested a link to change your password on Mastodon. You can do this through the link below.</p> + +<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p> + +<p>If you didn't request this, please ignore this email.</p> +<p>Your password won't change until you access the link above and create a new one.</p> diff --git a/app/views/user_mailer/reset_password_instructions.en.text.erb b/app/views/user_mailer/reset_password_instructions.en.text.erb new file mode 100644 index 000000000..fe73b0165 --- /dev/null +++ b/app/views/user_mailer/reset_password_instructions.en.text.erb @@ -0,0 +1,8 @@ +Hello <%= @resource.email %>! + +Someone has requested a link to change your password on Mastodon. You can do this through the link below. + +<%= edit_password_url(@resource, reset_password_token: @token) %> + +If you didn't request this, please ignore this email. +Your password won't change until you access the link above and create a new one. |