From f8ae12909cf2413666e956245ab784871089b92b Mon Sep 17 00:00:00 2001 From: anon <anon@anoncom.net> Date: Mon, 17 Apr 2017 17:32:09 +0900 Subject: [PATCH] Fix tiny typo, and added link to terms and conditions in confirmation email for Japanese. (#1975) (#1975) --- .../user_mailer/confirmation_instructions.ja.html.erb | 8 +++++++- .../user_mailer/confirmation_instructions.ja.text.erb | 8 +++++++- .../user_mailer/reset_password_instructions.ja.html.erb | 2 +- .../user_mailer/reset_password_instructions.ja.text.erb | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app/views/user_mailer/confirmation_instructions.ja.html.erb b/app/views/user_mailer/confirmation_instructions.ja.html.erb index bbb44b2cc..1232f94b4 100644 --- a/app/views/user_mailer/confirmation_instructions.ja.html.erb +++ b/app/views/user_mailer/confirmation_instructions.ja.html.erb @@ -1,5 +1,11 @@ <p>よã†ã“ã<%= @resource.email %>ã•ã‚“</p> -<p>以下ã®ãƒªãƒ³ã‚¯ã‚’クリックã—ã¦Mastodonアカウントã®ãƒ¡ãƒ¼ãƒ«ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’確èªã—ã¦ãã ã•ã„</p> +<p><%= @instance %>ã«ã‚¢ã‚«ã‚¦ãƒ³ãƒˆãŒä½œæˆã•ã‚Œã¾ã—ãŸã€‚</p> + +<p>以下ã®ãƒªãƒ³ã‚¯ã‚’クリックã—ã¦Mastodonアカウントã®ãƒ¡ãƒ¼ãƒ«ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’確èªã—ã¦ãã ã•ã„。</p> <p><%= link_to 'メールアドレスã®ç¢ºèª', confirmation_url(@resource, confirmation_token: @token) %></p> + +<p>ã¾ãŸã€ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®<%= link_to '利用è¦ç´„', terms_url %>ã«ã¤ã„ã¦ã‚‚ã”確èªãã ã•ã„。</p> + +<p><%= @instance %> ãƒãƒ¼ãƒ </p> diff --git a/app/views/user_mailer/confirmation_instructions.ja.text.erb b/app/views/user_mailer/confirmation_instructions.ja.text.erb index ad8abee2d..99868ba8a 100644 --- a/app/views/user_mailer/confirmation_instructions.ja.text.erb +++ b/app/views/user_mailer/confirmation_instructions.ja.text.erb @@ -1,5 +1,11 @@ よã†ã“ã<%= @resource.email %>ã•ã‚“ -以下ã®ãƒªãƒ³ã‚¯ã‚’クリックã—ã¦Mastodonアカウントã®ãƒ¡ãƒ¼ãƒ«ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’確èªã—ã¦ãã ã•ã„ +<%= @instance %>ã«ã‚¢ã‚«ã‚¦ãƒ³ãƒˆãŒä½œæˆã•ã‚Œã¾ã—ãŸã€‚ + +以下ã®ãƒªãƒ³ã‚¯ã‚’クリックã—ã¦Mastodonアカウントã®ãƒ¡ãƒ¼ãƒ«ã‚¢ãƒ‰ãƒ¬ã‚¹ã‚’確èªã—ã¦ãã ã•ã„。 <%= confirmation_url(@resource, confirmation_token: @token) %> + +ã¾ãŸã€ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ã®<%= link_to '利用è¦ç´„', terms_url %>ã«ã¤ã„ã¦ã‚‚ã”確èªãã ã•ã„。 + +<%= @instance %> ãƒãƒ¼ãƒ diff --git a/app/views/user_mailer/reset_password_instructions.ja.html.erb b/app/views/user_mailer/reset_password_instructions.ja.html.erb index 156758ef5..d0d7203f4 100644 --- a/app/views/user_mailer/reset_password_instructions.ja.html.erb +++ b/app/views/user_mailer/reset_password_instructions.ja.html.erb @@ -4,5 +4,5 @@ <p><%= link_to 'パスワードを変更', edit_password_url(@resource, reset_password_token: @token) %></p> -<p>ã“ã®ãƒ¡ãƒ¼ãƒ«ã«è¦‹ã«è¦šãˆã®ãªã„å ´åˆã¯ç„¡è¦–ã—ã¦ãã ã•ã„。</p> +<p>ã“ã®ãƒ¡ãƒ¼ãƒ«ã«èº«ã«è¦šãˆã®ãªã„å ´åˆã¯ç„¡è¦–ã—ã¦ãã ã•ã„。</p> <p>上記ã®ãƒªãƒ³ã‚¯ã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã€å¤‰æ›´ã‚’ã—ãªã„é™ã‚Šãƒ‘スワードã¯å¤‰æ›´ã•ã‚Œã¾ã›ã‚“。</p> diff --git a/app/views/user_mailer/reset_password_instructions.ja.text.erb b/app/views/user_mailer/reset_password_instructions.ja.text.erb index 5fb0eba04..9ed607b58 100644 --- a/app/views/user_mailer/reset_password_instructions.ja.text.erb +++ b/app/views/user_mailer/reset_password_instructions.ja.text.erb @@ -4,5 +4,5 @@ Mastodonアカウントã®ãƒ‘スワードã®å¤‰æ›´ãŒãƒªã‚¯ã‚¨ã‚¹ãƒˆã•ã‚Œã¾ã— <%= edit_password_url(@resource, reset_password_token: @token) %> -ã“ã®ãƒ¡ãƒ¼ãƒ«ã«è¦‹ã«è¦šãˆã®ãªã„å ´åˆã¯ç„¡è¦–ã—ã¦ãã ã•ã„。 +ã“ã®ãƒ¡ãƒ¼ãƒ«ã«èº«ã«è¦šãˆã®ãªã„å ´åˆã¯ç„¡è¦–ã—ã¦ãã ã•ã„。 上記ã®ãƒªãƒ³ã‚¯ã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã€å¤‰æ›´ã‚’ã—ãªã„é™ã‚Šãƒ‘スワードã¯å¤‰æ›´ã•ã‚Œã¾ã›ã‚“。 -- GitLab