AuthMe/AuthMeReloaded

View on GitHub
src/test/resources/fr/xephi/authme/message/messages_en_old.yml

Summary

Maintainability
Test Coverage
# messages_en.yml file with old keys and placeholders (prior to 5.5)
# Messages commented with '# Custom' don't correspond to the default messages,
# allowing to check that they have not been overridden

# Registration
reg_msg: '&3Please, register to the server with the command: /register <password> <ConfirmPassword>'
usage_reg: '&cUsage: /register <password> <ConfirmPassword>'
reg_only: '&4Only registered users can join the server! Please visit http://example.com to register yourself!'
kicked_admin_registered: 'An admin just registered you; please log in again'
registered: '&2Successfully registered!'
reg_disabled: '&cIn-game registration is disabled!'
user_regged: '&cYou already have registered this username!'

# Password errors on registration
password_error: 'Password error message'  ## Custom
password_error_nick: '&cYou can''t use your name as password, please choose another one...'
password_error_unsafe: '&cThe chosen password isn''t safe, please choose another one...'
password_error_chars: '&4Your password contains illegal characters. Allowed chars: REG_EX'
pass_len: '&cYour password is too short or too long! Please try with another one!'

# Login
usage_log: '&cUsage: /login <password>'
wrong_pwd: '&cWrong password!'
login: '&2Successful login!'
login_msg: '&cPlease, login with the command: /login <password>'
timeout: '&4Login timeout exceeded, you have been kicked from the server, please try again!'

# Errors
unknown_user: '&cThis user isn''t registered!'
denied_command: '&cIn order to use this command you must be authenticated!'
denied_chat: '&cIn order to chat you must be authenticated!'
not_logged_in: '&cYou''re not logged in!'
tempban_max_logins: '&cYou have been temporarily banned for failing to log in too many times.'
max_reg: '&cYou have exceeded the maximum number of registrations (%reg_count/%max_acc %reg_names) for your connection!'
no_perm: '&4You don''t have the permission to perform this action!'
error: '&4An unexpected error occurred, please contact an administrator!'
kick_forvip: '&3A VIP player has joined the server when it was full!'

# AntiBot
kick_antibot: 'AntiBot protection mode is enabled! You have to wait some minutes before joining the server.'
antibot_auto_enabled: '&4[AntiBotService] AntiBot enabled due to the huge number of connections!'
antibot_auto_disabled: '&2[AntiBotService] AntiBot disabled after %m minutes!'

# Other messages
unregistered: '&cSuccessfully unregistered!'
accounts_owned_self: 'You own %count accounts:'
accounts_owned_other: 'The player %name has %count accounts:'
two_factor_create: '&2Your secret code is %code. You can scan it from here %url'
recovery_code_sent: 'A recovery code to reset your password has been sent to your email.'
recovery_code_incorrect: 'The recovery code is not correct! You have %count tries remaining.'
recovery_tries_exceeded: 'You have exceeded the maximum number attempts to enter the recovery code. Use "/email recovery [email]" to generate a new one.'
recovery_code_correct: 'Recovery code entered correctly!'
recovery_change_password: 'Please use the command /email setpassword <new password> to change your password immediately.'
vb_nonActiv: '&cYour account isn''t activated yet, please check your emails!'
usage_unreg: '&cUsage: /unregister <password>'
pwd_changed: '&2Password changed successfully!'
logged_in: '&cYou''re already logged in!'
logout: '&2Logged out successfully!'
reload: '&2Configuration and database have been reloaded correctly!'
usage_changepassword: '&cUsage: /changepassword <oldPassword> <newPassword>'

# Session messages
invalid_session: '&cYour IP has been changed and your session data has expired!'
valid_session: '&2Logged-in due to Session Reconnection.'

# Error messages when joining
name_len: '&4Your username is either too short or too long!'
regex: 'not valid username: Allowed chars are REG_EX'  ## Custom
country_banned: '&4Your country is banned from this server!'
not_owner_error: 'You are not the owner of this account. Please choose another name!'
kick_fullserver: '&4The server is full, try again later!'
same_nick: '&4The same username is already playing on the server!'
invalid_name_case: 'You should join using username %valid, not %invalid.'
same_ip_online: 'A player with the same IP is already in game!'

# Email
usage_email_add: '&cUsage: /email add <email> <confirmEmail>'
usage_email_change: '&cUsage: /email change <oldEmail> <newEmail>'
usage_email_recovery: '&cUsage: /email recovery <Email>'
new_email_invalid: '&cInvalid new email, try again!'
old_email_invalid: 'Email (old) is not valid!!'  ## Custom
email_invalid: '&cInvalid email address, try again!'
email_added: '&2Email address successfully added to your account!'
email_confirm: '&cPlease confirm your email address!'
email_changed: '&2Email address changed correctly!'
email_send: '&2Recovery email sent successfully! Please check your email inbox!'
email_show: '&2Your current email address is: &f%email'
incomplete_email_settings: 'Error: not all required settings are set for sending emails. Please contact an admin.'
email_already_used: '&4The email address is already being used'
email_send_failure: 'The email could not be sent. Please contact an administrator.'
show_no_email: '&2You currently don''t have email address associated with this account.'
add_email: '&3Please add your email to your account with the command: /email add <yourEmail> <confirmEmail>'
recovery_email: '&3Forgot your password? Please use the command: /email recovery <yourEmail>'
change_password_expired: 'You cannot change your password using this command anymore.'
email_cooldown_error: '&cAn email was already sent recently. You must wait %time before you can send a new one.'

# Captcha
usage_captcha: '&3To log in you have to solve a captcha code, please use the command: /captcha <theCaptcha>'
wrong_captcha: 'The captcha code is THE_CAPTCHA for you' ## Custom
valid_captcha: '&2Captcha code solved correctly!'
captcha_for_registration: 'Now type /captcha <theCaptcha>' ## Custom
register_captcha_valid: '&2Valid captcha! You may now register with /register'

# Verification code
verification_code_required: '&3This command is sensitive and requires an email verification! Check your inbox and follow the email''s instructions.'
usage_verification_code: '&cUsage: /verification <code>'
incorrect_verification_code: '&cIncorrect code, please type "/verification <code>" into the chat, using the code you received by email'
verification_code_verified: '&2Your identity has been verified! You can now execute all commands within the current session!'
verification_code_already_verified: '&2You can already execute every sensitive command within the current session!'
verification_code_expired: '&3Your code has expired! Execute another sensitive command to get a new code!'
verification_code_email_needed: '&3To verify your identity you need to link an email address with your account!!'

# Time units
second: 'second'
seconds: 'seconds in plural' ## Custom
minute: 'minute'
minutes: 'minutes'
hour: 'hour'
hours: 'hours'
day: 'day'
days: 'days'