mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
L10n/chinese translation (#5)
* hotkey tips using \t . * simplified edit menu translation (ZH_CN) * refactored GetLanguageStringACP and implemented 'TranslateDlgItem' and 'TranslateWindowCaption' helper function . --------- Co-authored-by: shuiping233 <49360196+shuiping233@users.noreply.github.com>
This commit is contained in:
parent
1672fd8901
commit
f0d808a912
45 changed files with 1162 additions and 533 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
enum { IDD = IDD_TSOPTIONS };
|
||||
CComboBox m_Language;
|
||||
CEdit m_TSExe;
|
||||
int m_LikeTS;
|
||||
BOOL m_LikeTS;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
|
@ -52,20 +52,21 @@ public:
|
|||
// Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
|
||||
//{{AFX_VIRTUAL(CTSOptions)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
|
||||
virtual void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV-Unterstützung
|
||||
virtual void OnOK() override;
|
||||
virtual BOOL OnInitDialog() override;
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementierung
|
||||
protected:
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
// Generierte Nachrichtenzuordnungsfunktionen
|
||||
//{{AFX_MSG(CTSOptions)
|
||||
|
||||
afx_msg void OnChoose();
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
private:
|
||||
afx_msg void OnCbnSelchangeLanguage();
|
||||
|
||||
void updateUI();
|
||||
CString getLanguageSelected();
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue