修复进度条标题语言转换BUG

This commit is contained in:
gb 2023-01-29 15:11:09 +08:00
parent 04389c65bb
commit 4daf686fd8
1 changed files with 1 additions and 2 deletions

View File

@ -20,9 +20,8 @@ dlg_indicator::dlg_indicator(HWND parent) : dlg_base(parent, IDD_INDICATOR)
if (!dlg_base::is_language_pack_default_code_page()) if (!dlg_base::is_language_pack_default_code_page())
{ {
std::wstring text(dlg_base::get_wnd_text(hwnd())); std::wstring text(dlg_base::language_from_hz936(L"\u6B63\u5728\u626B\u63CF\u2026\u2026"));
text = dlg_base::language_from_hz936(text.c_str());
SetWindowTextW(hwnd(), text.c_str()); SetWindowTextW(hwnd(), text.c_str());
text = dlg_base::language_from_hz936(L"\u7EB8\u5F20"); text = dlg_base::language_from_hz936(L"\u7EB8\u5F20");