about summary refs log tree commit diff
path: root/app/views/user_mailer
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user_mailer')
-rw-r--r--app/views/user_mailer/confirmation_instructions.pl.html.erb2
-rw-r--r--app/views/user_mailer/confirmation_instructions.pl.text.erb2
-rw-r--r--app/views/user_mailer/confirmation_instructions.sr-Latn.html.erb15
-rw-r--r--app/views/user_mailer/confirmation_instructions.sr-Latn.text.erb12
-rw-r--r--app/views/user_mailer/confirmation_instructions.sr.html.erb15
-rw-r--r--app/views/user_mailer/confirmation_instructions.sr.text.erb12
-rw-r--r--app/views/user_mailer/email_changed.en.html.erb15
-rw-r--r--app/views/user_mailer/email_changed.en.text.erb13
-rw-r--r--app/views/user_mailer/email_changed.ja.html.erb13
-rw-r--r--app/views/user_mailer/email_changed.ja.text.erb11
-rw-r--r--app/views/user_mailer/email_changed.pl.html.erb15
-rw-r--r--app/views/user_mailer/email_changed.pl.text.erb13
-rw-r--r--app/views/user_mailer/password_change.sr-Latn.html.erb3
-rw-r--r--app/views/user_mailer/password_change.sr-Latn.text.erb3
-rw-r--r--app/views/user_mailer/password_change.sr.html.erb3
-rw-r--r--app/views/user_mailer/password_change.sr.text.erb3
-rw-r--r--app/views/user_mailer/reconfirmation_instructions.en.html.erb15
-rw-r--r--app/views/user_mailer/reconfirmation_instructions.en.text.erb12
-rw-r--r--app/views/user_mailer/reconfirmation_instructions.ja.html.erb13
-rw-r--r--app/views/user_mailer/reconfirmation_instructions.ja.text.erb10
-rw-r--r--app/views/user_mailer/reconfirmation_instructions.pl.html.erb15
-rw-r--r--app/views/user_mailer/reconfirmation_instructions.pl.text.erb12
-rw-r--r--app/views/user_mailer/reset_password_instructions.sr-Latn.html.erb8
-rw-r--r--app/views/user_mailer/reset_password_instructions.sr-Latn.text.erb8
-rw-r--r--app/views/user_mailer/reset_password_instructions.sr.html.erb8
-rw-r--r--app/views/user_mailer/reset_password_instructions.sr.text.erb8
26 files changed, 257 insertions, 2 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.pl.html.erb b/app/views/user_mailer/confirmation_instructions.pl.html.erb
index 973950184..2285b5c6e 100644
--- a/app/views/user_mailer/confirmation_instructions.pl.html.erb
+++ b/app/views/user_mailer/confirmation_instructions.pl.html.erb
@@ -1,4 +1,4 @@
-<p>Witaj, <%= @resource.email %> !</p>
+<p>Witaj, <%= @resource.email %>!</p>
 
 <p>Właśnie utworzyłeś konto na instancji <%= @instance %>.</p>
 
diff --git a/app/views/user_mailer/confirmation_instructions.pl.text.erb b/app/views/user_mailer/confirmation_instructions.pl.text.erb
index 9640d8ddd..f20082e16 100644
--- a/app/views/user_mailer/confirmation_instructions.pl.text.erb
+++ b/app/views/user_mailer/confirmation_instructions.pl.text.erb
@@ -1,4 +1,4 @@
-Witaj, <%= @resource.email %> !
+Witaj, <%= @resource.email %>!
 
 Właśnie utworzyłeś konto na instancji <%= @instance %>.
 
