mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-26 23:17:29 +00:00
[AB-xxx] changing locale of templates to default, instead of explicitly en_US
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "accept_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "cancelPoll_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "closePoll_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<@safe_include "poll_server_close_message_description"/>"
|
||||
<#if text?has_content>,
|
||||
"fields": [
|
||||
{
|
||||
"name": "<@safe_include "poll_server_close_message_embed_text_field_title"/>",
|
||||
"value": "${text?json_string}"
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
],
|
||||
"referencedMessageId": "${pollMessageId?c}"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": "${modalId}",
|
||||
"title": "<@safe_include "poll_server_add_option_modal_title"/>",
|
||||
"textInputs": [
|
||||
{
|
||||
"placeHolder": "<@safe_include "poll_server_add_option_modal_label_placeholder"/>",
|
||||
"id": "${labelInputComponentId}",
|
||||
"position": 1,
|
||||
"label": "<@safe_include "poll_server_add_option_modal_label_label"/>",
|
||||
"style": "paragraph",
|
||||
"maxLength": 100,
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"placeHolder": "<@safe_include "poll_server_add_option_modal_description_placeholder"/>",
|
||||
"id": "${descriptionInputComponentId}",
|
||||
"position": 2,
|
||||
"label": "<@safe_include "poll_server_add_option_modal_description_label"/>",
|
||||
"style": "paragraph",
|
||||
"maxLength": 100,
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_add_option_notification_message"/>",
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_decision_notification_message"/>",
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "poll_server_evaluation_title"/>"
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
"description": "<#list options as option><#assign option=option><@safe_include "poll_message_option_display_always"/><#sep>\n</#list>"
|
||||
}
|
||||
],
|
||||
"referencedMessageId": "${pollMessageId?c}"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "poll_server_message_title"/>"
|
||||
},
|
||||
<#assign formattedEndDate><@format_instant_relative instant=endDate/></#assign>
|
||||
"description": "<@safe_include "poll_server_description_info"/><#list options as option><#assign option=option><@safe_include "poll_message_option_display"/><#sep>\n</#list>"
|
||||
}
|
||||
],
|
||||
"selectionMenus": [
|
||||
{
|
||||
"position": 1,
|
||||
"id": "${selectionMenuId}",
|
||||
"type": "STRING",
|
||||
"minValues": 1,
|
||||
<#if allowMultiple>
|
||||
"maxValues": ${options?size},
|
||||
<#else>
|
||||
"maxValues": 1,
|
||||
</#if>
|
||||
"menuEntries": [
|
||||
<#list options as option>
|
||||
{
|
||||
"value": "${option.value}",
|
||||
"label": "${option.label}",
|
||||
"description": "${option.description}"
|
||||
}
|
||||
<#sep>,</#list>
|
||||
]
|
||||
}
|
||||
]
|
||||
<#if allowAdditions && options?size lt 20>,
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "poll_message_button_add_option_label"/>",
|
||||
"position": 2,
|
||||
"id": "${addOptionButtonId}",
|
||||
"buttonStyle": "secondary",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color"/>,
|
||||
<#assign pollId=pollId>
|
||||
<#assign description=description>
|
||||
"description": "<@safe_include "poll_reminder_job_notification_message_description"/><#list topOptions as option><#assign option=option><@safe_include "poll_message_option_display_always"/><#sep>\n</#list>"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "poll_server_reminder_job_button_jump"/>",
|
||||
"url": "${messageLink?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_server_response_text"/>"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "poll_quick_decision_notification_message"/>",
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "poll_quick_evaluation_title"/>"
|
||||
},
|
||||
<#include "abstracto_color">,
|
||||
"description": "<#list options as option><#assign option=option><@safe_include "poll_message_option_display_always"/><#sep>\n</#list>"
|
||||
}
|
||||
],
|
||||
"referencedMessageId": "${pollMessageId?c}"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"title": {
|
||||
"title": "<@safe_include "poll_quick_message_title"/>"
|
||||
},
|
||||
<#assign formattedEndDate><@format_instant_relative instant=endDate/></#assign>
|
||||
"description": "<@safe_include "poll_quick_description_info"/><#list options as option><#assign option=option><@safe_include "poll_quick_message_option_display"/><#sep>\n</#list>"
|
||||
}
|
||||
],
|
||||
"selectionMenus": [
|
||||
{
|
||||
"position": 1,
|
||||
"id": "${selectionMenuId}",
|
||||
"type": "STRING",
|
||||
"minValues": 1,
|
||||
<#if allowMultiple>
|
||||
"maxValues": ${options?size},
|
||||
<#else>
|
||||
"maxValues": 1,
|
||||
</#if>
|
||||
"menuEntries": [
|
||||
<#list options as option>
|
||||
{
|
||||
"value": "${option.value}",
|
||||
"label": "${option.label}",
|
||||
"description": "${option.description}"
|
||||
}
|
||||
<#sep>,</#list>
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "reject_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color"/>,
|
||||
<#assign pollId=id>
|
||||
<#assign description=description>
|
||||
<#assign pollCreationDate><@format_instant_date_time instant=creationDate/></#assign>
|
||||
<#assign pollTargetDate><@format_instant_date_time instant=targetDate/></#assign>
|
||||
<#assign allowMultipleStr>${allowMultiple?string('✅', '❌')}</#assign>
|
||||
<#assign showDecisionsStr>${showDecisions?string('✅', '❌')}</#assign>
|
||||
<#assign allowAdditionsStr>${allowAdditions?string('✅', '❌')}</#assign>
|
||||
<#assign totalVotes=totalVotes>
|
||||
"description": "<@safe_include "showPoll_response_description"/><#list options as option><#assign option=option><@safe_include "showPoll_response_option_display"/><#sep>\n</#list>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Option: `${option.value}` - votes: ${option.votes} (${option.percentage}%)<#if option.adder?has_content> - Added by ${option.adder.memberMention}</#if>
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#assign agreements=agreements>
|
||||
<#assign disagreements=disagreements>
|
||||
"description": "<@safe_include "suggestion_info_response_embed_description"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "user_author">
|
||||
<@user_author user=suggester/>,
|
||||
<#include "user_user_name">
|
||||
<#assign user><@user_user_name user=suggester/></#assign>
|
||||
<#include "abstracto_color">,
|
||||
<#assign id>${suggestionId}</#assign>
|
||||
<#if autoEvaluationEnabled>
|
||||
<#assign suggestionAutoEvaluateDate><@format_instant_relative instant=autoEvaluationTargetDate/></#assign>
|
||||
</#if>
|
||||
"description": "${text?json_string}<#if autoEvaluationEnabled><@safe_include "suggest_auto_evaluation_hint"/></#if>",
|
||||
<#if attachmentURL?has_content>
|
||||
"imageUrl": "${attachmentURL}",
|
||||
</#if>
|
||||
"footer": {
|
||||
"text": "<@safe_include "suggest_suggestion_id_footer"/>"
|
||||
}
|
||||
}
|
||||
]
|
||||
<#if useButtons>
|
||||
,"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "suggest_button_agree_label"/>",
|
||||
"id": "${agreeButtonModel.buttonId}",
|
||||
"emoteMarkdown" : "👍",
|
||||
"buttonStyle": "success",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "<@safe_include "suggest_button_disagree_label"/>",
|
||||
"id": "${disAgreeButtonModel.buttonId}",
|
||||
"buttonStyle": "danger",
|
||||
"emoteMarkdown" : "👎",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "<@safe_include "suggest_button_reset_vote_label"/>",
|
||||
"id": "${removeVoteButtonModel.buttonId}",
|
||||
"buttonStyle": "secondary",
|
||||
"emoteMarkdown" : "↩️",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "suggest_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<#include "format_instant">
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#assign suggestionId=suggestionId>
|
||||
<#assign suggestionDate><@format_instant_date_time instant=suggestionCreationDate/></#assign>
|
||||
<#assign suggestionLink=suggestionMessage.jumpUrl>
|
||||
<#assign agreements=suggestionInfo.agreements>
|
||||
<#assign disagreements=suggestionInfo.disagreements>
|
||||
<#include "abstracto_color"/>,
|
||||
"description": "<@safe_include "suggestionReminderJob_description"/>"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
{
|
||||
"label": "<@safe_include "suggestionReminderJob_jump_button_label"/>",
|
||||
"url": "${suggestionLink?json_string}",
|
||||
"buttonStyle": "link",
|
||||
"metaConfig": {
|
||||
"persistCallback": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "unSuggest_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"additionalMessage": "<@safe_include "veto_response_text"/>",
|
||||
"messageConfig": {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
<#if message?? && message.attachments?size gt 0>
|
||||
"imageUrl": "${message.attachments[0].proxyUrl}",
|
||||
</#if>
|
||||
"description": "<@safe_include "suggest_text_label"/>: ${text?json_string}"
|
||||
<#if reason?has_content || buttonsActive>,
|
||||
"fields": [
|
||||
<#if reason?has_content>
|
||||
{
|
||||
"name": "<@safe_include "suggest_reason_field_title"/>",
|
||||
"value": "${reason?json_string}"
|
||||
}
|
||||
</#if>
|
||||
<#if buttonsActive>
|
||||
<#if reason?has_content>
|
||||
,
|
||||
</#if>
|
||||
{
|
||||
"name": "<@safe_include "suggestion_agreements_field_title"/>",
|
||||
"value": "👍 ${agreeVotes?c} (${agreementPercentage?ceiling}%)"
|
||||
},
|
||||
{
|
||||
"name": "<@safe_include "suggestion_disagreements_field_title"/>",
|
||||
"value": "👎 ${disAgreeVotes?c} (${disAgreementPercentage?ceiling}%)"
|
||||
}
|
||||
</#if>
|
||||
]
|
||||
</#if>
|
||||
}
|
||||
],
|
||||
"referencedMessageId": "${originalMessageId?c}",
|
||||
<#assign id>${suggestionId}</#assign>
|
||||
"additionalMessage": "<@safe_include "suggest_state_${state?lower_case}_comment"/>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "poll_cancellation_not_possible_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "poll_does_not_exist_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "poll_option_already_exists_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#assign suggestionId=model.suggestionId><#include "suggestion_does_not_exist_exception_text">
|
||||
@@ -0,0 +1 @@
|
||||
<#include "un_suggest_not_possible_exception_text">
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true"
|
||||
},
|
||||
"description": "<@safe_include "suggestion_vote_agreement_notification_text"/>"
|
||||
}
|
||||
],
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true"
|
||||
},
|
||||
"description": "<@safe_include "suggestion_vote_disagreement_notification_text"/>"
|
||||
}
|
||||
],
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
<#include "abstracto_color">,
|
||||
"metaConfig" : {
|
||||
"preventEmptyEmbed": "true"
|
||||
},
|
||||
"description": "<@safe_include "suggestion_vote_removed_notification_text"/>"
|
||||
}
|
||||
],
|
||||
"messageConfig" : {
|
||||
"ephemeral": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user