1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 01:26:39 +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
@@ -29,7 +29,7 @@ class CommandNSAccess : public Command
if (nc->HasFlag(NI_SUSPENDED))
{
source.Reply(LanguageString::NICK_X_SUSPENDED, nc->display.c_str());
source.Reply(_(NICK_X_SUSPENDED), nc->display.c_str());
return MOD_CONT;
}
@@ -132,11 +132,11 @@ class CommandNSAccess : public Command
if (!mask.empty() && mask.find('@') == Anope::string::npos)
{
source.Reply(LanguageString::BAD_USERHOST_MASK);
source.Reply(LanguageString::MORE_INFO, Config->s_NickServ.c_str(), "ACCESS");
source.Reply(_(BAD_USERHOST_MASK));
source.Reply(_(MORE_INFO), Config->s_NickServ.c_str(), "ACCESS");
}
else if (u->Account()->HasFlag(NI_SUSPENDED))
source.Reply(LanguageString::NICK_X_SUSPENDED, u->Account()->display.c_str());
source.Reply(_(NICK_X_SUSPENDED), u->Account()->display.c_str());
else if (cmd.equals_ci("ADD"))
return this->DoAdd(source, u->Account(), mask);
else if (cmd.equals_ci("DEL"))