1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 19:43: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
+2 -2
View File
@@ -30,7 +30,7 @@ class CommandHSDel : public Command
{
if (na->HasFlag(NS_FORBIDDEN))
{
source.Reply(LanguageString::NICK_X_FORBIDDEN, nick.c_str());
source.Reply(_(NICK_X_FORBIDDEN), nick.c_str());
return MOD_CONT;
}
Log(LOG_ADMIN, u, this) << "for user " << na->nick;
@@ -39,7 +39,7 @@ class CommandHSDel : public Command
source.Reply(_("vhost for \002%s\002 removed."), nick.c_str());
}
else
source.Reply(LanguageString::NICK_X_NOT_REGISTERED, nick.c_str());
source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str());
return MOD_CONT;
}