From bada582034212f02a466e99ec11bcf130b3162cd Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 22 Apr 2014 11:19:00 +0000 Subject: translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@9044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tlen/src/tlen_thread.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'protocols/Tlen') 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 ); -- cgit v1.2.3