diff --git a/src/main/java/net/knarcraft/paidsigns/formatting/TranslatableMessage.java b/src/main/java/net/knarcraft/paidsigns/formatting/TranslatableMessage.java index db8ad79..946566b 100644 --- a/src/main/java/net/knarcraft/paidsigns/formatting/TranslatableMessage.java +++ b/src/main/java/net/knarcraft/paidsigns/formatting/TranslatableMessage.java @@ -20,6 +20,16 @@ public enum TranslatableMessage { */ SUCCESS_ADDED_PAID_SIGN_CONDITION, + /** + * The info text used to display all paid signs + */ + PAID_SIGNS_INFO, + + /** + * The format used for displaying a paid sign's name + */ + PAID_SIGNS_INFO_FORMAT, + /** * The info text used to display information about a paid sign */ diff --git a/src/main/resources/strings.yml b/src/main/resources/strings.yml new file mode 100644 index 0000000..cafed77 --- /dev/null +++ b/src/main/resources/strings.yml @@ -0,0 +1,17 @@ +en: + PREFIX: "[PaidSigns]" + SUCCESS_ADDED_PAID_SIGN: "&bSuccessfully added new paid sign" + SUCCESS_ADDED_PAID_SIGN_CONDITION: "&bSuccessfully added new paid sign condition" + PAID_SIGNS_INFO: "&f---&3Paid signs&f---{signs}\n&f-----------" + PAID_SIGNS_INFO_FORMAT: "\n&f| &3{name}" + PAID_SIGN_INFO: "&f---&3Paid sign&f---\n&f| &bName: &3{name}\n&f| &bCost: &3{cost}\n&f| &bPermission: &3{permission}\n&f| &bIgnore case: &3{case}\n&f| &bIgnore color: &3{color}\n&f| &bSign conditions: &3{conditions}\n&f-----------" + PAID_SIGN_INFO_CONDITION_FORMAT: "\n&f| &b{line}: &3{condition}" + PAID_SIGN_CONDITION_INFO: "&f---&3Paid sign condition&f---\n&f| &bPaid sign name: &3{name}\n&f| &bCondition line: &3{line}\n&f| &bMatch string: &3{match}\n&f| &bExecute RegEx: &3{regex}\n&f| &bIgnore case: &3{case}\n&f| &bIgnore color: &3{color}\n-----------" + BOOLEAN_TRUE: "true" + BOOLEAN_FALSE: "false" + ERROR_INVALID_NUMBER: "&bYou provided an invalid number" + ERROR_NAME_DUPLICATE: "&bA paid sign with the same name already exists" + ERROR_EXCEPTION_OCCURRED: "&bAn exception occurred. Please notify the server administrator or check the server log." + ERROR_INVALID_INPUT: "&bInvalid input: {input}" + ERROR_PAID_SIGN_NOT_FOUND: "&bNo such paid sign exists" + ERROR_NO_SUCH_CONDITION: "&bThe paid sign you specified has no condition for line {line}" \ No newline at end of file