mirror of
https://github.com/anope/anope.git
synced 2026-07-09 11:53:14 +02:00
Replaced all of the old %S's in the language strings that were used for service nicks
This commit is contained in:
@@ -30,20 +30,20 @@ class CommandMSHelp : public Command
|
||||
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
|
||||
{
|
||||
User *u = source.u;
|
||||
source.Reply(_("\002%S\002 is a utility allowing IRC users to send short\n"
|
||||
source.Reply(_("\002%s\002 is a utility allowing IRC users to send short\n"
|
||||
"messages to other IRC users, whether they are online at\n"
|
||||
"the time or not, or to channels(*). Both the sender's\n"
|
||||
"nickname and the target nickname or channel must be\n"
|
||||
"registered in order to send a memo.\n"
|
||||
"%S's commands include:"));
|
||||
"%s's commands include:"), MemoServ->nick.c_str(), MemoServ->nick.c_str());
|
||||
for (CommandMap::const_iterator it = MemoServ->Commands.begin(), it_end = MemoServ->Commands.end(); it != it_end; ++it)
|
||||
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || (u->Account() && u->Account()->HasCommand(it->second->permission)))
|
||||
it->second->OnServHelp(source);
|
||||
source.Reply(_("Type \002%R%S HELP \037command\037\002 for help on any of the\n"
|
||||
source.Reply(_("Type \002%R%s HELP \037command\037\002 for help on any of the\n"
|
||||
"above commands.\n"
|
||||
"(*) By default, any user with at least level 10 access on a\n"
|
||||
" channel can read that channel's memos. This can be\n"
|
||||
" changed with the %s \002LEVELS\002 command."), Config->s_ChanServ.c_str());
|
||||
" changed with the %s \002LEVELS\002 command."), MemoServ->nick.c_str(), Config->s_ChanServ.c_str());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user