about summary refs log tree commit diff
path: root/app/views/user_mailer
diff options
context:
space:
mode:
authorMasoud Abkenar <ampbox@gmail.com>2017-05-22 00:20:13 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-05-22 00:20:13 +0200
commitb69365e397c983f813f1cd14ec34deed9ced0f85 (patch)
tree0aa66ff4241f50f5662543095ee1ac51ccc07152 /app/views/user_mailer
parenta478af92c3963918f5974d000add088f2dfb5dbb (diff)
Persian translation update (#3206)
* Persian translation update

* Persian translation update: new files

* Persian translation update

* activerecord.fa.yml language code

* Persian translation update

* fix indent
Diffstat (limited to 'app/views/user_mailer')
-rw-r--r--app/views/user_mailer/confirmation_instructions.fa.html.erb12
-rw-r--r--app/views/user_mailer/confirmation_instructions.fa.text.erb12
-rw-r--r--app/views/user_mailer/password_change.fa.html.erb3
-rw-r--r--app/views/user_mailer/password_change.fa.text.erb3
-rw-r--r--app/views/user_mailer/reset_password_instructions.fa.html.erb8
-rw-r--r--app/views/user_mailer/reset_password_instructions.fa.text.erb8
6 files changed, 46 insertions, 0 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.fa.html.erb b/app/views/user_mailer/confirmation_instructions.fa.html.erb
new file mode 100644
index 000000000..cccdaa2c5
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.fa.html.erb
@@ -0,0 +1,12 @@
+<p dir="rtl">خوش آمدید <%= @resource.email %> !</p>
+
+<p dir="rtl">شما الان در <%= @instance %> حساب باز کردید.</p>
+
+<p dir="rtl">برای تأیید عضویت، لطفاً روی پیوند زیر کلیک کنید: <br>
+<%= link_to 'تأیید حساب', confirmation_url(@resource, confirmation_token: @token) %>
+
+<p dir="rtl">لطفاً همچنین <%= link_to 'شرایط و مقررات استفادهٔ', terms_url %> ما را هم بخوانید.</p>
+
+<p dir="rtl">با احترام,<p>
+
+<p dir="rtl">گردانندگان سرور <%= @instance %></p>
diff --git a/app/views/user_mailer/confirmation_instructions.fa.text.erb b/app/views/user_mailer/confirmation_instructions.fa.text.erb
new file mode 100644
index 000000000..cbabed06d
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.fa.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/password_change.fa.html.erb b/app/views/user_mailer/password_change.fa.html.erb
new file mode 100644
index 000000000..8167ae160
--- /dev/null
+++ b/app/views/user_mailer/password_change.fa.html.erb
@@ -0,0 +1,3 @@
+<p dir="rtl">سلام <%= @resource.email %>!</p>
+
+<p dir="rtl">این پیغام برای این است که به شما بگوییم رمز شما در ماستدون تغییر کرده است.</p>
diff --git a/app/views/user_mailer/password_change.fa.text.erb b/app/views/user_mailer/password_change.fa.text.erb
new file mode 100644
index 000000000..0c2995958
--- /dev/null
+++ b/app/views/user_mailer/password_change.fa.text.erb
@@ -0,0 +1,3 @@
+سلام <%= @resource.email %>!
+
+این پیغام برای این است که به شما بگوییم رمز شما در ماستدون تغییر کرده است.
diff --git a/app/views/user_mailer/reset_password_instructions.fa.html.erb b/app/views/user_mailer/reset_password_instructions.fa.html.erb
new file mode 100644
index 000000000..835e81311
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.fa.html.erb
@@ -0,0 +1,8 @@
+<p dir="rtl">سلام <%= @resource.email %>!</p>
+
+<p dir="rtl">یک نفر درخواست کرده تا رمز شما در ماستدون عوض شود. برای این کار پیوند زیر را به‌کار ببرید.</p>
+
+<p dir="rtl"><%= link_to 'تغییر رمز', edit_password_url(@resource, reset_password_token: @token) %></p>
+
+<p dir="rtl">اگر شما چنین درخواستی نداده‌اید، لطفاً این ایمیل را نادیده بگیرید.</p>
+<p dir="rtl">تا وقتی که شما پیوند بالا را نبینید و رمز تازه‌ای نسازید، رمز شما عوض نخواهد شد.</p>
diff --git a/app/views/user_mailer/reset_password_instructions.fa.text.erb b/app/views/user_mailer/reset_password_instructions.fa.text.erb
new file mode 100644
index 000000000..0b01ba906
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.fa.text.erb
@@ -0,0 +1,8 @@
+سلام <%= @resource.email %>!
+
+یک نفر درخواست کرده تا رمز شما در ماستدون عوض شود. برای این کار روی پیوند زیر کلیک کنید.
+
+<%= edit_password_url(@resource, reset_password_token: @token) %>
+
+اگر شما چنین درخواستی نداده‌اید، لطفاً این ایمیل را نادیده بگیرید.
+تا وقتی که شما پیوند بالا را نبینید و رمز تازه‌ای نسازید، رمز شما عوض نخواهد شد.