Revision: 9733 https://osdn.net/projects/ttssh2/scm/svn/commits/9733 Author: zmatsuo Date: 2022-02-08 00:27:33 +0900 (Tue, 08 Feb 2022) Log Message: ----------- プロパティーシートのok/cancel/helpボタンを多言語化 Modified Paths: -------------- trunk/teraterm/teraterm/addsetting.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/addsetting.cpp =================================================================== --- trunk/teraterm/teraterm/addsetting.cpp 2022-02-07 15:27:23 UTC (rev 9732) +++ trunk/teraterm/teraterm/addsetting.cpp 2022-02-07 15:27:33 UTC (rev 9733) @@ -1741,8 +1741,14 @@ } case PSCB_INITIALIZED: { + static const DlgTextInfo TextInfos[] = { + { IDOK, "BTN_OK" }, + { IDCANCEL, "BTN_CANCEL" }, + { IDHELP, "BTN_HELP" }, + }; CAddSettingPropSheetDlg *self = gTTCPS; self->m_hWnd = hWnd; + SetDlgTexts(hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile); CenterWindow(hWnd, self->m_hParentWnd); break; }