1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 06:56:38 +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
+2 -2
View File
@@ -46,7 +46,7 @@ class CommandCSSetDescription : public Command
void OnSyntaxError(CommandSource &source, const Anope::string &)
{
// XXX
SyntaxError(source, "SET", LanguageString::CHAN_SET_SYNTAX);
SyntaxError(source, "SET", _(CHAN_SET_SYNTAX));
}
};
@@ -60,7 +60,7 @@ class CommandCSSASetDescription : public CommandCSSetDescription
void OnSyntaxError(CommandSource &source, const Anope::string &)
{
// XXX
SyntaxError(source, "SASET", LanguageString::CHAN_SASET_SYNTAX);
SyntaxError(source, "SASET", _(CHAN_SASET_SYNTAX));
}
};