Starts adding string translations and cleanup
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Options:
|
||||
# The language to use. Only "en" is built-in, but custom languages can be added
|
||||
Language: "en"
|
||||
# Whether to use YAML for saved books instead of just storing them as text
|
||||
Save_Books_in_Yaml_Format: true
|
||||
# The maximum number of duplicates of a saved book allowed
|
||||
|
25
src/main/resources/strings.yml
Normal file
25
src/main/resources/strings.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
en:
|
||||
PREFIX: "[BwB]"
|
||||
SUCCESS_COPY: "Book copied!"
|
||||
ERROR_PLAYER_ONLY: "This command can only be used by a player!"
|
||||
ERROR_NOT_HOLDING_BOOK_COPY: "You must be holding a written book to copy it!"
|
||||
ERROR_ONLY_ONE_BOOK_COPY: "You cannot copy two books at once!"
|
||||
ERROR_COPY_COUNT_NOT_SPECIFIED: "You must specify the number of copies to be made!"
|
||||
ERROR_COPY_NEGATIVE_AMOUNT: "Number of copies must be larger than 0!"
|
||||
ERROR_COPY_INVALID_AMOUNT: |
|
||||
Book not copied!
|
||||
Number specified was invalid!
|
||||
ERROR_BOOK_COPIED_TOO_FAR: "You cannot copy this book any further. You must have the original or a direct copy."
|
||||
ERROR_INVENTORY_FULL: "You need an available slot in your inventory."
|
||||
NEUTRAL_COMMANDS_HEADER: |
|
||||
&e[] denote optional parameters
|
||||
<> denote required parameters
|
||||
{} denote required permission
|
||||
In some cases, commands with required parameters can be called with no parameters
|
||||
{bookPrice}&eCommands:
|
||||
{commands}
|
||||
NEUTRAL_COMMANDS_BOOK_PRICE_ECO: "\n&c[{price} is required to create a book]"
|
||||
NEUTRAL_COMMANDS_BOOK_PRICE_ITEM: "&c[{quantity} {type} (s) are required to create a book]\n"
|
||||
NEUTRAL_COMMANDS_COMMAND: "\n \n&e{usage}: &a{description}"
|
||||
NEUTRAL_COMMANDS_COMMAND_NO_PERMISSION_REQUIRED: "None"
|
||||
NEUTRAL_COMMANDS_COMMAND_PERMISSION: " &7{{permission}}"
|
Reference in New Issue
Block a user