summaryrefslogtreecommitdiff
path: root/modules/core/ns_help.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-04 18:32:04 -0500
committerAdam <Adam@anope.org>2011-02-04 18:32:04 -0500
commita53a797271fe1c68296a5c4848f827670518a309 (patch)
tree5cfe69af11752937cfc8b6e2445eb11d23cb1557 /modules/core/ns_help.cpp
parent08583dc107974252312fb7c87532c9deb68e7f63 (diff)
Replaced all of the old %S's in the language strings that were used for service nicks
Diffstat (limited to 'modules/core/ns_help.cpp')
-rw-r--r--modules/core/ns_help.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/core/ns_help.cpp b/modules/core/ns_help.cpp
index 654d2233a..bb16f5594 100644
--- a/modules/core/ns_help.cpp
+++ b/modules/core/ns_help.cpp
@@ -30,12 +30,13 @@ class CommandNSHelp : public Command
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
{
User *u = source.u;
- source.Reply(_("\002%S\002 allows you to \"register\" a nickname and\n"
+ source.Reply(_("\002%s\002 allows you to \"register\" a nickname and\n"
"prevent others from using it. The following\n"
"commands allow for registration and maintenance of\n"
- "nicknames; to use them, type \002%R%S \037command\037\002.\n"
+ "nicknames; to use them, type \002%R%s \037command\037\002.\n"
"For more information on a specific command, type\n"
- "\002%R%S HELP \037command\037\002."));
+ "\002%R%s HELP \037command\037\002."), NickServ->nick.c_str(), NickServ->nick.c_str(),
+ NickServ->nick.c_str());
for (CommandMap::const_iterator it = NickServ->Commands.begin(), it_end = NickServ->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);
@@ -43,7 +44,8 @@ class CommandNSHelp : public Command
source.Reply(_(" \n"
"Services Operators can also drop any nickname without needing\n"
"to identify for the nick, and may view the access list for\n"
- "any nickname (\002%R%S ACCESS LIST \037nick\037\002)."));
+ "any nickname (\002%R%s ACCESS LIST \037nick\037\002)."),
+ NickServ->nick.c_str());
if (Config->NSExpire >= 86400)
source.Reply(_("Nicknames that are not used anymore are subject to \n"
"the automatic expiration, i.e. they will be deleted\n"
@@ -52,9 +54,9 @@ class CommandNSHelp : public Command
"\002NOTICE:\002 This service is intended to provide a way for\n"
"IRC users to ensure their identity is not compromised.\n"
"It is \002NOT\002 intended to facilitate \"stealing\" of\n"
- "nicknames or other malicious actions. Abuse of %S\n"
+ "nicknames or other malicious actions. Abuse of %s\n"
"will result in, at minimum, loss of the abused\n"
- "nickname(s)."));
+ "nickname(s)."), NickServ->nick.c_str());
}
};