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

@@ -15,7 +15,7 @@
IMPLEMENT_DYNAMIC(CTextDlg, CDialog)
CTextDlg::CTextDlg(CWnd* pParent /*=nullptr*/)
: CDialog(IDD_TEXT, pParent)
: CDialogLang(IDD_TEXT, pParent)
, nowstr(_T(""))
, cmeline(_T(""))
, oldstr(_T(""))
@@ -28,7 +28,7 @@ CTextDlg::~CTextDlg()
void CTextDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
__super::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT1, oldstr);
DDX_Text(pDX, IDC_EDIT2, nowstr);
DDX_Text(pDX, IDC_EDIT3, cmeline);
@@ -47,5 +47,5 @@ END_MESSAGE_MAP()
void CTextDlg::OnBnClickedOk()
{
UpdateData(TRUE);
CDialog::OnOK();
__super::OnOK();
}