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/nickserv/ns_cert.cpp | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'modules/nickserv') diff --git a/modules/nickserv/ns_cert.cpp b/modules/nickserv/ns_cert.cpp index 869f236fa..e3806dcbb 100644 --- a/modules/nickserv/ns_cert.cpp +++ b/modules/nickserv/ns_cert.cpp @@ -355,25 +355,28 @@ public: this->SendSyntax(source); source.Reply(" "); source.Reply(_( - "Modifies or displays the certificate list for your nick. " - "If you connect to IRC and provide a client certificate with a " - "matching fingerprint in the cert list, you will be " - "automatically identified to services. Services Operators " - "may provide a nick to modify other users' certificate lists." - "\n\n" - "Examples:" - "\n\n" - " \002CERT\032ADD\002\n" - " Adds your current fingerprint to the certificate list and\n" - " automatically identifies you when you connect to IRC\n" - " using this fingerprint." - "\n\n" - " \002CERT\032DEL\032\002\n" - " Removes the fingerprint from your certificate list." - "\n\n" - " \002CERT\032LIST\002\n" - " Displays the current certificate list." - )); + "Modifies or displays the certificate list for your nick. " + "If you connect to IRC and provide a client certificate with a " + "matching fingerprint in the cert list, you will be " + "automatically identified to services. Services Operators " + "may provide a nick to modify other users' certificate lists." + "\n\n" + "Examples:" + "\n\n" + " \002%s\032ADD\002\n" + " Adds your current fingerprint to the certificate list and\n" + " automatically identifies you when you connect to IRC\n" + " using this fingerprint." + "\n\n" + " \002%s\032DEL\032\002\n" + " Removes the fingerprint from your certificate list." + "\n\n" + " \002%s\032LIST\002\n" + " Displays the current certificate list." + ), + source.command.nobreak().c_str(), + source.command.nobreak().c_str(), + source.command.nobreak().c_str()); return true; } }; -- cgit