diff options
author | Adam <Adam@anope.org> | 2011-02-26 17:54:03 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-26 17:54:03 -0500 |
commit | f234a2bfab8a4d900cfc0df91afed530d80738d4 (patch) | |
tree | 0224eb342a7d60cee86995bd87910f858d7a2e53 /modules/core/cs_saset.cpp | |
parent | 28d17a40cef64783addf177fa30fb267db2cbde7 (diff) |
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
Diffstat (limited to 'modules/core/cs_saset.cpp')
-rw-r--r-- | modules/core/cs_saset.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/cs_saset.cpp b/modules/core/cs_saset.cpp index 876a487a3..c419d7141 100644 --- a/modules/core/cs_saset.cpp +++ b/modules/core/cs_saset.cpp @@ -35,14 +35,14 @@ class CommandCSSASet : public Command if (readonly) { - source.Reply(LanguageString::CHAN_SET_DISABLED); + source.Reply(_(CHAN_SET_DISABLED)); return MOD_CONT; } // XXX Remove after 1.9.4 release if (params[1].equals_ci("MLOCK")) { - source.Reply(LanguageString::CHAN_SET_MLOCK_DEPRECATED); + source.Reply(_(CHAN_SET_MLOCK_DEPRECATED)); return MOD_CONT; } @@ -60,7 +60,7 @@ class CommandCSSASet : public Command else { source.Reply(_("Unknown SASET option \002%s\002."), params[1].c_str()); - source.Reply(LanguageString::MORE_INFO, Config->s_ChanServ.c_str(), "SET"); + source.Reply(_(MORE_INFO), Config->s_ChanServ.c_str(), "SET"); } return MOD_CONT; @@ -95,7 +95,7 @@ class CommandCSSASet : public Command void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { - SyntaxError(source, "SASET", LanguageString::CHAN_SASET_SYNTAX); + SyntaxError(source, "SASET", _(CHAN_SASET_SYNTAX)); } bool AddSubcommand(Module *creator, Command *c) |