Adds comments for all translatable messages

This commit is contained in:
Kristian Knarvik 2022-11-16 13:52:27 +01:00
parent ab9cdad215
commit fbeb03db5e
2 changed files with 121 additions and 1 deletions

View File

@ -7,25 +7,145 @@ import net.knarcraft.knarlib.formatting.TranslatableMessage;
*/
public enum DynmapCitizensTranslatableMessage implements TranslatableMessage {
/**
* The format for the basic description of any sentinel
*
* <p>Placeholders: {name}, {squad}, {sentinelDetails}</p>
*/
SENTINEL_DESCRIPTION,
/**
* The format for the detailed description of any sentinel
*
* <p>Placeholders: {invincible}, {armor}, {health}, {accuracy}, {damage}, {speed}, {allowKnockback}, {range},
* {reach}, {targets}, {avoids}, {ignores}</p>
*/
SENTINEL_DETAILS,
/**
* The format for a quest's planner description
*
* <p>Placeholders: {questCoolDown}, {questFrom}, {questUntil}, {questRepeat}</p>
*/
QUESTS_PLANNER_DESCRIPTION,
/**
* The format for a quest's cool-down
*
* <p>Placeholders: {coolDown}</p>
*/
QUESTS_PLANNER_COOL_DOWN,
/**
* The text to display if a quest cannot be repeated
*/
QUESTS_PLANNER_UNREPEATABLE,
/**
* The format for a quest's first availability date
*
* <p>Placeholders: {startDate}</p>
*/
QUESTS_PLANNER_FROM,
/**
* The format for a quest's last availability date
*
* <p>Placeholders: {endDate}</p>
*/
QUESTS_PLANNER_UNTIL,
/**
* The format for a quest's repeat delay
*
* <p>Placeholders: {repeatDelay}</p>
*/
QUEST_PLANNER_REPEAT,
/**
* The format for a quest's requirements
*
* <p>Placeholders: {requirementQuestPoints}, {requirementExp}, {requirementBlockedByQuests},
* {requirementRequiredQuests}, {requirementRequiredItems}, {requirementMCMMOSkills}, {requirementPermissions},
* {requirementCustom}</p>
*/
QUESTS_REQUIREMENTS_FORMAT,
/**
* The format for a quest's quest point requirement
*
* <p>Placeholders: {questPoints}</p>
*/
QUESTS_REQUIREMENTS_QUEST_POINTS,
/**
* The format for a quest's exp requirement
*
* <p>Placeholders: {exp}</p>
*/
QUESTS_REQUIREMENTS_EXP,
/**
* The format for a quest's blocking quests
*
* <p>Placeholders: {blockingQuests}</p>
*/
QUESTS_REQUIREMENTS_BLOCKED_BY_QUEST_FORMAT,
/**
* The format for one of a quest's blocking quests
*
* <p>Placeholders: {questName}</p>
*/
QUESTS_REQUIREMENTS_BLOCKED_BY_QUEST_ITEM,
/**
* The format for a quest's required quests
*
* <p>Placeholders: {requiredQuests}</p>
*/
QUESTS_REQUIREMENTS_REQUIRED_QUEST_FORMAT,
/**
* The format for one of a quest's required quests
*
* <p>Placeholders: {questName}</p>
*/
QUESTS_REQUIREMENTS_REQUIRED_QUEST_ITEM,
/**
* The format for a quest's required items
*
* <p>Placeholders: {requiredItems}</p>
*/
QUESTS_REQUIREMENTS_REQUIRED_ITEM_FORMAT,
/**
* The format for one of a quest's required items
*
* <p>Placeholders: {itemName}</p>
*/
QUESTS_REQUIREMENTS_REQUIRED_ITEM_ITEM,
/**
* The format for a quest's mcMMO skill requirement
*
* <p>Placeholders: {skill}, {level}</p>
*/
QUESTS_REQUIREMENTS_MC_MMO_SKILL,
/**
* The format for a quest's required permissions
*
* <p>Placeholders: {permissions}</p>
*/
QUESTS_REQUIREMENTS_REQUIRED_PERMISSION_FORMAT,
/**
* The format for one of a quest's required permissions
*
* <p>Placeholders: {permission}</p>
*/
QUESTS_REQUIREMENTS_REQUIRED_PERMISSION_ITEM;
@Override

View File

@ -1,6 +1,6 @@
en:
SENTINEL_DESCRIPTION: |
<h2>name</h2>
<h2>{name}</h2>
<br><b>Squad:</b> {squad}
{sentinelDetails}
SENTINEL_DETAILS: |