L10n/chinese phase 1 (#47)

L10N on some dialogs .
This commit is contained in:
Zero Fanker 2024-06-21 22:39:02 -04:00 committed by GitHub
parent 364a6376d4
commit 6c7cf1478f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 2748 additions and 2528 deletions

View file

@ -27,6 +27,7 @@
#include "FinalSunDlg.h"
#include "mapdata.h"
#include "variables.h"
#include "functions.h"
#ifdef _DEBUG
#define new DEBUG_NEW
@ -68,6 +69,11 @@ END_MESSAGE_MAP()
void CToolSettingsBar::TranslateUI()
{
TranslateDlgItem(*this, IDC_STATIC, "ToolSettingsBarBrushSize");
}
void CToolSettingsBar::OnSelchangeBrushsize()
{
@ -122,19 +128,23 @@ void CToolSettingsBar::OnSelchangeBrushsize()
((CFinalSunDlg*)theApp.m_pMainWnd)->m_view.m_isoview->m_BrushSize_y = by;
}
BOOL CToolSettingsBar::OnInitDialog()
// never called
#if 0
void CToolSettingsBar::OnInitialUpdate()
{
CDialogBar::OnInitialUpdate();
m_BrushSize = 0;
UpdateData(FALSE);
((CComboBox*)GetDlgItem(IDC_BRUSHSIZE))->SetCurSel(0);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zurückgeben
}
#endif
void CToolSettingsBar::OnShowWindow(BOOL bShow, UINT nStatus)
{
TranslateUI();
CDialogBar::OnShowWindow(bShow, nStatus);
UpdateData(FALSE);