diff --git a/abstracto-modules/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_response_embed_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_response_embed_en_US.ftl new file mode 100644 index 00000000..1564079e --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_response_embed_en_US.ftl @@ -0,0 +1,19 @@ +{ + <#include "success_color">, + "description": " +<#list profanityGroups as profanityGroup><#assign profanityGroup=profanityGroup/> +<#assign profanityGroupName>${profanityGroup.groupName?json_string} +<@safe_include "showProfanityConfig_group_description"/> + +<#list profanityGroup.profanities as profanity> +<#assign profanityRegexName>${profanity.regexName?json_string}<#assign profanityRegex>${profanity.regex?json_string}<#if profanity.replacement??><#assign profanityReplacement>${profanity.replacement?json_string} +<@safe_include "showProfanityConfig_profanity_regex_display"/> + +<#else> +<@safe_include "showProfanityConfig_no_profanity_regex"/> + +<#else> +<@safe_include "showProfanityConfig_no_profanity_groups"/> + +" +} \ No newline at end of file diff --git a/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_group_exists_exception_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_group_exists_exception_en_US.ftl new file mode 100644 index 00000000..593897ec --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_group_exists_exception_en_US.ftl @@ -0,0 +1 @@ +<#include "profanity_group_exists_exception_text"> \ No newline at end of file diff --git a/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_group_not_found_exception_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_group_not_found_exception_en_US.ftl new file mode 100644 index 00000000..7d9d76f3 --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_group_not_found_exception_en_US.ftl @@ -0,0 +1 @@ +<#include "profanity_group_not_found_exception_text"> \ No newline at end of file diff --git a/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_regex_exists_exception_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_regex_exists_exception_en_US.ftl new file mode 100644 index 00000000..1f2f2cd4 --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_regex_exists_exception_en_US.ftl @@ -0,0 +1 @@ +<#include "profanity_regex_exists_exception_text"> \ No newline at end of file diff --git a/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_regex_not_found_exception_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_regex_not_found_exception_en_US.ftl new file mode 100644 index 00000000..165e7a05 --- /dev/null +++ b/abstracto-modules/core/src/main/resources/en_US/exceptions/profanity_regex_not_found_exception_en_US.ftl @@ -0,0 +1 @@ +<#include "profanity_regex_not_found_exception_text"> \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_description_en_US.ftl b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_description_en_US.ftl new file mode 100644 index 00000000..e1131888 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_description_en_US.ftl @@ -0,0 +1 @@ +Creates a profanity regex with optional replacement in a profanity group \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_long_help_en_US.ftl b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_long_help_en_US.ftl new file mode 100644 index 00000000..94f57c39 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_long_help_en_US.ftl @@ -0,0 +1,3 @@ +This command can be used to create a profanity regex which can be used to detect and replace profanities (or any text). +A profanity regex consists of a profanity name (to identify it), a [regex](https://docs.oracle.com/javase/tutorial/essential/regex/) and an optional replacement. +The name of a regex is unique within its profanity group. \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_profanityGroup_en_US.ftl b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_profanityGroup_en_US.ftl new file mode 100644 index 00000000..f1dec9dd --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_profanityGroup_en_US.ftl @@ -0,0 +1 @@ +The name of the profanity group this profanity regex should be added to \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_profanityName_en_US.ftl b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_profanityName_en_US.ftl new file mode 100644 index 00000000..d58292a7 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_profanityName_en_US.ftl @@ -0,0 +1 @@ +The name which should identify this regex \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_regex_en_US.ftl b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_regex_en_US.ftl new file mode 100644 index 00000000..de568ac8 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_regex_en_US.ftl @@ -0,0 +1 @@ +The regex which should find the words to replace \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_replacement_en_US.ftl b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_replacement_en_US.ftl new file mode 100644 index 00000000..1dd07a75 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/addProfanityRegex/help/addProfanityRegex_parameter_replacement_en_US.ftl @@ -0,0 +1 @@ +The optional replacement string, if not provided, found text will be replaced with "" \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_description_en_US.ftl b/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_description_en_US.ftl new file mode 100644 index 00000000..b0f26b33 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_description_en_US.ftl @@ -0,0 +1 @@ +Creates a profanity group \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_long_help_en_US.ftl b/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_long_help_en_US.ftl new file mode 100644 index 00000000..db14fee9 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_long_help_en_US.ftl @@ -0,0 +1,2 @@ +This command can be used to create a profanity group. This profanity group can then be used to group profanity regexes together. +The name needs to be unique per server and deleting the group deletes all of the profanities in this group. \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_parameter_profanityGroupName_en_US.ftl b/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_parameter_profanityGroupName_en_US.ftl new file mode 100644 index 00000000..3dab0e8a --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/createProfanityGroup/help/createProfanityGroup_parameter_profanityGroupName_en_US.ftl @@ -0,0 +1 @@ +The name which should identify this profanity group on this server \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_description_en_US.ftl b/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_description_en_US.ftl new file mode 100644 index 00000000..802580f5 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_description_en_US.ftl @@ -0,0 +1 @@ +Deletes a profanity group \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_long_help_en_US.ftl b/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_long_help_en_US.ftl new file mode 100644 index 00000000..5a43f571 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_long_help_en_US.ftl @@ -0,0 +1 @@ +Deletes the profanity group and all the profanity regexes which are associated with it. \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_parameter_profanityGroupName_en_US.ftl b/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_parameter_profanityGroupName_en_US.ftl new file mode 100644 index 00000000..a321933c --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/deleteProfanityGroup/help/deleteProfanityGroup_parameter_profanityGroupName_en_US.ftl @@ -0,0 +1 @@ +The name of the profanity group to delete \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_description_en_US.ftl b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_description_en_US.ftl new file mode 100644 index 00000000..7da321fe --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_description_en_US.ftl @@ -0,0 +1 @@ +Deletes a profanity regex \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_long_help_en_US.ftl b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_long_help_en_US.ftl new file mode 100644 index 00000000..ecaac407 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_long_help_en_US.ftl @@ -0,0 +1 @@ +Deletes a profanity regex in a specified profanity group identified by its name. diff --git a/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_parameter_profanityGroupName_en_US.ftl b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_parameter_profanityGroupName_en_US.ftl new file mode 100644 index 00000000..fc749923 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_parameter_profanityGroupName_en_US.ftl @@ -0,0 +1 @@ +The name of the profanity group in which the profanity regex to delete is in \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_parameter_profanityName_en_US.ftl b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_parameter_profanityName_en_US.ftl new file mode 100644 index 00000000..46151e1e --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/removeProfanityRegex/help/removeProfanityRegex_parameter_profanityName_en_US.ftl @@ -0,0 +1 @@ +The name of the profanity regex to delete \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showProfanityConfig/help/showProfanityConfig_description_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/help/showProfanityConfig_description_en_US.ftl new file mode 100644 index 00000000..2295343f --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/help/showProfanityConfig_description_en_US.ftl @@ -0,0 +1 @@ +Shows an overview about the current profanity check configuration \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showProfanityConfig/help/showProfanityConfig_long_help_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/help/showProfanityConfig_long_help_en_US.ftl new file mode 100644 index 00000000..ba32dce6 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/help/showProfanityConfig_long_help_en_US.ftl @@ -0,0 +1 @@ +This command is used to show the profanity groups and the profanity regexes in this server. \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_group_description_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_group_description_en_US.ftl new file mode 100644 index 00000000..04b261e9 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_group_description_en_US.ftl @@ -0,0 +1 @@ +Profanity group: ${profanityGroupName} \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_no_profanity_groups_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_no_profanity_groups_en_US.ftl new file mode 100644 index 00000000..bb367c52 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_no_profanity_groups_en_US.ftl @@ -0,0 +1 @@ +No configuration \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_no_profanity_regex_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_no_profanity_regex_en_US.ftl new file mode 100644 index 00000000..811b1487 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_no_profanity_regex_en_US.ftl @@ -0,0 +1 @@ +No profanity regexes \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_profanity_regex_display_en_US.ftl b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_profanity_regex_display_en_US.ftl new file mode 100644 index 00000000..06f385c0 --- /dev/null +++ b/translations/core/src/main/resources/en_US/commands/showProfanityConfig/showProfanityConfig_profanity_regex_display_en_US.ftl @@ -0,0 +1 @@ +${profanityRegexName}: `${profanityRegex}` <#if profanityReplacement??>replaced with ${profanityReplacement} \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/exception/profanity_group_exists_exception_text_en_US.ftl b/translations/core/src/main/resources/en_US/exception/profanity_group_exists_exception_text_en_US.ftl new file mode 100644 index 00000000..e2aa8dab --- /dev/null +++ b/translations/core/src/main/resources/en_US/exception/profanity_group_exists_exception_text_en_US.ftl @@ -0,0 +1 @@ +Profanity group exists already. \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/exception/profanity_group_not_found_exception_text_en_US.ftl b/translations/core/src/main/resources/en_US/exception/profanity_group_not_found_exception_text_en_US.ftl new file mode 100644 index 00000000..5c08252c --- /dev/null +++ b/translations/core/src/main/resources/en_US/exception/profanity_group_not_found_exception_text_en_US.ftl @@ -0,0 +1 @@ +Profanity group not found \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/exception/profanity_regex_exists_exception_text_en_US.ftl b/translations/core/src/main/resources/en_US/exception/profanity_regex_exists_exception_text_en_US.ftl new file mode 100644 index 00000000..797f940a --- /dev/null +++ b/translations/core/src/main/resources/en_US/exception/profanity_regex_exists_exception_text_en_US.ftl @@ -0,0 +1 @@ +Profanity regex already exists \ No newline at end of file diff --git a/translations/core/src/main/resources/en_US/exception/profanity_regex_not_found_exception_text_en_US.ftl b/translations/core/src/main/resources/en_US/exception/profanity_regex_not_found_exception_text_en_US.ftl new file mode 100644 index 00000000..7a1de075 --- /dev/null +++ b/translations/core/src/main/resources/en_US/exception/profanity_regex_not_found_exception_text_en_US.ftl @@ -0,0 +1 @@ +Profanity regex not found \ No newline at end of file