Skip to content

Commit

Permalink
upd locale
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypp committed Nov 3, 2018
1 parent 0f03d24 commit 180a147
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 36 deletions.
73 changes: 38 additions & 35 deletions src/resource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@

// Main Menu
#define IDM_RUN 109
#define IDM_EXIT 110
#define IDM_WEBSITE 111
#define IDM_ABOUT 112
#define IDM_OPEN 110
#define IDM_EXIT 111
#define IDM_WEBSITE 112
#define IDM_ABOUT 113

// Tray Menu
#define IDM_TRAY_SHOW 113
#define IDM_TRAY_RUN 114
#define IDM_TRAY_WEBSITE 115
#define IDM_TRAY_ABOUT 116
#define IDM_TRAY_EXIT 117
#define IDM_TRAY_SHOW 114
#define IDM_TRAY_RUN 115
#define IDM_TRAY_OPEN 116
#define IDM_TRAY_WEBSITE 117
#define IDM_TRAY_ABOUT 118
#define IDM_TRAY_EXIT 119

#define IDX_LANGUAGE 1000

Expand All @@ -45,32 +47,33 @@
// Strings
#define IDS_FILE 1
#define IDS_RUN 2
#define IDS_EXIT 3
#define IDS_SETTINGS 4
#define IDS_LANGUAGE 5
#define IDS_HELP 6
#define IDS_WEBSITE 7
#define IDS_ABOUT 8
#define IDS_DONATE 9

#define IDS_TRAY_SHOW 10

#define IDS_BROWSER 11
#define IDS_CURRENTVERSION 12
#define IDS_VERSION 13
#define IDS_DATE 14

#define IDS_ACTION_DOWNLOAD 15
#define IDS_ACTION_INSTALL 16

#define IDS_STATUS_CHECK 17
#define IDS_STATUS_DOWNLOAD 18
#define IDS_STATUS_INSTALL 19
#define IDS_STATUS_FOUND 20
#define IDS_STATUS_DOWNLOADED 21

#define IDS_QUESTION_STOP 22

#define IDS_CLOSE 23
#define IDS_OPEN 3
#define IDS_EXIT 4
#define IDS_SETTINGS 5
#define IDS_LANGUAGE 6
#define IDS_HELP 7
#define IDS_WEBSITE 8
#define IDS_ABOUT 9
#define IDS_DONATE 10

#define IDS_TRAY_SHOW 11

#define IDS_BROWSER 12
#define IDS_CURRENTVERSION 13
#define IDS_VERSION 14
#define IDS_DATE 15

#define IDS_ACTION_DOWNLOAD 16
#define IDS_ACTION_INSTALL 17

#define IDS_STATUS_CHECK 18
#define IDS_STATUS_DOWNLOAD 19
#define IDS_STATUS_INSTALL 20
#define IDS_STATUS_FOUND 21
#define IDS_STATUS_DOWNLOADED 22

#define IDS_QUESTION_STOP 23

#define IDS_CLOSE 24

#endif // __RESOURCE_H__
7 changes: 6 additions & 1 deletion src/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
//
IDA_MAIN ACCELERATORS
{
VK_F2, IDM_OPEN, VIRTKEY
VK_F4, IDM_EXIT, ALT, VIRTKEY
}

Expand All @@ -24,6 +25,8 @@ IDM_MAIN MENU
POPUP " "
{
MENUITEM " ", IDM_RUN
MENUITEM " ", IDM_OPEN
MENUITEM SEPARATOR
MENUITEM " ", IDM_EXIT
}
POPUP " "
Expand All @@ -47,6 +50,7 @@ IDM_TRAY MENU
MENUITEM " ", IDM_TRAY_SHOW
MENUITEM SEPARATOR
MENUITEM " ", IDM_TRAY_RUN
MENUITEM " ", IDM_TRAY_OPEN
MENUITEM SEPARATOR
MENUITEM " ", IDM_TRAY_WEBSITE
MENUITEM " ", IDM_TRAY_ABOUT
Expand Down Expand Up @@ -87,7 +91,8 @@ FONT 8, "Ms Shell Dlg"
STRINGTABLE
{
IDS_FILE "File"
IDS_RUN "Run"
IDS_RUN "Start"
IDS_OPEN "Open"
IDS_EXIT "Exit"
IDS_SETTINGS "Settings"
IDS_LANGUAGE "Language"
Expand Down

0 comments on commit 180a147

Please sign in to comment.