Feature: Add language support (beta, not completed)

This commit is contained in:
yuanyuanxiang
2026-01-27 21:48:46 +01:00
parent 02ce01d5e7
commit 05a11605a4
70 changed files with 3895 additions and 906 deletions

View File

@@ -16,7 +16,7 @@ static char THIS_FILE[] = __FILE__;
CFileTransferModeDlg::CFileTransferModeDlg(CWnd* pParent /*=NULL*/)
: CDialog(CFileTransferModeDlg::IDD, pParent)
: CDialogLang(CFileTransferModeDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CFileTransferModeDlg)
// NOTE: the ClassWizard will add member initialization here
@@ -26,7 +26,7 @@ CFileTransferModeDlg::CFileTransferModeDlg(CWnd* pParent /*=NULL*/)
void CFileTransferModeDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
__super::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFileTransferModeDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
@@ -51,11 +51,11 @@ void CFileTransferModeDlg::OnEndDialog(UINT id)
BOOL CFileTransferModeDlg::OnInitDialog()
{
CDialog::OnInitDialog();
__super::OnInitDialog();
// TODO: Add extra initialization here
CString str;
str.Format("此文件夹已包含一个名为“%s”的文件", m_strFileName);
str.FormatL("此文件夹已包含一个名为“%s”的文件", m_strFileName);
for (int i = 0; i < str.GetLength(); i += 120) {
str.Insert(i, "\n");