[AB-217] adding profanity regex related templates

This commit is contained in:
Sheldan
2021-04-04 18:05:16 +02:00
parent 33daa5620e
commit ea02284189
31 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{
<#include "success_color">,
"description": "
<#list profanityGroups as profanityGroup><#assign profanityGroup=profanityGroup/>
<#assign profanityGroupName>${profanityGroup.groupName?json_string}</#assign>
<@safe_include "showProfanityConfig_group_description"/>
<#list profanityGroup.profanities as profanity>
<#assign profanityRegexName>${profanity.regexName?json_string}</#assign><#assign profanityRegex>${profanity.regex?json_string}</#assign><#if profanity.replacement??><#assign profanityReplacement>${profanity.replacement?json_string}</#assign></#if>
<@safe_include "showProfanityConfig_profanity_regex_display"/>
<#else>
<@safe_include "showProfanityConfig_no_profanity_regex"/>
</#list>
<#else>
<@safe_include "showProfanityConfig_no_profanity_groups"/>
</#list>
"
}

View File

@@ -0,0 +1 @@
<#include "profanity_group_exists_exception_text">

View File

@@ -0,0 +1 @@
<#include "profanity_group_not_found_exception_text">

View File

@@ -0,0 +1 @@
<#include "profanity_regex_exists_exception_text">

View File

@@ -0,0 +1 @@
<#include "profanity_regex_not_found_exception_text">