From ca45bd0361fa1d182a505cf2eff1a69bc7712a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AE=E3=82=89?= Date: Mon, 10 Jul 2017 21:04:05 +0900 Subject: [PATCH] Add Japanese translation of terms and flash (#4137) --- app/controllers/admin/settings_controller.rb | 2 +- config/locales/ja.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/settings_controller.rb b/app/controllers/admin/settings_controller.rb index 7542f55e8..f27a1f4d4 100644 --- a/app/controllers/admin/settings_controller.rb +++ b/app/controllers/admin/settings_controller.rb @@ -24,7 +24,7 @@ module Admin setting.update(value: value_for_update(key, value)) end - flash[:notice] = 'Success!' + flash[:notice] = I18n.t('generic.changes_saved_msg') redirect_to edit_admin_settings_path end diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 347270af2..9cb2428f7 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -183,6 +183,9 @@ ja: site_description_extended: desc_html: インスタンスについてのページに表示されます。
HTMLタグが利用可能です。 title: サイトの詳細な説明 + site_terms: + desc_html: プライバシーポリシーのページに表示されます。
HTMLタグが利用可能です。 + title: サイトのプライバシーポリシー site_title: サイトのタイトル title: サイト設定 subscriptions: