summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/tlen_thread.cpp
diff options
context:
space:
mode:
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 );