Skip to content

Commit 3d9af3b

Browse files
committed
Translate download dialog text
1 parent d7152b2 commit 3d9af3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Settings/Controls/Dialog.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "Dialog.h"
55

66
#include "../../3RVX/Logger.h"
7+
#include "../UITranslator.h"
78
#include "Control.h"
89

910
Dialog::Dialog(LPCWSTR className, LPCWSTR dlgTemplate) :
@@ -14,6 +15,8 @@ Window(className) {
1415
Window::Handle(),
1516
StaticDialogProc,
1617
(LPARAM) this);
18+
19+
UITranslator::TranslateWindowText(_dlgHwnd);
1720
}
1821

1922
void Dialog::AddControl(Control *control) {

0 commit comments

Comments
 (0)