diff --git a/app/views/settings/preferences/other/show.html.haml b/app/views/settings/preferences/other/show.html.haml index c89afe83c0..895c29788d 100644 --- a/app/views/settings/preferences/other/show.html.haml +++ b/app/views/settings/preferences/other/show.html.haml @@ -37,26 +37,6 @@ label: I18n.t('simple_form.labels.defaults.setting_default_sensitive'), wrapper: :with_label - - if Setting.enable_emoji_reaction - %h4= t 'preferences.emoji_reaction_permitting' - - .fields-row - .fields-group.fields-row__column.fields-row__column-12 - = ff.input :emoji_reaction_policy, - collection: %w(allow outside_only followers_only following_only mutuals_only block), - collection_wrapper_tag: 'ul', - hint: false, - include_blank: false, - item_wrapper_tag: 'li', - kmyblue: true, - label: I18n.t('simple_form.labels.defaults.setting_emoji_reaction_policy'), - label_method: ->(item) { safe_join([t("simple_form.labels.defaults.setting_emoji_reaction_policy_items.#{item}")]) }, - warning_hint: I18n.t('simple_form.hints.defaults.setting_emoji_reaction_policy'), - wrapper: :with_label - - .fields-group - = ff.input :slip_local_emoji_reaction, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_slip_local_emoji_reaction') - - if @dtl_enabled %h4= t 'preferences.dtl' diff --git a/app/views/settings/privacy_extra/show.html.haml b/app/views/settings/privacy_extra/show.html.haml index 7cc7445224..b97f949c4b 100644 --- a/app/views/settings/privacy_extra/show.html.haml +++ b/app/views/settings/privacy_extra/show.html.haml @@ -21,6 +21,25 @@ .fields-group = ff.input :allow_quote, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_allow_quote'), hint: I18n.t('simple_form.hints.defaults.setting_allow_quote') + - if Setting.enable_emoji_reaction + %h4= t 'preferences.emoji_reaction_permitting' + + .fields-row + .fields-group.fields-row__column.fields-row__column-12 + = ff.input :emoji_reaction_policy, + collection: %w(allow outside_only followers_only following_only mutuals_only block), + collection_wrapper_tag: 'ul', + hint: I18n.t('simple_form.hints.defaults.setting_emoji_reaction_policy'), + include_blank: false, + item_wrapper_tag: 'li', + kmyblue: true, + label: I18n.t('simple_form.labels.defaults.setting_emoji_reaction_policy'), + label_method: ->(item) { safe_join([t("simple_form.labels.defaults.setting_emoji_reaction_policy_items.#{item}")]) }, + wrapper: :with_label + + .fields-group + = ff.input :slip_local_emoji_reaction, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_slip_local_emoji_reaction') + %h4= t 'privacy_extra.stop_deliver' %p.lead= t('privacy_extra.stop_deliver_hint_html') diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 84ab3ce393..51f7c0ac8a 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -70,7 +70,7 @@ en: setting_display_media_show_all: Always show media setting_dtl_force_searchability: 'With using #%{tag} tag, your post settings will be changed forcibly' setting_dtl_force_visibility: 'With using #%{tag} tag, your post settings will be changed forcibly' - setting_emoji_reaction_policy: Even with this setting, users on other servers are free to put their emoji reaction on the post and share it within the same server. If you simply want to remove the emoji reaction from your own screen, you can disable it from the appearance settings + setting_emoji_reaction_policy: Even with this setting, users on non-kmyblue servers are free to put their emoji reaction on the post and share it within the same server. If you simply want to remove the emoji reaction from your own screen, you can disable it from the appearance settings setting_emoji_reaction_streaming_notify_impl2: 当該サーバーの独自機能に対応したアプリを利用時に、絵文字リアクション機能を利用できます。動作確認していないため(そもそもそのようなアプリ自体を確認できていないため)正しく動かない場合があります setting_enable_emoji_reaction: If turn off, other users still can react your posts setting_enabled_visibilities: If turn off, you cannot select and post the privacy. diff --git a/config/locales/simple_form.ja.yml b/config/locales/simple_form.ja.yml index 9fd5a2bf2f..d5156b764e 100644 --- a/config/locales/simple_form.ja.yml +++ b/config/locales/simple_form.ja.yml @@ -70,7 +70,7 @@ ja: setting_display_media_show_all: メディアを常に表示する setting_dtl_force_searchability: 'ハッシュタグ #%{tag} をつけて投稿するとき、検索許可を強制的に置き換えるかを設定します' setting_dtl_force_visibility: 'ハッシュタグ #%{tag} をつけて投稿するとき、公開範囲を強制的に置き換えるかを設定します' - setting_emoji_reaction_policy: この設定をしても他のサーバーのユーザーはその投稿に自由に絵文字をつけ、同じサーバーの中で共有できます。単にあなた自身の画面から絵文字リアクションを除去したいだけなら、外観設定から絵文字リアクションを無効にすることができます + setting_emoji_reaction_policy: この設定をしてもkmyblue以外のサーバーのユーザーはその投稿に自由に絵文字をつけ、同じサーバーの中で共有できます。単にあなた自身の画面から絵文字リアクションを除去したいだけなら、外観設定から絵文字リアクションを無効にすることができます setting_emoji_reaction_streaming_notify_impl2: 当該サーバーの独自機能に対応したアプリを利用時に、絵文字リアクション機能を利用できます。動作確認していないため(そもそもそのようなアプリ自体を確認できていないため)正しく動かない場合があります setting_enable_emoji_reaction: この機能を無効にしても、他の人はあなたの投稿に絵文字をつけられます setting_enabled_visibilities: チェックを外した公開範囲は投稿することができなくなります。投稿しようとするとエラーが出ます