From 126f929c3961b3f897ba9fa35890af27d0421961 Mon Sep 17 00:00:00 2001
From: m4sk1n <me@m4sk.in>
Date: Tue, 27 Jun 2017 23:10:43 +0200
Subject: [PATCH] i18n: Use instance name in email notifications instead of
 Mastodon (pl) (#3976)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
---
 app/views/user_mailer/password_change.pl.html.erb             | 2 +-
 app/views/user_mailer/password_change.pl.text.erb             | 2 +-
 app/views/user_mailer/reset_password_instructions.pl.html.erb | 3 ++-
 app/views/user_mailer/reset_password_instructions.pl.text.erb | 3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app/views/user_mailer/password_change.pl.html.erb b/app/views/user_mailer/password_change.pl.html.erb
index 46423483a0..a7cb15a05e 100644
--- a/app/views/user_mailer/password_change.pl.html.erb
+++ b/app/views/user_mailer/password_change.pl.html.erb
@@ -1,3 +1,3 @@
 <p>Witaj, <%= @resource.email %>!</p>
 
-<p>Informujemy, że ostatnio zmieniono Twoje hasło Mastodona.</p>
+<p>Informujemy, że ostatnio zmieniono Twoje hasło na <%= @instance %>.</p>
diff --git a/app/views/user_mailer/password_change.pl.text.erb b/app/views/user_mailer/password_change.pl.text.erb
index 85d5e11752..bd2efee0f3 100644
--- a/app/views/user_mailer/password_change.pl.text.erb
+++ b/app/views/user_mailer/password_change.pl.text.erb
@@ -1,3 +1,3 @@
 Witaj, <%= @resource.email %>!
 
-Informujemy, że ostatnio zmieniono Twoje hasło Mastodona.
+Informujemy, że ostatnio zmieniono Twoje hasło na <%= @instance %>.
diff --git a/app/views/user_mailer/reset_password_instructions.pl.html.erb b/app/views/user_mailer/reset_password_instructions.pl.html.erb
index f4d67c724f..2a9913a1d5 100644
--- a/app/views/user_mailer/reset_password_instructions.pl.html.erb
+++ b/app/views/user_mailer/reset_password_instructions.pl.html.erb
@@ -1,6 +1,7 @@
 <p>Witaj, <%= @resource.email %>!</p>
 
-<p>Ktoś próbował zmienić Twoje hasło na Mastodonie. Możesz zrobić to klikając w poniższy link.</p>
+<p>Ktoś próbował zmienić Twoje hasło na <%= @instance %>. Możesz zrobić to klikając w 
+poniższy link.</p>
 
 <p><%= link_to 'Zmień moje hasło', edit_password_url(@resource, reset_password_token: @token) %></p>
 
diff --git a/app/views/user_mailer/reset_password_instructions.pl.text.erb b/app/views/user_mailer/reset_password_instructions.pl.text.erb
index 78d1cab0b2..2b34afc489 100644
--- a/app/views/user_mailer/reset_password_instructions.pl.text.erb
+++ b/app/views/user_mailer/reset_password_instructions.pl.text.erb
@@ -1,6 +1,7 @@
 Witaj, <%= @resource.email %>!
 
-Ktoś próbował zmienić Twoje hasło na Mastodonie. Możesz zrobić to klikając w poniższy link.
+Ktoś próbował zmienić Twoje hasło na <%= @instance %>. Możesz zrobić to klikając w 
+poniższy link.
 
 <%= edit_password_url(@resource, reset_password_token: @token) %>
 
-- 
GitLab