1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 02:46: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
@@ -36,14 +36,14 @@ class CommandHSList : public Command
size_t tmp = key.find('-');
if (tmp == Anope::string::npos || tmp == key.length() || tmp == 1)
{
source.Reply(LanguageString::LIST_INCORRECT_RANGE);
source.Reply(_(LIST_INCORRECT_RANGE));
return MOD_CONT;
}
for (unsigned i = 1, end = key.length(); i < end; ++i)
{
if (!isdigit(key[i]) && i != tmp)
{
source.Reply(LanguageString::LIST_INCORRECT_RANGE);
source.Reply(_(LIST_INCORRECT_RANGE));
return MOD_CONT;
}
try