From 546c4718e781f8900ba6498307ccb1e659de5edd Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 15 Nov 2016 23:56:03 +0100 Subject: Localizations for most server-side strings --- app/views/auth/mailer/confirmation_instructions.en.html.erb | 5 +++++ app/views/auth/mailer/confirmation_instructions.en.text.erb | 5 +++++ app/views/auth/mailer/confirmation_instructions.html.erb | 5 ----- app/views/auth/mailer/confirmation_instructions.text.erb | 5 ----- app/views/auth/mailer/password_change.en.html.erb | 3 +++ app/views/auth/mailer/password_change.en.text.erb | 3 +++ app/views/auth/mailer/password_change.html.erb | 3 --- app/views/auth/mailer/password_change.text.erb | 3 --- app/views/auth/mailer/reset_password_instructions.en.html.erb | 8 ++++++++ app/views/auth/mailer/reset_password_instructions.en.text.erb | 8 ++++++++ app/views/auth/mailer/reset_password_instructions.html.erb | 8 -------- app/views/auth/mailer/reset_password_instructions.text.erb | 8 -------- 12 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 app/views/auth/mailer/confirmation_instructions.en.html.erb create mode 100644 app/views/auth/mailer/confirmation_instructions.en.text.erb delete mode 100644 app/views/auth/mailer/confirmation_instructions.html.erb delete mode 100644 app/views/auth/mailer/confirmation_instructions.text.erb create mode 100644 app/views/auth/mailer/password_change.en.html.erb create mode 100644 app/views/auth/mailer/password_change.en.text.erb delete mode 100644 app/views/auth/mailer/password_change.html.erb delete mode 100644 app/views/auth/mailer/password_change.text.erb create mode 100644 app/views/auth/mailer/reset_password_instructions.en.html.erb create mode 100644 app/views/auth/mailer/reset_password_instructions.en.text.erb delete mode 100644 app/views/auth/mailer/reset_password_instructions.html.erb delete mode 100644 app/views/auth/mailer/reset_password_instructions.text.erb (limited to 'app/views/auth/mailer') diff --git a/app/views/auth/mailer/confirmation_instructions.en.html.erb b/app/views/auth/mailer/confirmation_instructions.en.html.erb new file mode 100644 index 000000000..69e9ff80f --- /dev/null +++ b/app/views/auth/mailer/confirmation_instructions.en.html.erb @@ -0,0 +1,5 @@ +

Welcome <%= @resource.email %>!

+ +

You can confirm your Mastodon account email through the link below:

+ +

<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>

diff --git a/app/views/auth/mailer/confirmation_instructions.en.text.erb b/app/views/auth/mailer/confirmation_instructions.en.text.erb new file mode 100644 index 000000000..bb21cf8e2 --- /dev/null +++ b/app/views/auth/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/auth/mailer/confirmation_instructions.html.erb b/app/views/auth/mailer/confirmation_instructions.html.erb deleted file mode 100644 index 69e9ff80f..000000000 --- a/app/views/auth/mailer/confirmation_instructions.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -

Welcome <%= @resource.email %>!

- -

You can confirm your Mastodon account email through the link below:

- -

<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>

diff --git a/app/views/auth/mailer/confirmation_instructions.text.erb b/app/views/auth/mailer/confirmation_instructions.text.erb deleted file mode 100644 index bb21cf8e2..000000000 --- a/app/views/auth/mailer/confirmation_instructions.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 new file mode 100644 index 000000000..a1bc77463 --- /dev/null +++ b/app/views/auth/mailer/password_change.en.html.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/auth/mailer/password_change.en.text.erb b/app/views/auth/mailer/password_change.en.text.erb new file mode 100644 index 000000000..27581e604 --- /dev/null +++ b/app/views/auth/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/auth/mailer/password_change.html.erb b/app/views/auth/mailer/password_change.html.erb deleted file mode 100644 index a1bc77463..000000000 --- a/app/views/auth/mailer/password_change.html.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/password_change.text.erb b/app/views/auth/mailer/password_change.text.erb deleted file mode 100644 index 27581e604..000000000 --- a/app/views/auth/mailer/password_change.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 new file mode 100644 index 000000000..643b43319 --- /dev/null +++ b/app/views/auth/mailer/reset_password_instructions.en.html.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.

+ +

<%= link_to 'Change my password', 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.

diff --git a/app/views/auth/mailer/reset_password_instructions.en.text.erb b/app/views/auth/mailer/reset_password_instructions.en.text.erb new file mode 100644 index 000000000..fe73b0165 --- /dev/null +++ b/app/views/auth/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. diff --git a/app/views/auth/mailer/reset_password_instructions.html.erb b/app/views/auth/mailer/reset_password_instructions.html.erb deleted file mode 100644 index 643b43319..000000000 --- a/app/views/auth/mailer/reset_password_instructions.html.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.

- -

<%= link_to 'Change my password', 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.

diff --git a/app/views/auth/mailer/reset_password_instructions.text.erb b/app/views/auth/mailer/reset_password_instructions.text.erb deleted file mode 100644 index fe73b0165..000000000 --- a/app/views/auth/mailer/reset_password_instructions.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. -- cgit