From 93b0bf33ca580e7ccc28262d94cfced42698b245 Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Mon, 27 Sep 2021 00:23:19 +0200 Subject: [PATCH] [AB-196] adding templates for command confirmations --- ...mmand_aborted_notification_embed_en_US.ftl | 8 +++++++ ...mmand_confirmation_message_embed_en_US.ftl | 23 +++++++++++++++++++ ...AssignableRolePlace_confirmation_en_US.ftl | 1 + ...ommand_aborted_notification_text_en_US.ftl | 1 + ...mation_message_abort_field_title_en_US.ftl | 1 + ...tion_message_confirm_field_title_en_US.ftl | 1 + .../help/deleteAlias_confirmation_en_US.ftl | 1 + .../setExpRole_confirmation_en_US.ftl | 1 + .../syncExpRoles_confirmation_en_US.ftl | 1 + .../unSetExpRole_confirmation_en_US.ftl | 1 + ...eTrackedInviteLinks_confirmation_en_US.ftl | 1 + .../decayAllWarnings_confirmation_en_US.ftl | 1 + .../decayWarnings_confirmation_en_US.ftl | 1 + .../purgeImagePosts_confirmation_en_US.ftl | 1 + .../purgeReposts_confirmation_en_US.ftl | 1 + .../deleteTrackedEmote_confirmation_en_US.ftl | 1 + .../purgeEmoteStats_confirmation_en_US.ftl | 1 + .../resetEmoteStats_confirmation_en_US.ftl | 1 + 18 files changed, 47 insertions(+) create mode 100644 abstracto-modules/core/src/main/resources/en_US/command/command_aborted_notification_embed_en_US.ftl create mode 100644 abstracto-modules/core/src/main/resources/en_US/command/command_confirmation_message_embed_en_US.ftl create mode 100644 translations/assignable-roles/src/main/resources/en_US/commands/deleteAssignableRolePlace/help/deleteAssignableRolePlace_confirmation_en_US.ftl create mode 100644 translations/core/src/main/resources/en_US/command/command_aborted_notification_text_en_US.ftl create mode 100644 translations/core/src/main/resources/en_US/command/command_confirmation_message_abort_field_title_en_US.ftl create mode 100644 translations/core/src/main/resources/en_US/command/command_confirmation_message_confirm_field_title_en_US.ftl create mode 100644 translations/core/src/main/resources/en_US/commands/deleteAlias/help/deleteAlias_confirmation_en_US.ftl create mode 100644 translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/setExpRole_confirmation_en_US.ftl create mode 100644 translations/experience-tracking/src/main/resources/en_US/commands/syncExpRoles/syncExpRoles_confirmation_en_US.ftl create mode 100644 translations/experience-tracking/src/main/resources/en_US/commands/unSetExpRole/unSetExpRole_confirmation_en_US.ftl create mode 100644 translations/invite-filter/src/main/resources/en_US/commands/removeTrackedInviteLinks/removeTrackedInviteLinks_confirmation_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/decayAllWarnings/decayAllWarnings_confirmation_en_US.ftl create mode 100644 translations/moderation/src/main/resources/en_US/commands/decayWarnings/decayWarnings_confirmation_en_US.ftl create mode 100644 translations/repost-detection/src/main/resources/en_US/commands/purgeImagePosts/purgeImagePosts_confirmation_en_US.ftl create mode 100644 translations/repost-detection/src/main/resources/en_US/commands/purgeReposts/purgeReposts_confirmation_en_US.ftl create mode 100644 translations/statistic/src/main/resources/en_US/emotes/commands/deleteTrackedEmote/deleteTrackedEmote_confirmation_en_US.ftl create mode 100644 translations/statistic/src/main/resources/en_US/emotes/commands/purgeEmoteStats/purgeEmoteStats_confirmation_en_US.ftl create mode 100644 translations/statistic/src/main/resources/en_US/emotes/commands/resetEmoteStats/help/resetEmoteStats_confirmation_en_US.ftl diff --git a/abstracto-modules/core/src/main/resources/en_US/command/command_aborted_notification_embed_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/command/command_aborted_notification_embed_en_US.ftl new file mode 100644 index 00000000..dd72ee23 --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/command/command_aborted_notification_embed_en_US.ftl @@ -0,0 +1,8 @@ +{ + <#include "abstracto_color">, + "metaConfig" : { + "preventEmptyEmbed": "true", + "ephemeral": true + }, + "description": "<@safe_include "command_aborted_notification_text"/>" +} \ No newline at end of file diff --git a/abstracto-modules/core/src/main/resources/en_US/command/command_confirmation_message_embed_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/command/command_confirmation_message_embed_en_US.ftl new file mode 100644 index 00000000..aaf10135 --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/command/command_confirmation_message_embed_en_US.ftl @@ -0,0 +1,23 @@ +{ + <#include "assignable_place_color">, + <#assign text><#include "${commandName}_confirmation"> + "description": "${text?json_string}", + "buttons": [ + { + "label": "<@safe_include "command_confirmation_message_confirm_field_title"/>", + "id": "${confirmButtonId}", + "buttonStyle": "secondary", + "metaConfig": { + "persistCallback": false + } + }, + { + "label": "<@safe_include "command_confirmation_message_abort_field_title"/>", + "id": "${abortButtonId}", + "buttonStyle": "secondary", + "metaConfig": { + "persistCallback": false + } + } + ] +} \ No newline at end of file diff --git a/translations/assignable-roles/src/main/resources/en_US/commands/deleteAssignableRolePlace/help/deleteAssignableRolePlace_confirmation_en_US.ftl b/translations/assignable-roles/src/main/resources/en_US/commands/deleteAssignableRolePlace/help/deleteAssignableRolePlace_confirmation_en_US.ftl new file mode 100644 index 00000000..592a2e58 --- /dev/null +++ b/translations/assignable-roles/src/main/resources/en_US/commands/deleteAssignableRolePlace/help/deleteAssignableRolePlace_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to delete the assignable role place? \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/command/command_aborted_notification_text_en_US.ftl b/translations/core/src/main/resources/en_US/command/command_aborted_notification_text_en_US.ftl new file mode 100644 index 00000000..c35b7f33 --- /dev/null +++ b/translations/core/src/main/resources/en_US/command/command_aborted_notification_text_en_US.ftl @@ -0,0 +1 @@ +Command cancelled. \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/command/command_confirmation_message_abort_field_title_en_US.ftl b/translations/core/src/main/resources/en_US/command/command_confirmation_message_abort_field_title_en_US.ftl new file mode 100644 index 00000000..d075cdd7 --- /dev/null +++ b/translations/core/src/main/resources/en_US/command/command_confirmation_message_abort_field_title_en_US.ftl @@ -0,0 +1 @@ +Cancel \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/command/command_confirmation_message_confirm_field_title_en_US.ftl b/translations/core/src/main/resources/en_US/command/command_confirmation_message_confirm_field_title_en_US.ftl new file mode 100644 index 00000000..36b28077 --- /dev/null +++ b/translations/core/src/main/resources/en_US/command/command_confirmation_message_confirm_field_title_en_US.ftl @@ -0,0 +1 @@ +Confirm \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/deleteAlias/help/deleteAlias_confirmation_en_US.ftl b/translations/core/src/main/resources/en_US/commands/deleteAlias/help/deleteAlias_confirmation_en_US.ftl new file mode 100644 index 00000000..0c4908b7 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/deleteAlias/help/deleteAlias_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you want to delete the alias? \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/setExpRole_confirmation_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/setExpRole_confirmation_en_US.ftl new file mode 100644 index 00000000..fde2ce31 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/setExpRole_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to set the role to be used in the experience system? \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/syncExpRoles/syncExpRoles_confirmation_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/syncExpRoles/syncExpRoles_confirmation_en_US.ftl new file mode 100644 index 00000000..ae2ed9f5 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/syncExpRoles/syncExpRoles_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to synchronize all experience roles on this server? This can take a long time. \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/unSetExpRole/unSetExpRole_confirmation_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/unSetExpRole/unSetExpRole_confirmation_en_US.ftl new file mode 100644 index 00000000..3663e4b4 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/unSetExpRole/unSetExpRole_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to remove the role from the experience system? A re-calculation is being done, this can take a while depending on the members having the role. \ No newline at end of file diff --git a/translations/invite-filter/src/main/resources/en_US/commands/removeTrackedInviteLinks/removeTrackedInviteLinks_confirmation_en_US.ftl b/translations/invite-filter/src/main/resources/en_US/commands/removeTrackedInviteLinks/removeTrackedInviteLinks_confirmation_en_US.ftl new file mode 100644 index 00000000..c730aef7 --- /dev/null +++ b/translations/invite-filter/src/main/resources/en_US/commands/removeTrackedInviteLinks/removeTrackedInviteLinks_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to remove the tracked invite links? \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/decayAllWarnings/decayAllWarnings_confirmation_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/decayAllWarnings/decayAllWarnings_confirmation_en_US.ftl new file mode 100644 index 00000000..c55311fa --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/decayAllWarnings/decayAllWarnings_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to decay *all* warnings? \ No newline at end of file diff --git a/translations/moderation/src/main/resources/en_US/commands/decayWarnings/decayWarnings_confirmation_en_US.ftl b/translations/moderation/src/main/resources/en_US/commands/decayWarnings/decayWarnings_confirmation_en_US.ftl new file mode 100644 index 00000000..4b8cf8c9 --- /dev/null +++ b/translations/moderation/src/main/resources/en_US/commands/decayWarnings/decayWarnings_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to trigger the warn decay? \ No newline at end of file diff --git a/translations/repost-detection/src/main/resources/en_US/commands/purgeImagePosts/purgeImagePosts_confirmation_en_US.ftl b/translations/repost-detection/src/main/resources/en_US/commands/purgeImagePosts/purgeImagePosts_confirmation_en_US.ftl new file mode 100644 index 00000000..5e42e6e3 --- /dev/null +++ b/translations/repost-detection/src/main/resources/en_US/commands/purgeImagePosts/purgeImagePosts_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to purge the image posts? \ No newline at end of file diff --git a/translations/repost-detection/src/main/resources/en_US/commands/purgeReposts/purgeReposts_confirmation_en_US.ftl b/translations/repost-detection/src/main/resources/en_US/commands/purgeReposts/purgeReposts_confirmation_en_US.ftl new file mode 100644 index 00000000..95c9ecc6 --- /dev/null +++ b/translations/repost-detection/src/main/resources/en_US/commands/purgeReposts/purgeReposts_confirmation_en_US.ftl @@ -0,0 +1 @@ +Dou you really want to purge reports? \ No newline at end of file diff --git a/translations/statistic/src/main/resources/en_US/emotes/commands/deleteTrackedEmote/deleteTrackedEmote_confirmation_en_US.ftl b/translations/statistic/src/main/resources/en_US/emotes/commands/deleteTrackedEmote/deleteTrackedEmote_confirmation_en_US.ftl new file mode 100644 index 00000000..b5d80c74 --- /dev/null +++ b/translations/statistic/src/main/resources/en_US/emotes/commands/deleteTrackedEmote/deleteTrackedEmote_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to delete the tracked emote? \ No newline at end of file diff --git a/translations/statistic/src/main/resources/en_US/emotes/commands/purgeEmoteStats/purgeEmoteStats_confirmation_en_US.ftl b/translations/statistic/src/main/resources/en_US/emotes/commands/purgeEmoteStats/purgeEmoteStats_confirmation_en_US.ftl new file mode 100644 index 00000000..af0ab0b9 --- /dev/null +++ b/translations/statistic/src/main/resources/en_US/emotes/commands/purgeEmoteStats/purgeEmoteStats_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to purge the emote stats? \ No newline at end of file diff --git a/translations/statistic/src/main/resources/en_US/emotes/commands/resetEmoteStats/help/resetEmoteStats_confirmation_en_US.ftl b/translations/statistic/src/main/resources/en_US/emotes/commands/resetEmoteStats/help/resetEmoteStats_confirmation_en_US.ftl new file mode 100644 index 00000000..5d67b676 --- /dev/null +++ b/translations/statistic/src/main/resources/en_US/emotes/commands/resetEmoteStats/help/resetEmoteStats_confirmation_en_US.ftl @@ -0,0 +1 @@ +Do you really want to reset the emote stats? \ No newline at end of file