1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 02:33:13 +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
+6 -5
View File
@@ -27,7 +27,7 @@ class CommandMSSendAll : public Command
if (readonly)
{
source.Reply(MEMO_SEND_DISABLED);
source.Reply(LanguageString::MEMO_SEND_DISABLED);
return MOD_CONT;
}
@@ -41,24 +41,25 @@ class CommandMSSendAll : public Command
memo_send(source, nc->display, text, 1);
}
source.Reply(MEMO_MASS_SENT);
source.Reply(_("A massmemo has been sent to all registered users."));
return MOD_CONT;
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
source.Reply(MEMO_HELP_SENDALL);
source.Reply(_("Syntax: \002SENDALL\002 \002memo-text\002\n \n"
"Sends all registered users a memo containing \037memo-text\037."));
return true;
}
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
{
SyntaxError(source, "SENDALL", MEMO_SENDALL_SYNTAX);
SyntaxError(source, "SENDALL", _("SENDALL \037memo-text\037"));
}
void OnServHelp(CommandSource &source)
{
source.Reply(MEMO_HELP_CMD_SENDALL);
source.Reply(_(" SENDALL Send a memo to all registered users"));
}
};