Cleans up sign code quite a lot #14
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
This commit is contained in:
@@ -104,13 +104,11 @@ en:
|
||||
An encrypted version of this book is already saved.
|
||||
Please decrypt your previously encrypted copy first.
|
||||
ERROR_BOOK_NOT_FOUND: "Could not find a book to replace!"
|
||||
ERROR_NO_BOOKS_TO_LIST: "No books have been saved!"
|
||||
ERROR_GROUP_DECRYPT_NO_PERMISSION: "You are not allowed to decrypt that book"
|
||||
ERROR_GROUP_DECRYPT_NOT_FOUND: "Unable to find encrypted book"
|
||||
ERROR_GROUP_DECRYPT_LOAD_FAILED: "Unable to load the unencrypted book!"
|
||||
ERROR_MIGRATION_FAILED: "Failed to migrate all books"
|
||||
ERROR_MIGRATION_BOOK_FAILED: "Failed to migrate book: {file} Cause: {exception}"
|
||||
ERROR_BOOK_DIRECTORY_UNKNOWN: "Unrecognized book directory!"
|
||||
ERROR_METADATA_CREATION_FAILED: "Unable to create blank book metadata!"
|
||||
ERROR_LOAD_BOOK_EMPTY: "File was blank!!"
|
||||
ERROR_AUTHOR_ONLY: "You must be the author of this book to use this command!"
|
||||
@@ -173,16 +171,16 @@ en:
|
||||
# -----------------------------------------#
|
||||
NEUTRAL_UNKNOWN_AUTHOR: "Unknown"
|
||||
NEUTRAL_UNKNOWN_TITLE: "Untitled"
|
||||
# ---------------------- #
|
||||
# Sign text and messages #
|
||||
# ---------------------- #
|
||||
SIGN_HEADER: "&2[BwB]"
|
||||
# --------------------------- #
|
||||
# Sign headers and specifiers #
|
||||
# --------------------------- #
|
||||
SIGN_HEADER: "[BwB]"
|
||||
SIGN_ENCRYPT: "[Encrypt]"
|
||||
SIGN_DECRYPT: "[Decrypt]"
|
||||
SIGN_GIVE: "[Give]"
|
||||
SIGN_PASSWORD: "&k{password}"
|
||||
SIGN_INVALID: "&4{line}"
|
||||
SIGN_VALID: "&1{line}"
|
||||
# -------------- #
|
||||
# Sign responses #
|
||||
# -------------- #
|
||||
ERROR_SIGN_INVALID: "Invalid sign!"
|
||||
ERROR_SIGN_COMMAND_INVALID: "Sign command {action} {data} is invalid"
|
||||
SUCCESS_SIGN_GIVE: "Received book!"
|
||||
@@ -202,8 +200,6 @@ en:
|
||||
COST: "{cost}"
|
||||
TITLE: "{title}"
|
||||
DISPLAY_NAME: "{displayName}"
|
||||
LINE: "{line}"
|
||||
PASSWORD: "{password}"
|
||||
COMMAND: "{command}"
|
||||
EXCEPTION: "{exception}"
|
||||
PATH: "{path}"
|
||||
|
Reference in New Issue
Block a user