about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorAudun Larsen <larsen@xqus.com>2017-05-02 20:18:43 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-05-02 20:18:43 +0200
commite68c0ce5f62dbe59dc1ef6d702b84ab9afa60517 (patch)
tree537661e885ea1572561a596314f32ff06a744dfb /app
parent54dddfe9b8f19a39d294dbecf4899595a8b26498 (diff)
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
Diffstat (limited to 'app')
-rw-r--r--app/views/user_mailer/confirmation_instructions.no.html.erb12
-rw-r--r--app/views/user_mailer/confirmation_instructions.no.text.erb12
-rw-r--r--app/views/user_mailer/password_change.no.html.erb3
-rw-r--r--app/views/user_mailer/password_change.no.text.erb3
-rw-r--r--app/views/user_mailer/reset_password_instructions.no.html.erb9
-rw-r--r--app/views/user_mailer/reset_password_instructions.no.text.erb9
6 files changed, 48 insertions, 0 deletions
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 000000000..366d9a4d3
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.no.html.erb
@@ -0,0 +1,12 @@
+<p>Velkommen <%= @resource.email %> !</p>
+
+<p>Du har akkurat opprettet en konto på <%= @instance %>.</p>
+
+<p>For å bekrefte innskriving i manntallet vennligst trykk på følgende lenke : <br>
+<%= link_to 'Bekreft min bruker', confirmation_url(@resource, confirmation_token: @token) %>
+
+<p>Vennligst også les våre <%= link_to 'brukervilkår', terms_url %>.</p>
+
+<p>Med vennlig hilsen,<p>
+
+<p>Gjengen bak <%= @instance %> </p>
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 000000000..3739c99d4
--- /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 000000000..cd0a28f82
--- /dev/null
+++ b/app/views/user_mailer/password_change.no.html.erb
@@ -0,0 +1,3 @@
+<p>Hei <%= @resource.email %>!</p>
+
+<p>Ditt Mastodon-passord har blitt endret.</p>
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 000000000..1707976c1
--- /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 000000000..398e95e4e
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.no.html.erb
@@ -0,0 +1,9 @@
+
+<p>Hei <%= @resource.email %>!</p>
+
+<p>Noen har forespurt en lenke til å bytte passord på din Mastodon-bruker. Du kan gjøre det ved å følge lenken under.</p>
+
+<p><%= link_to 'Endre mitt passord', edit_password_url(@resource, reset_password_token: @token) %></p>
+
+<p>Hvis du ikke vil endre ditt passord kan du ignorere denne epost.</p>
+<p>Passordet ditt blir ikke endret før du følger lenken over og endrer det.</p>
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 000000000..387dc7c3e
--- /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.