From 2a3e9c2cedb7d6851204d2db26e7f8d09c1362f9 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Mon, 15 Jul 2013 11:31:48 +1000 Subject: Add new resource strings --- programs/reg/reg.h | 15 +++++++++++---- programs/reg/reg.rc | 17 ++++++++++++----- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/programs/reg/reg.h b/programs/reg/reg.h index 2221647..68ac774 100644 --- a/programs/reg/reg.h +++ b/programs/reg/reg.h @@ -26,7 +26,14 @@ #define STRING_DELETE_USAGE 103 #define STRING_QUERY_USAGE 104 #define STRING_SUCCESS 105 -#define STRING_INVALID_KEY 106 -#define STRING_INVALID_CMDLINE 107 -#define STRING_NO_REMOTE 108 -#define STRING_CANNOT_FIND 109 +#define STRING_NO_REG_CHANGE 106 +#define STRING_INVALID_KEY 107 +#define STRING_INVALID_CMDLINE 108 +#define STRING_NO_REMOTE 109 +#define STRING_CANNOT_FIND 110 +#define STRING_YESNO 111 +#define STRING_YES 112 +#define STRING_NO 113 +#define STRING_OVERWRITE_PROMPT 114 +#define STRING_DELETE_PROMPT 115 +#define STRING_DELETE_FAILED 116 diff --git a/programs/reg/reg.rc b/programs/reg/reg.rc index 5897b3b..9484531 100644 --- a/programs/reg/reg.rc +++ b/programs/reg/reg.rc @@ -28,9 +28,16 @@ STRINGTABLE STRING_ADD_USAGE, "REG ADD key_name [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n" STRING_DELETE_USAGE, "REG DELETE key_name [/v value_name | /ve | /va] [/f]\n" STRING_QUERY_USAGE, "REG QUERY key_name [/v value_name | /ve] [/s]\n" - STRING_SUCCESS, "The operation completed successfully\n" - STRING_INVALID_KEY, "Error: Invalid key name\n" - STRING_INVALID_CMDLINE, "Error: Invalid command line parameters\n" - STRING_NO_REMOTE, "Error: Unable to add keys to remote machine\n" - STRING_CANNOT_FIND, "Error: The system was unable to find the specified registry key or value\n" + STRING_SUCCESS, "The operation completed successfully.\n" + STRING_NO_REG_CHANGE, "The registry has not been modified.\n" + STRING_INVALID_KEY, "Error: Invalid key name.\n" + STRING_INVALID_CMDLINE, "Error: Invalid command line parameters.\n" + STRING_NO_REMOTE, "Error: Unable to add keys to remote machine.\n" + STRING_CANNOT_FIND, "Error: The system was unable to find the specified registry key or value.\n" + STRING_YESNO, " (Yes|No) " + STRING_YES, "#msgctxt#Yes key#Y" + STRING_NO, "#msgctxt#No key#N" + STRING_OVERWRITE_PROMPT, "Do you want to overwrite the specified registry key?" + STRING_DELETE_PROMPT, "Do you want to delete the specified registry key?" + STRING_DELETE_FAILED, "Error: Unable to delete the specified registry key.\n" } -- 1.7.10.4