diff --git a/abstracto-modules/core/src/main/resources/en_US/commands/help/help_command_details_response_embed_en_US.ftl b/abstracto-modules/core/src/main/resources/en_US/commands/help/help_command_details_response_embed_en_US.ftl index ae92f35a..cede8f48 100644 --- a/abstracto-modules/core/src/main/resources/en_US/commands/help/help_command_details_response_embed_en_US.ftl +++ b/abstracto-modules/core/src/main/resources/en_US/commands/help/help_command_details_response_embed_en_US.ftl @@ -57,7 +57,9 @@ <#if command.parameters??> <#list command.parameters as parameter><#assign parameter=parameter> <@safe_include "help_command_embed_command_description"/> `${parameter.name?json_string}`: <#if parameter.templated?? && parameter.templated><@safe_include "${command.name}_parameter_${parameter.name}"/><#else>${(parameter.description?json_string)!""} <@safe_include "help_command_embed_command_optional"/> -<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/> +<#list parameter.validators as validator><#assign validator=validator><#assign model=validator.templateModel/><@safe_include "${validator.templateName}"/> + + <#sep> <#else> <@safe_include "help_command_embed_command_no_parameters"/> diff --git a/abstracto-modules/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_response_embed_en_US.ftl b/abstracto-modules/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_response_embed_en_US.ftl new file mode 100644 index 00000000..5e049076 --- /dev/null +++ b/abstracto-modules/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_response_embed_en_US.ftl @@ -0,0 +1,5 @@ +{ + <#include "success_color">, + "description": "<#list levelRoles as role><#if role.role??><#assign roleRepr=role.role.asMention><#else><#assign roleRepr=role.roleId?c><#assign levelRepr=role.level><@safe_include "levelRoles_response_description"/><#sep> + <#else><@safe_include "levelRoles_no_roles_found"/>" +} \ No newline at end of file diff --git a/abstracto-modules/experience-tracking/src/main/resources/en_US/exception/experience_role_not_found_exception_en_US.ftl b/abstracto-modules/experience-tracking/src/main/resources/en_US/exception/experience_role_not_found_exception_en_US.ftl new file mode 100644 index 00000000..1511b2d8 --- /dev/null +++ b/abstracto-modules/experience-tracking/src/main/resources/en_US/exception/experience_role_not_found_exception_en_US.ftl @@ -0,0 +1 @@ +<#include "experience_role_not_found_exception_text"> \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/help/levelRoles_description_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/help/levelRoles_description_en_US.ftl new file mode 100644 index 00000000..c46071f1 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/help/levelRoles_description_en_US.ftl @@ -0,0 +1 @@ +Shows the role level configuration for this server \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/help/levelRoles_long_help_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/help/levelRoles_long_help_en_US.ftl new file mode 100644 index 00000000..4e205d99 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/help/levelRoles_long_help_en_US.ftl @@ -0,0 +1 @@ +Shows the current configuration at which level which role is awarded \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_no_roles_found_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_no_roles_found_en_US.ftl new file mode 100644 index 00000000..b6b9b627 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_no_roles_found_en_US.ftl @@ -0,0 +1 @@ +No roles found. \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_response_description_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_response_description_en_US.ftl new file mode 100644 index 00000000..5eabee4e --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/commands/levelRoles/levelRoles_response_description_en_US.ftl @@ -0,0 +1 @@ +Level ${levelRepr} - ${roleRepr} \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/help/setExpRole_long_help_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/help/setExpRole_long_help_en_US.ftl index e19606fc..f15ec64b 100644 --- a/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/help/setExpRole_long_help_en_US.ftl +++ b/translations/experience-tracking/src/main/resources/en_US/commands/setExpRole/help/setExpRole_long_help_en_US.ftl @@ -1,2 +1,2 @@ -This causes the given role to be awarded at the given level. This will remove previously levels this role was assigned to, and also recalculate the users of the previous levels. -This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRole`. \ No newline at end of file +This causes the given role to be awarded at the given level. This will remove previous levels this role was assigned to, and also remove any role which is currently assigned to the given level. +This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRoles`. \ No newline at end of file diff --git a/translations/experience-tracking/src/main/resources/en_US/exception/experience_role_not_found_exception_text_en_US.ftl b/translations/experience-tracking/src/main/resources/en_US/exception/experience_role_not_found_exception_text_en_US.ftl new file mode 100644 index 00000000..fd137ec7 --- /dev/null +++ b/translations/experience-tracking/src/main/resources/en_US/exception/experience_role_not_found_exception_text_en_US.ftl @@ -0,0 +1 @@ +Role is not part of the experience system. \ No newline at end of file