diff options
author | Atsushi Yamamoto <yamaatsushi927@gmail.com> | 2017-05-29 11:56:13 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-29 17:56:13 +0200 |
commit | 402c19a92475014e04df91eca759225f8a89d2ac (patch) | |
tree | 76262cf99e34295d2e9acae0ab7858ff2fdc2796 /config | |
parent | b5e89948441eb245a873260a87bfb49fb334aee1 (diff) |
Add preference setting for delete toot modal (#3368)
* Set delete_modal preference to true by default * Does not show confirmation modal if delete_modal is false * Add ja translation for preference setting page
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/simple_form.en.yml | 1 | ||||
-rw-r--r-- | config/locales/simple_form.ja.yml | 1 | ||||
-rw-r--r-- | config/settings.yml | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 6a888e3fe..5d1ede968 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -36,6 +36,7 @@ en: password: Password setting_auto_play_gif: Auto-play animated GIFs setting_boost_modal: Show confirmation dialog before boosting + setting_delete_modal: Show confirmation dialog before deleting a toot setting_default_privacy: Post privacy severity: Severity type: Import type diff --git a/config/locales/simple_form.ja.yml b/config/locales/simple_form.ja.yml index fcf0923e0..343139b64 100644 --- a/config/locales/simple_form.ja.yml +++ b/config/locales/simple_form.ja.yml @@ -33,6 +33,7 @@ ja: password: パスワード setting_auto_play_gif: アニメーションGIFを自動再生する setting_boost_modal: ブーストする前に確認ダイアログを表示する + setting_delete_modal: トゥートを削除する前に確認ダイアログを表示する setting_default_privacy: 投稿の公開範囲 severity: 重大性 type: インポートする項目 diff --git a/config/settings.yml b/config/settings.yml index 9813963b2..4811213cb 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -16,6 +16,7 @@ defaults: &defaults closed_registrations_message: '' boost_modal: false auto_play_gif: true + delete_modal: true notification_emails: follow: false reblog: false |