2 * REG.EXE - Wine-compatible reg program.
4 * Copyright 2008 Andrew Riedi
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.
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.
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
25 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
29 STRING_USAGE, "Usage:\n\
30 \ REG [operation] [parameters]\n\n\
31 \Supported operations:\n\
32 \ ADD | COPY | 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\
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\
47 \ HKEY_CURRENT_CONFIG | HKCC\n\n\
48 \ Subkey: The full path to a registry key under a given ROOT key.\n\n\
50 \ The name of the registry value to add.\n\n\
52 \ Add an unnamed registry value. This option modifies the (Default)\n\
53 \ registry value.\n\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_QWORD | REG_BINARY | REG_NONE\n\n\
59 \ If [/t] is not specified, the default data type is REG_SZ.\n\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\
64 \ The data to add to the new registry value.\n\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\
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\
80 \ HKEY_CURRENT_CONFIG | HKCC\n\n\
81 \ Subkey: The full path to a registry key under a given ROOT key.\n\n\
83 \ The name of the registry value to delete.\n\n\
85 \ Delete an unnamed registry value. This option deletes the (Default)\n\
86 \ registry value.\n\n\
88 \ Delete all values from a registry key.\n\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\
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\
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\
110 \ Query an unnamed registry value. This option queries the (Default)\n\
111 \ registry value.\n\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_NUMBER, "reg: The option [/d] must be followed by a valid numeric value\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_YES, "#msgctxt#Yes key#Y"
126 STRING_NO, "#msgctxt#No key#N"
127 STRING_ALL, "#msgctxt#All key#A"
128 STRING_YESNO, " (Yes|No)"
129 STRING_YESNOALL, " (Yes|No|All)"
130 STRING_CANCELLED, "reg: The registry operation was cancelled\n"
131 STRING_DEFAULT_VALUE, "(Default)"
132 STRING_DELETE_VALUE, "Are you sure you want to delete the registry value '%1'?"
133 STRING_DELETE_VALUEALL, "Are you sure you want to delete all registry values in '%1'?"
134 STRING_DELETE_SUBKEY, "Are you sure you want to delete the registry key '%1'?"
135 STRING_INVALID_STRING, "reg: The option [/d] must be followed by a valid string\n"
136 STRING_VALUEALL_FAILED, "reg: Unable to delete all registry values in '%1'\n"
137 STRING_MATCHES_FOUND, "Search complete. Number of matches found: %1!d!\n"
138 STRING_INVALID_SYNTAX, "reg: Invalid syntax. "
139 STRING_INVALID_OPTION, "reg: Invalid option [%1]. "
140 STRING_REG_HELP, "Type \"REG /?\" for help.\n"
141 STRING_FUNC_HELP, "Type \"REG %1 /?\" for help.\n"
142 STRING_VALUE_NOT_SET, "(value not set)"
144 STRING_IMPORT_USAGE, "REG IMPORT <file>\n\n\
145 \ Imports keys, values and data from a given file into the registry.\n\n\
147 \ The name and path of the registry file to import.\n\n"
149 STRING_FILE_NOT_FOUND, "reg: The file '%1' was not found.\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\
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\
166 \ The name and path of the registry file that will be created.\n\
167 \ This file must have a .reg extension.\n\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"
176 STRING_REG_VIEW_USAGE, " /reg:32\n\
177 \ Access the registry using the 32-bit view.\n\n\
179 \ Access the registry using the 64-bit view.\n\n"
180 STRING_ACCESS_DENIED, "reg: Unable to access or create the specified registry key\n"
182 STRING_COPY_USAGE, "REG COPY <key1> <key2> [/s] [/f]\n\n\
183 \ Copies the contents of a specified registry key to another location.\n\
184 \ By default, this operation only copies registry values. Use [/s] to\n\
185 \ recursively copy all subkeys and values.\n\n\
187 \ Registry keys specifying the source (<key1>) and destination (<key2>)\n\
188 \ of the data. If <key2> does not exist, it is created.\n\n\
189 \ Format: ROOT\\Subkey\n\n\
190 \ ROOT: A predefined registry key. This must be one of the following:\n\n\
191 \ HKEY_LOCAL_MACHINE | HKLM\n\
192 \ HKEY_CURRENT_USER | HKCU\n\
193 \ HKEY_CLASSES_ROOT | HKCR\n\
194 \ HKEY_USERS | HKU\n\
195 \ HKEY_CURRENT_CONFIG | HKCC\n\n\
196 \ Subkey: The full path to a registry key under a given ROOT key.\n\n\
198 \ Copy all subkeys and values from <key1> to <key2>.\n\n\
200 \ Overwrite all registry data in <key2> without prompting for confirmation.\n\
201 \ This option does not modify subkeys and values that only exist in <key2>.\n\n"
203 STRING_COPY_SRC_DEST_SAME, "reg: The source and destination keys cannot be the same\n"
204 STRING_COPY_CONFIRM, "The value '%1\\%2' already exists in the destination key. Do you want to overwrite it?"