Make Reporting admin section translatable (#1549)

* Make Reporting admin section translatable

And translate it into english and french

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Make subject of emails translatable and improve french translation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Make error pages translatable and translate them in english and french

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Translate site setting section

* Insert instance in registration emails and improve them a bit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2017-04-12 17:11:49 +02:00 committed by Eugen
parent 1f5ff46fd9
commit d90d23699c
15 changed files with 192 additions and 68 deletions

View file

@ -1,5 +1,12 @@
<p>Welcome <%= @resource.email %>!</p>
<p>Welcome <%= @resource.email %> !</p>
<p>You can confirm your Mastodon account email through the link below:</p>
<p>You just created an account on <%= @instance %>.</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
<p>To confirm your inscription, please click on the following link : <br>
<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>
<p>Please also check out our <%= link_to 'terms and conditions', terms_url %>.</p>
<p>Sincerely,<p>
<p>The <%= @instance %> team</p>