1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 13:43:14 +02:00

Remove a variant message which is only used in one place.

This commit is contained in:
Sadie Powell
2025-07-12 16:33:14 +01:00
parent a56d9a4096
commit 5df95d9f86
3 changed files with 3 additions and 7 deletions
-1
View File
@@ -114,7 +114,6 @@ namespace Language
"cannot contain the space or tab characters.")
#define PASSWORD_TOO_SHORT _("Your password is too short. It must be longer than %u characters.")
#define PASSWORD_TOO_LONG _("Your password is too long. It must be shorter than %u characters.")
#define NICK_NOT_REGISTERED _("Your nick isn't registered.")
#define NICK_X_NOT_REGISTERED _("Nick \002%s\002 isn't registered.")
#define NICK_X_NOT_IN_USE _("Nick \002%s\002 isn't currently in use.")
#define NICK_X_NOT_ON_CHAN _("\002%s\002 is not currently on channel %s.")
+2 -5
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Anope\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-08 16:23+0100\n"
"PO-Revision-Date: 2025-07-08 16:23+0100\n"
"POT-Creation-Date: 2025-07-12 16:32+0100\n"
"PO-Revision-Date: 2025-07-12 16:32+0100\n"
"Last-Translator: Sadie Powell <sadie@witchery.services>\n"
"Language-Team: English\n"
"Language: en_US\n"
@@ -6232,9 +6232,6 @@ msgstr ""
msgid "Your nick is already registered."
msgstr ""
msgid "Your nick isn't registered."
msgstr ""
#, c-format
msgid "Your nickname is now being changed to %s"
msgstr ""
+1 -1
View File
@@ -367,7 +367,7 @@ public:
const NickAlias *na = NickAlias::Find(source.GetNick());
if (na == NULL)
source.Reply(NICK_NOT_REGISTERED);
source.Reply(NICK_X_NOT_REGISTERED, source.GetNick().c_str());
else if (na->nc != source.GetAccount() || !source.nc->HasExt("UNCONFIRMED"))
source.Reply(_("Your account is already confirmed."));
else