diff --git a/include/language.h b/include/language.h index 808ad4097..402db17a4 100644 --- a/include/language.h +++ b/include/language.h @@ -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.") diff --git a/language/anope.en_US.po b/language/anope.en_US.po index 874d70112..a1f099782 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -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 \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 "" diff --git a/src/command.cpp b/src/command.cpp index 6a1680d47..32a0ee045 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -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()); }