From 180a147ea8b830b991f001c17f26c43bf360cfb1 Mon Sep 17 00:00:00 2001 From: henrypp Date: Sat, 3 Nov 2018 13:11:52 +0600 Subject: [PATCH] upd locale --- src/resource.hpp | 73 +++++++++++++++++++++++++----------------------- src/resource.rc | 7 ++++- 2 files changed, 44 insertions(+), 36 deletions(-) diff --git a/src/resource.hpp b/src/resource.hpp index 94b9230..0d287d8 100644 --- a/src/resource.hpp +++ b/src/resource.hpp @@ -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 @@ -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__ diff --git a/src/resource.rc b/src/resource.rc index 868fb9e..14967ca 100644 --- a/src/resource.rc +++ b/src/resource.rc @@ -13,6 +13,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT // IDA_MAIN ACCELERATORS { + VK_F2, IDM_OPEN, VIRTKEY VK_F4, IDM_EXIT, ALT, VIRTKEY } @@ -24,6 +25,8 @@ IDM_MAIN MENU POPUP " " { MENUITEM " ", IDM_RUN + MENUITEM " ", IDM_OPEN + MENUITEM SEPARATOR MENUITEM " ", IDM_EXIT } POPUP " " @@ -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 @@ -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"