diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-21 10:05:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-21 10:05:41 +0000 |
commit | 8c3cbcda74c623659460414591e14430155e2dcd (patch) | |
tree | 1bc871091ad72ef2ff35d020e6d53bb9419f88d4 /protocols/IRCG/src/tools.cpp | |
parent | dfec0ef867351971dcd82a8afcce3726f9afaa55 (diff) |
IRC - now all roles are translated (hopefully)
git-svn-id: http://svn.miranda-ng.org/main/trunk@17328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/tools.cpp')
-rw-r--r-- | protocols/IRCG/src/tools.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/IRCG/src/tools.cpp b/protocols/IRCG/src/tools.cpp index 4b5159450f..b6e5344e4d 100644 --- a/protocols/IRCG/src/tools.cpp +++ b/protocols/IRCG/src/tools.cpp @@ -426,21 +426,21 @@ CMStringW CIrcProto::ModeToStatus(int sMode) if (sUserModes.Find(sMode) != -1) {
switch (sMode) {
case 'q':
- return (CMStringW)L"Owner";
+ return TranslateT("Owner");
case 'o':
- return (CMStringW)L"Op";
+ return TranslateT("Op");
case 'v':
- return (CMStringW)L"Voice";
+ return TranslateT("Voice");
case 'h':
- return (CMStringW)L"Halfop";
+ return TranslateT("Halfop");
case 'a':
- return (CMStringW)L"Admin";
+ return TranslateT("Admin");
default:
- return (CMStringW)L"Unknown";
+ return TranslateT("Unknown");
}
}
- return (CMStringW)L"Normal";
+ return TranslateT("Normal");
}
CMStringW CIrcProto::PrefixToStatus(int cPrefix)
@@ -451,7 +451,7 @@ CMStringW CIrcProto::PrefixToStatus(int cPrefix) return ModeToStatus(sUserModes[index]);
}
- return (CMStringW)L"Normal";
+ return TranslateT("Normal");
}
/////////////////////////////////////////////////////////////////////////////////////////
|