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
This commit is contained in:
Atsushi Yamamoto 2017-05-29 11:56:13 -04:00 committed by Eugen Rochko
parent b5e8994844
commit 402c19a924
12 changed files with 46 additions and 10 deletions

View file

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

View file

@ -33,6 +33,7 @@ ja:
password: パスワード
setting_auto_play_gif: アニメーションGIFを自動再生する
setting_boost_modal: ブーストする前に確認ダイアログを表示する
setting_delete_modal: トゥートを削除する前に確認ダイアログを表示する
setting_default_privacy: 投稿の公開範囲
severity: 重大性
type: インポートする項目

View file

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