1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 09:16:37 +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
@@ -31,7 +31,7 @@ class CommandOSMode : public Command
{
Channel *c = findchan(target);
if (!c)
source.Reply(LanguageString::CHAN_X_NOT_IN_USE, target.c_str());
source.Reply(_(CHAN_X_NOT_IN_USE), target.c_str());
else if (c->bouncy_modes)
source.Reply(_("Services is unable to change modes. Are your servers' U:lines configured correctly?"));
else
@@ -45,7 +45,7 @@ class CommandOSMode : public Command
{
User *u2 = finduser(target);
if (!u2)
source.Reply(LanguageString::NICK_X_NOT_IN_USE, target.c_str());
source.Reply(_(NICK_X_NOT_IN_USE), target.c_str());
else
{
u2->SetModes(OperServ, "%s", modes.c_str());