msv1_0: Implement SpSealMessage and SpUnsealMessage.
[wine.git] / programs / reg / reg.rc
blob9dea8cfcb1a68b5ab306fee4b573374e65e17858
1 /*
2  * REG.EXE - Wine-compatible reg program.
3  *
4  * Copyright 2008 Andrew Riedi
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
21 #include "resource.h"
23 #pragma makedep po
25 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
27 STRINGTABLE
29     STRING_USAGE, "Usage:\n\
30 \  REG [operation] [parameters]\n\n\
31 \Supported operations:\n\
32 \  ADD | DELETE | EXPORT | IMPORT | QUERY\n\n\
33 \For help on a specific operation, type:\n\
34 \  REG [operation] /?\n\n"
36     STRING_ADD_USAGE, "REG ADD <key> [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]\n\n\
37 \  Adds a key to the registry or adds a new value to a given registry key.\n\n\
38 \  <key>\n\
39 \     The registry key to add or, if either [/v] or [/ve] is specified,\n\
40 \     the key in which to add the new registry data.\n\n\
41 \     Format: ROOT\\Subkey\n\n\
42 \     ROOT: A predefined registry key. This must be one of the following:\n\n\
43 \         HKEY_LOCAL_MACHINE  | HKLM\n\
44 \         HKEY_CURRENT_USER   | HKCU\n\
45 \         HKEY_CLASSES_ROOT   | HKCR\n\
46 \         HKEY_USERS          | HKU\n\
47 \         HKEY_CURRENT_CONFIG | HKCC\n\n\
48 \     Subkey: The full path to a registry key under a given ROOT key.\n\n\
49 \  /v <value_name>\n\
50 \     The name of the registry value to add.\n\n\
51 \  /ve\n\
52 \     Add an unnamed registry value. This option modifies the (Default)\n\
53 \     registry value.\n\n\
54 \  /t <type>\n\
55 \     The type of data to add to the registry. If [/t] is specified,\n\
56 \     <type> must be one of the following:\n\n\
57 \         REG_SZ    | REG_MULTI_SZ | REG_EXPAND_SZ\n\
58 \         REG_DWORD | REG_BINARY   | REG_NONE\n\n\
59 \     If [/t] is not specified, the default data type is REG_SZ.\n\n\
60 \  /s <separator>\n\
61 \     The character used to separate strings in REG_MULTI_SZ data.\n\
62 \     If [/s] is not specified, the default separator is \\0.\n\n\
63 \  /d <data>\n\
64 \     The data to add to the new registry value.\n\n\
65 \  /f\n\
66 \     Modify the registry without prompting for confirmation.\n\n"
68     STRING_DELETE_USAGE, "REG DELETE <key> [/v value_name | /ve | /va] [/f]\n\n\
69 \  Deletes a registry key (including all subkeys and values), or deletes\n\
70 \  one or more values from a given registry key.\n\n\
71 \  <key>\n\
72 \     The registry key to delete or, if one of [/v], [/ve] or [/va] is\n\
73 \     specified, the registry key in which to delete one or more values.\n\n\
74 \     Format: ROOT\\Subkey\n\n\
75 \     ROOT: A predefined registry key. This must be one of the following:\n\n\
76 \         HKEY_LOCAL_MACHINE  | HKLM\n\
77 \         HKEY_CURRENT_USER   | HKCU\n\
78 \         HKEY_CLASSES_ROOT   | HKCR\n\
79 \         HKEY_USERS          | HKU\n\
80 \         HKEY_CURRENT_CONFIG | HKCC\n\n\
81 \     Subkey: The full path to a registry key under a given ROOT key.\n\n\
82 \  /v <value_name>\n\
83 \     The name of the registry value to delete.\n\n\
84 \  /ve\n\
85 \     Delete an unnamed registry value. This option deletes the (Default)\n\
86 \     registry value.\n\n\
87 \  /va\n\
88 \     Delete all values from a registry key.\n\n\
89 \  /f\n\
90 \     Delete a registry key (including all subkeys and values) without\n\
91 \     prompting for confirmation.\n\n"
93     STRING_QUERY_USAGE, "REG QUERY <key> [/v value_name | /ve] [/s]\n\n\
94 \  Queries a specified registry key and lists all immediate subkeys, values\n\
95 \  and data within that key. Use [/s] to recursively query each subkey.\n\n\
96 \  <key>\n\
97 \     The registry key to query.\n\n\
98 \     Format: ROOT\\Subkey\n\n\
99 \     ROOT: A predefined registry key. This must be one of the following:\n\n\
100 \         HKEY_LOCAL_MACHINE  | HKLM\n\
101 \         HKEY_CURRENT_USER   | HKCU\n\
102 \         HKEY_CLASSES_ROOT   | HKCR\n\
103 \         HKEY_USERS          | HKU\n\
104 \         HKEY_CURRENT_CONFIG | HKCC\n\n\
105 \     Subkey: The full path to a registry key under a given ROOT key.\n\n\
106 \  /v <value_name>\n\
107 \     The name of the registry value to query. If neither [/v] nor [/ve] is\n\
108 \     specified, all values under <key> are listed.\n\n\
109 \  /ve\n\
110 \     Query an unnamed registry value. This option queries the (Default)\n\
111 \     registry value.\n\n\
112 \  /s\n\
113 \     List all registry entries under <key> and its subkeys.\n\n"
115     STRING_SUCCESS, "reg: The operation completed successfully\n"
116     STRING_INVALID_KEY, "reg: Invalid registry key\n"
117     STRING_INVALID_CMDLINE, "reg: Invalid command line parameters\n"
118     STRING_NO_REMOTE, "reg: Unable to access remote machine\n"
119     STRING_VALUE_NONEXIST, "reg: Unable to find the specified registry value\n"
120     STRING_UNSUPPORTED_TYPE, "reg: Unsupported registry data type [%1]\n"
121     STRING_MISSING_INTEGER, "reg: The option [/d] must be followed by a valid integer\n"
122     STRING_MISSING_HEXDATA, "reg: The option [/d] must be followed by a valid hexadecimal value\n"
123     STRING_UNHANDLED_TYPE, "reg: Unhandled registry data type [/t 0x%1!x!, /d %2]\n"
124     STRING_OVERWRITE_VALUE, "The registry value '%1' already exists. Do you want to overwrite it?"
125     STRING_YESNO, " (Yes|No)"
126     STRING_YES, "#msgctxt#Yes key#Y"
127     STRING_NO, "#msgctxt#No key#N"
128     STRING_CANCELLED, "reg: The registry operation was cancelled\n"
129     STRING_DEFAULT_VALUE, "(Default)"
130     STRING_DELETE_VALUE, "Are you sure you want to delete the registry value '%1'?"
131     STRING_DELETE_VALUEALL, "Are you sure you want to delete all registry values in '%1'?"
132     STRING_DELETE_SUBKEY, "Are you sure you want to delete the registry key '%1'?"
133     STRING_INVALID_STRING, "reg: The option [/d] must be followed by a valid string\n"
134     STRING_VALUEALL_FAILED, "reg: Unable to delete all registry values in '%1'. An unexpected error occurred.\n"
135     STRING_GENERAL_FAILURE, "reg: Unable to complete the specified operation. An unexpected error occurred.\n"
136     STRING_MATCHES_FOUND, "Search complete. Number of matches found: %1!d!\n"
137     STRING_INVALID_SYNTAX, "reg: Invalid syntax. "
138     STRING_INVALID_OPTION, "reg: Invalid option [%1]. "
139     STRING_REG_HELP, "Type \"REG /?\" for help.\n"
140     STRING_FUNC_HELP, "Type \"REG %1 /?\" for help.\n"
141     STRING_VALUE_NOT_SET, "(value not set)"
143     STRING_IMPORT_USAGE, "REG IMPORT <file>\n\n\
144 \  Imports keys, values and data from a given file into the registry.\n\n\
145 \  <file>\n\
146 \     The name and path of the registry file to import.\n\n"
148     STRING_FILE_NOT_FOUND, "reg: The file '%1' was not found.\n"
149     STRING_OPEN_KEY_FAILED, "reg: Unable to open the registry key '%1'.\n"
150     STRING_ESCAPE_SEQUENCE, "reg: Unrecognized escape sequence [\\%1!c!]\n"
152     STRING_EXPORT_USAGE, "REG EXPORT <key> <file> [/y]\n\n\
153 \  Exports a specified registry key (including all subkeys and values)\n\
154 \  to a file.\n\n\
155 \  <key>\n\
156 \     The registry key to export.\n\n\
157 \     Format: ROOT\\Subkey\n\n\
158 \     ROOT: A predefined registry key. This must be one of the following:\n\n\
159 \         HKEY_LOCAL_MACHINE  | HKLM\n\
160 \         HKEY_CURRENT_USER   | HKCU\n\
161 \         HKEY_CLASSES_ROOT   | HKCR\n\
162 \         HKEY_USERS          | HKU\n\
163 \         HKEY_CURRENT_CONFIG | HKCC\n\n\
164 \     Subkey: The full path to a registry key under a given ROOT key.\n\n\
165 \  <file>\n\
166 \     The name and path of the registry file that will be created.\n\
167 \     This file must have a .reg extension.\n\n\
168 \  /y\n\
169 \     Overwrite <file> without prompting for confirmation.\n\n"
171     STRING_INVALID_SYSTEM_KEY, "reg: Invalid system key\n"
172     STRING_OVERWRITE_FILE, "The file '%1' already exists. Do you want to overwrite it?"
173     STRING_KEY_NONEXIST, "reg: Unable to find the specified registry key\n"
174     STRING_KEY_IMPORT_FAILED, "reg: Unable to import the registry key '%1'\n"
175     STRING_REG_VIEW_USAGE, "  /reg:32\n\
176 \     Access the registry using the 32-bit view.\n\n\
177 \  /reg:64\n\
178 \     Access the registry using the 64-bit view.\n\n"
179     STRING_ACCESS_DENIED, "reg: Unable to access or create the specified registry key\n"