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
|
@ -21,6 +21,7 @@
|
|||
#include "stdafx.h"
|
||||
#include "finalsun.h"
|
||||
#include "DynamicGraphDlg.h"
|
||||
#include "functions.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
|
@ -43,6 +44,19 @@ CDynamicGraphDlg::CDynamicGraphDlg(CWnd* pParent /*=NULL*/)
|
|||
}
|
||||
|
||||
|
||||
BOOL CDynamicGraphDlg::OnInitDialog()
|
||||
{
|
||||
auto const ret = CDialog::OnInitDialog();
|
||||
TranslateUI();
|
||||
return ret;
|
||||
}
|
||||
|
||||
void CDynamicGraphDlg::TranslateUI()
|
||||
{
|
||||
TranslateWindowCaption(*this, "LoadingDialogCaption");
|
||||
TranslateDlgItem(*this, IDC_LOADING_GRAPH_TXT, "LoadingDialogDesc");
|
||||
}
|
||||
|
||||
void CDynamicGraphDlg::DoDataExchange(CDataExchange* pDX)
|
||||
{
|
||||
CDialog::DoDataExchange(pDX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue