summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/tlen_thread.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-04-22 11:19:00 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-04-22 11:19:00 +0000
commitbada582034212f02a466e99ec11bcf130b3162cd (patch)
treece1967bf1feb883d31773f64fb37a40e149e698e /protocols/Tlen/src/tlen_thread.cpp
parent60a085c8954f20b825ae1a171a0c7d8fa39ccfb2 (diff)
translation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/tlen_thread.cpp')
-rw-r--r--protocols/Tlen/src/tlen_thread.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Tlen/src/tlen_thread.cpp b/protocols/Tlen/src/tlen_thread.cpp
index d1ad131949..2a3d372186 100644
--- a/protocols/Tlen/src/tlen_thread.cpp
+++ b/protocols/Tlen/src/tlen_thread.cpp
@@ -541,24 +541,24 @@ static void TlenProcessIqGetVersion(TlenProtocol *proto, XmlNode* node)
switch ( osvi.dwPlatformId ) {
case VER_PLATFORM_WIN32_NT:
if ( osvi.dwMajorVersion == 5 ) {
- if ( osvi.dwMinorVersion == 2 ) os = TlenTextEncode( Translate( "Windows Server 2003" ));
- else if ( osvi.dwMinorVersion == 1 ) os = TlenTextEncode( Translate( "Windows XP" ));
- else if ( osvi.dwMinorVersion == 0 ) os = TlenTextEncode( Translate( "Windows 2000" ));
+ if ( osvi.dwMinorVersion == 2 ) os = TlenTextEncode("Windows Server 2003");
+ else if ( osvi.dwMinorVersion == 1 ) os = TlenTextEncode("Windows XP");
+ else if ( osvi.dwMinorVersion == 0 ) os = TlenTextEncode("Windows 2000");
}
else if ( osvi.dwMajorVersion <= 4 ) {
- os = TlenTextEncode( Translate( "Windows NT" ));
+ os = TlenTextEncode("Windows NT");
}
break;
case VER_PLATFORM_WIN32_WINDOWS:
if ( osvi.dwMajorVersion == 4 ) {
- if ( osvi.dwMinorVersion == 0 ) os = TlenTextEncode( Translate( "Windows 95" ));
- if ( osvi.dwMinorVersion == 10 ) os = TlenTextEncode( Translate( "Windows 98" ));
- if ( osvi.dwMinorVersion == 90 ) os = TlenTextEncode( Translate( "Windows ME" ));
+ if ( osvi.dwMinorVersion == 0 ) os = TlenTextEncode("Windows 95");
+ if ( osvi.dwMinorVersion == 10 ) os = TlenTextEncode("Windows 98");
+ if ( osvi.dwMinorVersion == 90 ) os = TlenTextEncode("Windows ME");
}
break;
} }
- if ( os == NULL ) os = TlenTextEncode( Translate( "Windows" ));
+ if ( os == NULL ) os = TlenTextEncode("Windows");
strcpy(mversion, "Miranda NG ");
CallService(MS_SYSTEM_GETVERSIONTEXT, sizeof( mversion ) - 11, ( LPARAM )mversion + 11 );