1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 18:03:13 +02:00

Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt

This commit is contained in:
Adam
2011-02-26 17:54:03 -05:00
parent 28d17a40ce
commit f234a2bfab
107 changed files with 619 additions and 630 deletions
+4 -4
View File
@@ -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)