[AB-xxx] changing locale of templates to default, instead of explicitly en_US

This commit is contained in:
Sheldan
2024-11-22 21:55:37 +01:00
parent 3cb15ff676
commit 0a3c2cd48a
2096 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "close_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,5 @@
{
<#assign messagesLogged=loggedMessages>
<#assign messagesToLog=totalMessages>
"additionalMessage": "<@safe_include "modmail_closing_progress_description"/>"
}

View File

@@ -0,0 +1,3 @@
{
"additionalMessage": "<@safe_include "contact_response_text"/>"
}

View File

@@ -0,0 +1,16 @@
{
"embeds": [
{
<#include "member_author">
<@member_display_author member=executingMemberDisplay/>,
<#include "modmail_color">,
"description": "<@safe_include "modmail_thread_already_exists"/>",
"fields": [
{
"name": "<@safe_include "modmail_existing_thread_link_field_title"/>",
"value": "[<@safe_include "modmail_existing_thread_link_content_display_text"/>](${threadUrl})"
}
]
}
]
}

View File

@@ -0,0 +1,16 @@
{
"embeds": [
{
<#include "user_author">
<@user_detail_author user=userDisplay/>,
"description": "<@safe_include "modmail_thread_created_description"/>",
<#include "modmail_color">,
"fields": [
{
"name": "<@safe_include "modmail_thread_created_link_field_title"/>",
"value": "${createdChannel.asMention}"
}
]
}
]
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "denyModmailAppeal_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "subscribe_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "unSubscribe_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

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

View File

@@ -0,0 +1,5 @@
"color" : {
"r": 26,
"g": 201,
"b": 61
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
<#assign categoryId=model.categoryId><#include "modmail_category_not_setup_exception_text">

View File

@@ -0,0 +1 @@
<#include "modmail_close_failed_to_delete_text_channel_exception_text"/>

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,14 @@
{
"additionalMessage": "<@safe_include "server_chooser_server_list_description"/>",
"buttons": [
<#list choices.commonGuilds?keys as componentId>
{
"label": "${choices.commonGuilds[componentId].serverName}",
"id": "${componentId}",
"buttonStyle": "secondary",
"metaConfig": {
"persistCallback": false
}
}<#sep>,</#list>
]
}

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "warning_color">,
"description": "<@safe_include "modmail_no_server_available"/>"
}
]
}

View File

@@ -0,0 +1,28 @@
<#include "user_detail">
{
"embeds": [
{
"title": {
"title": "<@safe_include "modmail_notification_message_title"/>"
},
<#include "modmail_color">,
<#assign user><@user_detail user=userDisplay/></#assign>
<#assign appeal=appeal>
"description": "<@safe_include "modmail_notification_message_description"/><#if appeal> <@safe_include "modmail_notification_message_description_appeal_suffix"/></#if>"
<#if channel?has_content>,
"fields": [
{
"name": "<@safe_include "modmail_notification_field_title_channel"/>",
"value": "${channel.asMention}"
}
]
</#if>
}
],
"messageConfig": {
"allowsRoleMention": true
}
<#if roles?size gt 0>
,"additionalMessage": "<#list roles as role>${role.role.asMention?json_string}<#sep>,</#list>"
</#if>
}

View File

@@ -0,0 +1,44 @@
{
"embeds": [
{
<#include "user_author">
<@user_detail_author user=userDisplay/>,
"title": {
"title": "<@safe_include "modmail_thread_user_message_title"/>"
},
<#include "modmail_color">,
<#if postedMessage.contentRaw?has_content>
"description": "${postedMessage.contentRaw?json_string}"
<#else>
"description": "<@safe_include "modmail_no_message_provided"/>"
</#if>
<#if attachedImageUrls?size gt 0>
,"imageUrl": "${attachedImageUrls[0]}"
</#if>
<#if remainingAttachments?size gt 0>
,"fields": [
<#list remainingAttachments?keys as attachment><#assign attachment=attachment/>
{
"name": "${attachment?json_string}",
"value": "[${attachment?json_string}](${remainingAttachments[attachment]?json_string})"
}
<#sep>,</#list>
]
</#if>
}
<#if attachedImageUrls?size gt 1>
<#assign attachmentCount>${attachedImageUrls?size}</#assign>
,<#list attachedImageUrls[1..] as attachment><#assign attachment=attachment/>
{
<#include "modmail_color">,
<#assign currentIndex>${attachment?counter + 1}</#assign>
"description": "<@safe_include "modmail_attachment_embed_description"/>",
"imageUrl": "${attachment}"
}
<#sep>,</#list>
</#if>
]
<#if subscribers?size gt 0>
,"additionalMessage": "<#list subscribers as subscriber>${subscriber.asMention?json_string}<#sep>, </#list>"
</#if>
}