diff --git a/app/views/user_mailer/confirmation_instructions.sr-Latn.html.erb b/app/views/user_mailer/confirmation_instructions.sr-Latn.html.erb
new file mode 100644
index 000000000..a16008250
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.sr-Latn.html.erb
@@ -0,0 +1,15 @@
+<p>Dobrodošao <%= @resource.email %> !</p>
+
+<p>Upravo ste napravili nalog na instanci <%= @instance %>.</p>
+
+<p>Da potvrdite Vašu registraciju, molimo Vas kliknite na sledeći link: <br>
+<%= link_to 'Potvrdi moj nalog', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>Ako link iznad ne radi, kopirajte i nalepite ovu adresu u adresnu traku: <br>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
+
+<p>Takođe pogledajte i <%= link_to 'pravila i uslove korišćenja', terms_url %>.</p>
+
+<p>S poštovanjem,<p>
+
+<p><%= @instance %> tim</p>
diff --git a/app/views/user_mailer/confirmation_instructions.sr-Latn.text.erb b/app/views/user_mailer/confirmation_instructions.sr-Latn.text.erb
new file mode 100644
index 000000000..60fe9db0d
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.sr-Latn.text.erb
@@ -0,0 +1,12 @@
+Dobrodošao <%= @resource.email %> !
+
+Upravo ste napravili nalog na instanci <%= @instance %>.
+
+Da potvrdite Vašu registraciju, molimo Vas kliknite na sledeći link:
+<%= confirmation_url(@resource, confirmation_token: @token) %>
+
+Takođe pogledajte i pravila i uslove korišćenja <%= terms_url %>
+
+S poštovanjem,
+
+<%= @instance %> tim
diff --git a/app/views/user_mailer/confirmation_instructions.sr.html.erb b/app/views/user_mailer/confirmation_instructions.sr.html.erb
new file mode 100644
index 000000000..09203cc9a
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.sr.html.erb
@@ -0,0 +1,15 @@
+<p>Добродошао <%= @resource.email %> !</p>
+
+<p>Управо сте направили налог на инстанци <%= @instance %>.</p>
+
+<p>Да потврдите Вашу регистрацију, молимо Вас кликните на следећи линк: <br>
+<%= link_to 'Потврди мој налог', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>Ако линк изнад не ради, копирајте и налепите ову адресу у адресну траку: <br>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
+
+<p>Такође погледајте и <%= link_to 'правила и услове коришћења', terms_url %>.</p>
+
+<p>С поштовањем,<p>
+
+<p><%= @instance %> тим</p>
diff --git a/app/views/user_mailer/confirmation_instructions.sr.text.erb b/app/views/user_mailer/confirmation_instructions.sr.text.erb
new file mode 100644
index 000000000..e7cb7e188
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.sr.text.erb
@@ -0,0 +1,12 @@
+Добродошао <%= @resource.email %> !
+
+Управо сте направили налог на инстанци <%= @instance %>.
+
+Да потврдите Вашу регистрацију, молимо Вас кликните на следећи линк:
+<%= confirmation_url(@resource, confirmation_token: @token) %>
+
+Такође погледајте и правила и услове коришћења <%= terms_url %>
+
+С поштовањем,
+
+<%= @instance %> тим
diff --git a/app/views/user_mailer/email_changed.en.html.erb b/app/views/user_mailer/email_changed.en.html.erb
new file mode 100644
index 000000000..c10680086
--- /dev/null
+++ b/app/views/user_mailer/email_changed.en.html.erb
@@ -0,0 +1,15 @@
+<p>Hello <%= @resource.email %>!</p>
+
+<% if @resource&.unconfirmed_email? %>
+  <p>We're contacting you to notify you that the email you use on <%= @instance %> is being changed to <%= @resource.unconfirmed_email %>.</p>
+<% else %>
+  <p>We're contacting you to notify you that the email you use on <%= @instance %> has been changed to <%= @resource.email %>.</p>
+<% end %>
+
+<p>
+  If you did not change your email, it is likely that someone has gained access to your account. Please change your password immediately or contact the instance admin if you're locked out of your account.
+</p>
+
+<p>Sincerely,<p>
+
+<p>The <%= @instance %> team</p>
diff --git a/app/views/user_mailer/email_changed.en.text.erb b/app/views/user_mailer/email_changed.en.text.erb
new file mode 100644
index 000000000..971972461
--- /dev/null
+++ b/app/views/user_mailer/email_changed.en.text.erb
@@ -0,0 +1,13 @@
+Hello <%= @resource.email %>!
+
+<% if @resource&.unconfirmed_email? %>
+We're contacting you to notify you that the email you use on <%= @instance %> is being changed to <%= @resource.unconfirmed_email %>.
+<% else %>
+We're contacting you to notify you that the email you use on <%= @instance %> has been changed to <%= @resource.email %>.
+<% end %>
+
+If you did not change your email, it is likely that someone has gained access to your account. Please change your password immediately or contact the instance admin if you're locked out of your account.
+
+Sincerely,
+
+The <%= @instance %> team
diff --git a/app/views/user_mailer/email_changed.ja.html.erb b/app/views/user_mailer/email_changed.ja.html.erb
new file mode 100644
index 000000000..c66f409c6
--- /dev/null
+++ b/app/views/user_mailer/email_changed.ja.html.erb
@@ -0,0 +1,13 @@
+<p>こんにちは<%= @resource.email %>さん</p>
+
+<% if @resource&.unconfirmed_email? %>
+  <p><%= @instance %>で使っているメールアドレスが<%= @resource.unconfirmed_email %>に変更されようとしています。</p>
+<% else %>
+  <p><%= @instance %>で使っているメールアドレスが<%= @resource.email %>に変更されました。</p>
+<% end %>
+
+<p>
+  メールアドレスを変更した覚えがない場合、誰かがあなたのアカウントにアクセスしたおそれがあります。すぐにパスワードを変更するか、アカウントにアクセスできない場合はインスタンスの管理者に連絡してください。
+</p>
+
+<p><%= @instance %>チームより</p>
diff --git a/app/views/user_mailer/email_changed.ja.text.erb b/app/views/user_mailer/email_changed.ja.text.erb
new file mode 100644
index 000000000..33ee6d10b
--- /dev/null
+++ b/app/views/user_mailer/email_changed.ja.text.erb
@@ -0,0 +1,11 @@
+Hello <%= @resource.email %>!
+
+<% if @resource&.unconfirmed_email? %>
+<%= @instance %>で使っているメールアドレスが<%= @resource.unconfirmed_email %>に変更されようとしています。
+<% else %>
+<%= @instance %>で使っているメールアドレスが<%= @resource.email %>に変更されました。
+<% end %>
+
+メールアドレスを変更した覚えがない場合、誰かがあなたのアカウントにアクセスしたおそれがあります。すぐにパスワードを変更するか、アカウントにアクセスできない場合はインスタンスの管理者に連絡してください。
+
+<%= @instance %>チームより
diff --git a/app/views/user_mailer/email_changed.pl.html.erb b/app/views/user_mailer/email_changed.pl.html.erb
new file mode 100644
index 000000000..9ed122b0f
--- /dev/null
+++ b/app/views/user_mailer/email_changed.pl.html.erb
@@ -0,0 +1,15 @@
+<p>Witaj, <%= @resource.email %>!</p>
+
+<% if @resource&.unconfirmed_email? %>
+  <p>Informujemy, że e-mail używany przez Ciebie na <%= @instance %> został zmieniony na <%= @resource.unconfirmed_email %>.</p>
+<% else %>
+  <p>Informujemy, że e-mail używany przez Ciebie na <%= @instance %> został zmieniony na <%= @resource.email %>.</p>
+<% end %>
+
+<p>
+  Jeżeli to nie Ty, prawdopodobnie ktoś uzyskał dostęp do Twojego konta. Zalecana jest natychmiastowa zmiana hasła lub skontaktowanie się z administratorem, jeżeli nie masz dostępu do swojego konta.
+</p>
+
+<p>Z pozdrowieniami,<p>
+
+<p>Zespół <%= @instance %></p>
diff --git a/app/views/user_mailer/email_changed.pl.text.erb b/app/views/user_mailer/email_changed.pl.text.erb
new file mode 100644
index 000000000..134a79e95
--- /dev/null
+++ b/app/views/user_mailer/email_changed.pl.text.erb
@@ -0,0 +1,13 @@
+Witaj, <%= @resource.email %>!
+
+<% if @resource&.unconfirmed_email? %>
+Informujemy, że e-mail używany przez Ciebie na <%= @instance %> został zmieniony na <%= @resource.unconfirmed_email %>.
+<% else %>
+Informujemy, że e-mail używany przez Ciebie na <%= @instance %> został zmieniony na <%= @resource.email %>.
+<% end %>
+
+Jeżeli to nie Ty, prawdopodobnie ktoś uzyskał dostęp do Twojego konta. Zalecana jest natychmiastowa zmiana hasła lub skontaktowanie się z administratorem, jeżeli nie masz dostępu do swojego konta.
+
+Z pozdrowieniami,
+
+Zespół <%= @instance %>
diff --git a/app/views/user_mailer/password_change.sr-Latn.html.erb b/app/views/user_mailer/password_change.sr-Latn.html.erb
new file mode 100644
index 000000000..ab4e23bdf
--- /dev/null
+++ b/app/views/user_mailer/password_change.sr-Latn.html.erb
@@ -0,0 +1,3 @@
+<p>Zdravo <%= @resource.email %>!</p>
+
+<p>Želimo samo da Vas obavestimo da je Vaša lozinka na Mastodont instanci <%= @instance %> promenjena.</p>
diff --git a/app/views/user_mailer/password_change.sr-Latn.text.erb b/app/views/user_mailer/password_change.sr-Latn.text.erb
new file mode 100644
index 000000000..6e0666d8d
--- /dev/null
+++ b/app/views/user_mailer/password_change.sr-Latn.text.erb
@@ -0,0 +1,3 @@
+Zdravo <%= @resource.email %>!
+
+Želimo samo da Vas obavestimo da je Vaša lozinka na Mastodont instanci <%= @instance %> promenjena.
diff --git a/app/views/user_mailer/password_change.sr.html.erb b/app/views/user_mailer/password_change.sr.html.erb
new file mode 100644
index 000000000..4bb61b74f
--- /dev/null
+++ b/app/views/user_mailer/password_change.sr.html.erb
@@ -0,0 +1,3 @@
+<p>Здраво <%= @resource.email %>!</p>
+
+<p>Желимо само да Вас обавестимо да је Ваша лозинка на Мастодонт инстанци <%= @instance %> промењена.</p>
diff --git a/app/views/user_mailer/password_change.sr.text.erb b/app/views/user_mailer/password_change.sr.text.erb
new file mode 100644
index 000000000..9082201c0
--- /dev/null
+++ b/app/views/user_mailer/password_change.sr.text.erb
@@ -0,0 +1,3 @@
+Здраво <%= @resource.email %>!
+
+Желимо само да Вас обавестимо да је Ваша лозинка на Мастодонт инстанци <%= @instance %> промењена.
diff --git a/app/views/user_mailer/reconfirmation_instructions.en.html.erb b/app/views/user_mailer/reconfirmation_instructions.en.html.erb
new file mode 100644
index 000000000..31866a3c8
--- /dev/null
+++ b/app/views/user_mailer/reconfirmation_instructions.en.html.erb
@@ -0,0 +1,15 @@
+<p>Hello <%= @resource.unconfirmed_email %>!</p>
+
+<p>You requested a change to the email address you use on <%= @instance %>.</p>
+
+<p>To confirm your new email, please click on the following link:<br>
+<%= link_to 'Confirm my email address', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>If the above link did not work, copy and paste this URL into your address bar: <br>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
+
+<p>Please also check out our <%= link_to 'terms and conditions', terms_url %>.</p>
+
+<p>Sincerely,<p>
+
+<p>The <%= @instance %> team</p>
diff --git a/app/views/user_mailer/reconfirmation_instructions.en.text.erb b/app/views/user_mailer/reconfirmation_instructions.en.text.erb
new file mode 100644
index 000000000..c1c735b3a
--- /dev/null
+++ b/app/views/user_mailer/reconfirmation_instructions.en.text.erb
@@ -0,0 +1,12 @@
+Hello <%= @resource.unconfirmed_email %>!
+
+You requested a change to the email address you use on <%= @instance %>.
+
+To confirm your new email, please click on the following link:
+<%= confirmation_url(@resource, confirmation_token: @token) %>
+
+Please also check out our terms and conditions <%= terms_url %>
+
+Sincerely,
+
+The <%= @instance %> team
diff --git a/app/views/user_mailer/reconfirmation_instructions.ja.html.erb b/app/views/user_mailer/reconfirmation_instructions.ja.html.erb
new file mode 100644
index 000000000..caa53032a
--- /dev/null
+++ b/app/views/user_mailer/reconfirmation_instructions.ja.html.erb
@@ -0,0 +1,13 @@
+<p>こんにちは<%= @resource.unconfirmed_email %>さん</p>
+
+<p><%= @instance %>で使っているメールアドレスの変更をあなたがリクエストしました。</p>
+
+<p>新しいメールアドレスを確認するには次のリンクをクリックしてください:<br>
+<%= link_to 'わたしのメールアドレスを確認する', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>上記のリンクがうまくいかなかった場合はこのURLをコピーしてアドレスバーに貼り付けてください:<br>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
+
+<p>また<%= link_to '利用規約', terms_url %>もご確認ください。</p>
+
+<p><%= @instance %>チームより</p>
diff --git a/app/views/user_mailer/reconfirmation_instructions.ja.text.erb b/app/views/user_mailer/reconfirmation_instructions.ja.text.erb
new file mode 100644
index 000000000..5326e4512
--- /dev/null
+++ b/app/views/user_mailer/reconfirmation_instructions.ja.text.erb
@@ -0,0 +1,10 @@
+こんにちは<%= @resource.unconfirmed_email %>さん
+
+<%= @instance %>で使っているメールアドレスの変更をあなたがリクエストしました。
+
+新しいメールアドレスを確認するには次のリンクをクリックしてください:
+<%= confirmation_url(@resource, confirmation_token: @token) %>
+
+また利用規約もご確認ください <%= terms_url %>
+
+<%= @instance %>チームより
diff --git a/app/views/user_mailer/reconfirmation_instructions.pl.html.erb b/app/views/user_mailer/reconfirmation_instructions.pl.html.erb
new file mode 100644
index 000000000..57cdc42e1
--- /dev/null
+++ b/app/views/user_mailer/reconfirmation_instructions.pl.html.erb
@@ -0,0 +1,15 @@
+<p>Witaj, <%= @resource.unconfirmed_email %>!</p>
+
+<p>Dokonano próby zmiany adresu e-mail, którego używasz na <%= @instance %>.</p>
+
+<p>Aby potwierdzić posiadanie tego adresu e-mail, kliknij na poniższy odnośnik:<br>
+<%= link_to 'Potwierdź mój adres e-mail', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>Jeżeli ten odnośnik nie działa, wklej następujący adres w pasek adresu Twojej przeglądarki: <br>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
+
+<p>Pamiętaj o przeczytaniu naszych <%= link_to 'zasad użytkowania', terms_url %>.</p>
+
+<p>Z pozdrowieniami,<p>
+
+<p>Zespół <%= @instance %></p>
diff --git a/app/views/user_mailer/reconfirmation_instructions.pl.text.erb b/app/views/user_mailer/reconfirmation_instructions.pl.text.erb
new file mode 100644
index 000000000..032718f81
--- /dev/null
+++ b/app/views/user_mailer/reconfirmation_instructions.pl.text.erb
@@ -0,0 +1,12 @@
+Witaj, <%= @resource.unconfirmed_email %>!
+
+Dokonano próby zmiany adresu e-mail, którego używasz na <%= @instance %>.
+
+Aby potwierdzić posiadanie tego adresu e-mail, kliknij na poniższy odnośnik:
+<%= confirmation_url(@resource, confirmation_token: @token) %>
+
+Pamiętaj o przeczytaniu naszych zasad użytkowania: <%= terms_url %>
+
+Z pozdrowieniami,
+
+Zespół <%= @instance %>
diff --git a/app/views/user_mailer/reset_password_instructions.sr-Latn.html.erb b/app/views/user_mailer/reset_password_instructions.sr-Latn.html.erb
new file mode 100644
index 000000000..7dede16b2
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.sr-Latn.html.erb
@@ -0,0 +1,8 @@
+<p>Zdravo <%= @resource.email %>!</p>
+
+<p>Neko je zatražio link za promenu lozinke na instanci <%= @instance %>. Ovo možete uraditi klikom na link ispod.</p>
+
+<p><%= link_to 'Promeni moju lozinku', edit_password_url(@resource, reset_password_token: @token) %></p>
+
+<p>Ignorišite ovu poruku, ako niste Vi bili ti koji ste zatražili promenu lozinke.</p>
+<p>Lozinka se neće promeniti sve dok ne kliknete link iznad i ne napravite novu lozinku.</p>
diff --git a/app/views/user_mailer/reset_password_instructions.sr-Latn.text.erb b/app/views/user_mailer/reset_password_instructions.sr-Latn.text.erb
new file mode 100644
index 000000000..31707dee1
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.sr-Latn.text.erb
@@ -0,0 +1,8 @@
+Zdravo <%= @resource.email %>!
+
+Neko je zatražio link za promenu lozinke na instanci <%= @instance %>. Ovo možete uraditi preko linka ispod.
+
+<%= edit_password_url(@resource, reset_password_token: @token) %>
+
+Ignorišite ovu poruku, ako niste Vi bili ti koji ste zatražili promenu lozinke.
+Lozinka se neće promeniti sve dok ne kliknete link iznad i ne napravite novu lozinku.
diff --git a/app/views/user_mailer/reset_password_instructions.sr.html.erb b/app/views/user_mailer/reset_password_instructions.sr.html.erb
new file mode 100644
index 000000000..be8d0c3ed
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.sr.html.erb
@@ -0,0 +1,8 @@
+<p>Здраво <%= @resource.email %>!</p>
+
+<p>Неко је затражио линк за промену лозинке на инстанци <%= @instance %>. Ово можете урадити кликом на линк испод.</p>
+
+<p><%= link_to 'Промени моју лозинку', edit_password_url(@resource, reset_password_token: @token) %></p>
+
+<p>Игноришите ову поруку, ако нисте Ви били ти који сте затражили промену лозинке.</p>
+<p>Лозинка се неће променити све док не кликнете линк изнад и не направите нову лозинку.</p>
diff --git a/app/views/user_mailer/reset_password_instructions.sr.text.erb b/app/views/user_mailer/reset_password_instructions.sr.text.erb
new file mode 100644
index 000000000..86ea32b05
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.sr.text.erb
@@ -0,0 +1,8 @@
+Здраво <%= @resource.email %>!
+
+Неко је затражио линк за промену лозинке на инстанци <%= @instance %>. Ово можете урадити преко линка испод.
+
+<%= edit_password_url(@resource, reset_password_token: @token) %>
+
+Игноришите ову поруку, ако нисте Ви били ти који сте затражили промену лозинке.
+Лозинка се неће променити све док не кликнете линк изнад и не направите нову лозинку.