From 729e74b155a0b14188406b0494cda70f8760c7d9 Mon Sep 17 00:00:00 2001 From: "Gabriele C." Date: Sun, 5 Jul 2015 14:26:40 +0200 Subject: [PATCH 1/5] Update messages_en.yml --- src/main/resources/messages_en.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/messages_en.yml b/src/main/resources/messages_en.yml index c0dd20e8a..5721ac37c 100644 --- a/src/main/resources/messages_en.yml +++ b/src/main/resources/messages_en.yml @@ -21,6 +21,8 @@ usage_unreg: '&cUsage: /unregister password' pwd_changed: '&cPassword changed!' user_unknown: '&cUsername not registered' password_error: '&fPassword doesn''t match' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' invalid_session: '&fSession dates do not correspond. Please wait until the end of the session' reg_only: '&fRegistered players only! Please visit http://example.com to register' logged_in: '&cAlready logged in!' From d222b2cbd4dc4939f1e3c6e970954d78ed12c1cd Mon Sep 17 00:00:00 2001 From: "Gabriele C." Date: Sun, 5 Jul 2015 14:33:40 +0200 Subject: [PATCH 2/5] Update ChangePasswordCommand.java --- .../fr/xephi/authme/commands/ChangePasswordCommand.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java b/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java index 921e7001f..0e81523e3 100644 --- a/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java +++ b/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java @@ -54,17 +54,21 @@ public class ChangePasswordCommand implements CommandExecutor { } String lowpass = args[1].toLowerCase(); - if ((lowpass.contains("delete") || lowpass.contains("where") || lowpass.contains("insert") || lowpass.contains("modify") || lowpass.contains("from") || lowpass.contains("select") || lowpass.contains(";") || lowpass.contains("null")) || !lowpass.matches(Settings.getPassRegex) || lowpass.equalsIgnoreCase(name)) { + if ((lowpass.contains("delete") || lowpass.contains("where") || lowpass.contains("insert") || lowpass.contains("modify") || lowpass.contains("from") || lowpass.contains("select") || lowpass.contains(";") || lowpass.contains("null")) || !lowpass.matches(Settings.getPassRegex) { m.send(player, "password_error"); return true; } + if ((lowpass.equalsIgnoreCase(name){ + m.send(player, "password_error_nick"); + return true; + } if (lowpass.length() < Settings.getPasswordMinLen || lowpass.length() > Settings.passwordMaxLength) { m.send(player, "pass_len"); return true; } if (!Settings.unsafePasswords.isEmpty()) { if (Settings.unsafePasswords.contains(lowpass)) { - m.send(player, "password_error"); + m.send(player, "password_error_unsafe"); return true; } } From 60f4bd0ce1d3cdff4b4f8e810726712eabf85f2f Mon Sep 17 00:00:00 2001 From: "Gabriele C." Date: Sun, 5 Jul 2015 14:39:08 +0200 Subject: [PATCH 3/5] Update AsyncronousRegister.java --- .../authme/process/register/AsyncronousRegister.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/xephi/authme/process/register/AsyncronousRegister.java b/src/main/java/fr/xephi/authme/process/register/AsyncronousRegister.java index 748be51e2..0a6be53f7 100644 --- a/src/main/java/fr/xephi/authme/process/register/AsyncronousRegister.java +++ b/src/main/java/fr/xephi/authme/process/register/AsyncronousRegister.java @@ -52,11 +52,16 @@ public class AsyncronousRegister { allowRegister = false; } - else if ((lowpass.equalsIgnoreCase(player.getName()) || lowpass.contains("delete") || lowpass.contains("where") || lowpass.contains("insert") || lowpass.contains("modify") || lowpass.contains("from") || lowpass.contains("select") || lowpass.contains(";") || lowpass.contains("null")) || !lowpass.matches(Settings.getPassRegex)) { + else if ((lowpass.contains("delete") || lowpass.contains("where") || lowpass.contains("insert") || lowpass.contains("modify") || lowpass.contains("from") || lowpass.contains("select") || lowpass.contains(";") || lowpass.contains("null")) || !lowpass.matches(Settings.getPassRegex)) { m.send(player, "password_error"); allowRegister = false; } + else if ((lowpass.equalsIgnoreCase(player.getName()))) { + m.send(player, "password_error_nick"); + allowRegister = false; + } + else if (database.isAuthAvailable(name)) { m.send(player, "user_regged"); if (plugin.pllog.getStringList("players").contains(name)) { @@ -126,7 +131,7 @@ public class AsyncronousRegister { } if (!Settings.unsafePasswords.isEmpty()) { if (Settings.unsafePasswords.contains(password.toLowerCase())) { - m.send(player, "password_error"); + m.send(player, "password_error_unsafe"); return; } } From 3367f175d4a2cac521f6d3693a8a68b1f68c6d6b Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 5 Jul 2015 14:56:32 +0200 Subject: [PATCH 4/5] Fix syntax --- .../java/fr/xephi/authme/commands/ChangePasswordCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java b/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java index 0e81523e3..14daf27b3 100644 --- a/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java +++ b/src/main/java/fr/xephi/authme/commands/ChangePasswordCommand.java @@ -54,11 +54,11 @@ public class ChangePasswordCommand implements CommandExecutor { } String lowpass = args[1].toLowerCase(); - if ((lowpass.contains("delete") || lowpass.contains("where") || lowpass.contains("insert") || lowpass.contains("modify") || lowpass.contains("from") || lowpass.contains("select") || lowpass.contains(";") || lowpass.contains("null")) || !lowpass.matches(Settings.getPassRegex) { + if ((lowpass.contains("delete") || lowpass.contains("where") || lowpass.contains("insert") || lowpass.contains("modify") || lowpass.contains("from") || lowpass.contains("select") || lowpass.contains(";") || lowpass.contains("null")) || !lowpass.matches(Settings.getPassRegex)) { m.send(player, "password_error"); return true; } - if ((lowpass.equalsIgnoreCase(name){ + if ((lowpass.equalsIgnoreCase(name))){ m.send(player, "password_error_nick"); return true; } From 79dde2caf30823c2c55d2cc687bd53b8a8f37ad2 Mon Sep 17 00:00:00 2001 From: Gabriele C Date: Sun, 5 Jul 2015 18:47:17 +0200 Subject: [PATCH 5/5] Fixed languages Update messages_br.yml Update messages_cz.yml Update messages_de.yml Update messages_es.yml Update messages_fi.yml Update messages_fr.yml Update messages_gl.yml Update messages_hu.yml Update messages_it.yml Update messages_ko.yml Update messages_lt.yml Update messages_nl.yml Update messages_pl.yml Update messages_pt.yml Update messages_ru.yml Update messages_sk.yml Update messages_uk.yml Update messages_zhcn.yml Update messages_zhtw.yml Update messages_zhtw.yml Update messages_zhhk.yml --- src/main/resources/messages_bg.yml | 2 ++ src/main/resources/messages_br.yml | 2 ++ src/main/resources/messages_cz.yml | 2 ++ src/main/resources/messages_de.yml | 4 +++- src/main/resources/messages_es.yml | 2 ++ src/main/resources/messages_fi.yml | 4 +++- src/main/resources/messages_fr.yml | 4 +++- src/main/resources/messages_gl.yml | 2 ++ src/main/resources/messages_hu.yml | 2 ++ src/main/resources/messages_it.yml | 6 ++++-- src/main/resources/messages_ko.yml | 2 ++ src/main/resources/messages_lt.yml | 2 ++ src/main/resources/messages_nl.yml | 2 ++ src/main/resources/messages_pl.yml | 4 +++- src/main/resources/messages_pt.yml | 4 +++- src/main/resources/messages_ru.yml | 2 ++ src/main/resources/messages_sk.yml | 4 +++- src/main/resources/messages_uk.yml | 4 +++- src/main/resources/messages_zhcn.yml | 2 ++ src/main/resources/messages_zhhk.yml | 2 ++ src/main/resources/messages_zhtw.yml | 30 +++++++++++++++------------- 21 files changed, 65 insertions(+), 23 deletions(-) diff --git a/src/main/resources/messages_bg.yml b/src/main/resources/messages_bg.yml index f6532c232..37bc0651b 100644 --- a/src/main/resources/messages_bg.yml +++ b/src/main/resources/messages_bg.yml @@ -22,6 +22,8 @@ usage_unreg: '&cКоманда: /unregister парола' pwd_changed: '&cПаролата е променена!' user_unknown: '&cПотребителя не е регистриран' password_error: '&fПаролата не съвпада' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' unvalid_session: '&fSession Dataes doesnt corrispond Plaese wait the end of session' reg_only: '&fСамо за регистрирани! Моля посети http://example.com за регистрация' logged_in: '&cВече сте влязъл!' diff --git a/src/main/resources/messages_br.yml b/src/main/resources/messages_br.yml index 8e808e354..044443fbf 100644 --- a/src/main/resources/messages_br.yml +++ b/src/main/resources/messages_br.yml @@ -4,6 +4,8 @@ not_logged_in: '&cVocê nao esta autenticado!' reg_voluntarily: '&fVocê pode registrar o seu nickname no servidor com o comando "/register password ConfirmePassword"' usage_log: '&cUse: /login password' wrong_pwd: '&cPassword incorreta' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' unregistered: '&cRegistro eliminado com sucesso!' reg_disabled: '&cRegistro de novos utilizadores desativado' valid_session: '&cSessão válida' diff --git a/src/main/resources/messages_cz.yml b/src/main/resources/messages_cz.yml index bb1c22df7..c147e290f 100644 --- a/src/main/resources/messages_cz.yml +++ b/src/main/resources/messages_cz.yml @@ -8,6 +8,8 @@ reg_disabled: '&cRegistrace je zakazana!' valid_session: '&cAutomaticke znovuprihlaseni.' login: '&cUspesne prihlaseni!' user_regged: '&cUzivatelske jmeno je jiz registrovano.' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' usage_reg: '&cPouzij: "/register heslo heslo".' no_perm: '&cNemas opravneni.' error: '&cVyskytla se chyba - kontaktujte administratora ...' diff --git a/src/main/resources/messages_de.yml b/src/main/resources/messages_de.yml index 15c682585..144ff3358 100644 --- a/src/main/resources/messages_de.yml +++ b/src/main/resources/messages_de.yml @@ -13,6 +13,8 @@ user_regged: '&cBenutzername ist schon vergeben' usage_reg: '&cBenutze: /register ' max_reg: '&fDu hast die maximale Anzahl an Accounts erreicht' no_perm: '&cKeine Rechte' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' error: '&fEin Fehler ist aufgetreten. Bitte kontaktiere einen Admin' login_msg: '&cBitte logge dich ein mit "/login "' reg_msg: '&cBitte registriere dich mit "/register "' @@ -53,4 +55,4 @@ email_changed: '[AuthMe] Email Change !' email_send: '[AuthMe] Recovery Email Send !' country_banned: 'Your country is banned from this server' antibot_auto_enabled: '[AuthMe] AntiBotMod automatically enabled due to massive connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' diff --git a/src/main/resources/messages_es.yml b/src/main/resources/messages_es.yml index a27633b28..aa0622860 100644 --- a/src/main/resources/messages_es.yml +++ b/src/main/resources/messages_es.yml @@ -8,6 +8,8 @@ wrong_pwd: '&cContraseña incorrecta' unregistered: '&c¡Cuenta eliminada del registro!' reg_disabled: '&cEl registro está desactivado' valid_session: '&cInicio de sesión' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' login: '&c¡Sesión iniciada!' vb_nonActiv: '&fTu cuenta no está activada aún, ¡revisa tu correo!' user_regged: '&cUsuario ya registrado' diff --git a/src/main/resources/messages_fi.yml b/src/main/resources/messages_fi.yml index f2fff3f0a..abb398924 100644 --- a/src/main/resources/messages_fi.yml +++ b/src/main/resources/messages_fi.yml @@ -12,6 +12,8 @@ vb_nonActiv: '&fKäyttäjäsi ei ole vahvistettu!' user_regged: '&cPelaaja on jo rekisteröity' usage_reg: '&cKäyttötapa: /register salasana salasana' max_reg: '&fSinulla ei ole oikeuksia tehdä enempää pelaajatilejä!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' no_perm: '&cEi oikeuksia' error: '&fVirhe: Ota yhteys palveluntarjoojaan!' login_msg: '&cKirjaudu palvelimmelle komennolla "/login salasana"' @@ -53,4 +55,4 @@ email_changed: '[AuthMe] Sähköposti vaihdettu!' email_send: '[AuthMe] Palautus sähköposti lähetetty!' country_banned: 'Your country is banned from this server' antibot_auto_enabled: '[AuthMe] AntiBotMod automatically enabled due to massive connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' diff --git a/src/main/resources/messages_fr.yml b/src/main/resources/messages_fr.yml index 07368f9cf..6af98db14 100644 --- a/src/main/resources/messages_fr.yml +++ b/src/main/resources/messages_fr.yml @@ -14,6 +14,8 @@ user_regged: '&cCe nom est deja utilisé..' usage_reg: '&cUtilisez la commande /register motdepasse confirmermotdepasse' max_reg: '&fLimite d''enregistrement atteinte pour ce compte' no_perm: '&cVous n''avez pas la permission' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' error: '&fUne erreur est apparue, veuillez contacter un administrateur' login_msg: '&cPour vous connecter, utilisez: /login motdepasse' reg_msg: '&cPour vous inscrire, utilisez "/register motdepasse confirmermotdepasse"' @@ -54,4 +56,4 @@ email_changed: '[AuthMe] Email changé !' email_send: '[AuthMe] Email de récupération envoyé!' country_banned: 'Votre pays est banni de ce serveur' antibot_auto_enabled: '[AuthMe] AntiBotMod a été activé automatiquement à cause de nombreuses connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod a été désactivé automatiquement après %m Minutes, espérons que l''invasion soit arrêtée!' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod a été désactivé automatiquement après %m Minutes, espérons que l''invasion soit arrêtée!' diff --git a/src/main/resources/messages_gl.yml b/src/main/resources/messages_gl.yml index 27979102b..d72b0398e 100644 --- a/src/main/resources/messages_gl.yml +++ b/src/main/resources/messages_gl.yml @@ -6,6 +6,8 @@ reg_voluntarily: '&fPodes rexistrar o teu nome no servidor co comando usage_log: '&cUso: /login ' wrong_pwd: '&cContrasinal equivocado' unregistered: '&cFeito! Xa non estás rexistrado!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' reg_disabled: '&cO rexistro está deshabilitado' valid_session: '&cIdentificado mediante a sesión' login: '&cIdentificación con éxito!' diff --git a/src/main/resources/messages_hu.yml b/src/main/resources/messages_hu.yml index 25f14563f..fb8ac9521 100644 --- a/src/main/resources/messages_hu.yml +++ b/src/main/resources/messages_hu.yml @@ -11,6 +11,8 @@ reg_voluntarily: Regisztrálhatod beceneved a szerveren a következö parancsal reg_disabled: '&cRegisztráció letiltva' no_perm: '&cNincs engedélyed' usage_reg: '&cHasználat: /register jelszó jelszóújra' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' unregistered: '&cRegisztráció sikeresen törölve!' same_nick: Ezen a játékosnéven már játszanak valid_session: '&cSession login' diff --git a/src/main/resources/messages_it.yml b/src/main/resources/messages_it.yml index 978e29fbd..9d45141d0 100644 --- a/src/main/resources/messages_it.yml +++ b/src/main/resources/messages_it.yml @@ -13,16 +13,18 @@ user_regged: "&cL'utente si è già registrato, impossibile eseguire nuovamente usage_reg: '&cUtilizzo: /register ' max_reg: 'Hai raggiunto il numero massimo di registrazioni per indirizzo IP!' no_perm: '&cNon hai il permesso di eseguire questa operazione.' -login_msg: '&cPerfavore, per giocare devi effettuare l'autenticazione con il comando: "/login "' +login_msg: '&cPerfavore, per giocare devi effettuare l''autenticazione con il comando: "/login "' reg_msg: '&cPerfavore, per connetterti al server devi prima registrarti con il comando: "/register "' reg_email_msg: '&cPerfavore, per connetterti al server devi prima registrarti con il comando: "/register "' usage_unreg: '&cUtilizzo: /unregister ' pwd_changed: '&cPassword cambiata con successo!' user_unknown: "&cL'utente non ha ancora eseguito la registrazione." password_error: 'Le Password non corrispondono!' +password_error_nick: '&fNon puoi usare il tuo nome come Password!' +password_error_unsafe: '&fNon puoi usare una Password insicura, provane un''altra!' invalid_session: "I tuoi dati di connessione attuali non sono quelli utilizzati in precedenza. Attendere la fine della sessione attuale." reg_only: 'La registrazione è effettuabile soltanto attraverso il sito web! Perfavore, vai su http://example.com per procedere!' -logged_in: '&cHai già eseguito l'autenticazione!' +logged_in: '&cHai già eseguito l''autenticazione!' logout: '&cDisconnessione avvenuta correttamente!' same_nick: 'Lo stesso nickname è già online sul server!' registered: '&cRegistrato correttamente!' diff --git a/src/main/resources/messages_ko.yml b/src/main/resources/messages_ko.yml index facf1ea57..2dc851162 100644 --- a/src/main/resources/messages_ko.yml +++ b/src/main/resources/messages_ko.yml @@ -12,6 +12,8 @@ unregistered: '&c성공적으로 탈퇴했습니다!' reg_disabled: '&c가입이 비활성화 되어있습니다' valid_session: '&c세션 로그인' login: '&c성공적인 접속입니다!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' vb_nonActiv: '&f당신의 계정은 아직 활성화되어있지 않습니다, 당신의 이메일을 확인해보세요!' user_regged: '&c사용자이름은 이미 가입했습니다' usage_reg: '&c사용법: /register 비밀번호 비밀번호확인' diff --git a/src/main/resources/messages_lt.yml b/src/main/resources/messages_lt.yml index d300c8b34..508a74c12 100644 --- a/src/main/resources/messages_lt.yml +++ b/src/main/resources/messages_lt.yml @@ -14,6 +14,8 @@ usage_reg: '&eNaudojimas: /register slaptazodis pakartotiSlaptazodi' max_reg: '&cJus pasiekete maksimalu registraciju skaiciu.' no_perm: '&cNera leidimo' error: '&cAtsirado klaida, praneskite adminstratoriui.' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' login_msg: '&ePrasome prisijungti: /login slaptazodis' reg_msg: '&ePrasome prisiregistruoti: /register slaptazodis pakartotiSlaptazodi' reg_email_msg: '&cPlease register with "/register "' diff --git a/src/main/resources/messages_nl.yml b/src/main/resources/messages_nl.yml index 46f5c0879..5fb90d76d 100644 --- a/src/main/resources/messages_nl.yml +++ b/src/main/resources/messages_nl.yml @@ -8,6 +8,8 @@ unregistered: '&cRegistratie succesvol ongedaan gemaakt!' reg_disabled: '&cRegistratie is uitgeschakeld' valid_session: '&cSessie ingelogt' login: '&cSuccesvol ingelogt!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' vb_nonActiv: Je accound is nog niet geactiveerd, controleer je mailbox! user_regged: '&cGebruikersnaam is al geregistreerd' usage_reg: '&cGebruik: /register ' diff --git a/src/main/resources/messages_pl.yml b/src/main/resources/messages_pl.yml index 248d49cee..dbe5a6c50 100644 --- a/src/main/resources/messages_pl.yml +++ b/src/main/resources/messages_pl.yml @@ -16,6 +16,8 @@ wrong_pwd: '&cNiepoprawne haslo' logout: '&cPomyslnie wylogowany' usage_unreg: '&cUzycie: /unregister haslo' registered: '&aPomyslnie zarejestrowany!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' unregistered: '&4Pomyslnie odrejestrowany!' login: '&aHaslo zaakceptowane!' no_perm: '&4Nie masz uprawnien' @@ -53,4 +55,4 @@ email_changed: '[AuthMe] Email zmieniony!' email_send: '[AuthMe] Email z odzyskaniem wyslany!' country_banned: 'Your country is banned from this server' antibot_auto_enabled: '[AuthMe] AntiBotMod automatically enabled due to massive connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' diff --git a/src/main/resources/messages_pt.yml b/src/main/resources/messages_pt.yml index d5321e9ac..c2b65a3f6 100644 --- a/src/main/resources/messages_pt.yml +++ b/src/main/resources/messages_pt.yml @@ -19,6 +19,8 @@ reg_msg: '&cPor favor registe-se com "/register password confirmePassword"' reg_email_msg: '&ePor favor registe-se com "/register "' usage_unreg: '&cUse: /unregister password' pwd_changed: '&cPassword alterada!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' user_unknown: '&cUsername não registado' password_error: '&fAs passwords não coincidem' unvalid_session: '&fDados de sessão não correspondem. Por favor aguarde o fim da sessão' @@ -54,4 +56,4 @@ email_changed: 'Email alterado com sucesso!' email_send: 'Nova palavra-passe enviada para o seu email!' country_banned: 'O seu país está banido deste servidor' antibot_auto_enabled: '[AuthMe] AntiBotMod activado automaticamente devido a um aumento anormal de tentativas de ligação!' -antibot_auto_disabled: '[AuthMe] AntiBotMod desactivado automaticamente após %m minutos, esperamos que a invasão tenha parado' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod desactivado automaticamente após %m minutos, esperamos que a invasão tenha parado' diff --git a/src/main/resources/messages_ru.yml b/src/main/resources/messages_ru.yml index 58f797a15..3bae790df 100644 --- a/src/main/resources/messages_ru.yml +++ b/src/main/resources/messages_ru.yml @@ -17,6 +17,8 @@ no_perm: '&4Недостаточно прав' error: '&4Произошла ошибка. Свяжитесь с администратором' login_msg: '&4Авторизация: &5/l ПАРОЛЬ' reg_msg: '&4Регистрация: &5/reg ПАРОЛЬ ПОВТОР_ПАРОЛЯ' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' reg_email_msg: '&4Регистрация: &5/reg EMAIL ПОВТОР_EMAIL' usage_unreg: '&4Использование: &5/unregister ПАРОЛЬ' pwd_changed: '&2Пароль изменен!' diff --git a/src/main/resources/messages_sk.yml b/src/main/resources/messages_sk.yml index 6be8bfbdc..f06948f96 100644 --- a/src/main/resources/messages_sk.yml +++ b/src/main/resources/messages_sk.yml @@ -17,6 +17,8 @@ reg_msg: '&cZaregistruj sa príkazom "/register heslo zopakujHeslo"' reg_email_msg: '&cPlease register with "/register "' timeout: '&fVyprsal cas na prihlásenie' wrong_pwd: '&cZadal si zlé heslo' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' logout: '&cBol si úspesne odhláseny' usage_unreg: '&cPríkaz: /unregister heslo' registered: '&cBol si úspesne zaregistrovany' @@ -57,4 +59,4 @@ email_changed: '[AuthMe] Email Change !' email_send: '[AuthMe] Recovery Email Send !' country_banned: 'Your country is banned from this server' antibot_auto_enabled: '[AuthMe] AntiBotMod automatically enabled due to massive connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' diff --git a/src/main/resources/messages_uk.yml b/src/main/resources/messages_uk.yml index afd8b7f81..95081620d 100644 --- a/src/main/resources/messages_uk.yml +++ b/src/main/resources/messages_uk.yml @@ -16,6 +16,8 @@ no_perm: '&cУ Вас недостатньо прав' error: '&fЩось пішло не так; Будь ласка зв`яжіться з адміністратором' login_msg: '&cДля авторизації введіть "/login Пароль"' reg_msg: '&cДля реєстрації введіть "/reg Пароль Повтор пароля"' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' reg_email_msg: '&cДля реєстрації введіть "/reg Email Email"' usage_unreg: '&cВикористовуйте: /unregister Пароль' pwd_changed: '&cПароль змінено!' @@ -53,4 +55,4 @@ email_changed: '[AuthMe] &2Email змінено!' email_send: '[AuthMe] Лист відновлення надіслано на ваш Email!' country_banned: 'Сервер не доступний для вашої країни | Your country is banned from this server' antibot_auto_enabled: '[AuthMe] AntiBotMod automatically enabled due to massive connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' diff --git a/src/main/resources/messages_zhcn.yml b/src/main/resources/messages_zhcn.yml index 4b8930252..91e74a54c 100644 --- a/src/main/resources/messages_zhcn.yml +++ b/src/main/resources/messages_zhcn.yml @@ -12,6 +12,8 @@ vb_nonActiv: '&f你的帐号还未激活,请查看你的邮箱!' user_regged: '&c此用户已经在此服务器注册过' usage_reg: '&c正确用法:“/register <密码> <再输入一次以确定密码>”' max_reg: '&f你不允许再为你的IP在服务器注册更多用户了!' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' reg_email_msg: '&c请输入 "/register <邮箱> <确认电子邮件>"' no_perm: '&c没有权限' error: '&f发现错误,请联系管理员' diff --git a/src/main/resources/messages_zhhk.yml b/src/main/resources/messages_zhhk.yml index 55ef09814..6ea573ae4 100644 --- a/src/main/resources/messages_zhhk.yml +++ b/src/main/resources/messages_zhhk.yml @@ -10,6 +10,8 @@ unregistered: '&8[&6用戶系統&8] &c你已成功取消會員註冊記錄。' reg_disabled: '&8[&6用戶系統&8] &c本伺服器已停止新玩家註冊。' valid_session: '&8[&6用戶系統&8] &b嗨 ! 我記得你,歡迎回來~' login: '&8[&6用戶系統&8] &c你成功的登入了。' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' vb_nonActiv: '&8[&6用戶系統&8] &f你的帳戶還沒有經過電郵驗證 !' user_regged: '&8[&6用戶系統&8] &c此用戶名已經註冊過了。' usage_reg: '&8[&6用戶系統&8] &c用法: 《 /register <密碼> <重覆密碼> 》' diff --git a/src/main/resources/messages_zhtw.yml b/src/main/resources/messages_zhtw.yml index f35e3771c..a9c36432b 100644 --- a/src/main/resources/messages_zhtw.yml +++ b/src/main/resources/messages_zhtw.yml @@ -1,35 +1,37 @@ -unknown_user: 使用者名稱不在資料庫內 -unsafe_spawn: 退出的位置是不安全的,你被傳送到重生點 +unknown_user: '使用者名稱不在資料庫內' +unsafe_spawn: '退出的位置是不安全的,你被傳送到重生點' not_logged_in: '&c您還未登入!' -reg_voluntarily: 您可以在本伺服器創一個屬於您的密碼 ,指令:"/register <密碼> 確認密碼" +reg_voluntarily: '您可以在本伺服器創一個屬於您的密碼 ,指令:"/register <密碼> 確認密碼"' usage_log: '&c正確用法為:使用"/login <密碼>"來登入' wrong_pwd: '&c密碼錯誤!' unregistered: '&a此密碼尚未被註冊!' reg_disabled: '&c註冊被禁用' +password_error_nick: '&fYou can''t use your name as password' +password_error_unsafe: '&fYou can''t use unsafe passwords' valid_session: '&c"會議"登入' login: '&a登入成功!' -vb_nonActiv: 你的帳號沒有被繳活,請查看你的電子信箱! +vb_nonActiv: '你的帳號沒有被繳活,請查看你的電子信箱!' user_regged: '&c此密碼已被註冊,請重新註冊您的新密碼!' usage_reg: '&c正確用法為:使用"/register <密碼> <確認密碼>"來註冊你的密碼' -max_reg: 你的密碼註冊數量已滿,無法繼續註冊! +max_reg: '你的密碼註冊數量已滿,無法繼續註冊!' no_perm: '&c你沒有權限!' -error: 發生未知錯誤,請通知管理員! +error: '發生未知錯誤,請通知管理員!' login_msg: '&c請使用"/login <密碼>"來登入' reg_msg: '&c初次登入請使用"/register <密碼> <確認密碼>"來註冊!' usage_unreg: '&c正確用法為:使用"/unregister <密碼>"來取消現有密碼' pwd_changed: '&c密碼變更成功!' user_unknown: '&c此用戶名並未被註冊!' password_error: <密碼>與<錯認密碼>不相同! -unvalid_session: Session Dataes doesnt corrispond Plaese wait the end of session -reg_only: Registered players only! Please visit http://example.com to register +unvalid_session: 'Session Dataes doesnt corrispond Plaese wait the end of session' +reg_only: 'Registered players only! Please visit http://example.com to register' logged_in: '&c您已經登入了!' logout: '&a登出成功!' -same_nick: 與別人的密碼重複! +same_nick: '與別人的密碼重複!' registered: '&a註冊成功!' -pass_len: 您的密碼未到達最小長度(4),或超過最大長度(20) -reload: 伺服器已重新配置數據庫 -timeout: 登入超時了! -usage_changepassword: 正確用法為:使用"/changepassword <舊密碼> <新密碼>"來更換密碼 +pass_len: '您的密碼未到達最小長度(4),或超過最大長度(20)' +reload: '伺服器已重新配置數據庫' +timeout: '登入超時了!' +usage_changepassword: '正確用法為:使用"/changepassword <舊密碼> <新密碼>"來更換密碼' name_len: '&cYour nickname is too Short or too long' regex: '&cYour nickname contains illegal characters. Allowed chars: REG_EX' add_email: '&cPlease add your email with : /email add yourEmail confirmEmail' @@ -52,4 +54,4 @@ email_changed: '[AuthMe] Email Change !' email_send: '[AuthMe] Recovery Email Send !' country_banned: 'Your country is banned from this server' antibot_auto_enabled: '[AuthMe] AntiBotMod automatically enabled due to massive connections!' -antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped' \ No newline at end of file +antibot_auto_disabled: '[AuthMe] AntiBotMod automatically disabled after %m Minutes, hope invasion stopped'