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

Show the full command in CONFIRM_DROP.

This commit is contained in:
Sadie Powell
2024-03-12 19:24:31 +00:00
parent 6fd7ca39e2
commit 22ba54b00d
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ namespace Language
} // namespace Language
/* Commonly used language strings */
#define CONFIRM_DROP _("Please confirm that you want to drop \002%s\002 with \002DROP %s %s\002")
#define CONFIRM_DROP _("Please confirm that you want to drop \002%s\002 with \002%s%s DROP %s %s\002")
#define MORE_INFO _("\002%s%s HELP %s\002 for more information.")
#define BAD_USERHOST_MASK _("Mask must be in the form \037user\037@\037host\037.")
#define BAD_EXPIRY_TIME _("Invalid expiry time.")
+4 -4
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Anope\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-11 19:36+0000\n"
"PO-Revision-Date: 2024-03-11 19:36+0000\n"
"POT-Creation-Date: 2024-03-12 19:17+0000\n"
"PO-Revision-Date: 2024-03-12 19:17+0000\n"
"Last-Translator: Sadie Powell <sadie@witchery.services>\n"
"Language-Team: English\n"
"Language: en_US\n"
@@ -5317,8 +5317,8 @@ msgid "Persistent"
msgstr "Persistent"
#, c-format
msgid "Please confirm that you want to drop %s with DROP %s %s"
msgstr "Please confirm that you want to drop %s with DROP %s %s"
msgid "Please confirm that you want to drop %s with %s%s DROP %s %s"
msgstr "Please confirm that you want to drop %s with %s%s DROP %s %s"
msgid "Please contact an Operator to get a vHost assigned to this nick."
msgstr "Please contact an Operator to get a vHost assigned to this nick."
+2 -1
View File
@@ -58,7 +58,8 @@ public:
*code = Anope::Random(15);
}
source.Reply(CONFIRM_DROP, ci->name.c_str(), ci->name.c_str(), code->c_str());
source.Reply(CONFIRM_DROP, ci->name.c_str(), Config->StrictPrivmsg.c_str(),
source.service->nick.c_str(), ci->name.c_str(), code->c_str());
return;
}
+2 -1
View File
@@ -66,7 +66,8 @@ public:
*code = Anope::Random(15);
}
source.Reply(CONFIRM_DROP, na->nick.c_str(), na->nick.c_str(), code->c_str());
source.Reply(CONFIRM_DROP, na->nick.c_str(), Config->StrictPrivmsg.c_str(),
source.service->nick.c_str(), na->nick.c_str(), code->c_str());
return;
}