mirror of
https://github.com/anope/anope.git
synced 2026-07-10 00:03:13 +02:00
Fix showing the MORE_INFO message.
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ namespace Language
|
||||
/* Commonly used language strings */
|
||||
#define CONFIRM_DROP _("Please confirm that you want to drop \002%s\002 with \002%s\032%s\032%s\002")
|
||||
#define SERVICE_UNAVAILABLE _("Sorry, %s is temporarily unavailable.")
|
||||
#define MORE_INFO _("\002%s\002 for more information.")
|
||||
#define MORE_INFO _("Type \002%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.")
|
||||
#define USERHOST_MASK_TOO_WIDE _("%s coverage is too wide; Please use a more specific mask.")
|
||||
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Anope\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-06-10 17:31+0100\n"
|
||||
"POT-Creation-Date: 2025-06-15 11:49+0100\n"
|
||||
"PO-Revision-Date: 2025-06-10 17:31+0100\n"
|
||||
"Last-Translator: Sadie Powell <sadie@witchery.services>\n"
|
||||
"Language-Team: English\n"
|
||||
@@ -148,10 +148,6 @@ msgstr ""
|
||||
msgid "%s does not wish to be added to channel access lists."
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s for more information."
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s has been invited to %s."
|
||||
msgstr ""
|
||||
@@ -5575,6 +5571,10 @@ msgstr ""
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Type %s for more information."
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "Type %scommand for help on any of the above commands."
|
||||
msgstr ""
|
||||
|
||||
+1
-1
@@ -215,7 +215,7 @@ void Command::OnSyntaxError(CommandSource &source, const Anope::string &subcomma
|
||||
// The help command may not be called HELP.
|
||||
return cmd.second.name == "generic/help";
|
||||
});
|
||||
if (it == source.service->commands.end())
|
||||
if (it != source.service->commands.end())
|
||||
source.Reply(MORE_INFO, source.service->GetQueryCommand("generic/help", source.command).c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user