Adds translations for a bunch of messages

This commit is contained in:
Kristian Knarvik 2022-03-01 16:55:30 +01:00
parent eb0e06f193
commit 5cbde82fff
2 changed files with 27 additions and 0 deletions

View File

@ -20,6 +20,16 @@ public enum TranslatableMessage {
*/ */
SUCCESS_ADDED_PAID_SIGN_CONDITION, 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 * The info text used to display information about a paid sign
*/ */

View File

@ -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}"