From 221617fe0207e4034ef0663f880cd9526753526f Mon Sep 17 00:00:00 2001 From: yuanyuanxiang <962914132@qq.com> Date: Sun, 6 Sep 2026 09:27:27 +0200 Subject: [PATCH] Fix: Translate remaining server UI strings missing _TR/_L Wrap the last untranslated Chinese UI strings so English mode stops showing raw Chinese. Format strings passed to sprintf/wsprintf and the status-bar SendMessageTimeout calls now go through _TRF, and the CString/PostMessage literals plus a few member-initializer and Compare values go through _TR/_L. Covers the wallet validation message, the SOCKS proxy connection log lines, the file-manager status bar, and the machine-info progress messages. Add the 24 corresponding entries to lang/en_US.ini and lang/zh_TW.ini (GBK), keeping the escaped-format-string key style. The Yes/No/Desktop/ Recent keys already existed, so the BuildDlg and CFileManagerDlg compare fixes reuse them. Co-Authored-By: deepseek-v4-pro --- server/2015Remote/BuildDlg.cpp | 2 +- server/2015Remote/CWalletDlg.cpp | 2 +- server/2015Remote/HideScreenSpyDlg.cpp | 2 +- server/2015Remote/file/CFileManagerDlg.cpp | 20 +++++++++--------- server/2015Remote/lang/en_US.ini | 24 ++++++++++++++++++++++ server/2015Remote/lang/zh_TW.ini | 24 ++++++++++++++++++++++ server/2015Remote/proxy/ProxyMapDlg.cpp | 20 +++++++++--------- server/2015Remote/sys/CCreateTaskDlg.cpp | 2 +- server/2015Remote/sys/CInjectCodeDlg.cpp | 2 +- server/2015Remote/sys/MachineDlg.cpp | 22 ++++++++++---------- 10 files changed, 84 insertions(+), 36 deletions(-) diff --git a/server/2015Remote/BuildDlg.cpp b/server/2015Remote/BuildDlg.cpp index 2b75de7..9908f65 100644 --- a/server/2015Remote/BuildDlg.cpp +++ b/server/2015Remote/BuildDlg.cpp @@ -217,7 +217,7 @@ CBuildDlg::CBuildDlg(CWnd* pParent) , m_strPort(_T("")) , m_strFindden(FLAG_FINDEN) , m_sGroupName(_T("default")) - , m_strEncryptIP(_T("是")) + , m_strEncryptIP(_L(_T("是"))) , m_sInstallDir(_T("")) , m_sInstallName(_T("")) , m_sDownloadUrl(_T("")) diff --git a/server/2015Remote/CWalletDlg.cpp b/server/2015Remote/CWalletDlg.cpp index e54787e..b9f6458 100644 --- a/server/2015Remote/CWalletDlg.cpp +++ b/server/2015Remote/CWalletDlg.cpp @@ -107,7 +107,7 @@ void CWalletDlg::OnOK() if (a[i].IsEmpty()) continue; if (WALLET_UNKNOWN == detectWalletType(a[i].GetString())) { char tip[100]; - sprintf(tip, "第 %d 个钱包地å�€ä¸�å�ˆæ³•!", i + 1); + sprintf(tip, _TRF("第 %d 个钱包地å�€ä¸�å�ˆæ³•!"), i + 1); MessageBoxL(CString(tip), "æ��示", MB_ICONINFORMATION); return; } diff --git a/server/2015Remote/HideScreenSpyDlg.cpp b/server/2015Remote/HideScreenSpyDlg.cpp index 13b85a9..f76ef86 100644 --- a/server/2015Remote/HideScreenSpyDlg.cpp +++ b/server/2015Remote/HideScreenSpyDlg.cpp @@ -268,7 +268,7 @@ BOOL CHideScreenSpyDlg::OnInitDialog() #ifdef _DEBUG // ShowWindow(SW_MINIMIZE); #endif - m_strTip = CString("请等待......"); + m_strTip = _TR("请等待......"); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE } diff --git a/server/2015Remote/file/CFileManagerDlg.cpp b/server/2015Remote/file/CFileManagerDlg.cpp index 3ce2e53..06b7a2e 100644 --- a/server/2015Remote/file/CFileManagerDlg.cpp +++ b/server/2015Remote/file/CFileManagerDlg.cpp @@ -644,22 +644,22 @@ void CFileManagerDlg::OnReceiveComplete() break; case TOKEN_FILE_SEARCHPLUS_NONTFS: { DWORD_PTR dwResult; - SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2,(LPARAM)_T(" 驱动盘é�žNTFSæ ¼å¼�"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2,(LPARAM)_TRF(" 驱动盘é�žNTFSæ ¼å¼�"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } break; case TOKEN_FILE_SEARCHPLUS_HANDLE: { DWORD_PTR dwResult; - SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, (LPARAM)_T("需è¦�管ç�†å‘˜æ�ƒé™�è¿�行"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, (LPARAM)_TRF("需è¦�管ç�†å‘˜æ�ƒé™�è¿�行"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } break; case TOKEN_FILE_SEARCHPLUS_INITUSN: { DWORD_PTR dwResult; - SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, (LPARAM)_T("åˆ�始化日志文件失败"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, (LPARAM)_TRF("åˆ�始化日志文件失败"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } break; case TOKEN_FILE_SEARCHPLUS_GETUSN: { DWORD_PTR dwResult; - SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, (LPARAM)_T("获å�–日志文件失败"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, (LPARAM)_TRF("获å�–日志文件失败"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } break; case TOKEN_FILE_SEARCHPLUS_NUMBER: { @@ -764,13 +764,13 @@ void CFileManagerDlg::OnDblclkListRemotedriver(NMHDR* pNMHDR, LRESULT* pResult) int nItem = m_list_remote_driver.GetSelectionMark(); CString directory = m_list_remote_driver.GetItemText(nItem, 0); - if (directory.Compare(_T("桌é�¢")) == 0) { + if (directory.Compare(_L(_T("桌é�¢"))) == 0) { m_Remote_Directory_ComboBox.SetWindowText(m_strDesktopPath); m_list_remote.SetSelectionMark(-1); GetRemoteFileList(); return; } - if (directory.Compare(_T("最近")) == 0) { + if (directory.Compare(_L(_T("最近"))) == 0) { BYTE byToken = COMMAND_FILE_RECENT; m_ContextObject->Send2Client(&byToken, 1); return; @@ -1482,10 +1482,10 @@ void CFileManagerDlg::EndLocalRecvFile() DWORD_PTR dwResult; if (m_bIsStop) { SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, - (LPARAM)_T(" å�–消下载"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + (LPARAM)_TRF(" å�–消下载"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } else { SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, - (LPARAM)_T(" 全部完æˆ�"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + (LPARAM)_TRF(" 全部完æˆ�"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } m_bIsStop = false; } else { @@ -1516,10 +1516,10 @@ void CFileManagerDlg::EndLocalUploadFile() DWORD_PTR dwResult; if (m_bIsStop) { SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, - (LPARAM)_T(" å�–消上传"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + (LPARAM)_TRF(" å�–消上传"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } else { SendMessageTimeout(m_wndStatusBar.GetSafeHwnd(), SB_SETTEXT, 2, - (LPARAM)_T(" 全部完æˆ�"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); + (LPARAM)_TRF(" 全部完æˆ�"), SMTO_ABORTIFHUNG | SMTO_BLOCK, 500, &dwResult); } m_bIsStop = false; DRIVE_CAZ = TRUE; diff --git a/server/2015Remote/lang/en_US.ini b/server/2015Remote/lang/en_US.ini index 12a898b..3000cde 100644 --- a/server/2015Remote/lang/en_US.ini +++ b/server/2015Remote/lang/en_US.ini @@ -2001,3 +2001,27 @@ MCP Token=Token ÆôÓÃÔ¶³Ì¿ØÖÆ£¨AI ²Ù¿Ø×ÀÃæ£©=Enable remote control (AI controls the desktop) ÆôÓÃÎļþ´«Ê䣨download_file£©=Enable file transfer (download_file) +µÚ %d ¸öÇ®°üµØÖ·²»ºÏ·¨!=Wallet address #%d is invalid! +%d ÐÂÁ¬½Ó\r\n=%d New connection\r\n +%d ±¾µØÁ¬½Ó¶Ï¿ª\r\n=%d Local connection closed\r\n +%d <==·¢ %d bytes\r\n=%d <== sent %d bytes\r\n +%d ·µ»Ø±êʾ %d %d %d\r\n=%d Return flag %d %d %d\r\n +ÓòÃû Á¬½Ó %d \r\n=Domain connect %d \r\n +%d IPV6Á¬½Ó ²»Ö§³Ö...=%d IPv6 connection not supported... +%d ²»·ûÒªÇó, ¶Ï¿ª %d %d %d\r\n=%d Not compliant, disconnect %d %d %d\r\n +%d Á¬½Ó³É¹¦\r\n=%d Connected\r\n +%d Á¬½Óʧ°Ü\r\n=%d Connection failed\r\n +%d ==>ÊÕ %d bytes\r\n=%d ==> received %d bytes\r\n + Çý¶¯ÅÌ·ÇNTFS¸ñʽ= Drive is not NTFS +ÐèÒª¹ÜÀíԱȨÏÞÔËÐÐ=Administrator privileges required +³õʼ»¯ÈÕÖ¾Îļþʧ°Ü=Failed to initialize log file +»ñÈ¡ÈÕÖ¾Îļþʧ°Ü=Failed to get log file + È¡ÏûÏÂÔØ= Download cancelled + È«²¿Íê³É= All done + È¡ÏûÉÏ´«= Upload cancelled +ÎÞȨÏÞ»òÎ޼Ǽ...=No permission or no records... +ÇëµÈ´ýÊý¾Ý·µ»Ø...=Waiting for data... +½ÓÊÕÊý¾ÝÍê³É=Data received +´ò¿ªÎļþʧ°Ü...=Failed to open file... +´ËÈÎÎñÓÃÓÚÔÚÐèҪʱÆô¶¯ Windows ¸üзþÎñÒÔÖ´Ðмƻ®µÄ²Ù×÷(ÈçɨÃè)=This task starts the Windows Update service when needed to run scheduled operations (e.g. scanning) +±¾µØÎļþ·¾¶=Local file path diff --git a/server/2015Remote/lang/zh_TW.ini b/server/2015Remote/lang/zh_TW.ini index f2247c0..30ef272 100644 --- a/server/2015Remote/lang/zh_TW.ini +++ b/server/2015Remote/lang/zh_TW.ini @@ -1992,3 +1992,27 @@ MCP Token=Token ÆôÓÃÔ¶³Ì¿ØÖÆ£¨AI ²Ù¿Ø×ÀÃæ£©=†¢ÓÃßh¶Ë¿ØÖÆ£¨AI ²Ù¿Ø×ÀÃæ£© ÆôÓÃÎļþ´«Ê䣨download_file£©=†¢ÓÙn°¸‚÷Ý”£¨download_file£© +µÚ %d ¸öÇ®°üµØÖ·²»ºÏ·¨!=µÚ %d ‚€åX°üλַ²»ºÏ·¨! +%d ÐÂÁ¬½Ó\r\n=%d ÐÂßB¾€\r\n +%d ±¾µØÁ¬½Ó¶Ï¿ª\r\n=%d ±¾™CßB¾€”àé_\r\n +%d <==·¢ %d bytes\r\n=%d <==‚÷ËÍ %d bytes\r\n +%d ·µ»Ø±êʾ %d %d %d\r\n=%d ·µ»Ø˜Ëʾ %d %d %d\r\n +ÓòÃû Á¬½Ó %d \r\n=¾WÓòßB¾€ %d \r\n +%d IPV6Á¬½Ó ²»Ö§³Ö...=%d IPv6ßB¾€ ²»Ö§Ô®... +%d ²»·ûÒªÇó, ¶Ï¿ª %d %d %d\r\n=%d ²»·ûºÏÒªÇó, ”àé_ %d %d %d\r\n +%d Á¬½Ó³É¹¦\r\n=%d ßB¾€³É¹¦\r\n +%d Á¬½Óʧ°Ü\r\n=%d ßB¾€Ê§”¡\r\n +%d ==>ÊÕ %d bytes\r\n=%d ==>½ÓÊÕ %d bytes\r\n + Çý¶¯ÅÌ·ÇNTFS¸ñʽ= ´Åµú·ÇNTFS¸ñʽ +ÐèÒª¹ÜÀíԱȨÏÞÔËÐÐ=ÐèÒª¹ÜÀí†T™àÏÞˆÌÐÐ +³õʼ»¯ÈÕÖ¾Îļþʧ°Ü=³õʼ»¯ÈÕÕI™n°¸Ê§”¡ +»ñÈ¡ÈÕÖ¾Îļþʧ°Ü=È¡µÃÈÕÕI™n°¸Ê§”¡ + È¡ÏûÏÂÔØ= È¡ÏûÏÂÝd + È«²¿Íê³É= È«²¿Íê³É + È¡ÏûÉÏ´«= È¡ÏûÉÏ‚÷ +ÎÞȨÏÞ»òÎ޼Ǽ...=Ÿo™àÏÞ»òŸoÓ›ä›... +ÇëµÈ´ýÊý¾Ý·µ»Ø...=ÕˆµÈ´ýÙYÁÏ·µ»Ø... +½ÓÊÕÊý¾ÝÍê³É=½ÓÊÕÙYÁÏÍê³É +´ò¿ªÎļþʧ°Ü...=é_†¢™n°¸Ê§”¡... +´ËÈÎÎñÓÃÓÚÔÚÐèҪʱÆô¶¯ Windows ¸üзþÎñÒÔÖ´Ðмƻ®µÄ²Ù×÷(ÈçɨÃè)=´Ë¹¤×÷ÓÃì¶ÔÚÐèÒª•r†¢„Ó Windows ¸üзþ„ÕÒÔˆÌÐÐÅų̵IJÙ×÷(Èç’ßÃè) +±¾µØÎļþ·¾¶=±¾™C™n°¸Â·�½ diff --git a/server/2015Remote/proxy/ProxyMapDlg.cpp b/server/2015Remote/proxy/ProxyMapDlg.cpp index 2f65c95..b5ac636 100644 --- a/server/2015Remote/proxy/ProxyMapDlg.cpp +++ b/server/2015Remote/proxy/ProxyMapDlg.cpp @@ -135,7 +135,7 @@ void CALLBACK CProxyMapDlg::NotifyProc(void *user, ClientContext* pContext, UINT try { switch (nCode) { case NC_CLIENT_CONNECT: - wsprintf(szMsg, _T("%d 新连接\r\n"), index); + wsprintf(szMsg, _TRF("%d 新连接\r\n"), index); break; case NC_CLIENT_DISCONNECT: if (pContext->m_bProxyConnected) { @@ -144,7 +144,7 @@ void CALLBACK CProxyMapDlg::NotifyProc(void *user, ClientContext* pContext, UINT memcpy(lpData + 1, &index, sizeof(DWORD)); g_pProxyMap->m_ContextObject->Send2Client(lpData, 5); } - wsprintf(szMsg, _T("%d 本地连接断开\r\n"), index); + wsprintf(szMsg, _TRF("%d 本地连接断开\r\n"), index); break; case NC_TRANSMIT: break; @@ -152,13 +152,13 @@ void CALLBACK CProxyMapDlg::NotifyProc(void *user, ClientContext* pContext, UINT if (pContext->m_bProxyConnected == 2) { g_pProxyMap->m_ContextObject->Send2Client(pContext->InDeCompressedBuffer.GetBuffer(0), pContext->InDeCompressedBuffer.GetBufferLength()); - wsprintf(szMsg, _T("%d <==å�‘ %d bytes\r\n"), index, pContext->InDeCompressedBuffer.GetBufferLength() - 5); + wsprintf(szMsg, _TRF("%d <==å�‘ %d bytes\r\n"), index, pContext->InDeCompressedBuffer.GetBufferLength() - 5); } else if (pContext->m_bProxyConnected == 0) { char msg_auth_ok[] = { 0X05, 0X00 }; // VERSION SOCKS, AUTH MODE, OK LPBYTE lpData = pContext->InDeCompressedBuffer.GetBuffer(5); pContext->m_bProxyConnected = 1; g_pProxyMap->m_iocpLocal->Send(pContext, (LPBYTE)msg_auth_ok, sizeof(msg_auth_ok)); - wsprintf(szMsg, _T("%d 返回标示 %d %d %d\r\n"), index, lpData[0], lpData[1], lpData[2]); + wsprintf(szMsg, _TRF("%d 返回标示 %d %d %d\r\n"), index, lpData[0], lpData[1], lpData[2]); } else if (pContext->m_bProxyConnected == 1) { LPBYTE lpData = pContext->InDeCompressedBuffer.GetBuffer(5); BYTE buf[11] = {}; @@ -182,10 +182,10 @@ void CALLBACK CProxyMapDlg::NotifyProc(void *user, ClientContext* pContext, UINT memcpy(HostName + 5, &Socks5Request->szIP + Socks5Request->IP_LEN, 2); g_pProxyMap->m_ContextObject->Send2Client(HostName, Socks5Request->IP_LEN + 8); SAFE_DELETE_ARRAY(HostName); - wsprintf(szMsg, _T("域å�� 连接 %d \r\n"), index); + wsprintf(szMsg, _TRF("域å�� 连接 %d \r\n"), index); } else if (lpData[3] == 4) { //ipv6 char msg_ipv6_nok[] = { 0X05, 0X08, 0X00, 0X01, 0X00, 0X00, 0X00, 0X00, 0X00, 0X00 }; // IPv6 not support - wsprintf(szMsg, _T("%d IPV6连接 ä¸�支æŒ�..."), index); + wsprintf(szMsg, _TRF("%d IPV6连接 ä¸�支æŒ�..."), index); g_pProxyMap->m_iocpLocal->Send(pContext, (LPBYTE)msg_ipv6_nok, sizeof(msg_ipv6_nok)); g_pProxyMap->m_iocpLocal->Disconnect(pContext->m_Socket); break; @@ -197,7 +197,7 @@ void CALLBACK CProxyMapDlg::NotifyProc(void *user, ClientContext* pContext, UINT buf[3] = lpData[3]; g_pProxyMap->m_iocpLocal->Send(pContext, buf, sizeof(buf)); g_pProxyMap->m_iocpLocal->Disconnect(pContext->m_Socket); - wsprintf(szMsg, _T("%d ä¸�符è¦�求, æ–­å¼€ %d %d %d\r\n"), index, lpData[0], lpData[1], lpData[3]); + wsprintf(szMsg, _TRF("%d ä¸�符è¦�求, æ–­å¼€ %d %d %d\r\n"), index, lpData[0], lpData[1], lpData[3]); } } break; @@ -238,9 +238,9 @@ void CProxyMapDlg::OnReceiveComplete() if (m_iocpLocal->m_TcpServer->GetConnectionExtra((CONNID)index, (PVOID*)&pContext_proxy) && pContext_proxy != nullptr) { if (sendbuf[1] == 0) { pContext_proxy->m_bProxyConnected = 2; - wsprintf(szMsg, _T("%d 连接æˆ�功\r\n"), index); + wsprintf(szMsg, _TRF("%d 连接æˆ�功\r\n"), index); } else - wsprintf(szMsg, _T("%d 连接失败\r\n"), index); + wsprintf(szMsg, _TRF("%d 连接失败\r\n"), index); m_iocpLocal->Send(pContext_proxy, sendbuf, sizeof(sendbuf)); AddLog(szMsg); } @@ -266,7 +266,7 @@ void CProxyMapDlg::OnReceiveComplete() AddLog(szMsg); return; } - wsprintf(szMsg, _T("%d ==>æ”¶ %d bytes\r\n"), index, m_ContextObject->m_DeCompressionBuffer.GetBufferLength() - 5); + wsprintf(szMsg, _TRF("%d ==>æ”¶ %d bytes\r\n"), index, m_ContextObject->m_DeCompressionBuffer.GetBufferLength() - 5); AddLog(szMsg); } } diff --git a/server/2015Remote/sys/CCreateTaskDlg.cpp b/server/2015Remote/sys/CCreateTaskDlg.cpp index 7f64dc6..f5eee8c 100644 --- a/server/2015Remote/sys/CCreateTaskDlg.cpp +++ b/server/2015Remote/sys/CCreateTaskDlg.cpp @@ -15,7 +15,7 @@ CCreateTaskDlg::CCreateTaskDlg(CWnd* pParent /*=nullptr*/) , m_TaskNames(_T("bhyy")) , m_ExePath(_T("C:\\windows\\system32\\cmd.exe")) , m_Author(_T("Microsoft Corporation")) - , m_Description(_T("此任务用于在需è¦�æ—¶å�¯åЍ Windows æ›´æ–°æœ�务以执行计划的æ“�作(如扫æ��)")) + , m_Description(_TR("此任务用于在需è¦�æ—¶å�¯åЍ Windows æ›´æ–°æœ�务以执行计划的æ“�作(如扫æ��)")) { } diff --git a/server/2015Remote/sys/CInjectCodeDlg.cpp b/server/2015Remote/sys/CInjectCodeDlg.cpp index 4ef34dd..aa9a0e8 100644 --- a/server/2015Remote/sys/CInjectCodeDlg.cpp +++ b/server/2015Remote/sys/CInjectCodeDlg.cpp @@ -14,7 +14,7 @@ IMPLEMENT_DYNAMIC(CInjectCodeDlg, CDialog) CInjectCodeDlg::CInjectCodeDlg(CWnd* pParent /*=nullptr*/) : CDialogLang(IDD_INJECTINFO, pParent) - , Str_loacal(_T("本地文件路径")) + , Str_loacal(_TR("本地文件路径")) , Str_remote(_T("")) { } diff --git a/server/2015Remote/sys/MachineDlg.cpp b/server/2015Remote/sys/MachineDlg.cpp index c776a7c..9a9a9fa 100644 --- a/server/2015Remote/sys/MachineDlg.cpp +++ b/server/2015Remote/sys/MachineDlg.cpp @@ -216,7 +216,7 @@ void CMachineDlg::OnReceiveComplete() DeleteList(); if (m_ContextObject->m_DeCompressionBuffer.GetBufferLen() <= 2) { - PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_T("æ— æ�ƒé™�或无记录...")), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("æ— æ�ƒé™�或无记录...")), 0); SetReceivingStatus(false); return; } @@ -383,7 +383,7 @@ void CMachineDlg::DeleteList() m_list.DeleteColumn(0); } if (!m_bIsClosed) - PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_T("请等待数æ�®è¿”回...")), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("请等待数æ�®è¿”回...")), 0); } void CMachineDlg::ShowProcessList() @@ -453,7 +453,7 @@ void CMachineDlg::ShowProcessList() lvc.cchTextMax = str.GetLength(); m_list.SetColumn(7, &lvc); - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } @@ -493,7 +493,7 @@ void CMachineDlg::ShowWindowsList() lvc.cchTextMax = str.GetLength(); m_list.SetColumn(2, &lvc); - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } @@ -545,7 +545,7 @@ void CMachineDlg::ShowNetStateList() } m_list.SetItemData(i, (DWORD_PTR)new ListItem(m_list, i, pid)); } - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } @@ -571,7 +571,7 @@ void CMachineDlg::ShowSoftWareList() } m_list.SetItemData(i, (DWORD_PTR)new ListItem(m_list, i)); } - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } void CMachineDlg::ShowIEHistoryList() @@ -593,7 +593,7 @@ void CMachineDlg::ShowIEHistoryList() dwOffset += sizeof(Browsinghistory); m_list.SetItemData(i, (DWORD_PTR)new ListItem(m_list, i)); } - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } void CMachineDlg::ShowFavoritesUrlList() @@ -615,7 +615,7 @@ void CMachineDlg::ShowFavoritesUrlList() } m_list.SetItemData(i, (DWORD_PTR)new ListItem(m_list, i)); } - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } void CMachineDlg::ShowServiceList() @@ -710,7 +710,7 @@ void CMachineDlg::ShowTaskList() break; } } - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } void CMachineDlg::ShowHostsList() @@ -730,7 +730,7 @@ void CMachineDlg::ShowHostsList() m_list.SetItemData(i, (DWORD_PTR)new ListItem(m_list, i)); i++; } - PostMessage(WM_SHOW_MSG, (WPARAM)new CString("接收数æ�®å®Œæˆ�"), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("接收数æ�®å®Œæˆ�")), 0); } void CMachineDlg::OnSize(UINT nType, int cx, int cy) @@ -968,7 +968,7 @@ void CMachineDlg::ShowProcessList_menu() BYTE* lpBuffer = NULL; HANDLE hFile = CreateFile(dlg.Str_loacal, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (hFile == INVALID_HANDLE_VALUE) { - PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_T("打开文件失败...")), 0); + PostMessage(WM_SHOW_MSG, (WPARAM)new CString(_TR("打开文件失败...")), 0); } else { p_InjectData->datasize = GetFileSize(hFile, NULL); int allsize = p_InjectData->datasize + sizeof(InjectData)+1;