Browse Source

Add Japanese translation of terms and flash (#4137)

pull/4/head
のら 6 years ago
committed by Eugen Rochko
parent
commit
ca45bd0361
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      app/controllers/admin/settings_controller.rb
  2. +3
    -0
      config/locales/ja.yml

+ 1
- 1
app/controllers/admin/settings_controller.rb View File

@ -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

+ 3
- 0
config/locales/ja.yml View File

@ -183,6 +183,9 @@ ja:
site_description_extended:
desc_html: インスタンスについてのページに表示されます。<br>HTMLタグが利用可能です。
title: サイトの詳細な説明
site_terms:
desc_html: プライバシーポリシーのページに表示されます。<br>HTMLタグが利用可能です。
title: サイトのプライバシーポリシー
site_title: サイトのタイトル
title: サイト設定
subscriptions:

Loading…
Cancel
Save