From f3743cd37dd1efb2d31f2d8aa3d489df68909c84 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 22 Apr 2025 18:14:46 +0100 Subject: Remove hardcoded command names from most messages. --- modules/global/gl_queue.cpp | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'modules/global') diff --git a/modules/global/gl_queue.cpp b/modules/global/gl_queue.cpp index a66fb6b4b..6ad164b30 100644 --- a/modules/global/gl_queue.cpp +++ b/modules/global/gl_queue.cpp @@ -167,17 +167,22 @@ public: this->SendSyntax(source); source.Reply(""); source.Reply(_( - "Allows queueing messages to send to users on the network." - "\n\n" - "The \002QUEUE\032ADD\002 command adds the given message to the message queue." - "\n\n" - "The \002QUEUE\032CLEAR\002 command clears the message queue." - "\n\n" - "The \002QUEUE\032DEL\002 command removes the specified message from the message queue. The " - "message number can be obtained from the output of the \002QUEUE\032LIST\002 command." - "\n\n" - "The \002QUEUE\032LIST\002 command lists all messages that are currently in the message queue." - )); + "Allows queueing messages to send to users on the network." + "\n\n" + "The \002%s\032ADD\002 command adds the given message to the message queue." + "\n\n" + "The \002%s\032CLEAR\002 command clears the message queue." + "\n\n" + "The \002%s\032DEL\002 command removes the specified message from the message queue. The " + "message number can be obtained from the output of the \002%s\032LIST\002 command." + "\n\n" + "The \002%s\032LIST\002 command lists all messages that are currently in the message queue." + ), + source.command.nobreak().c_str(), + source.command.nobreak().c_str(), + source.command.nobreak().c_str(), + source.command.nobreak().c_str(), + source.command.nobreak().c_str()); return true; } }; -- cgit