View File

@@ -0,0 +1,19 @@
<#include "format_instant">
{
"embeds": [
{
<#include "user_detail">
"title": {
"title": "<@safe_include "modmail_closing_notification_title"/>"
},
<#include "modmail_color">,
<#assign messageCount>${messageCount}</#assign>
<#assign user><#if user??><@user_detail user=user/><#else>${userId}</#if></#assign>
<#assign closingUserDescription><@member_user_name member=closingMember/> (${closingMember.idLong?c})</#assign>
<#assign startDate><@format_instant_date_time instant=startDate/></#assign>
<#assign duration>${fmtDuration(duration)}</#assign>
<#assign closedSilently=silently>
"description": "<@safe_include "close_closing_description"/>"
}
]
}

View File

@@ -0,0 +1,41 @@
{
"embeds": [
{
<#include "user_author">
<@user_author user=author/>,
<#include "modmail_color">
<#if message.embeds[0].description?has_content>
,"description": "${message.embeds[0].description?json_string}"
</#if>
<#if message.embeds?size gt 0 && message.embeds[0].image??>
,"imageUrl": "${message.embeds[0].image.proxyUrl}"
</#if>
<#if message.embeds?size gt 0 && message.embeds[0].fields?size gt 0>
,"fields": [
<#list message.embeds[0].fields as field><#assign field=field/>
{
"name": "${field.name?json_string}",
"value": "${field.value?json_string}"
}
<#sep>,</#list>
]
</#if>
,"timeStamp": "${message.timeCreated}"
}
<#if message.embeds?size gt 1>
<#assign attachmentCount>${message.embeds?size}</#assign>
<#list message.embeds[1..] as embed><#assign embed=embed/>
<#if embed.image?? && embed.image.proxyUrl??>
,{
<#include "modmail_color">,
<#assign currentIndex>${embed?counter + 1}</#assign>
"description": "<@safe_include "modmail_attachment_embed_description"/>",
"imageUrl": "${embed.image.proxyUrl}"
}
</#if></#list>
</#if>
]
<#if modMailMessage.anonymous>
,"additionalMessage": "<@safe_include "modmail_anonymous_message_note"/>"
</#if>
}

View File

@@ -0,0 +1,8 @@
{
"embeds": [
{
<#include "modmail_color">,
"description": "${closingMessage?json_string}"
}
]
}

View File

@@ -0,0 +1 @@
<#assign category>${param.categoryAsMention} (${param.categoryId?c})</#assign><#include "feature_setup_modmail_category_action_display">

View File

@@ -0,0 +1 @@
<#assign categoryMention><#if categoryId?has_content>${categoryAsMention} (${categoryId?c})<#else><#include "feature_setup_modmail_category_message_no_category"></#if></#assign><#include "feature_setup_modmail_category_message_display">

View File

@@ -0,0 +1,39 @@
{
"embeds": [
{
<#include "member_author">
<@member_author member=moderator/>,
"title": {
"title": "<@safe_include "modmail_thread_staff_message_title"/>"
},
<#include "modmail_color">
<#if text?has_content>
,"description": "${text?json_string}"
</#if>
<#if attachedImageUrls?size gt 0>
,"imageUrl": "${attachedImageUrls[0]}"
</#if>
<#if remainingAttachments?size gt 0>
,"fields": [
<#list remainingAttachments?keys as attachment><#assign attachment=attachment/>
{
"name": "${attachment?json_string}",
"value": "[${attachment?json_string}](${remainingAttachments[attachment]?json_string})"
}
<#sep>,</#list>
]
</#if>
}
<#if attachedImageUrls?size gt 1>
<#assign attachmentCount>${attachedImageUrls?size}</#assign>
,<#list attachedImageUrls[1..] as attachment><#assign attachment=attachment/>
{
<#include "modmail_color">,
<#assign currentIndex>${attachment?counter + 1}</#assign>
"description": "<@safe_include "modmail_attachment_embed_description"/>",
"imageUrl": "${attachment}"
}
<#sep>,</#list>
</#if>
]
}

View File

@@ -0,0 +1,11 @@
<#include "format_instant">
<#include "user_detail">
{
"embeds": [
{
<#include "modmail_color">,
<#assign user><@user_detail user=userDisplay/> (${userDisplay.id?c})</#assign>
"description": "<@safe_include "modmail_thread_header_embed_description"/>"
}
]
}