about summary refs log tree commit diff
path: root/app/views/user_mailer
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-04-22 01:16:26 +0800
committerEugen <eugen@zeonfederated.com>2017-04-21 19:16:26 +0200
commit935aecdc32f1bffa8ad9c3ea2c14052f1225478a (patch)
treeb73e0b43fd0ecada05b7b6f38b99cbcd15a904fb /app/views/user_mailer
parent1714f08d757396ac145a0671fda1a40085c46015 (diff)
Add Indonesian (Bahasa Indonesia / id) translation (#2200)
* add Indonesian (Bahasa Indonesia) translation

add id.jsx
add translations on email views
add devise.id.yml
add doorkeeper.id.yml
add id.yml
add simple_form.id.yml

update id locale on mastodon.jsx, index.jsx, settings_helper.rb, and
application.rb

* add Indonesian (Bahasa Indonesia) translation

add id.jsx
add translations on email views
add devise.id.yml
add doorkeeper.id.yml
add id.yml
add simple_form.id.yml

update id locale on mastodon.jsx, index.jsx, settings_helper.rb, and
application.rb

* fix InvalidLocaleData on a string

* fix InvalidLocaleData on a string

* Fix language keys in Indonesian ruby locale (id)

Use "id" instead of "en" as object keys.

* Removed obsoleted translation (id)
Diffstat (limited to 'app/views/user_mailer')
-rw-r--r--app/views/user_mailer/confirmation_instructions.id.html.erb12
-rw-r--r--app/views/user_mailer/confirmation_instructions.id.text.erb12
-rw-r--r--app/views/user_mailer/password_change.id.html.erb3
-rw-r--r--app/views/user_mailer/password_change.id.text.erb3
-rw-r--r--app/views/user_mailer/reset_password_instructions.id.html.erb8
-rw-r--r--app/views/user_mailer/reset_password_instructions.id.text.erb8
6 files changed, 46 insertions, 0 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.id.html.erb b/app/views/user_mailer/confirmation_instructions.id.html.erb
new file mode 100644
index 000000000..998267d76
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.id.html.erb
@@ -0,0 +1,12 @@
+<p>Selamat datang <%= @resource.email %> !</p>
+
+<p>Anda barus saja membuat akun di <%= @instance %>.</p>
+
+<p>Untuk mengkonfirmasi, silakan klik link berikut ini : <br>
+<%= link_to 'Konfirmasikan akun saya', confirmation_url(@resource, confirmation_token: @token) %>
+
+<p>Silakan cek juga <%= link_to 'ketentuan layanan', terms_url %> kami.</p>
+
+<p>Hormat kami,<p>
+
+<p>Tim <%= @instance %></p>
diff --git a/app/views/user_mailer/confirmation_instructions.id.text.erb b/app/views/user_mailer/confirmation_instructions.id.text.erb
new file mode 100644
index 000000000..0486c3c5c
--- /dev/null
+++ b/app/views/user_mailer/confirmation_instructions.id.text.erb
@@ -0,0 +1,12 @@
+Selamat datang <%= @resource.email %> !
+
+Anda baru saja membuat akun di <%= @instance %>.
+
+Untuk mengkonfirmasi, silakan klik link berikut ini :
+<%= confirmation_url(@resource, confirmation_token: @token) %>
+
+Silakan cek <%= terms_url %> kami
+
+Hormat kami,
+
+Tim <%= @instance %>
diff --git a/app/views/user_mailer/password_change.id.html.erb b/app/views/user_mailer/password_change.id.html.erb
new file mode 100644
index 000000000..469c98c5d
--- /dev/null
+++ b/app/views/user_mailer/password_change.id.html.erb
@@ -0,0 +1,3 @@
+<p>Hai <%= @resource.email %>!</p>
+
+<p>Kami menghubungi anda untuk memberitahu bahwa kata sandi anda di Mastodon telah diubah.</p>
diff --git a/app/views/user_mailer/password_change.id.text.erb b/app/views/user_mailer/password_change.id.text.erb
new file mode 100644
index 000000000..1a67fd407
--- /dev/null
+++ b/app/views/user_mailer/password_change.id.text.erb
@@ -0,0 +1,3 @@
+Hai <%= @resource.email %>!
+
+Kami menghubungi anda untuk memberitahu bahwa kata sandi anda di Mastodon telah diubah.
diff --git a/app/views/user_mailer/reset_password_instructions.id.html.erb b/app/views/user_mailer/reset_password_instructions.id.html.erb
new file mode 100644
index 000000000..f07e175ae
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.id.html.erb
@@ -0,0 +1,8 @@
+<p>Hai <%= @resource.email %>!</p>
+
+<p>Seseorang telah melakukan permintaan link untuk merubah kata sandi anda di Mastodon. Anda bisa melakukan ini melalui link dibawah ini.</p>
+
+<p><%= link_to 'Ubah kata sandi saya', edit_password_url(@resource, reset_password_token: @token) %></p>
+
+<p>Jika anda tidak memintanya, mohon abaikan email ini.</p>
+<p>Password anda tidak akan diubah kecuali anda mengakses link di atas dan menggantinya.</p>
diff --git a/app/views/user_mailer/reset_password_instructions.id.text.erb b/app/views/user_mailer/reset_password_instructions.id.text.erb
new file mode 100644
index 000000000..cd7cfc373
--- /dev/null
+++ b/app/views/user_mailer/reset_password_instructions.id.text.erb
@@ -0,0 +1,8 @@
+Hai <%= @resource.email %>!
+
+Seseorang telah melakukan permintaan link untuk merubah kata sandi anda di Mastodon. Anda bisa melakukan ini melalui link dibawah ini.
+
+<%= edit_password_url(@resource, reset_password_token: @token) %>
+
+Jika anda tidak memintanya, mohon abaikan email ini.
+Password anda tidak akan diubah kecuali anda mengakses link di atas dan menggantinya.