about summary refs log tree commit diff
path: root/app/views/auth/mailer
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-16 18:25:21 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-16 18:25:21 +0100
commit116ab27e081253a572b1ce7a5188b472092bbec4 (patch)
tree649bda20e251b2fe7c466946b84d65344ea7a0d5 /app/views/auth/mailer
parent2c766bd4b4c6dcf8e7c9a6dd9421edca0de57aba (diff)
i18n for devise mailer too
Diffstat (limited to 'app/views/auth/mailer')
-rw-r--r--app/views/auth/mailer/confirmation_instructions.en.html.erb5
-rw-r--r--app/views/auth/mailer/confirmation_instructions.en.text.erb5
-rw-r--r--app/views/auth/mailer/password_change.en.html.erb3
-rw-r--r--app/views/auth/mailer/password_change.en.text.erb3
-rw-r--r--app/views/auth/mailer/reset_password_instructions.en.html.erb8
-rw-r--r--app/views/auth/mailer/reset_password_instructions.en.text.erb8
6 files changed, 0 insertions, 32 deletions
diff --git a/app/views/auth/mailer/confirmation_instructions.en.html.erb b/app/views/auth/mailer/confirmation_instructions.en.html.erb
deleted file mode 100644
index 69e9ff80f..000000000
--- a/app/views/auth/mailer/confirmation_instructions.en.html.erb
+++ /dev/null
@@ -1,5 +0,0 @@
-<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/auth/mailer/confirmation_instructions.en.text.erb b/app/views/auth/mailer/confirmation_instructions.en.text.erb
deleted file mode 100644
index bb21cf8e2..000000000
--- a/app/views/auth/mailer/confirmation_instructions.en.text.erb
+++ /dev/null
@@ -1,5 +0,0 @@
-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/auth/mailer/password_change.en.html.erb b/app/views/auth/mailer/password_change.en.html.erb
deleted file mode 100644
index a1bc77463..000000000
--- a/app/views/auth/mailer/password_change.en.html.erb
+++ /dev/null
@@ -1,3 +0,0 @@
-<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/auth/mailer/password_change.en.text.erb b/app/views/auth/mailer/password_change.en.text.erb
deleted file mode 100644
index 27581e604..000000000
--- a/app/views/auth/mailer/password_change.en.text.erb
+++ /dev/null
@@ -1,3 +0,0 @@
-Hello <%= @resource.email %>!
-
-We're contacting you to notify you that your password on Mastodon has been changed.
diff --git a/app/views/auth/mailer/reset_password_instructions.en.html.erb b/app/views/auth/mailer/reset_password_instructions.en.html.erb
deleted file mode 100644
index 643b43319..000000000
--- a/app/views/auth/mailer/reset_password_instructions.en.html.erb
+++ /dev/null
@@ -1,8 +0,0 @@
-<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/auth/mailer/reset_password_instructions.en.text.erb b/app/views/auth/mailer/reset_password_instructions.en.text.erb
deleted file mode 100644
index fe73b0165..000000000
--- a/app/views/auth/mailer/reset_password_instructions.en.text.erb
+++ /dev/null
@@ -1,8 +0,0 @@
-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.