1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 16:53: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
@@ -52,7 +52,7 @@ class CommandNSList : public Command
if (Config->NSListOpersOnly && !u->HasMode(UMODE_OPER)) /* reverse the help logic */
{
source.Reply(LanguageString::ACCESS_DENIED);
source.Reply(_(ACCESS_DENIED));
return MOD_CONT;
}
@@ -68,7 +68,7 @@ class CommandNSList : public Command
}
catch (const ConvertException &)
{
source.Reply(LanguageString::LIST_INCORRECT_RANGE);
source.Reply(_(LIST_INCORRECT_RANGE));
return MOD_CONT;
}
@@ -96,7 +96,7 @@ class CommandNSList : public Command
mync = u->Account();
source.Reply(LanguageString::LIST_HEADER, pattern.c_str());
source.Reply(_(LIST_HEADER), pattern.c_str());
if (!unconfirmed)
{
for (nickalias_map::const_iterator it = NickAliasList.begin(), it_end = NickAliasList.end(); it != it_end; ++it)
@@ -219,7 +219,7 @@ class CommandNSList : public Command
if (u->Account()->IsServicesOper())
SyntaxError(source, "LIST", _("LIST \037pattern\037 [FORBIDDEN] [SUSPENDED] [NOEXPIRE] [UNCONFIRMED]"));
else
SyntaxError(source, "LIST", LanguageString::NICK_LIST_SYNTAX);
SyntaxError(source, "LIST", _(NICK_LIST_SYNTAX));
}
};