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:
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user