• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision9350 (tree)
Time2021-08-10 23:42:28
Authorzmatsuo

Log Message

UILanguageFile を unicode版(UILanguageFileW)へ切り替え

- SetI18nDlgStrs() -> SetI18nDlgStrsW()
- SetDlgTexts() -> SetDlgTextsW()
- SetDlgMenuTexts() -> SetDlgMenuTextsW()

Change Summary

Incremental Difference

--- trunk/TTProxy/ProxyWSockHook.h (revision 9349)
+++ trunk/TTProxy/ProxyWSockHook.h (revision 9350)
@@ -19,6 +19,7 @@
1919 #include "i18n.h"
2020
2121 extern char UILanguageFile[MAX_PATH];
22+extern wchar_t *UILanguageFileW;
2223
2324 void UTIL_get_lang_msg(const char *key, PCHAR buf, int buf_len, const char *def)
2425 {
@@ -778,7 +779,7 @@
778779 Dialog::onInitDialog();
779780
780781 HWND hWnd = HWND(*this);
781- SetI18nDlgStrs("TTProxy", hWnd, text_info, _countof(text_info), UILanguageFile);
782+ SetI18nDlgStrsW(hWnd, "TTProxy", text_info, _countof(text_info), UILanguageFileW);
782783
783784 host = GetDlgItem(IDC_HOSTNAME);
784785 user = GetDlgItem(IDC_USERNAME);
@@ -904,7 +905,7 @@
904905 // { IDCANCEL, "BTN_CANCEL" },
905906 };
906907 HWND hWnd = HWND(*this);
907- SetI18nDlgStrs("TTProxy", hWnd, text_info, _countof(text_info), UILanguageFile);
908+ SetI18nDlgStrsW(hWnd, "TTProxy", text_info, _countof(text_info), UILanguageFileW);
908909
909910 url <<= GetDlgItem(IDC_URL);
910911 type <<= GetDlgItem(IDC_TYPE);
@@ -1086,7 +1087,7 @@
10861087 { 0, "DLG_ABOUT_TITLE" },
10871088 { IDOK, "BTN_OK" },
10881089 };
1089- SetI18nDlgStrs("TTProxy", hWnd, text_info, _countof(text_info), UILanguageFile);
1090+ SetI18nDlgStrsW(hWnd, "TTProxy", text_info, _countof(text_info), UILanguageFileW);
10901091
10911092 UTIL_get_lang_msgW("DLG_ABOUT_EXTENSION", uimsg, sizeof(uimsg),
10921093 L"Tera Term proxy extension");
--- trunk/TTProxy/TTProxy.h (revision 9349)
+++ trunk/TTProxy/TTProxy.h (revision 9350)
@@ -9,6 +9,7 @@
99 extern "C" __declspec(dllexport) BOOL WINAPI TTXBind(WORD Version, TTXExports* exports);
1010
1111 char UILanguageFile[MAX_PATH];
12+wchar_t *UILanguageFileW;
1213
1314 class TTProxy : public DynamicLinkLibrary<TTProxy> {
1415 enum {
--- trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c (revision 9349)
+++ trunk/TTXSamples/TTXRecurringCommand/TTXRecurringCommand.c (revision 9350)
@@ -474,7 +474,7 @@
474474
475475 switch (msg) {
476476 case WM_INITDIALOG:
477- SetI18nDlgStrs(SECTION, dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
477+ SetI18nDlgStrsW(dlg, SECTION, text_info, _countof(text_info), pvar->ts->UILanguageFileW);
478478
479479 SendMessage(GetDlgItem(dlg, IDC_ENABLE), BM_SETCHECK,
480480 pvar->enable?BST_CHECKED:BST_UNCHECKED, 0);
--- trunk/teraterm/teraterm/addsetting.cpp (revision 9349)
+++ trunk/teraterm/teraterm/addsetting.cpp (revision 9350)
@@ -118,7 +118,7 @@
118118 { IDC_TITLEFMT_DISPTCPPORT, "DLG_TAB_GENERAL_TITLEFMT_DISPTCPPORT" },
119119 { IDC_TITLEFMT_DISPSERIALSPEED, "DLG_TAB_GENERAL_TITLEFMT_DISPSERIALSPEED" }
120120 };
121- SetDlgTexts(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
121+ SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
122122
123123 // (1)DisableAcceleratorSendBreak
124124 SetCheck(IDC_DISABLE_SENDBREAK, ts.DisableAcceleratorSendBreak);
@@ -244,7 +244,7 @@
244244 { IDC_CLIPBOARD_NOTIFY, "DLG_TAB_SEQUENCE_CLIPBOARD_NOTIFY" },
245245 { IDC_ACCEPT_CLEAR_SBUFF, "DLG_TAB_SEQUENCE_ACCEPT_CLEAR_SBUFF" },
246246 };
247- SetDlgTexts(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
247+ SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
248248
249249 const static I18nTextInfo accept_title_changing[] = {
250250 { "DLG_TAB_SEQUENCE_ACCEPT_TITLE_CHANGING_OFF", L"off" },
@@ -442,7 +442,7 @@
442442 { IDC_PASTEDELAY_LABEL2, "DLG_TAB_COPYPASTE_PASTEDELAY2" },
443443 { IDC_SELECT_ON_ACTIVATE, "DLG_TAB_COPYPASTE_SELECT_ON_ACTIVATE" }
444444 };
445- SetDlgTexts(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
445+ SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
446446
447447 // (1)Enable continued-line copy
448448 SetCheck(IDC_LINECOPY, ts.EnableContinuedLineCopy);
@@ -667,7 +667,7 @@
667667 { IDC_URL_UNDERLINE, "DLG_TAB_VISUAL_URLUL" },
668668 { IDC_RESTART, "DLG_TAB_VISUAL_RESTART" },
669669 };
670- SetDlgTexts(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
670+ SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
671671
672672 const static I18nTextInfo visual_font_quality[] = {
673673 { "DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT", L"Default" },
@@ -1295,7 +1295,7 @@
12951295 { IDC_OPT_INCBUF, "DLG_FOPT_ALLBUFFINFIRST" },
12961296 { IDC_OPT_TIMESTAMP, "DLG_FOPT_TIMESTAMP" },
12971297 };
1298- SetDlgTexts(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
1298+ SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
12991299
13001300 const static I18nTextInfo fopt_timestamp[] = {
13011301 { "DLG_FOPT_TIMESTAMP_LOCAL", L"Local Time" },
@@ -1634,7 +1634,7 @@
16341634 static const DlgTextInfo TextInfos[] = {
16351635 { IDC_CYGWIN_PATH_LABEL, "DLG_TAB_CYGWIN_PATH" }
16361636 };
1637- SetDlgTexts(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
1637+ SetDlgTextsW(m_hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
16381638
16391639 memcpy(&settings, &ts.CygtermSettings, sizeof(cygterm_t));
16401640
--- trunk/teraterm/teraterm/broadcast.cpp (revision 9349)
+++ trunk/teraterm/teraterm/broadcast.cpp (revision 9350)
@@ -476,7 +476,7 @@
476476 UpdateBroadcastWindowList(BroadcastWindowList);
477477
478478 // I18N
479- SetDlgTexts(hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
479+ SetDlgTextsW(hWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
480480
481481 // ダイアログの初期サイズを保存
482482 GetWindowRect(hWnd, &rc_dlg);
--- trunk/teraterm/teraterm/filesys_log.cpp (revision 9349)
+++ trunk/teraterm/teraterm/filesys_log.cpp (revision 9350)
@@ -1166,7 +1166,7 @@
11661166 case WM_INITDIALOG:
11671167 // エディットコントロールにフォーカスをあてる
11681168 SetFocus(GetDlgItem(hDlgWnd, IDC_EDIT_COMMENT));
1169- SetDlgTexts(hDlgWnd, TextInfos, _countof(TextInfos), ts.UILanguageFile);
1169+ SetDlgTextsW(hDlgWnd, TextInfos, _countof(TextInfos), ts.UILanguageFileW);
11701170 return FALSE;
11711171
11721172 case WM_COMMAND:
--- trunk/teraterm/teraterm/filesys_proto.cpp (revision 9349)
+++ trunk/teraterm/teraterm/filesys_proto.cpp (revision 9350)
@@ -436,6 +436,7 @@
436436 LOGFONT logfont;
437437 HFONT font;
438438 const char *UILanguageFile = ts.UILanguageFile;
439+ const wchar_t *UILanguageFileW = ts.UILanguageFileW;
439440 static HFONT DlgXoptFont;
440441
441442 switch (Message) {
@@ -457,7 +458,7 @@
457458 DlgXoptFont = NULL;
458459 }
459460
460- SetI18nDlgStrs("Tera Term", Dialog, text_info, _countof(text_info), UILanguageFile);
461+ SetI18nDlgStrsW(Dialog, "Tera Term", text_info, _countof(text_info), UILanguageFileW);
461462
462463 if (LOWORD(*pl)==0xFFFF) { // Send
463464 ShowDlgItem(Dialog, IDC_XOPT1K, IDC_XOPT1K);
@@ -797,6 +798,7 @@
797798 PFileVarProto fv;
798799 wchar_t TempFull[MAX_PATH];
799800 const char *UILanguageFile = ts.UILanguageFile;
801+ const wchar_t *UILanguageFileW = ts.UILanguageFileW;
800802
801803 switch (Message) {
802804 case WM_INITDIALOG:
@@ -803,7 +805,7 @@
803805 fv = (PFileVarProto)lParam;
804806 SetWindowLongPtr(Dialog, DWLP_USER, lParam);
805807 SendDlgItemMessage(Dialog, IDC_GETFN, EM_LIMITTEXT, sizeof(TempFull)-1,0);
806- SetI18nDlgStrs("Tera Term", Dialog, text_info, _countof(text_info), UILanguageFile);
808+ SetI18nDlgStrsW(Dialog, "Tera Term", text_info, _countof(text_info), UILanguageFileW);
807809 return TRUE;
808810
809811 case WM_COMMAND:
@@ -858,6 +860,7 @@
858860 switch (Message) {
859861 case WM_INITDIALOG: {
860862 const char *UILanguageFile = ts.UILanguageFile;
863+ const wchar_t *UILanguageFileW = ts.UILanguageFileW;
861864 LPOPENFILENAMEW ofn = (LPOPENFILENAMEW)lParam;
862865 pw = (LPWORD)ofn->lCustData;
863866 SetWindowLongPtr(Dialog, DWLP_USER, (LONG_PTR)pw);
@@ -875,7 +878,7 @@
875878 DlgFoptFont = NULL;
876879 }
877880
878- SetI18nDlgStrs("Tera Term", Dialog, text_info, _countof(text_info), UILanguageFile);
881+ SetI18nDlgStrsW(Dialog, "Tera Term", text_info, _countof(text_info), UILanguageFileW);
879882
880883 SetRB(Dialog,*pw & 1,IDC_FOPTBIN,IDC_FOPTBIN);
881884
--- trunk/teraterm/teraterm/tekwin.cpp (revision 9349)
+++ trunk/teraterm/teraterm/tekwin.cpp (revision 9350)
@@ -184,11 +184,11 @@
184184 SetupMenu = GetSubMenu(*Menu,2);
185185 HelpMenu = GetSubMenu(*Menu,4);
186186
187- SetDlgMenuTexts(*Menu, MenuTextInfo, _countof(MenuTextInfo), ts.UILanguageFile);
188- SetDlgMenuTexts(FileMenu, FileMenuTextInfo, _countof(FileMenuTextInfo), ts.UILanguageFile);
189- SetDlgMenuTexts(EditMenu, EditMenuTextInfo, _countof(EditMenuTextInfo), ts.UILanguageFile);
190- SetDlgMenuTexts(SetupMenu, SetupMenuTextInfo, _countof(SetupMenuTextInfo), ts.UILanguageFile);
191- SetDlgMenuTexts(HelpMenu, HelpMenuTextInfo, _countof(HelpMenuTextInfo), ts.UILanguageFile);
187+ SetDlgMenuTextsW(*Menu, MenuTextInfo, _countof(MenuTextInfo), ts.UILanguageFileW);
188+ SetDlgMenuTextsW(FileMenu, FileMenuTextInfo, _countof(FileMenuTextInfo), ts.UILanguageFileW);
189+ SetDlgMenuTextsW(EditMenu, EditMenuTextInfo, _countof(EditMenuTextInfo), ts.UILanguageFileW);
190+ SetDlgMenuTextsW(SetupMenu, SetupMenuTextInfo, _countof(SetupMenuTextInfo), ts.UILanguageFileW);
191+ SetDlgMenuTextsW(HelpMenu, HelpMenuTextInfo, _countof(HelpMenuTextInfo), ts.UILanguageFileW);
192192
193193 if ((ts.MenuFlag & MF_SHOWWINMENU) !=0) {
194194 wchar_t uimsg[MAX_UIMSG];
--- trunk/teraterm/teraterm/vtwin.cpp (revision 9349)
+++ trunk/teraterm/teraterm/vtwin.cpp (revision 9350)
@@ -844,7 +844,7 @@
844844 ControlMenu = GetSubMenu(hMenu,ID_CONTROL);
845845 HelpMenu = GetSubMenu(hMenu,ID_HELPMENU);
846846
847- SetDlgMenuTexts(hMenu, MenuTextInfo, _countof(MenuTextInfo), ts.UILanguageFile);
847+ SetDlgMenuTextsW(hMenu, MenuTextInfo, _countof(MenuTextInfo), ts.UILanguageFileW);
848848
849849 /* LogMeTT の存在を確認してメニューを追加する */
850850 if (isLogMeTTExist()) {
@@ -853,11 +853,11 @@
853853 ::InsertMenu(FileMenu, ID_FILE_PRINT2, MF_SEPARATOR, NULL, NULL);
854854 }
855855
856- SetDlgMenuTexts(FileMenu, FileMenuTextInfo, _countof(FileMenuTextInfo), ts.UILanguageFile);
857- SetDlgMenuTexts(EditMenu, EditMenuTextInfo, _countof(EditMenuTextInfo), ts.UILanguageFile);
858- SetDlgMenuTexts(SetupMenu, SetupMenuTextInfo, _countof(SetupMenuTextInfo), ts.UILanguageFile);
859- SetDlgMenuTexts(ControlMenu, ControlMenuTextInfo, _countof(ControlMenuTextInfo), ts.UILanguageFile);
860- SetDlgMenuTexts(HelpMenu, HelpMenuTextInfo, _countof(HelpMenuTextInfo), ts.UILanguageFile);
856+ SetDlgMenuTextsW(FileMenu, FileMenuTextInfo, _countof(FileMenuTextInfo), ts.UILanguageFileW);
857+ SetDlgMenuTextsW(EditMenu, EditMenuTextInfo, _countof(EditMenuTextInfo), ts.UILanguageFileW);
858+ SetDlgMenuTextsW(SetupMenu, SetupMenuTextInfo, _countof(SetupMenuTextInfo), ts.UILanguageFileW);
859+ SetDlgMenuTextsW(ControlMenu, ControlMenuTextInfo, _countof(ControlMenuTextInfo), ts.UILanguageFileW);
860+ SetDlgMenuTextsW(HelpMenu, HelpMenuTextInfo, _countof(HelpMenuTextInfo), ts.UILanguageFileW);
861861
862862 if ((ts.MenuFlag & MF_SHOWWINMENU) !=0) {
863863 wchar_t uimsg[MAX_UIMSG];
@@ -1065,7 +1065,7 @@
10651065 };
10661066 *Menu = LoadMenu(m_hInst,
10671067 MAKEINTRESOURCE(IDR_PASTEMENU));
1068- SetDlgMenuTexts(*Menu, MenuTextInfo, _countof(MenuTextInfo), ts.UILanguageFile);
1068+ SetDlgMenuTextsW(*Menu, MenuTextInfo, _countof(MenuTextInfo), ts.UILanguageFileW);
10691069 }
10701070
10711071 void CVTWindow::ResetSetup()
--- trunk/ttssh2/ttxssh/auth.c (revision 9349)
+++ trunk/ttssh2/ttxssh/auth.c (revision 9350)
@@ -288,7 +288,7 @@
288288 };
289289 int default_method = pvar->session_settings.DefaultAuthMethod;
290290
291- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
291+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
292292
293293 init_auth_machine_banner(pvar, dlg);
294294 init_password_control(pvar, dlg, IDC_SSHPASSWORD, UseControlChar);
@@ -1321,7 +1321,7 @@
13211321 { IDOK, "BTN_OK" },
13221322 { IDCANCEL, "BTN_DISCONNECT" },
13231323 };
1324- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
1324+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
13251325
13261326 init_auth_machine_banner(pvar, dlg);
13271327 init_password_control(pvar, dlg, IDC_SSHPASSWORD, NULL);
@@ -1473,7 +1473,7 @@
14731473 { IDC_SSHAUTHSETUP_HELP, "BTN_HELP" },
14741474 };
14751475
1476- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
1476+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
14771477
14781478 switch (pvar->settings.DefaultAuthMethod) {
14791479 case SSH_AUTH_RSA:
--- trunk/ttssh2/ttxssh/fwdui.c (revision 9349)
+++ trunk/ttssh2/ttxssh/fwdui.c (revision 9350)
@@ -510,7 +510,7 @@
510510 { IDCANCEL, "BTN_CANCEL" },
511511 { IDC_SSHFWDSETUP_HELP, "BTN_HELP" },
512512 };
513- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
513+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
514514
515515 FWD_get_request_specs(pvar, requests, num_specs);
516516
@@ -728,7 +728,7 @@
728728 {
729729 FWDType type_to, type_from;
730730 BOOL enable_LTR, enable_RTL, enable_DYN;
731-
731+
732732 type_to = FWD_REMOTE_TO_LOCAL;
733733 if (IsDlgButtonChecked(dlg, IDC_SSHFWDLOCALTOREMOTE)) {
734734 type_to = FWD_LOCAL_TO_REMOTE;
@@ -801,7 +801,7 @@
801801 { IDOK, "BTN_OK" },
802802 { IDCANCEL, "BTN_CANCEL" },
803803 };
804- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
804+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
805805
806806 switch (spec->type) {
807807 case FWD_REMOTE_TO_LOCAL:
--- trunk/ttssh2/ttxssh/hosts.c (revision 9349)
+++ trunk/ttssh2/ttxssh/hosts.c (revision 9350)
@@ -1763,7 +1763,7 @@
17631763 SetWindowLongPtr(dlg, DWLP_USER, lParam);
17641764
17651765 // 追加・置き換えとも init_hosts_dlg を呼んでいるので、その前にセットする必要がある
1766- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
1766+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
17671767
17681768 switch (pvar->dns_key_check) {
17691769 case DNS_VERIFY_NOTFOUND:
@@ -1920,7 +1920,7 @@
19201920 SetWindowLongPtr(dlg, DWLP_USER, lParam);
19211921
19221922 // 追加・置き換えとも init_hosts_dlg を呼んでいるので、その前にセットする必要がある
1923- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
1923+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
19241924
19251925 switch (pvar->dns_key_check) {
19261926 case DNS_VERIFY_NOTFOUND:
@@ -2075,7 +2075,7 @@
20752075 SetWindowLongPtr(dlg, DWLP_USER, lParam);
20762076
20772077 // 追加・置き換えとも init_hosts_dlg を呼んでいるので、その前にセットする必要がある
2078- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
2078+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
20792079
20802080 switch (pvar->dns_key_check) {
20812081 case DNS_VERIFY_NOTFOUND:
--- trunk/ttssh2/ttxssh/ttxssh.c (revision 9349)
+++ trunk/ttssh2/ttxssh/ttxssh.c (revision 9350)
@@ -1023,7 +1023,7 @@
10231023 GetHNRec = (PGetHNRec) lParam;
10241024 SetWindowLongPtr(dlg, DWLP_USER, lParam);
10251025
1026- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
1026+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
10271027
10281028 // ホストヒストリのチェックボックスを追加 (2005.10.21 yutaka)
10291029 if (pvar->ts->HistoryList > 0) {
@@ -2057,7 +2057,7 @@
20572057 { IDC_FP_HASH_ALG, "DLG_ABOUT_FP_HASH_ALGORITHM" },
20582058 { IDOK, "BTN_OK" },
20592059 };
2060- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
2060+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
20612061
20622062 // TTSSHのバージョンを設定する (2005.2.28 yutaka)
20632063 _snprintf_s(buf, sizeof(buf), _TRUNCATE,
@@ -2286,7 +2286,7 @@
22862286 { IDC_LOGLEVEL, "DLG_SSHSETUP_LOGLEVEL" },
22872287 { IDC_LOGLEVEL_UNIT, "DLG_SSHSETUP_LOGLEVEL_UNIT" },
22882288 };
2289- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
2289+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
22902290
22912291 SendMessage(compressionControl, TBM_SETRANGE, TRUE, MAKELONG(0, 9));
22922292 SendMessage(compressionControl, TBM_SETPOS, TRUE,
@@ -3658,7 +3658,7 @@
36583658 { IDC_BCRYPT_KDF_ROUNDS_LABEL, "DLG_KEYGEN_BCRYPT_ROUNDS" },
36593659 { IDC_SSHKEYGENSETUP_HELP, "BTN_HELP" },
36603660 };
3661- SetI18nDlgStrs("TTSSH", dlg, text_info, _countof(text_info), pvar->ts->UILanguageFile);
3661+ SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);
36623662
36633663 init_password_control(pvar, dlg, IDC_KEY_EDIT, NULL);
36643664 init_password_control(pvar, dlg, IDC_CONFIRM_EDIT, NULL);
Show on old repository browser