1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Fix the NickServ help message showing a wrong min password length.

Closes #357.
This commit is contained in:
Sadie Powell
2024-02-22 11:01:41 +00:00
parent 14472c5a95
commit 9502567453
7 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -5685,7 +5685,7 @@ msgid ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgstr ""
"Registers your nickname in the %s database. Once\n"
@@ -5703,7 +5703,7 @@ msgstr ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgid "Registration is currently disabled."
+2 -2
View File
@@ -5714,7 +5714,7 @@ msgid ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgstr ""
"Enregistre votre pseudo dans la base de données de %s.\n"
@@ -5735,7 +5735,7 @@ msgstr ""
"ne vous laissera pas faire.. De même, les mots de passe\n"
"courts sont vulnérables aux recherches méthodiques,\n"
"donc vous devez choisir un mot de passe d'au moins \n"
"5 caractères. Le caractère espace ne peut pas être \n"
"%u caractères. Le caractère espace ne peut pas être \n"
"utilisé dans les mots de passe."
msgid "Registration is currently disabled."
+2 -2
View File
@@ -5716,7 +5716,7 @@ msgid ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgstr ""
"Registra il tuo nick nel database di %s. Quando il\n"
@@ -5737,7 +5737,7 @@ msgstr ""
"anche peggiore, infatti %s non ti permetterà di farlo.\n"
"Inoltre, le password brevi sono facili da indovinare con\n"
"meno tentativi, pertanto è necessario scegliere una password \n"
"di almeno 5 caratteri. Infine, gli spazi non possono essere \n"
"di almeno %u caratteri. Infine, gli spazi non possono essere \n"
"usati all'interno di una password."
msgid "Registration is currently disabled."
+2 -2
View File
@@ -5730,7 +5730,7 @@ msgid ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgstr ""
"Registreert je nick in de %s database. Wanneer je nick\n"
@@ -5749,7 +5749,7 @@ msgstr ""
"nick als een wachtwoord gebruiken is een veel slechter idee ;)\n"
"en in feite, %s staat het niet toe. Bovendien zijn korte wachtwoorden\n"
"kwetsbaar voor zoekacties, dus kies je best een wachtwoord\n"
"dat minstens 5 karakters lang is. Als laatste, de spatie kan niet\n"
"dat minstens %u karakters lang is. Als laatste, de spatie kan niet\n"
"gebruikt worden in wachtwoorden."
msgid "Registration is currently disabled."
+2 -2
View File
@@ -5697,7 +5697,7 @@ msgid ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgstr ""
"Rejestruje aktualnie używany nick w bazie %s.\n"
@@ -5714,7 +5714,7 @@ msgstr ""
"jako haseł jest niewskazane. Nie wolno użyć hasła takiego\n"
"samego, jak nick (a %s na to nie pozwoli). Bardzo krótkie\n"
"hasło może zostać odgadnięte metodą prób i błędów.\n"
"Twoje hasło musi mieć długość co najmniej 5 znaków.\n"
"Twoje hasło musi mieć długość co najmniej %u znaków.\n"
"Znak spacji nie może być użyty w haśle."
msgid "Registration is currently disabled."
+2 -2
View File
@@ -5680,7 +5680,7 @@ msgid ""
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."
msgstr ""
"Rumuzunuzu %s veritabanına kaydedin. Rumuzunuz kaydedildikten\n"
@@ -5697,7 +5697,7 @@ msgstr ""
"gerçek adınızı şifre olarak kullanmak kötü bir fikirdir.\n"
"Rumuzunuzu şifre olarak kullanmak çok daha kötü bir fikir ;)\n"
"ve aslında %s buna izin vermeyecektir. Ayrıca kısa şifreler\n"
"deneme yanılma yoluyla aranmaya açık olduğundan en az 5\n"
"deneme yanılma yoluyla aranmaya açık olduğundan en az %u\n"
"karakter uzunluğunda bir şifre seçmelisiniz. Son\n"
"olarak boşluk karakteri şifrelerde kullanılamaz."
+4 -2
View File
@@ -271,6 +271,7 @@ public:
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
{
unsigned int minpasslen = Config->GetModule("nickserv")->Get<unsigned>("minpasslen", "10");
this->SendSyntax(source);
source.Reply(" ");
source.Reply(_("Registers your nickname in the %s database. Once\n"
@@ -288,9 +289,10 @@ public:
"your nickname as a password is a much worse idea ;) and,\n"
"in fact, %s will not allow it. Also, short\n"
"passwords are vulnerable to trial-and-error searches, so\n"
"you should choose a password at least 5 characters long.\n"
"you should choose a password at least %u characters long.\n"
"Finally, the space character cannot be used in passwords."),
source.service->nick.c_str(), source.service->nick.c_str());
source.service->nick.c_str(), source.service->nick.c_str(),
minpasslen);
if (!Config->GetModule("nickserv")->Get<bool>("forceemail", "yes"))
{