diff options
author | Adam <Adam@anope.org> | 2011-02-04 15:30:31 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-04 15:30:31 -0500 |
commit | 08583dc107974252312fb7c87532c9deb68e7f63 (patch) | |
tree | 0c42ec7422752cabd8352b49be976b4dc100c56c /modules/core/ms_send.cpp | |
parent | c362a1e077d5ede9eadbe79483f2a755b5883e9a (diff) |
Moved the language strings which are only used once
out of the core and into the modules that use them.
Diffstat (limited to 'modules/core/ms_send.cpp')
-rw-r--r-- | modules/core/ms_send.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/core/ms_send.cpp b/modules/core/ms_send.cpp index 467f62048..f368138e6 100644 --- a/modules/core/ms_send.cpp +++ b/modules/core/ms_send.cpp @@ -30,18 +30,23 @@ class CommandMSSend : public Command bool OnHelp(CommandSource &source, const Anope::string &subcommand) { - source.Reply(MEMO_HELP_SEND); + source.Reply(_("Syntax: \002SEND {\037nick\037 | \037channel\037} \037memo-text\037\002\n" + " \n" + "Sends the named \037nick\037 or \037channel\037 a memo containing\n" + "\037memo-text\037. When sending to a nickname, the recipient will\n" + "receive a notice that he/she has a new memo. The target\n" + "nickname/channel must be registered.")); return true; } void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - SyntaxError(source, "SEND", MEMO_SEND_SYNTAX); + SyntaxError(source, "SEND", LanguageString::MEMO_SEND_SYNTAX); } void OnServHelp(CommandSource &source) { - source.Reply(MEMO_HELP_CMD_SEND); + source.Reply(_(" SEND Send a memo to a nick or channel")); } }; |