1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 17:53:12 +02:00

Moved the language strings which are only used once

out of the core and into the modules that use them.
This commit is contained in:
Adam
2011-02-04 15:30:31 -05:00
parent c362a1e077
commit 08583dc107
226 changed files with 42289 additions and 45412 deletions
+20 -4
View File
@@ -30,15 +30,31 @@ class CommandNSHelp : public Command
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
{
User *u = source.u;
source.Reply(NICK_HELP);
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"
"For more information on a specific command, type\n"
"\002%R%S HELP \037command\037\002."));
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);
if (u->Account() && u->Account()->IsServicesOper())
source.Reply(NICK_SERVADMIN_HELP);
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)."));
if (Config->NSExpire >= 86400)
source.Reply(NICK_HELP_EXPIRES, Config->NSExpire / 86400);
source.Reply(NICK_HELP_FOOTER);
source.Reply(_("Nicknames that are not used anymore are subject to \n"
"the automatic expiration, i.e. they will be deleted\n"
"after %d days if not used."), Config->NSExpire / 86400);
source.Reply(_(" \n"
"\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"
"will result in, at minimum, loss of the abused\n"
"nickname(s)."));
}
};