summaryrefslogtreecommitdiff
path: root/modules/nickserv/ns_cert.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-22 18:14:46 +0100
committerSadie Powell <sadie@witchery.services>2025-04-22 18:56:26 +0100
commitf3743cd37dd1efb2d31f2d8aa3d489df68909c84 (patch)
tree64066a4b7f4aea205a3f8bf4811e0235646f4870 /modules/nickserv/ns_cert.cpp
parent0c155e0c056235720e258edc4be8c48244e73033 (diff)
Remove hardcoded command names from most messages.
Diffstat (limited to 'modules/nickserv/ns_cert.cpp')
-rw-r--r--modules/nickserv/ns_cert.cpp41
1 files changed, 22 insertions, 19 deletions
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<fingerprint>\002\n"
- " Removes the fingerprint <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<fingerprint>\002\n"
+ " Removes the fingerprint <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;
}
};