diff --git a/abstracto-modules/suggestion/src/main/resources/en_US/commands/showPoll/showPoll_response_embed_en_US.ftl b/abstracto-modules/suggestion/src/main/resources/en_US/commands/showPoll/showPoll_response_embed_en_US.ftl new file mode 100644 index 00000000..7bc63ab4 --- /dev/null +++ b/abstracto-modules/suggestion/src/main/resources/en_US/commands/showPoll/showPoll_response_embed_en_US.ftl @@ -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 pollTargetDate><@format_instant_date_time instant=targetDate/> + <#assign allowMultipleStr>${allowMultiple?string('✅', '❌')} + <#assign showDecisionsStr>${showDecisions?string('✅', '❌')} + <#assign allowAdditionsStr>${allowAdditions?string('✅', '❌')} + <#assign totalVotes=totalVotes> + "description": "<@safe_include "showPoll_response_description"/><#list options as option><#assign option=option><@safe_include "showPoll_response_option_display"/><#sep>\n" + } + ] +} \ No newline at end of file diff --git a/abstracto-modules/suggestion/src/main/resources/en_US/commands/showPoll/showPoll_response_option_display_en_US.ftl b/abstracto-modules/suggestion/src/main/resources/en_US/commands/showPoll/showPoll_response_option_display_en_US.ftl new file mode 100644 index 00000000..b78ad50a --- /dev/null +++ b/abstracto-modules/suggestion/src/main/resources/en_US/commands/showPoll/showPoll_response_option_display_en_US.ftl @@ -0,0 +1 @@ +Option: `${option.value}` - votes: ${option.votes} (${option.percentage}%)<#if option.adder?has_content> - Added by ${option.adder.memberMention} \ No newline at end of file diff --git a/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_description_en_US.ftl b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_description_en_US.ftl new file mode 100644 index 00000000..f4e59157 --- /dev/null +++ b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_description_en_US.ftl @@ -0,0 +1 @@ +Shows information about a server poll \ No newline at end of file diff --git a/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_long_help_en_US.ftl b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_long_help_en_US.ftl new file mode 100644 index 00000000..5f9e9a58 --- /dev/null +++ b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_long_help_en_US.ftl @@ -0,0 +1,3 @@ +Shows all options and the configuration of a server poll. +The options are shown with the current amount of votes in total and percentage amount. +If a member added an option, this is also shown. \ No newline at end of file diff --git a/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_parameter_pollId_en_US.ftl b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_parameter_pollId_en_US.ftl new file mode 100644 index 00000000..e516993c --- /dev/null +++ b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_parameter_pollId_en_US.ftl @@ -0,0 +1 @@ +The ID of the server poll you want to see information about \ No newline at end of file diff --git a/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_response_description_en_US.ftl b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_response_description_en_US.ftl new file mode 100644 index 00000000..61c96579 --- /dev/null +++ b/translations/suggestion/src/main/resources/en_US/commands/showPoll/help/showPoll_response_description_en_US.ftl @@ -0,0 +1,6 @@ +Poll ${id} with description: `${description}` started at ${pollCreationDate} and lasts until ${pollTargetDate} and has ${totalVotes} total votes. +Configuration: +Allow multiple: ${allowMultipleStr} +Show decisions: ${showDecisionsStr} +Allow additions: ${allowAdditionsStr} +