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:
Zero Fanker 2024-10-29 00:22:39 -04:00 committed by GitHub
parent 1672fd8901
commit f0d808a912
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 1162 additions and 533 deletions

View file

@ -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}}