From cbd673601c5f762d71f65404c3b7ad5b3751ee8c Mon Sep 17 00:00:00 2001 From: Koala Yeung Date: Mon, 8 May 2017 21:56:00 +0800 Subject: Add Thai langauge (#2903) * Updated Thai language * locale: remove unused translation in Thai * locale: add Thai to settings menu and application * locale: fix activerecord.th.yml format --- app/views/user_mailer/password_change.th.html.erb | 3 +++ app/views/user_mailer/password_change.th.text.erb | 3 +++ app/views/user_mailer/reset_password_instructions.th.html.erb | 8 ++++++++ app/views/user_mailer/reset_password_instructions.th.text.erb | 8 ++++++++ 4 files changed, 22 insertions(+) create mode 100644 app/views/user_mailer/password_change.th.html.erb create mode 100644 app/views/user_mailer/password_change.th.text.erb create mode 100644 app/views/user_mailer/reset_password_instructions.th.html.erb create mode 100644 app/views/user_mailer/reset_password_instructions.th.text.erb (limited to 'app/views') diff --git a/app/views/user_mailer/password_change.th.html.erb b/app/views/user_mailer/password_change.th.html.erb new file mode 100644 index 000000000..948b1508a --- /dev/null +++ b/app/views/user_mailer/password_change.th.html.erb @@ -0,0 +1,3 @@ +

สวัสดี <%= @resource.email %>!

+ +

เราติดต่อเข้ามาเพื่อจะแจ้งให้คุณทราบว่าพาสเวิร์ด Mastodon เปลี่ยนแล้ว

diff --git a/app/views/user_mailer/password_change.th.text.erb b/app/views/user_mailer/password_change.th.text.erb new file mode 100644 index 000000000..0d28a207c --- /dev/null +++ b/app/views/user_mailer/password_change.th.text.erb @@ -0,0 +1,3 @@ +สวัสดี <%= @resource.email %>! + +เราติดต่อมาเพื่อแจ้งให้คุณทราบว่า พาสเวิร์ดของคุณถูกเปลี่ยนแล้ว diff --git a/app/views/user_mailer/reset_password_instructions.th.html.erb b/app/views/user_mailer/reset_password_instructions.th.html.erb new file mode 100644 index 000000000..1fe1c2725 --- /dev/null +++ b/app/views/user_mailer/reset_password_instructions.th.html.erb @@ -0,0 +1,8 @@ +

สวัสดี <%= @resource.email %>!

+ +

มีการแจ้งขอลิงค์เปลี่ยนแปลงพาสเวิร์ดเข้า Mastodon ของคุณ. คุณสามารถแก้ไขพาสเวิร์ดได้ผ่านทางลิงค์ด้านล่างนี้.

+ +

<%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %>

+ +

ถ้าคุณไม่ได้เป็นคนขอลิงค์นี้, กรุณาข้ามเมล์นี้ไป.

+

พาร์สเวิร์ดของคุณจะยังไม่ถูกเปลี่ยนจนกว่าคุณจะเข้าไปในลิงค์ด้านบนนี้เพื่อสร้างพาสเวิร์ดใหม่.

diff --git a/app/views/user_mailer/reset_password_instructions.th.text.erb b/app/views/user_mailer/reset_password_instructions.th.text.erb new file mode 100644 index 000000000..fe73b0165 --- /dev/null +++ b/app/views/user_mailer/reset_password_instructions.th.text.erb @@ -0,0 +1,8 @@ +Hello <%= @resource.email %>! + +Someone has requested a link to change your password on Mastodon. You can do this through the link below. + +<%= edit_password_url(@resource, reset_password_token: @token) %> + +If you didn't request this, please ignore this email. +Your password won't change until you access the link above and create a new one. -- cgit