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

Tweak some help messages for consistency.

This commit is contained in:
Sadie Powell
2025-05-29 16:46:55 +01:00
parent 682a6a6ad4
commit bade5ea109
2 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Anope\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-24 16:43+0100\n"
"PO-Revision-Date: 2025-05-24 16:44+0100\n"
"POT-Creation-Date: 2025-05-29 16:46+0100\n"
"PO-Revision-Date: 2025-05-29 16:46+0100\n"
"Last-Translator: Sadie Powell <sadie@witchery.services>\n"
"Language-Team: English\n"
"Language: en_US\n"
@@ -5630,16 +5630,16 @@ msgstr ""
msgid "Unknown command %s."
msgstr ""
#, c-format
msgid "Unknown command %s. \"%s\" for help."
msgstr ""
#, c-format
msgid "Unknown command %s. Did you mean %s?"
msgstr ""
#, c-format
msgid "Unknown command %s. Did you mean %s? \"%s\" for help."
msgid "Unknown command %s. Did you mean %s? Type \"%s\" for help."
msgstr ""
#, c-format
msgid "Unknown command %s. Type \"%s\" for help."
msgstr ""
#, c-format
+2 -2
View File
@@ -243,12 +243,12 @@ namespace
bool has_help = source.service->commands.find("HELP") != source.service->commands.end();
if (has_help && similar.empty())
{
source.Reply(_("Unknown command \002%s\002. \"%s\" for help."), message.c_str(),
source.Reply(_("Unknown command \002%s\002. Type \"%s\" for help."), message.c_str(),
source.service->GetQueryCommand("generic/help").c_str());
}
else if (has_help)
{
source.Reply(_("Unknown command \002%s\002. Did you mean \002%s\002? \"%s\" for help."),
source.Reply(_("Unknown command \002%s\002. Did you mean \002%s\002? Type \"%s\" for help."),
message.c_str(), similar.c_str(), source.service->GetQueryCommand("generic/help").c_str());
}
else if (similar.empty())