From e68c0ce5f62dbe59dc1ef6d702b84ab9afa60517 Mon Sep 17 00:00:00 2001 From: Audun Larsen Date: Tue, 2 May 2017 20:18:43 +0200 Subject: [PATCH] Norwegian translation for email notifications (#2673) * Create confirmation_instructions.no.html.erb * Create confirmation_instructions.no.text.erb * Create password_change.no.html.erb * Create password_change.no.text.erb * Create reset_password_instructions.no.html.erb * Create reset_password_instructions.no.text.erb * Translates html welcome email * Translates welcome email * Translates html password changed email * Translates password changed email * Translates html reset password email * Translates reset password email * Fixes typo in translation * Fixes typo in translation --- .../confirmation_instructions.no.html.erb | 12 ++++++++++++ .../confirmation_instructions.no.text.erb | 12 ++++++++++++ app/views/user_mailer/password_change.no.html.erb | 3 +++ app/views/user_mailer/password_change.no.text.erb | 3 +++ .../reset_password_instructions.no.html.erb | 9 +++++++++ .../reset_password_instructions.no.text.erb | 9 +++++++++ 6 files changed, 48 insertions(+) create mode 100644 app/views/user_mailer/confirmation_instructions.no.html.erb create mode 100644 app/views/user_mailer/confirmation_instructions.no.text.erb create mode 100644 app/views/user_mailer/password_change.no.html.erb create mode 100644 app/views/user_mailer/password_change.no.text.erb create mode 100644 app/views/user_mailer/reset_password_instructions.no.html.erb create mode 100644 app/views/user_mailer/reset_password_instructions.no.text.erb diff --git a/app/views/user_mailer/confirmation_instructions.no.html.erb b/app/views/user_mailer/confirmation_instructions.no.html.erb new file mode 100644 index 00000000000..366d9a4d3ff --- /dev/null +++ b/app/views/user_mailer/confirmation_instructions.no.html.erb @@ -0,0 +1,12 @@ +

Velkommen <%= @resource.email %> !

+ +

Du har akkurat opprettet en konto på <%= @instance %>.

+ +

For å bekrefte innskriving i manntallet vennligst trykk på følgende lenke :
+<%= link_to 'Bekreft min bruker', confirmation_url(@resource, confirmation_token: @token) %> + +

Vennligst også les våre <%= link_to 'brukervilkår', terms_url %>.

+ +

Med vennlig hilsen,

+ +

Gjengen bak <%= @instance %>

diff --git a/app/views/user_mailer/confirmation_instructions.no.text.erb b/app/views/user_mailer/confirmation_instructions.no.text.erb new file mode 100644 index 00000000000..3739c99d499 --- /dev/null +++ b/app/views/user_mailer/confirmation_instructions.no.text.erb @@ -0,0 +1,12 @@ +Velkommen <%= @resource.email %> ! + +Du har akkurat opprettet en konto på <%= @instance %>. + +For å bekrefte innskriving i manntallet vennligst trykk på følgende lenke : +<%= confirmation_url(@resource, confirmation_token: @token) %> + +Vennligst også les våre brukervilkår <%= terms_url %> + +Med vennlig hilsen, + +Gjengen bak <%= @instance %> diff --git a/app/views/user_mailer/password_change.no.html.erb b/app/views/user_mailer/password_change.no.html.erb new file mode 100644 index 00000000000..cd0a28f826e --- /dev/null +++ b/app/views/user_mailer/password_change.no.html.erb @@ -0,0 +1,3 @@ +

Hei <%= @resource.email %>!

+ +

Ditt Mastodon-passord har blitt endret.

diff --git a/app/views/user_mailer/password_change.no.text.erb b/app/views/user_mailer/password_change.no.text.erb new file mode 100644 index 00000000000..1707976c11d --- /dev/null +++ b/app/views/user_mailer/password_change.no.text.erb @@ -0,0 +1,3 @@ +Hei <%= @resource.email %>! + +Ditt Mastodon-passord har blitt endret. diff --git a/app/views/user_mailer/reset_password_instructions.no.html.erb b/app/views/user_mailer/reset_password_instructions.no.html.erb new file mode 100644 index 00000000000..398e95e4e38 --- /dev/null +++ b/app/views/user_mailer/reset_password_instructions.no.html.erb @@ -0,0 +1,9 @@ + +

Hei <%= @resource.email %>!

+ +

Noen har forespurt en lenke til å bytte passord på din Mastodon-bruker. Du kan gjøre det ved å følge lenken under.

+ +

<%= link_to 'Endre mitt passord', edit_password_url(@resource, reset_password_token: @token) %>

+ +

Hvis du ikke vil endre ditt passord kan du ignorere denne epost.

+

Passordet ditt blir ikke endret før du følger lenken over og endrer det.

diff --git a/app/views/user_mailer/reset_password_instructions.no.text.erb b/app/views/user_mailer/reset_password_instructions.no.text.erb new file mode 100644 index 00000000000..387dc7c3e1b --- /dev/null +++ b/app/views/user_mailer/reset_password_instructions.no.text.erb @@ -0,0 +1,9 @@ + +Hei <%= @resource.email %>! + +Noen har forespurt en lenke til å bytte passord på din Mastodon-bruker. Du kan gjøre det ved å følge lenken under. + +<%= edit_password_url(@resource, reset_password_token: @token) %> + +Hvis du ikke vil endre ditt passord kan du ignorere denne epost. +Passordet ditt blir ikke endret før du følger lenken over og endrer det.