mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-04 15:35:56 +00:00
[AB-217] adding profanity regex related templates
This commit is contained in:
@@ -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>
|
||||
"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "profanity_group_exists_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "profanity_group_not_found_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "profanity_regex_exists_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "profanity_regex_not_found_exception_text">
|
||||
Reference in New Issue
Block a user