mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-19 05:08:03 +00:00
[AB-xxx] fixing reason field in multiple places breaking using quotes
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
,
|
,
|
||||||
{
|
{
|
||||||
"name": "<@safe_include "userBanned_field_title_reason"/>",
|
"name": "<@safe_include "userBanned_field_title_reason"/>",
|
||||||
"value": "${reason}"
|
"value": "${reason?json_string}"
|
||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
,
|
,
|
||||||
{
|
{
|
||||||
"name": "<@safe_include "userUnBanned_field_title_reason"/>",
|
"name": "<@safe_include "userUnBanned_field_title_reason"/>",
|
||||||
"value": "${reason}"
|
"value": "${reason?json_string}"
|
||||||
}
|
}
|
||||||
</#if>
|
</#if>
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
You were banned from the server ${serverName} for `${reason}`.
|
You were banned from the server ${serverName} for `${reason?json_string}`.
|
||||||
@@ -1,2 +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}`.
|
Infraction #${infractionId} with type `${type}` towards user ${infractionUserText} by user ${infractionCreatorUserText} on ${infractionDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason?json_string}`.
|
||||||
${parameterText}
|
${parameterText}
|
||||||
@@ -1 +1 @@
|
|||||||
You were kicked from the server ${serverName} for the following reason: ${warning.reason}.
|
You were kicked from the server ${serverName} for the following reason: ${warning.reason?json_string}.
|
||||||
@@ -1 +1 @@
|
|||||||
You were muted on the server ${serverName} for the following reason: ${reason}.
|
You were muted on the server ${serverName} for the following reason: ${reason?json_string}.
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
Mute #${muteId} of user ${mutedUserText} by user ${mutingUserText} on ${muteDate} which lasted ${muteDuration} (Mute ended: ${muteEnded}).
|
Mute #${muteId} of user ${mutedUserText} by user ${mutingUserText} on ${muteDate} which lasted ${muteDuration} (Mute ended: ${muteEnded}).
|
||||||
Reason: `${reason}`
|
Reason: `${reason?json_string}`
|
||||||
@@ -1 +1 @@
|
|||||||
You were warned on the server ${serverName} for the following reason: ${reason}.
|
You were warned on the server ${serverName} for the following reason: ${reason?json_string}.
|
||||||
@@ -1 +1 @@
|
|||||||
Warning #${warnId} towards user ${warnedUserText} by user ${warningUserText} on ${warnDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason}`.
|
Warning #${warnId} towards user ${warnedUserText} by user ${warningUserText} on ${warnDate}. It is **${decayed?then('decayed', 'active')}**. The reason was: `${reason?json_string}`.
|
||||||
@@ -1 +1 @@
|
|||||||
${warnedUser} was warned on ${warnDate} with reason `${warnReason}` by ${warningUser}
|
${warnedUser} was warned on ${warnDate} with reason `${warnReason?json_string}` by ${warningUser}
|
||||||
@@ -1 +1 @@
|
|||||||
Your warning from ${warningDate} with the reason `${reason}` has been decayed. You have ${remainingWarningsCount} remaining active warnings.
|
Your warning from ${warningDate} with the reason `${reason?json_string}` has been decayed. You have ${remainingWarningsCount} remaining active warnings.
|
||||||
Reference in New Issue
Block a user