1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 13:16:38 +02:00

Remove hardcoded command names from most messages.

This commit is contained in:
Sadie Powell
2025-04-22 18:14:46 +01:00
parent 0c155e0c05
commit f3743cd37d
10 changed files with 315 additions and 252 deletions
+25 -21
View File
@@ -246,27 +246,31 @@ public:
this->SendSyntax(source);
source.Reply(" ");
source.Reply(_(
"Controls what messages will be sent to users when they join the channel."
"\n\n"
"The \002ENTRYMSG\032ADD\002 command adds the given message to "
"the list of messages shown to users when they join "
"the channel."
"\n\n"
"The \002ENTRYMSG\032DEL\002 command removes the specified message from "
"the list of messages shown to users when they join "
"the channel. You can remove a message by specifying its number "
"which you can get by listing the messages as explained below."
"\n\n"
"The \002ENTRYMSG\032LIST\002 command displays a listing of messages "
"shown to users when they join the channel."
"\n\n"
"The \002ENTRYMSG\032CLEAR\002 command clears all entries from "
"the list of messages shown to users when they join "
"the channel, effectively disabling entry messages."
"\n\n"
"Adding, deleting, or clearing entry messages requires the "
"SET permission."
));
"Controls what messages will be sent to users when they join the channel."
"\n\n"
"The \002%s\032ADD\002 command adds the given message to "
"the list of messages shown to users when they join "
"the channel."
"\n\n"
"The \002%s\032DEL\002 command removes the specified message from "
"the list of messages shown to users when they join "
"the channel. You can remove a message by specifying its number "
"which you can get by listing the messages as explained below."
"\n\n"
"The \002%s\032LIST\002 command displays a listing of messages "
"shown to users when they join the channel."
"\n\n"
"The \002%s\032CLEAR\002 command clears all entries from "
"the list of messages shown to users when they join "
"the channel, effectively disabling entry messages."
"\n\n"
"Adding, deleting, or clearing entry messages requires the "
"SET permission."
),
source.command.nobreak().c_str(),
source.command.nobreak().c_str(),
source.command.nobreak().c_str(),
source.command.nobreak().c_str());
return true;
}
};