Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit e85e115

Browse files
committed
fix: fixed russian language is displayed incorrectly
1 parent abdb9a9 commit e85e115

3 files changed

Lines changed: 163 additions & 118 deletions

File tree

res/botsetup.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ STYLE DS_SETFONT | DS_CENTER | WS_POPUP | WS_VISIBLE
7575
FONT 8, "Tahoma", 400, 0, 0xCC
7676
BEGIN
7777
DEFPUSHBUTTON "Install",IDOK,141,101,59,14,WS_DISABLED
78-
EDITTEXT IDC_EDIT2,143,16,105,13,ES_LOWERCASE | ES_AUTOHSCROLL | ES_READONLY
78+
EDITTEXT IDC_INSTALL_PATH,143,16,105,13,ES_LOWERCASE | ES_AUTOHSCROLL | ES_READONLY
7979
PUSHBUTTON "Browse",IDC_BROWSE,202,32,48,14
80-
CONTROL "",IDC_PROGRESS1,"msctls_progress32",NOT WS_VISIBLE | WS_BORDER,142,16,107,15
80+
CONTROL "",IDC_PROGRESS_BAR,"msctls_progress32",NOT WS_VISIBLE | WS_BORDER,142,16,107,15
8181
RTEXT "",IDC_BOTVER,73,110,52,8,SS_ENDELLIPSIS
8282
LTEXT "",IDC_STATUS,143,32,103,8,NOT WS_VISIBLE
8383
PUSHBUTTON "Cancel",IDCANCEL,202,101,48,14
@@ -163,7 +163,7 @@ END
163163
// PNG
164164
//
165165

166-
IDB_PNG1 PNG "botsetup.png"
166+
IDB_LOGO PNG "botsetup.png"
167167

168168

169169
/////////////////////////////////////////////////////////////////////////////

res/resource.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,12 @@
33
// Used by botsetup.rc
44
//
55
#define IDD_SETUP_DIALOG 101
6-
#define IDB_BITMAP1 102
7-
#define IDI_ICON1 103
86
#define IDI_ICON 103
9-
#define IDB_PNG1 112
7+
#define IDB_LOGO 112
108
#define IDR_RT_MANIFEST1 113
11-
#define IDC_EDIT2 1003
12-
#define IDC_BUTTON1 1004
9+
#define IDC_INSTALL_PATH 1003
1310
#define IDC_BROWSE 1004
14-
#define IDC_STATIC2 1005
15-
#define IDC_PROGRESS1 1006
11+
#define IDC_PROGRESS_BAR 1006
1612
#define IDC_BOTVER 1008
1713
#define IDC_STATUS 1009
1814
#define IDC_URL 1010

0 commit comments

Comments
 (0)