From a41045e5fd9f5890c9c90a098803bbbd843d8c79 Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Sun, 3 Jul 2022 00:39:29 +0200 Subject: [PATCH] [AB-52] help infractions command templates adding templates for infraction updating templates for reaction reports creating templates for message report context menu fixing show effects command for no effects configured reworking muting embed templates adding templates for edit infractions --- .../showEffects_response_embed_en_US.ftl | 1 + .../editInfraction_response_embed_en_US.ftl | 6 ++ ...tions_display_response_paginator_en_US.ftl | 9 +++ .../infractions_infraction_entry_en_US.ftl | 15 +++++ ...tions_no_infractions_found_embed_en_US.ftl | 8 +++ .../infractions_response_entry_en_US.ftl | 10 ++++ .../command/mute/mute_log_embed_en_US.ftl | 45 ++++++++++----- .../command/mute/unmute_log_embed_en_US.ftl | 57 ------------------- ...ole_has_not_been_setup_exception_en_US.ftl | 1 - ...onReport_cooldown_response_embed_en_US.ftl | 6 ++ .../reactionReport_input_modal_en_US.ftl | 15 +++++ ...eactionReport_notification_embed_en_US.ftl | 26 ++++++++- ...eport_own_message_response_embed_en_US.ftl | 6 ++ .../reactionReport_response_embed_en_US.ftl | 6 ++ .../showEffects_response_no_effects_en_US.ftl | 1 + ...embed_message_context_menu_label_en_US.ftl | 1 + .../editInfraction_response_text_en_US.ftl | 1 + .../help/editInfraction_description_en_US.ftl | 1 + .../help/editInfraction_long_help_en_US.ftl | 3 + .../editInfraction_parameter_id_en_US.ftl | 1 + ...itInfraction_parameter_newReason_en_US.ftl | 1 + .../help/infractions_description_en_US.ftl | 1 + .../help/infractions_long_help_en_US.ftl | 2 + .../help/infractions_parameter_user_en_US.ftl | 1 + ...nfractions_infraction_entry_text_en_US.ftl | 2 + ...nfractions_infraction_is_decayed_en_US.ftl | 1 + ...ctions_no_infractions_found_text_en_US.ftl | 1 + .../mute/mute_log_mute_id_footer_en_US.ftl | 1 - ...te_log_mute_location_field_title_en_US.ftl | 1 - .../mute_log_muted_user_field_title_en_US.ftl | 2 +- ...te_log_new_mute_time_field_title_en_US.ftl | 1 + ...te_log_old_mute_time_field_title_en_US.ftl | 1 + .../mute_log_title_mute_changed_en_US.ftl | 1 + ..._US.ftl => mute_log_title_muted_en_US.ftl} | 0 ...S.ftl => mute_log_title_unmuted_en_US.ftl} | 0 ...te_log_unmuting_user_field_title_en_US.ftl | 1 + ...Mute_log_muted_since_field_title_en_US.ftl | 1 - ...ute_log_unmuted_user_field_title_en_US.ftl | 1 - .../mutes/help/mutes_description_en_US.ftl | 2 +- .../help/setMuteRole_description_en_US.ftl | 1 - .../help/setMuteRole_long_help_en_US.ftl | 2 - .../help/setMuteRole_parameter_role_en_US.ftl | 1 - .../unMute/unMute_response_text_en_US.ftl | 2 +- ...setup_config_banInfractionPoints_en_US.ftl | 1 + ...etup_config_kickInfractionPoints_en_US.ftl | 1 + ...etup_config_muteInfractionPoints_en_US.ftl | 1 + ...etup_config_warnInfractionPoints_en_US.ftl | 1 + ...arameter_ban_DELETION_DAYS_label_en_US.ftl | 1 + ...on_parameter_mute_DURATION_label_en_US.ftl | 1 + ...as_not_been_setup_exception_text_en_US.ftl | 1 - ...nReport_additional_context_label_en_US.ftl | 1 + ...ionReport_cooldown_response_text_en_US.ftl | 1 + ...reactionReport_jump_button_label_en_US.ftl | 1 + ...actionReport_modal_context_label_en_US.ftl | 1 + ...Report_modal_context_placeholder_en_US.ftl | 1 + .../reactionReport_modal_title_en_US.ftl | 1 + .../reactionReport_no_content_en_US.ftl | 1 + ...t_notification_embed_description_en_US.ftl | 4 +- ...Report_own_message_response_text_en_US.ftl | 1 + .../reactionReport_response_text_en_US.ftl | 1 + ...eport_message_context_menu_label_en_US.ftl | 1 + ..._with_context_context_menu_label_en_US.ftl | 1 + ...dule_repostDetection_description_en_US.ftl | 0 63 files changed, 181 insertions(+), 87 deletions(-) create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/command/editInfraction/editInfraction_response_embed_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_display_response_paginator_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_infraction_entry_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_no_infractions_found_embed_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_response_entry_en_US.ftl delete mode 100644 abstracto-modules/moderation/src/main/resources/en_US/command/mute/unmute_log_embed_en_US.ftl delete mode 100644 abstracto-modules/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_embed_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_input_modal_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_embed_en_US.ftl create mode 100644 abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_embed_en_US.ftl create mode 100644 translations/core/src/main/resources/en_US/commands/showEffects/showEffects_response_no_effects_en_US.ftl create mode 100644 translations/link-embed/src/main/resources/en_US/listener/message_embed_message_context_menu_label_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/editInfraction/editInfraction_response_text_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_description_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_long_help_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_id_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_newReason_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_description_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_long_help_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_parameter_user_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_entry_text_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_is_decayed_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/infractions/infractions_no_infractions_found_text_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_id_footer_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_location_field_title_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/mute_log_new_mute_time_field_title_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/mute_log_old_mute_time_field_title_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_mute_changed_en_US.ftl rename translations/moderation/src/main/resources/en_US/commands/mute/{mute_log_title_en_US.ftl => mute_log_title_muted_en_US.ftl} (100%) rename translations/moderation/src/main/resources/en_US/commands/mute/{unMute_log_title_en_US.ftl => mute_log_title_unmuted_en_US.ftl} (100%) create mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/mute_log_unmuting_user_field_title_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_muted_since_field_title_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_unmuted_user_field_title_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_description_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_long_help_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_parameter_role_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/config/feature_setup_config_banInfractionPoints_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/config/feature_setup_config_kickInfractionPoints_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/config/feature_setup_config_muteInfractionPoints_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/config/feature_setup_config_warnInfractionPoints_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/config/infraction_parameter_ban_DELETION_DAYS_label_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/config/infraction_parameter_mute_DURATION_label_en_US.ftl delete mode 100644 translations/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_text_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_additional_context_label_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_text_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_jump_button_label_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_label_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_placeholder_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_title_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_no_content_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_text_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_text_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_context_menu_label_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_with_context_context_menu_label_en_US.ftl rename translations/{moderation => repost-detection}/src/main/resources/en_US/config/module_repostDetection_description_en_US.ftl (100%) diff --git a/abstracto-modules/core/src/main/resources/en_US/commands/showEffects/showEffects_response_embed_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/commands/showEffects/showEffects_response_embed_en_US.ftl index 2e6c65ca..25876917 100644 --- a/abstracto-modules/core/src/main/resources/en_US/commands/showEffects/showEffects_response_embed_en_US.ftl +++ b/abstracto-modules/core/src/main/resources/en_US/commands/showEffects/showEffects_response_embed_en_US.ftl @@ -5,6 +5,7 @@ "description": " <#list effects as effect> `${effect}` <@safe_include "effect_type_${effect}_description"/> +<#else><#include "showEffects_response_no_effects"> " } diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/editInfraction/editInfraction_response_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/editInfraction/editInfraction_response_embed_en_US.ftl new file mode 100644 index 00000000..b6c67187 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/command/editInfraction/editInfraction_response_embed_en_US.ftl @@ -0,0 +1,6 @@ +{ + "additionalMessage": "<@safe_include "editInfraction_response_text"/>", + "messageConfig": { + "ephemeral": true + } +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_display_response_paginator_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_display_response_paginator_en_US.ftl new file mode 100644 index 00000000..af6487fb --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_display_response_paginator_en_US.ftl @@ -0,0 +1,9 @@ +{ +<#assign exitOnly=innerModel.entries?size lt 5/> + "embedConfigs": [ + <#assign chunks=innerModel.entries?chunk(4)> + <#list chunks as row><#assign counter=row?index><#assign row=row><#include "infractions_response_entry"><#sep>, + ], + "timeoutSeconds": 120, + "restrictUser": true +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_infraction_entry_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_infraction_entry_en_US.ftl new file mode 100644 index 00000000..6dabb465 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_infraction_entry_en_US.ftl @@ -0,0 +1,15 @@ +<#include "format_instant"> +<#assign decayed=infraction.decayed/> +<#assign infractionId=infraction.infractionId/> +<#assign type=infraction.type/> +<#assign reason=infraction.reason/> +<#assign infractionUserText><#if infraction.infractionUser.memberMention??>${infraction.infractionUser.memberMention}(${infraction.infractionUser.userId?c})<#else>${infraction.infractionUser.userId?c} +<#assign infractionCreatorUserText><#if infraction.infractionCreationUser.memberMention??>${infraction.infractionCreationUser.memberMention}(${infraction.infractionCreationUser.userId?c})<#else>${infraction.infractionCreationUser.userId?c} +<#assign infractionDate><@format_instant_date_time instant=infraction.creationDate/> +<#assign parameterText><#list infraction.parameters?keys as key><@safe_include "infraction_parameter_${type}_${key}_label"/>: ${infraction.parameters[key]} +<#include "infractions_infraction_entry_text"> + +<#if decayed> +<#assign decayDate><@format_instant_date_time instant=infraction.decayDate/> + <#include "infractions_infraction_is_decayed"> + \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_no_infractions_found_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_no_infractions_found_embed_en_US.ftl new file mode 100644 index 00000000..65422f6e --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_no_infractions_found_embed_en_US.ftl @@ -0,0 +1,8 @@ +{ + "embeds": [ + { + <#include "moderation_action_color">, + "description": "<@safe_include "infractions_no_infractions_found_text"/>" + } + ] +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_response_entry_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_response_entry_en_US.ftl new file mode 100644 index 00000000..03c55052 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/command/infractions/infractions_response_entry_en_US.ftl @@ -0,0 +1,10 @@ +{ + "embeds": [ + { + "description": "<#list row as infraction><#assign infraction=infraction><@safe_include "infractions_infraction_entry"/>\n" + } + ], + "buttons": [ + <#include "paginator_buttons"> + ] +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/mute/mute_log_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/mute/mute_log_embed_en_US.ftl index 20add64a..f28ca7ab 100644 --- a/abstracto-modules/moderation/src/main/resources/en_US/command/mute/mute_log_embed_en_US.ftl +++ b/abstracto-modules/moderation/src/main/resources/en_US/command/mute/mute_log_embed_en_US.ftl @@ -6,7 +6,14 @@ { <@member_author member=mutedUser/>, "title": { - "title": "<@safe_include "mute_log_title"/>" + <#if durationChanged> + "title": "<@safe_include "mute_log_title_mute_changed"/>" + <#elseif muteEnded> + "title": "<@safe_include "mute_log_title_unmuted"/>" + <#elseif muted> + "title": "<@safe_include "mute_log_title_muted"/>" + + }, <#include "moderation_action_color">, "fields": [ @@ -14,20 +21,23 @@ "name": "<@safe_include "mute_log_muted_user_field_title"/>", "value": "<@full_member_info member=mutedUser/>" }, + <#if mutingUser?has_content> { - "name": "<@safe_include "mute_log_muting_user_field_title"/>", + <#if muted> + "name": "<@safe_include "mute_log_muting_user_field_title"/>", + <#elseif muteEnded> + "name": "<@safe_include "mute_log_unmuting_user_field_title"/>", + "value": "<@full_member_info member=mutingUser/>" - }, - <#if message?has_content> - { - "name": "<@safe_include "mute_log_mute_location_field_title"/>", - "value": "[${contextChannel.name?json_string}](${message.jumpUrl})" - }, + } + <#if reason?has_content>, { "name": "<@safe_include "mute_log_mute_reason_field_title"/>", "value": "${reason?json_string}" - }, + } + + <#if muted && !durationChanged>, { "name": "<@safe_include "mute_log_mute_duration_field_title"/>", "value": "${fmtDuration(muteDuration)}" @@ -36,11 +46,18 @@ "name": "<@safe_include "mute_log_muted_until_field_title"/>", "value": "<@format_instant_date_time instant=muteTargetDate/>" } - ], - "footer": { - "text": "<@safe_include "mute_log_mute_id_footer"/>" - }, - "timeStamp": "${muteDate}" + + <#if durationChanged>, + { + "name": "<@safe_include "mute_log_new_mute_time_field_title"/>", + "value": "<@format_instant_date_time instant=muteTargetDate/>" + }, + { + "name": "<@safe_include "mute_log_old_mute_time_field_title"/>", + "value": "<@format_instant_date_time instant=oldMuteTargetDate/>" + } + + ] } ] } \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/command/mute/unmute_log_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/command/mute/unmute_log_embed_en_US.ftl deleted file mode 100644 index a18e9d46..00000000 --- a/abstracto-modules/moderation/src/main/resources/en_US/command/mute/unmute_log_embed_en_US.ftl +++ /dev/null @@ -1,57 +0,0 @@ -<#include "full_member_info"> -<#include "format_instant"> -{ - "embeds": [ - { - <#if unMutedUser?has_content> - <#include "member_author"> - <@member_author member=unMutedUser/>, - - "title": { - "title": "<@safe_include "unMute_log_title"/>" - }, - <#include "moderation_action_color">, - "fields": [ - { - "name": "<@safe_include "unMute_log_unmuted_user_field_title"/>", - <#if unMutedUser?has_content> - "value": "<@full_member_info member=unMutedUser/>" - <#else> - "value": "<@safe_include "user_left_server"/> (${mute.mutedUser.userReference.id?c})" - - }, - { - "name": "<@safe_include "mute_log_muting_user_field_title"/>", - <#if mutingUser?has_content> - "value": "<@full_member_info member=mutingUser/>" - <#else> - "value": "<@safe_include "user_left_server"/> (${mute.mutingUser.userReference.id?c})" - - }, - <#if messageUrl??> - { - "name": "<@safe_include "mute_log_mute_location_field_title"/>", - "value": "[Link](${messageUrl})" - }, - - { - "name": "<@safe_include "unMute_log_muted_since_field_title"/>", - "value": "<@format_instant_date_time instant=mute.muteDate/>" - }, - { - "name": "<@safe_include "mute_log_mute_duration_field_title"/>", - "value": "${fmtDuration(muteDuration)}" - }, - { - "name": "<@safe_include "mute_log_mute_reason_field_title"/>", - "value": "${mute.reason?json_string}" - } - ], - "footer": { - <#assign muteId=mute.muteId.id/> - "text": "<@safe_include "mute_log_mute_id_footer"/>" - }, - "timeStamp": "${unmuteDate}" - } - ] -} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_en_US.ftl deleted file mode 100644 index 3c701572..00000000 --- a/abstracto-modules/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -<#include "mute_role_has_not_been_setup_exception_text"> \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_embed_en_US.ftl new file mode 100644 index 00000000..f043de67 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_embed_en_US.ftl @@ -0,0 +1,6 @@ +{ + "additionalMessage": "<@safe_include "reactionReport_cooldown_response_text"/>", + "messageConfig": { + "ephemeral": true + } +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_input_modal_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_input_modal_en_US.ftl new file mode 100644 index 00000000..69039fd8 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_input_modal_en_US.ftl @@ -0,0 +1,15 @@ +{ + "id": "${modalId}", + "title": "<@safe_include "reactionReport_modal_title"/>", + "textInputs": [ + { + "placeHolder": "<@safe_include "reactionReport_modal_context_placeholder"/>", + "id": "${inputComponentId}", + "position": 1, + "label": "<@safe_include "reactionReport_modal_context_label"/>", + "style": "paragraph", + "maxLength": 2000, + "required": false + } + ] +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_en_US.ftl index f5df7c73..5e88c49a 100644 --- a/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_en_US.ftl +++ b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_en_US.ftl @@ -3,13 +3,35 @@ { <#include "abstracto_color">, <#assign messageLink=reportedMessage.messageUrl> - "description" : "<@safe_include "reactionReport_notification_embed_description"/>", - "fields": [ + <#assign userMention>${reportedMessage.author.asMention} + <#assign messageContent><#if reportedMessage.content?has_content>`${reportedMessage.content?json_string}`<#else><@safe_include "reactionReport_no_content"/> + "description" : "<#if context?has_content><@safe_include "reactionReport_additional_context_label"/>: `${context?json_string}` +<@safe_include "reactionReport_notification_embed_description"/>" + <#if reportedMessage.attachments?size gt 0> + ,"imageUrl": "${reportedMessage.attachments[0].proxyUrl}" + <#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedThumbnail??> + ,"imageUrl": "${message.embeds[0].cachedThumbnail.proxyUrl}" + <#elseif reportedMessage.attachments?size = 0 && reportedMessage.embeds?size gt 0 && reportedMessage.embeds[0].cachedImageInfo??> + ,"imageUrl": "${reportedMessage.embeds[0].cachedImageInfo.proxyUrl}" + +<#if singularMessage>, + ,"fields": [ { "name": "<@safe_include "reactionReport_notification_embed_report_counter_field_title"/>", "value": "${reportCount}" } ] + + } + ], + "buttons": [ + { + "label": "<@safe_include "reactionReport_jump_button_label"/>", + "url": "${messageLink?json_string}", + "buttonStyle": "link", + "metaConfig": { + "persistCallback": false + } } ] } \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_embed_en_US.ftl new file mode 100644 index 00000000..26509e7b --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_embed_en_US.ftl @@ -0,0 +1,6 @@ +{ + "additionalMessage": "<@safe_include "reactionReport_own_message_response_text"/>", + "messageConfig": { + "ephemeral": true + } +} \ No newline at end of file diff --git a/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_embed_en_US.ftl b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_embed_en_US.ftl new file mode 100644 index 00000000..a09c9689 --- /dev/null +++ b/abstracto-modules/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_embed_en_US.ftl @@ -0,0 +1,6 @@ +{ + "additionalMessage": "<@safe_include "reactionReport_response_text"/>", + "messageConfig": { + "ephemeral": true + } +} \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showEffects/showEffects_response_no_effects_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showEffects/showEffects_response_no_effects_en_US.ftl new file mode 100644 index 00000000..619c1fd8 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showEffects/showEffects_response_no_effects_en_US.ftl @@ -0,0 +1 @@ +No effects \ No newline at end of file diff --git a/translations/link-embed/src/main/resources/en_US/listener/message_embed_message_context_menu_label_en_US.ftl b/translations/link-embed/src/main/resources/en_US/listener/message_embed_message_context_menu_label_en_US.ftl new file mode 100644 index 00000000..c1794ccf --- /dev/null +++ b/translations/link-embed/src/main/resources/en_US/listener/message_embed_message_context_menu_label_en_US.ftl @@ -0,0 +1 @@ +Embed message \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/editInfraction/editInfraction_response_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/editInfraction/editInfraction_response_text_en_US.ftl new file mode 100644 index 00000000..1705c1f1 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/editInfraction/editInfraction_response_text_en_US.ftl @@ -0,0 +1 @@ +Infraction text has been updated. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_description_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_description_en_US.ftl new file mode 100644 index 00000000..77ac21ce --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_description_en_US.ftl @@ -0,0 +1 @@ +Enables you to edit the reason for warnings/bans/kicks etc. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_long_help_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_long_help_en_US.ftl new file mode 100644 index 00000000..c64a5ed6 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_long_help_en_US.ftl @@ -0,0 +1,3 @@ +This command can be used to edit the reason for warnings, bans, kicks after the fact. +These reasons are only the reasons for the bot, and will not update the reason in Discord (e.g. the ban list). +This command only works if the `infractions` feature was enabled when the warning etc was created. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_id_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_id_en_US.ftl new file mode 100644 index 00000000..e204c21d --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_id_en_US.ftl @@ -0,0 +1 @@ +The ID of the infraction to edit \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_newReason_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_newReason_en_US.ftl new file mode 100644 index 00000000..c0b1f910 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/editInfraction/help/editInfraction_parameter_newReason_en_US.ftl @@ -0,0 +1 @@ +The new reason for the infraction \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_description_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_description_en_US.ftl new file mode 100644 index 00000000..ad554985 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_description_en_US.ftl @@ -0,0 +1 @@ +Shows all in fractions of a member or the whole server \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_long_help_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_long_help_en_US.ftl new file mode 100644 index 00000000..ef2da77a --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_long_help_en_US.ftl @@ -0,0 +1,2 @@ +Lists the infractions of the whole server or of one particular user in a paginated form. +Shows the date, who created it, the type and whether nor the infraction is still active. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_parameter_user_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_parameter_user_en_US.ftl new file mode 100644 index 00000000..d22ed6b5 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/infractions/help/infractions_parameter_user_en_US.ftl @@ -0,0 +1 @@ +The member to show the infraction for \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_entry_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_entry_text_en_US.ftl new file mode 100644 index 00000000..b3fdb8bd --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_entry_text_en_US.ftl @@ -0,0 +1,2 @@ +Infraction #${infractionId} with type `${type}` towards user ${infractionUserText} by user ${infractionCreatorUserText} on ${infractionDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason}`. +${parameterText} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_is_decayed_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_is_decayed_en_US.ftl new file mode 100644 index 00000000..5b161f12 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_infraction_is_decayed_en_US.ftl @@ -0,0 +1 @@ +This infraction was decayed on ${decayDate}. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_no_infractions_found_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_no_infractions_found_text_en_US.ftl new file mode 100644 index 00000000..49e2292d --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/infractions/infractions_no_infractions_found_text_en_US.ftl @@ -0,0 +1 @@ +No infractions found. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_id_footer_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_id_footer_en_US.ftl deleted file mode 100644 index 9a78a488..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_id_footer_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -Mute #${muteId} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_location_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_location_field_title_en_US.ftl deleted file mode 100644 index 19c9467e..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_mute_location_field_title_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -Mute location \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_muted_user_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_muted_user_field_title_en_US.ftl index 5fade5f2..cd0fe7a3 100644 --- a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_muted_user_field_title_en_US.ftl +++ b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_muted_user_field_title_en_US.ftl @@ -1 +1 @@ -Muted user \ No newline at end of file +User \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_new_mute_time_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_new_mute_time_field_title_en_US.ftl new file mode 100644 index 00000000..dddc2d9b --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_new_mute_time_field_title_en_US.ftl @@ -0,0 +1 @@ +New mute date \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_old_mute_time_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_old_mute_time_field_title_en_US.ftl new file mode 100644 index 00000000..583a9215 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_old_mute_time_field_title_en_US.ftl @@ -0,0 +1 @@ +Old mute date \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_mute_changed_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_mute_changed_en_US.ftl new file mode 100644 index 00000000..3699fa10 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_mute_changed_en_US.ftl @@ -0,0 +1 @@ +User mute has been changed \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_muted_en_US.ftl similarity index 100% rename from translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_en_US.ftl rename to translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_muted_en_US.ftl diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_unmuted_en_US.ftl similarity index 100% rename from translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_title_en_US.ftl rename to translations/moderation/src/main/resources/en_US/commands/mute/mute_log_title_unmuted_en_US.ftl diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_unmuting_user_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_unmuting_user_field_title_en_US.ftl new file mode 100644 index 00000000..3877b252 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/mute/mute_log_unmuting_user_field_title_en_US.ftl @@ -0,0 +1 @@ +Unmuted by \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_muted_since_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_muted_since_field_title_en_US.ftl deleted file mode 100644 index ce35f161..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_muted_since_field_title_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -Muted since \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_unmuted_user_field_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_unmuted_user_field_title_en_US.ftl deleted file mode 100644 index f3ba445d..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/mute/unMute_log_unmuted_user_field_title_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -Unmuted user \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/mutes/help/mutes_description_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/mutes/help/mutes_description_en_US.ftl index 0ceb4bb1..5ef23e8b 100644 --- a/translations/moderation/src/main/resources/en_US/commands/mutes/help/mutes_description_en_US.ftl +++ b/translations/moderation/src/main/resources/en_US/commands/mutes/help/mutes_description_en_US.ftl @@ -1 +1 @@ -Shows all the warnings on the server \ No newline at end of file +Shows all the mutes on the server \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_description_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_description_en_US.ftl deleted file mode 100644 index 24a2a1ce..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_description_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -Used to configure the mute role on this server. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_long_help_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_long_help_en_US.ftl deleted file mode 100644 index ae19ac35..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_long_help_en_US.ftl +++ /dev/null @@ -1,2 +0,0 @@ -Sets the used mute role on the server. If there are previously roles assigned, this will be overwritten. -The configuration to make the role muting, needs to be done by you. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_parameter_role_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_parameter_role_en_US.ftl deleted file mode 100644 index 62bf49e5..00000000 --- a/translations/moderation/src/main/resources/en_US/commands/setMuteRole/help/setMuteRole_parameter_role_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -The role which should be used to mute user. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/unMute/unMute_response_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/unMute/unMute_response_text_en_US.ftl index 11c85093..6f88ef5f 100644 --- a/translations/moderation/src/main/resources/en_US/commands/unMute/unMute_response_text_en_US.ftl +++ b/translations/moderation/src/main/resources/en_US/commands/unMute/unMute_response_text_en_US.ftl @@ -1 +1 @@ -Member has been un-muted. \ No newline at end of file +Member has been unmuted. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/feature_setup_config_banInfractionPoints_en_US.ftl b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_banInfractionPoints_en_US.ftl new file mode 100644 index 00000000..1f8ce7cc --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_banInfractionPoints_en_US.ftl @@ -0,0 +1 @@ +The amount of infraction points for a ban. Default: ${defaultValue} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/feature_setup_config_kickInfractionPoints_en_US.ftl b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_kickInfractionPoints_en_US.ftl new file mode 100644 index 00000000..c6658d5a --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_kickInfractionPoints_en_US.ftl @@ -0,0 +1 @@ +The amount of infraction points for a kick. Default: ${defaultValue} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/feature_setup_config_muteInfractionPoints_en_US.ftl b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_muteInfractionPoints_en_US.ftl new file mode 100644 index 00000000..246bc093 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_muteInfractionPoints_en_US.ftl @@ -0,0 +1 @@ +The amount of infraction points for a mute. Default: ${defaultValue} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/feature_setup_config_warnInfractionPoints_en_US.ftl b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_warnInfractionPoints_en_US.ftl new file mode 100644 index 00000000..63c50974 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/config/feature_setup_config_warnInfractionPoints_en_US.ftl @@ -0,0 +1 @@ +The amount of infraction points for a warning. Default: ${defaultValue} \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/infraction_parameter_ban_DELETION_DAYS_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/config/infraction_parameter_ban_DELETION_DAYS_label_en_US.ftl new file mode 100644 index 00000000..9b2f35d6 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/config/infraction_parameter_ban_DELETION_DAYS_label_en_US.ftl @@ -0,0 +1 @@ +Deletion days \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/infraction_parameter_mute_DURATION_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/config/infraction_parameter_mute_DURATION_label_en_US.ftl new file mode 100644 index 00000000..738f6c58 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/config/infraction_parameter_mute_DURATION_label_en_US.ftl @@ -0,0 +1 @@ +Duration \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_text_en_US.ftl deleted file mode 100644 index e9fcaf5b..00000000 --- a/translations/moderation/src/main/resources/en_US/exception/mute_role_has_not_been_setup_exception_text_en_US.ftl +++ /dev/null @@ -1 +0,0 @@ -Mute role has not been setup for server. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_additional_context_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_additional_context_label_en_US.ftl new file mode 100644 index 00000000..1cba5c02 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_additional_context_label_en_US.ftl @@ -0,0 +1 @@ +Additional context \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_text_en_US.ftl new file mode 100644 index 00000000..84ee2ab1 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_cooldown_response_text_en_US.ftl @@ -0,0 +1 @@ +Please wait a bit between reporting. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_jump_button_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_jump_button_label_en_US.ftl new file mode 100644 index 00000000..03051fa9 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_jump_button_label_en_US.ftl @@ -0,0 +1 @@ +Go to message \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_label_en_US.ftl new file mode 100644 index 00000000..1cba5c02 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_label_en_US.ftl @@ -0,0 +1 @@ +Additional context \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_placeholder_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_placeholder_en_US.ftl new file mode 100644 index 00000000..b78fcbe6 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_context_placeholder_en_US.ftl @@ -0,0 +1 @@ +It is... \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_title_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_title_en_US.ftl new file mode 100644 index 00000000..918a9079 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_modal_title_en_US.ftl @@ -0,0 +1 @@ +Report message \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_no_content_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_no_content_en_US.ftl new file mode 100644 index 00000000..45e13152 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_no_content_en_US.ftl @@ -0,0 +1 @@ +No content \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_description_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_description_en_US.ftl index aab092fc..7447bde6 100644 --- a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_description_en_US.ftl +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_notification_embed_description_en_US.ftl @@ -1 +1,3 @@ -[Message](${messageLink}) has been reported. There might be multiple reports. The counter below will contain the amount of reports concerning this user in recent time. \ No newline at end of file +A message by ${userMention} has been reported. +Message content: ${messageContent} +<#if singularMessage>There might be multiple reports. The counter below will contain the amount of reports concerning this user in recent time. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_text_en_US.ftl new file mode 100644 index 00000000..d66a288c --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_own_message_response_text_en_US.ftl @@ -0,0 +1 @@ +You cannot report yourself. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_text_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_text_en_US.ftl new file mode 100644 index 00000000..72c6314d --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/reactionReport_response_text_en_US.ftl @@ -0,0 +1 @@ +Message has been reported. \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_context_menu_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_context_menu_label_en_US.ftl new file mode 100644 index 00000000..ddf3b8c4 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_context_menu_label_en_US.ftl @@ -0,0 +1 @@ +Report \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_with_context_context_menu_label_en_US.ftl b/translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_with_context_context_menu_label_en_US.ftl new file mode 100644 index 00000000..c1ddd315 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/listener/reactionReport/report_message_with_context_context_menu_label_en_US.ftl @@ -0,0 +1 @@ +Report with context \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/config/module_repostDetection_description_en_US.ftl b/translations/repost-detection/src/main/resources/en_US/config/module_repostDetection_description_en_US.ftl similarity index 100% rename from translations/moderation/src/main/resources/en_US/config/module_repostDetection_description_en_US.ftl rename to translations/repost-detection/src/main/resources/en_US/config/module_repostDetection_description_en_US.ftl