]>
Commit | Line | Data |
---|---|---|
4234283c LG |
1 | ## @file\r |
2 | # This file is used to define strings used in the UPT tool\r | |
3 | #\r | |
f7496d71 | 4 | # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r |
4234283c | 5 | #\r |
f7496d71 LG |
6 | # This program and the accompanying materials are licensed and made available\r |
7 | # under the terms and conditions of the BSD License which accompanies this\r | |
8 | # distribution. The full text of the license may be found at\r | |
4234283c LG |
9 | # http://opensource.org/licenses/bsd-license.php\r |
10 | #\r | |
11 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | ##\r | |
14 | """\r | |
15 | This file contains user visible strings in a format that can be used for\r | |
16 | localization\r | |
17 | """\r | |
18 | \r | |
19 | import gettext\r | |
20 | \r | |
21 | #\r | |
22 | # string table starts here...\r | |
23 | #\r | |
24 | \r | |
25 | ## strings are classified as following types\r | |
26 | # MSG_...: it is a message string\r | |
27 | # ERR_...: it is a error string\r | |
28 | # WRN_...: it is a warning string\r | |
29 | # HLP_...: it is a help string\r | |
30 | #\r | |
31 | \r | |
32 | _ = gettext.gettext\r | |
33 | \r | |
34 | MSG_USAGE_STRING = _("\n"\r | |
510f154e | 35 | "UEFI Packaging Tool (UEFIPT)\n"\r |
4234283c LG |
36 | "%prog [options]"\r |
37 | )\r | |
38 | \r | |
39 | ##\r | |
40 | # Version and Copyright\r | |
41 | #\r | |
45258285 | 42 | MSG_VERSION_NUMBER = _("1.1")\r |
510f154e | 43 | MSG_VERSION = _("UEFI Packaging Tool (UEFIPT) - Revision " + \\r |
4234283c | 44 | MSG_VERSION_NUMBER)\r |
174a9d3c | 45 | MSG_COPYRIGHT = _("Copyright (c) 2011 - 2018 Intel Corporation All Rights Reserved.")\r |
4234283c | 46 | MSG_VERSION_COPYRIGHT = _("\n %s\n %s" % (MSG_VERSION, MSG_COPYRIGHT))\r |
421ccda3 | 47 | MSG_USAGE = _("%s [options]\n%s" % ("UPT", MSG_VERSION_COPYRIGHT))\r |
bc003bc0 | 48 | MSG_DESCRIPTION = _("The UEFIPT is used to create, " + \\r |
fe90f483 HC |
49 | "install or remove a UEFI Distribution Package. " + \\r |
50 | "If WORKSPACE environment variable is present, " + \\r | |
51 | "then UPT will install packages to the location specified by WORKSPACE, " + \\r | |
52 | "otherwise UPT will install packages to the current directory. " + \\r | |
53 | "Option -n will override this default installation location")\r | |
4234283c LG |
54 | \r |
55 | #\r | |
56 | # INF Parser related strings.\r | |
57 | #\r | |
58 | ERR_INF_PARSER_HEADER_FILE = _(\r | |
59 | "The Header comment section should start with an @file at the top.")\r | |
60 | ERR_INF_PARSER_HEADER_MISSGING = _(\r | |
61 | "The Header comment is missing. It must be corrected before continuing.")\r | |
62 | ERR_INF_PARSER_UNKNOWN_SECTION = _("An unknown section was found. "\r | |
63 | "It must be corrected before continuing. ")\r | |
64 | ERR_INF_PARSER_NO_SECTION_ERROR = _("No section was found. "\r | |
65 | "A section must be included before continuing.")\r | |
66 | ERR_INF_PARSER_BUILD_OPTION_FORMAT_INVALID = \\r | |
67 | _("Build Option format incorrect.")\r | |
68 | ERR_INF_PARSER_BINARY_ITEM_FORMAT_INVALID = _(\r | |
69 | "The format of binary %s item is incorrect. "\r | |
421ccda3 | 70 | "It should contain at least %d elements.")\r |
4234283c LG |
71 | ERR_INF_PARSER_BINARY_ITEM_FORMAT_INVALID_MAX = _(\r |
72 | "The format of binary %s item is invalid, "\r | |
421ccda3 | 73 | "it should contain not more than %d elements.")\r |
4234283c LG |
74 | ERR_INF_PARSER_BINARY_ITEM_INVALID_FILETYPE = _(\r |
75 | "The Binary FileType is incorrect. It should in %s")\r | |
76 | ERR_INF_PARSER_BINARY_ITEM_FILE_NOT_EXIST = _(\r | |
77 | "The Binary File: %s not exist.")\r | |
421ccda3 HC |
78 | ERR_INF_PARSER_BINARY_ITEM_FILENAME_NOT_EXIST = _(\r |
79 | "The Binary File Name item not exist")\r | |
4234283c LG |
80 | ERR_INF_PARSER_BINARY_VER_TYPE = _(\r |
81 | "Only this type is allowed: \"%s\".")\r | |
82 | ERR_INF_PARSER_MULTI_DEFINE_SECTION = \\r | |
83 | _("Multiple define sections found. "\r | |
84 | "It must be corrected before continuing.")\r | |
85 | ERR_INF_PARSER_DEFINE_ITEM_MORE_THAN_ONE_FOUND = \\r | |
421ccda3 | 86 | _("More than 1 %s is defined in DEFINES section. "\r |
4234283c LG |
87 | "It must be corrected before continuing.")\r |
88 | ERR_INF_PARSER_DEFINE_NAME_INVALID = \\r | |
89 | _("Incorrect name format for : %s")\r | |
90 | ERR_INF_PARSER_DEFINE_GUID_INVALID = \\r | |
91 | _("The format of this GUID is incorrect: %s")\r | |
92 | ERR_INF_PARSER_DEFINE_MODULETYPE_INVALID = _("Incorrect MODULE_TYPE: %s")\r | |
93 | ERR_INF_PARSER_DEFINE_FROMAT_INVALID = _("Incorrect format: %s")\r | |
94 | ERR_INF_PARSER_FILE_NOT_EXIST = _("This file does not exist: %s")\r | |
95 | ERR_INF_PARSER_FILE_NOT_EXIST_OR_NAME_INVALID = \\r | |
421ccda3 HC |
96 | _("The file does not exist or not in sub-directories "\r |
97 | "or has an incorrect file name of the directory containing the INF or DEC file: %s. "\r | |
4234283c LG |
98 | "It must be corrected before continuing")\r |
99 | ERR_INF_PARSER_DEFINE_SHADOW_INVALID = \\r | |
100 | _("The SHADOW keyword is only valid for"\r | |
101 | " SEC, PEI_CORE and PEIM module types.")\r | |
102 | ERR_INF_PARSER_DEFINE_SECTION_HEADER_INVALID = \\r | |
103 | _("The format of the section header is incorrect")\r | |
104 | ERR_INF_PARSER_DEPEX_SECTION_INVALID = \\r | |
105 | _("A module can't have a Depex section when its module type is %s")\r | |
421ccda3 HC |
106 | ERR_INF_PARSER_DEPEX_SECTION_INVALID_FOR_BASE_LIBRARY_CLASS = \\r |
107 | _("A base type library class can't have a Depex section with module type not defined.")\r | |
4234283c LG |
108 | ERR_INF_PARSER_DEPEX_SECTION_INVALID_FOR_LIBRARY_CLASS = \\r |
109 | _("A library class can't have a Depex section when its supported module type list is not defined.")\r | |
110 | ERR_INF_PARSER_DEPEX_SECTION_INVALID_FOR_DRIVER = \\r | |
111 | _("A driver can't have a Depex section when its module type is UEFI_DRIVER.")\r | |
112 | ERR_INF_PARSER_DEPEX_SECTION_NOT_DETERMINED = \\r | |
113 | _("Cannot determine the module's Depex type. The Depex's module types are conflict")\r | |
114 | ERR_INF_PARSER_DEFINE_SECTION_MUST_ITEM_NOT_EXIST = _(\r | |
115 | "No %s found in INF file, please check it.")\r | |
116 | ERR_INF_PARSER_DEPEX_SECTION_MODULE_TYPE_ERROR = \\r | |
117 | _("The module type of [Depex] section is invalid, not support type of %s")\r | |
118 | ERR_INF_PARSER_DEPEX_SECTION_CONTENT_MISSING = \\r | |
119 | _("Missing content in: %s")\r | |
120 | ERR_INF_PARSER_DEPEX_SECTION_CONTENT_ERROR = \\r | |
f7496d71 | 121 | _("The [Depex] section contains invalid content: %s")\r |
4234283c LG |
122 | ERR_INF_PARSER_DEPEX_SECTION_SEC_TYPE_ERROR = \\r |
123 | _("The format is incorrect. The section type keyword of the content in the"\r | |
124 | " [Depex] section is only for 'PEI_DEPEX', 'DXE_DEPEX', 'SMM_DEPEX', "\r | |
125 | "it does not support type: %s")\r | |
126 | ERR_INF_PARSER_UE_SECTION_USER_ID_ERROR = \\r | |
127 | _("This format is incorrect. "\r | |
128 | "The UserID: %s in [UserExtension] section is incorrect.")\r | |
129 | ERR_INF_PARSER_UE_SECTION_ID_STRING_ERROR = \\r | |
130 | _("This format is incorrect. "\r | |
131 | "IdString: %s in [UserExtension] section is incorrect.")\r | |
132 | ERR_INF_PARSER_LIBRARY_SECTION_CONTENT_ERROR = \\r | |
133 | _("The format is incorrect. "\r | |
134 | "You can only have a Library name and a Feature flag in one line.")\r | |
135 | ERR_INF_PARSER_LIBRARY_SECTION_LIBNAME_MISSING = \\r | |
136 | _("Format invalid. Please specify a library name.")\r | |
137 | ERR_INF_PARSER_SOURCES_SECTION_CONTENT_ERROR = \\r | |
138 | _("The format is incorrect. It should be formated as follows: "\r | |
139 | "FileName, Family | TagName | ToolCode | FeatureFlagExpr.")\r | |
140 | ERR_INF_PARSER_PCD_SECTION_TYPE_ERROR = \\r | |
141 | _("The PCD section type is incorrect. The value should be this list: %s")\r | |
142 | ERR_INF_PARSER_PCD_SECTION_CONTENT_ERROR = \\r | |
f7496d71 | 143 | _("PcdName format invalid."\r |
4234283c LG |
144 | "Should like following: PcdName | Value | FeatureFlag.")\r |
145 | ERR_INF_PARSER_PCD_NAME_FORMAT_ERROR = \\r | |
f7496d71 LG |
146 | _("Format invalid."\r |
147 | "Should like following: <TokenSpaceGuidCName>.<PcdCName> ")\r | |
4234283c LG |
148 | ERR_INF_PARSER_GUID_PPI_PROTOCOL_SECTION_CONTENT_ERROR = \\r |
149 | _("The format is incorrect. "\r | |
150 | "It should be formated as follows: CName | FeatureFlag.")\r | |
151 | ERR_INF_PARSER_PACKAGE_SECTION_CONTENT_ERROR = \\r | |
152 | _("The format is incorrect. "\r | |
153 | "It should be formated as follows: <TokenSpaceGuidCName>.<PcdCName>")\r | |
154 | ERR_INF_PARSER_PCD_TAIL_COMMENTS_INVALID = \\r | |
155 | _("The format is incorrect. "\r | |
156 | "Multiple usage descriptions must be described on subsequent lines.")\r | |
157 | ERR_INF_PARSER_MODULE_SECTION_TYPE_ERROR = \\r | |
158 | _("This section format is incorrect: %s.")\r | |
159 | ERR_INF_PARSER_SECTION_NAME_DUPLICATE = \\r | |
160 | _("This section has multiple section names, "\r | |
161 | "only one section name is permitted.")\r | |
162 | ERR_INF_PARSER_SECTION_ARCH_CONFLICT = \\r | |
163 | _("The 'common' ARCH must not be used with the specified ARCHs.")\r | |
164 | ERR_INF_PARSER_SOURCE_SECTION_TAGNAME_INVALID = \\r | |
165 | _("This TagName is incorrect: %s. "\r | |
166 | "It must be corrected before continuing.")\r | |
167 | ERR_INF_PARSER_TAGNAME_NOT_PERMITTED = \\r | |
168 | _("TagName is not permitted: %s. "\r | |
169 | "It must be corrected before continuing.")\r | |
170 | ERR_INF_PARSER_TOOLCODE_NOT_PERMITTED = \\r | |
171 | _("ToolCode is not permitted: %s. "\r | |
172 | "It must be corrected before continuing.")\r | |
173 | ERR_INF_PARSER_SOURCE_SECTION_FAMILY_INVALID = \\r | |
174 | _("This family is incorrect: %s. "\r | |
175 | "It must be corrected before continuing. ")\r | |
176 | ERR_INF_PARSER_SOURCE_SECTION_SECTIONNAME_INVALID = \\r | |
177 | _("This SectionName is incorrect: %s. "\r | |
178 | "It must be corrected before continuing.")\r | |
179 | ERR_INF_PARSER_PCD_CVAR_GUID = \\r | |
180 | _("TokenSpaceGuidCName must be valid C variable format.")\r | |
181 | ERR_INF_PARSER_PCD_CVAR_PCDCNAME = \\r | |
182 | _("PcdCName must be valid C variable format.")\r | |
183 | ERR_INF_PARSER_PCD_VALUE_INVALID = \\r | |
f7496d71 | 184 | _("The PCD value is incorrect. It must be corrected before continuing.")\r |
4234283c LG |
185 | ERR_INF_PARSER_FEATURE_FLAG_EXP_SYNTAX_INVLID = \\r |
186 | _("Incorrect feature flag expression: %s")\r | |
187 | ERR_INF_PARSER_FEATURE_FLAG_EXP_MISSING = \\r | |
188 | _("The feature flag expression is missing. Please specify a feature flag.")\r | |
189 | ERR_INF_PARSER_INVALID_CNAME = \\r | |
190 | _("Incorrect CName: %s. You must specify a valid C variable name.")\r | |
191 | ERR_INF_PARSER_CNAME_MISSING = \\r | |
192 | _("Missing CName. Specify a valid C variable name.")\r | |
193 | ERR_INF_PARSER_DEFINE_SECTION_KEYWORD_INVALID = \\r | |
f7496d71 | 194 | _("The Define section contains an invalid keyword: \"%s\"."\r |
4234283c LG |
195 | "It must be corrected before continuing.")\r |
196 | ERR_INF_PARSER_FILE_MISS_DEFINE = \\r | |
197 | _("The following file listed in the module "\r | |
198 | "directory is not listed in the INF: %s")\r | |
199 | ERR_INF_PARSER_VERSION_NUMBER_DEPRICATED = \\r | |
200 | _("VERSION_NUMBER depricated. "\r | |
201 | "The INF file %s should be modified to use the VERSION_STRING instead.")\r | |
202 | ERR_INF_PARSER_VER_EXIST_BOTH_NUM_STR = \\r | |
203 | _("The INF file %s defines both VERSION_NUMBER and VERSION_STRING, "\r | |
204 | "using VERSION_STRING")\r | |
205 | ERR_INF_PARSER_NOT_SUPPORT_EDKI_INF = _("EDKI INF is not supported")\r | |
2bcc713e | 206 | ERR_INF_PARSER_EDKI_COMMENT_IN_EDKII = _("The EDKI style comment is not supported in EDKII modules")\r |
4234283c LG |
207 | \r |
208 | ERR_INF_PARSER_FEATUREPCD_USAGE_INVALID = _("The usage for FeaturePcd can only"\r | |
f7496d71 | 209 | " be type of \"CONSUMES\".")\r |
4234283c LG |
210 | \r |
211 | ERR_INF_PARSER_DEFINE_ITEM_NO_NAME = _("No name specified")\r | |
212 | ERR_INF_PARSER_DEFINE_ITEM_NO_VALUE = _("No value specified")\r | |
213 | \r | |
214 | ERR_INF_PARSER_MODULETYPE_INVALID = _("Drivers and applications are not allowed to have a MODULE_TYPE of \"BASE\". "\r | |
215 | "Only libraries are permitted to a have a MODULE_TYPE of \"BASE\".")\r | |
216 | ERR_INF_GET_PKG_DEPENDENCY_FAIL = _("Failed to get PackageDependencies information from file %s")\r | |
217 | ERR_INF_NO_PKG_DEPENDENCY_INFO = _("There are no packages defined that use the AsBuilt PCD information.")\r | |
218 | \r | |
219 | #\r | |
220 | # Item duplicate\r | |
221 | #\r | |
421ccda3 HC |
222 | ERR_INF_PARSER_ITEM_DUPLICATE_IN_DEC = \\r |
223 | _('"%s" is redefined in its dependent DEC files')\r | |
f7496d71 | 224 | ERR_INF_PARSER_ITEM_DUPLICATE = _("%s define duplicated! "\r |
4234283c | 225 | "It must be corrected before continuing.")\r |
f7496d71 | 226 | ERR_INF_PARSER_ITEM_DUPLICATE_COMMON = _("%s define duplicated! Item listed"\r |
4234283c LG |
227 | "in an architectural section must not be listed in the common architectural"\r |
228 | "section.It must be corrected before continuing.")\r | |
229 | ERR_INF_PARSER_UE_SECTION_DUPLICATE_ERROR = \\r | |
230 | _("%s define duplicated! Each UserExtensions section header must have a "\r | |
231 | "unique set of UserId, IdString and Arch values. "\r | |
232 | "It must be corrected before continuing.")\r | |
233 | \r | |
234 | ERR_INF_PARSER_DEFINE_LIB_NAME_INVALID = \\r | |
235 | _("The name 'NULL' for LibraryClass is a reserved word."\r | |
236 | "Please don't use it.")\r | |
237 | \r | |
238 | ERR_GLOBAL_MARCO_INVALID = \\r | |
239 | _("Using global MACRO in INF/DEC is not permitted: %s . "\r | |
f7496d71 | 240 | "It must be corrected before continuing.")\r |
4234283c LG |
241 | \r |
242 | ERR_MARCO_DEFINITION_MISS_ERROR = \\r | |
243 | _("MACRO expand incorrectly, can not find the MACRO definition. "\r | |
f7496d71 | 244 | "It must be corrected before continuing.")\r |
4234283c LG |
245 | \r |
246 | #\r | |
247 | # AsBuilt related\r | |
248 | #\r | |
249 | ERR_LIB_CONTATIN_ASBUILD_AND_COMMON = _("A binary INF file should not contain both AsBuilt LIB_INSTANCES information "\r | |
250 | "and a common library entry.")\r | |
251 | ERR_LIB_INSTANCE_MISS_GUID = _("Could not get FILE_GUID definition from instance INF file.")\r | |
252 | \r | |
253 | ERR_BO_CONTATIN_ASBUILD_AND_COMMON = _("A binary INF file should contain either AsBuilt information "\r | |
254 | "or a common build option entry, not both.")\r | |
255 | \r | |
256 | ERR_ASBUILD_PCD_SECTION_TYPE = _("The AsBuilt INF file contains a PCD section type that is not permitted: %s.")\r | |
257 | ERR_ASBUILD_PATCHPCD_FORMAT_INVALID = _("The AsBuilt PatchPcd entry must contain 3 elements: PcdName|Value|Offset")\r | |
421ccda3 | 258 | ERR_ASBUILD_PCDEX_FORMAT_INVALID = _("The AsBuilt PcdEx entry must contain one element: PcdName")\r |
4234283c LG |
259 | ERR_ASBUILD_PCD_VALUE_INVALID = \\r |
260 | _("The AsBuilt PCD value %s is incorrect or not align with it's datum type %s. "\r | |
261 | "It must be corrected before continuing.")\r | |
262 | ERR_ASBUILD_PCD_TOKENSPACE_GUID_VALUE_MISS = _("Package file value could not be retrieved for %s.")\r | |
263 | ERR_ASBUILD_PCD_DECLARITION_MISS = _("PCD Declaration in DEC files could not be found for: %s.")\r | |
264 | ERR_ASBUILD_PCD_OFFSET_FORMAT_INVALID = _("PCD offset format invalid, number of (0-4294967295) or"\r | |
265 | "Hex number of UINT32 allowed : %s.")\r | |
266 | \r | |
267 | #\r | |
268 | # XML parser related strings\r | |
269 | #\r | |
270 | ERR_XML_PARSER_REQUIRED_ITEM_MISSING = \\r | |
271 | _("The XML section/attribute '%s' is required under %s, it can't be missing or empty")\r | |
272 | ERR_XML_INVALID_VARIABLENAME = \\r | |
273 | _("The VariableName of the GUID in the XML tree does not conform to the packaging specification. "\r | |
274 | "Only a Hex Byte Array of UCS-2 format or L\"string\" is allowed): %s %s %s")\r | |
275 | ERR_XML_INVALID_LIB_SUPMODLIST = _("The LIBRARY_CLASS entry %s must have the list appended using the format as: \n"\r | |
276 | "BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER SMM_CORE DXE_SMM_DRIVER DXE_RUNTIME_DRIVER "\r | |
277 | "DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION USER_DEFINED\n Current is %s.")\r | |
278 | ERR_XML_INVALID_EXTERN_SUPARCHLIST = \\r | |
279 | _("There is a mismatch of SupArchList %s between the EntryPoint, UnloadImage, Constructor, "\r | |
280 | "and Destructor elements in the ModuleSurfaceArea.ModuleProperties: SupArchList: %s. ")\r | |
281 | ERR_XML_INVALID_EXTERN_SUPMODLIST = _("The SupModList attribute of the CONSTRUCTOR or DESTRUCTOR element: %s does not "\r | |
282 | "match the Supported Module Types listed after LIBRARY_CLASS = <Keyword> | %s")\r | |
283 | ERR_XML_INVALID_EXTERN_SUPMODLIST_NOT_LIB = _("The module is not a library module. "\r | |
284 | "The MODULE_TYPE : %s listed in the ModuleSurfaceArea.Header "\r | |
285 | "must match the SupModList attribute %s")\r | |
286 | ERR_XML_INVALID_BINARY_FILE_TYPE = _("Invalid binary file type %s.")\r | |
287 | \r | |
288 | #\r | |
289 | # Verbosity related strings.\r | |
290 | #\r | |
291 | MSG_DISTRIBUTION_PACKAGE_FILE_EXISTS = _(\r | |
292 | "The distribution package file %s already exists.\nPress Y to override it."\r | |
293 | " To exit the application, press any other key.")\r | |
294 | MSG_CHECK_MODULE_EXIST = _(\r | |
295 | "\nChecking to see if module exists in workspace started ...")\r | |
296 | MSG_CHECK_MODULE_EXIST_FINISH = \\r | |
297 | _("Checking to see if module exists in workspace ... Done.")\r | |
298 | MSG_CHECK_MODULE_DEPEX_START = _(\r | |
299 | "\nChecking to see if module depex met by workspace started ...")\r | |
300 | MSG_CHECK_MODULE_DEPEX_FINISH = _(\r | |
301 | "Checking to see if module depex met by workspace ... Done.")\r | |
302 | MSG_CHECK_PACKAGE_START = _(\r | |
303 | "\nChecking to see if package exists in workspace started ...")\r | |
304 | MSG_CHECK_PACKAGE_FINISH = _(\r | |
305 | "Checking to see if package exists in workspace ... Done.")\r | |
306 | MSG_CHECK_DP_START = \\r | |
307 | _("\nChecking to see if DP exists in workspace ... Done.")\r | |
308 | MSG_CHECK_DP_FINISH = _("Check DP exists in workspace ... Done.")\r | |
309 | MSG_MODULE_DEPEND_ON = _("Module %s depends on Package %s")\r | |
310 | MSG_INIT_IPI_START = _("\nInitialize IPI database started ...")\r | |
311 | MSG_INIT_IPI_FINISH = _("Initialize IPI database ... Done.")\r | |
312 | MSG_GET_DP_INSTALL_LIST = _(\r | |
313 | "\nGetting list of DP install information started ...")\r | |
314 | MSG_GET_DP_INSTALL_INFO_START = _(\r | |
315 | "\nGetting list of DP install information started ...")\r | |
316 | MSG_GET_DP_INSTALL_INFO_FINISH = _("Getting DP install information ... Done.")\r | |
317 | MSG_UZIP_PARSE_XML = _(\r | |
318 | "Unzipping and parsing distribution package XML file ... ")\r | |
319 | MSG_INSTALL_PACKAGE = _("Installing package ... %s")\r | |
320 | MSG_INSTALL_MODULE = _("Installing module ... %s")\r | |
321 | MSG_NEW_FILE_NAME_FOR_DIST = _(\r | |
322 | "Provide new filename for distribution file to be saved:\n")\r | |
323 | MSG_UPDATE_PACKAGE_DATABASE = _("Update Distribution Package Database ...")\r | |
324 | MSG_PYTHON_ON = _("(Python %s on %s) ")\r | |
325 | MSG_SEARCH_FOR_HELP = _(\r | |
3a0f8bde | 326 | "\n(Please send email to edk2-devel@lists.01.org for\n"\r |
4234283c LG |
327 | " help, attach the following call stack trace.)\n")\r |
328 | MSG_REMOVE_TEMP_FILE_STARTED = _("Removing temp files started ... ")\r | |
329 | MSG_REMOVE_TEMP_FILE_DONE = _("Removing temp files ... Done.")\r | |
330 | MSG_FINISH = _("Successfully Done.")\r | |
331 | MSG_COMPRESS_DISTRIBUTION_PKG = _("Compressing Distribution Package File ...")\r | |
332 | MSG_CONFIRM_REMOVE = _(\r | |
333 | "Some packages or modules depend on this distribution package.\n"\r | |
334 | "Do you really want to remove it?")\r | |
335 | MSG_CONFIRM_REMOVE2 = _(\r | |
336 | "This file has been modified: %s. Do you want to remove it?"\r | |
337 | "Press Y to remove or other key to keep it")\r | |
338 | MSG_CONFIRM_REMOVE3 = _(\r | |
339 | "This is a newly created file: %s. Are you sure you want to remove it? "\r | |
340 | "Press Y to remove or any other key to keep it")\r | |
341 | MSG_USER_DELETE_OP = _(\r | |
342 | "Press Y to delete all files or press any other key to quit:")\r | |
343 | MSG_REMOVE_FILE = _("Removing file: %s ...")\r | |
344 | \r | |
345 | MSG_INITIALIZE_ECC_STARTED = _("\nInitialize ECC database started ...")\r | |
346 | MSG_INITIALIZE_ECC_DONE = _("Initialize ECC database ... Done.")\r | |
347 | MSG_DEFINE_STATEMENT_FOUND = _("DEFINE statement '%s' found in section %s")\r | |
348 | MSG_PARSING = _("Parsing %s ...")\r | |
349 | \r | |
350 | MSG_REPKG_CONFLICT = \\r | |
351 | _("Repackaging is not allowed on this file: %s. "\r | |
352 | "It was installed from distribution %s(Guid %s Version %s).")\r | |
353 | \r | |
354 | MSG_INVALID_MODULE_INTRODUCED = _("Some modules are not valid after removal.")\r | |
355 | MSG_CHECK_LOG_FILE = _("Please check log file %s for full list")\r | |
356 | MSG_NEW_FILE_NAME = _(\r | |
357 | "Provide new filename:\n")\r | |
358 | MSG_RELATIVE_PATH_ONLY = _("Please specify a relative path, full path is not allowed: %s")\r | |
359 | MSG_NEW_PKG_PATH = _(\r | |
360 | "Select package location. To quit with no input, press [Enter].")\r | |
421ccda3 HC |
361 | MSG_CHECK_DP_FOR_REPLACE = _("Verifying the dependency rule for replacement of distributions:\n %s replaces %s")\r |
362 | MSG_CHECK_DP_FOR_INSTALL = _("Verifying the dependency rule for installation of distribution:\n %s")\r | |
363 | MSG_REPLACE_ALREADY_INSTALLED_DP = _("Distribution with the same GUID/Version is already installed, "\r | |
364 | "replace would result in two instances, which is not allowed")\r | |
365 | MSG_RECOVER_START = _('An error was detected, recovery started ...')\r | |
366 | MSG_RECOVER_DONE = _('Recovery completed.')\r | |
367 | MSG_RECOVER_FAIL = _('Recovery failed.')\r | |
4234283c LG |
368 | #\r |
369 | # Error related strings.\r | |
370 | #\r | |
371 | \r | |
372 | ERR_DEPENDENCY_NOT_MATCH = _(\r | |
f7496d71 | 373 | "Module %s's dependency on package %s (GUID %s Version %s) "\r |
4234283c LG |
374 | "cannot be satisfied")\r |
375 | ERR_MODULE_NOT_INSTALLED = _(\r | |
376 | "This module is not installed in the workspace: %s\n")\r | |
377 | ERR_DIR_ALREADY_EXIST = _(\r | |
378 | "This directory already exists: %s.\n"\r | |
379 | "Select another location. Press [Enter] with no input to quit:")\r | |
380 | ERR_USER_INTERRUPT = _("The user has paused the application")\r | |
381 | ERR_DIST_FILE_TOOMANY = _(\r | |
382 | "Only one .content and one .pkg file in ZIP file are allowed.")\r | |
383 | ERR_DIST_FILE_TOOFEW = _(\r | |
384 | "Must have one .content and one .pkg file in the ZIP file.")\r | |
385 | ERR_FILE_ALREADY_EXIST = _(\r | |
386 | "This file already exists: %s.\n"\r | |
387 | "Select another path to continue. To quit with no input press [Enter]:")\r | |
388 | ERR_SPECIFY_PACKAGE = _(\r | |
389 | "One distribution package must be specified")\r | |
390 | ERR_FILE_BROKEN = _(\r | |
391 | "This file is invalid in the distribution package: %s")\r | |
392 | ERR_PACKAGE_NOT_MATCH_DEPENDENCY = _(\r | |
393 | "This distribution package does not meet the dependency requirements")\r | |
394 | ERR_UNKNOWN_FATAL_INSTALL_ERR = \\r | |
395 | _("Unknown unrecoverable error when installing: %s")\r | |
421ccda3 HC |
396 | ERR_UNKNOWN_FATAL_REPLACE_ERR = \\r |
397 | _("Unknown unrecoverable error during replacement of distributions: %s replaces %s")\r | |
4234283c LG |
398 | ERR_OPTION_NOT_FOUND = _("Options not found")\r |
399 | ERR_INVALID_PACKAGE_NAME = _("Incorrect package name: %s. ")\r | |
400 | ERR_INVALID_PACKAGE_PATH = \\r | |
401 | _("Incorrect package path: %s. The path must be a relative path.")\r | |
402 | ERR_NOT_FOUND = _("This was not found: %s")\r | |
403 | ERR_INVALID_MODULE_NAME = _("This is not a valid module name: %s")\r | |
404 | ERR_INVALID_METAFILE_PATH = _('This file must be in sub-directory of WORKSPACE: %s.')\r | |
405 | ERR_INVALID_MODULE_PATH = \\r | |
406 | _("Incorrect module path: %s. The path must be a relative path.")\r | |
407 | ERR_UNKNOWN_FATAL_CREATING_ERR = _("Unknown error when creating: %s")\r | |
408 | ERR_PACKAGE_NOT_INSTALLED = _(\r | |
409 | "This distribution package not installed: %s")\r | |
410 | ERR_DISTRIBUTION_NOT_INSTALLED = _(\r | |
411 | "The distribution package is not installed.")\r | |
412 | ERR_UNKNOWN_FATAL_REMOVING_ERR = _("Unknown error when removing package")\r | |
421ccda3 | 413 | ERR_UNKNOWN_FATAL_INVENTORYWS_ERR = _("Unknown error when inventorying WORKSPACE")\r |
4234283c LG |
414 | ERR_NOT_CONFIGURE_WORKSPACE_ENV = _(\r |
415 | "The WORKSPACE environment variable must be configured.")\r | |
416 | ERR_NO_TEMPLATE_FILE = _("This package information data file is not found: %s")\r | |
417 | ERR_DEBUG_LEVEL = _(\r | |
418 | "Not supported debug level. Use default level instead.")\r | |
419 | ERR_REQUIRE_T_OPTION = _(\r | |
420 | "Option -t is required during distribution creation.")\r | |
421ccda3 HC |
421 | ERR_REQUIRE_O_OPTION = _(\r |
422 | "Option -o is required during distribution replacement.")\r | |
423 | ERR_REQUIRE_U_OPTION = _(\r | |
424 | "Option -u is required during distribution replacement.")\r | |
4234283c LG |
425 | ERR_REQUIRE_I_C_R_OPTION = _(\r |
426 | "Options -i, -c and -r are mutually exclusive.")\r | |
427 | ERR_I_C_EXCLUSIVE = \\r | |
428 | _("Option -c and -i are mutually exclusive.")\r | |
429 | ERR_I_R_EXCLUSIVE = \\r | |
430 | _("Option -i and -r are mutually exclusive.")\r | |
431 | ERR_C_R_EXCLUSIVE = \\r | |
432 | _("Option -c and -r are mutually exclusive.")\r | |
421ccda3 HC |
433 | ERR_U_ICR_EXCLUSIVE = \\r |
434 | _("Option -u and -c/-i/-r are mutually exclusive.")\r | |
435 | \r | |
436 | ERR_L_OA_EXCLUSIVE = \\r | |
437 | _("Option -l and -c/-i/-r/-u are mutually exclusive.")\r | |
4234283c LG |
438 | \r |
439 | ERR_FAILED_LOAD = _("Failed to load %s\n\t%s")\r | |
440 | ERR_PLACEHOLDER_DIFFERENT_REPEAT = _(\r | |
441 | "${%s} has different repeat time from others.")\r | |
442 | ERR_KEY_NOTALLOWED = _("This keyword is not allowed: %s")\r | |
443 | ERR_NOT_FOUND_ENVIRONMENT = _("Environment variable not found")\r | |
444 | ERR_WORKSPACE_NOTEXIST = _("WORKSPACE doesn't exist")\r | |
445 | ERR_SPACE_NOTALLOWED = _(\r | |
446 | "Whitespace characters are not allowed in the WORKSPACE path. ")\r | |
447 | ERR_MACRONAME_NOGIVEN = _("No MACRO name given")\r | |
448 | ERR_MACROVALUE_NOGIVEN = _("No MACRO value given")\r | |
449 | ERR_MACRONAME_INVALID = _("Incorrect MACRO name: %s")\r | |
450 | ERR_MACROVALUE_INVALID = _("Incorrect MACRO value: %s")\r | |
451 | ERR_NAME_ONLY_DEFINE = _(\r | |
452 | "This variable can only be defined via environment variable: %s")\r | |
453 | ERR_EDK_GLOBAL_SAMENAME = _(\r | |
454 | "EDK_GLOBAL defined a macro with the same name as one defined by 'DEFINE'")\r | |
455 | ERR_SECTIONNAME_INVALID = _(\r | |
456 | "An incorrect section name was found: %s. 'The correct file is '%s' .")\r | |
457 | ERR_CHECKFILE_NOTFOUND = _(\r | |
458 | "Can't find file '%s' defined in section '%s'")\r | |
459 | ERR_INVALID_NOTFOUND = _(\r | |
460 | "Incorrect statement '%s' was found in section '%s'")\r | |
461 | ERR_TEMPLATE_NOTFOUND = _("This package information data file is not found: %s")\r | |
462 | ERR_SECTION_NAME_INVALID = _('Incorrect section name: %s')\r | |
463 | ERR_SECTION_REDEFINE = _(\r | |
464 | "This section already defined: %s.")\r | |
465 | ERR_SECTION_NAME_NONE = \\r | |
466 | _('The section needs to be specified first.')\r | |
467 | ERR_KEYWORD_INVALID = _('Invalid keyword: %s')\r | |
468 | ERR_VALUE_INVALID = _("Invalid \"%s\" value in section [%s].")\r | |
469 | ERR_FILELIST_LOCATION = _(\r | |
470 | 'The directory "%s" must contain this file: "%s".')\r | |
471 | ERR_KEYWORD_REDEFINE = _(\r | |
472 | "Keyword in this section can only be used once: %s.")\r | |
473 | ERR_FILELIST_EXIST = _(\r | |
474 | 'This file does not exist: %s.')\r | |
475 | ERR_COPYRIGHT_CONTENT = _(\r | |
476 | "The copyright content must contain the word \"Copyright\" (case insensitive).")\r | |
477 | ERR_WRONG_FILELIST_FORMAT = \\r | |
f7496d71 | 478 | _('File list format is incorrect.'\r |
4234283c LG |
479 | 'The correct format is: filename|key=value[|key=value]')\r |
480 | ERR_FILELIST_ATTR = _(\r | |
481 | "The value of attribute \"%s\" includes illegal character.")\r | |
482 | ERR_UNKNOWN_FILELIST_ATTR = _(\r | |
483 | 'Unknown attribute name: %s.')\r | |
484 | ERR_EMPTY_VALUE = _("Empty value is not allowed")\r | |
485 | ERR_KEYWORD_MANDATORY = _('This keyword is mandatory: %s')\r | |
486 | ERR_BOOLEAN_VALUE = _(\r | |
487 | 'Value of key [%s] must be true or false, current: [%s]')\r | |
488 | ERR_GUID_VALUE = _(\r | |
489 | 'GUID must have the format of 8-4-4-4-12 with HEX value. '\r | |
490 | 'Current value: [%s]')\r | |
491 | ERR_VERSION_VALUE = _(\r | |
492 | 'The value of key [%s] must be a decimal number. Found: [%s]')\r | |
493 | ERR_VERSION_XMLSPEC = _(\r | |
494 | 'XmlSpecification value must be 1.1, current: %s.')\r | |
495 | \r | |
496 | ERR_INVALID_GUID = _("Incorrect GUID value string: %s")\r | |
497 | \r | |
498 | ERR_FILE_NOT_FOUND = \\r | |
499 | _("File or directory not found in workspace")\r | |
500 | ERR_FILE_OPEN_FAILURE = _("Could not open file")\r | |
501 | ERR_FILE_WRITE_FAILURE = _("Could not write file.")\r | |
502 | ERR_FILE_PARSE_FAILURE = _("Could not parse file")\r | |
503 | ERR_FILE_READ_FAILURE = _("Could not read file")\r | |
504 | ERR_FILE_CREATE_FAILURE = _("Could not create file")\r | |
505 | ERR_FILE_CHECKSUM_FAILURE = _("Checksum of file is incorrect")\r | |
506 | ERR_FILE_COMPRESS_FAILURE = _("File compression did not correctly")\r | |
507 | ERR_FILE_DECOMPRESS_FAILURE = \\r | |
508 | _("File decompression did not complete correctly")\r | |
509 | ERR_FILE_MOVE_FAILURE = _("Move file did not complete successfully")\r | |
510 | ERR_FILE_DELETE_FAILURE = _("File could not be deleted")\r | |
511 | ERR_FILE_COPY_FAILURE = _("File did not copy correctly")\r | |
512 | ERR_FILE_POSITIONING_FAILURE = _("Could not find file seek position")\r | |
513 | ERR_FILE_TYPE_MISMATCH = _("Incorrect file type")\r | |
514 | ERR_FILE_CASE_MISMATCH = _("File name case mismatch")\r | |
515 | ERR_FILE_DUPLICATED = _("Duplicate file found")\r | |
516 | ERR_FILE_UNKNOWN_ERROR = _("Unknown error encountered on file")\r | |
517 | ERR_FILE_NAME_INVALIDE = _("This file name is invalid, it must not be an absolute path or "\r | |
518 | "contain a period \".\" or \"..\": %s.")\r | |
519 | ERR_OPTION_UNKNOWN = _("Unknown option")\r | |
520 | ERR_OPTION_MISSING = _("Missing option")\r | |
521 | ERR_OPTION_CONFLICT = _("Options conflict")\r | |
522 | ERR_OPTION_VALUE_INVALID = _("Invalid option value")\r | |
523 | ERR_OPTION_DEPRECATED = _("Deprecated option")\r | |
524 | ERR_OPTION_NOT_SUPPORTED = _("Unsupported option")\r | |
525 | ERR_OPTION_UNKNOWN_ERROR = _("Unknown error when processing options")\r | |
526 | ERR_PARAMETER_INVALID = _("Invalid parameter")\r | |
527 | ERR_PARAMETER_MISSING = _("Missing parameter")\r | |
528 | ERR_PARAMETER_UNKNOWN_ERROR = _("Unknown error in parameters")\r | |
529 | ERR_FORMAT_INVALID = _("Invalid syntax/format")\r | |
530 | ERR_FORMAT_NOT_SUPPORTED = _("Syntax/format not supported")\r | |
531 | ERR_FORMAT_UNKNOWN = _("Unknown format")\r | |
532 | ERR_FORMAT_UNKNOWN_ERROR = _("Unknown error in syntax/format ")\r | |
533 | ERR_RESOURCE_NOT_AVAILABLE = _("Not available")\r | |
534 | ERR_RESOURCE_ALLOCATE_FAILURE = _("A resource allocation has failed")\r | |
535 | ERR_RESOURCE_FULL = _("Full")\r | |
536 | ERR_RESOURCE_OVERFLOW = _("Overflow")\r | |
537 | ERR_RESOURCE_UNDERRUN = _("Underrun")\r | |
538 | ERR_RESOURCE_UNKNOWN_ERROR = _("Unknown error")\r | |
539 | ERR_ATTRIBUTE_NOT_AVAILABLE = _("Not available")\r | |
540 | ERR_ATTRIBUTE_RETRIEVE_FAILURE = _("Unable to retrieve")\r | |
541 | ERR_ATTRIBUTE_SET_FAILURE = _("Unable to set")\r | |
542 | ERR_ATTRIBUTE_UPDATE_FAILURE = _("Unable to update")\r | |
543 | ERR_ATTRIBUTE_ACCESS_DENIED = _("Access denied")\r | |
544 | ERR_ATTRIBUTE_UNKNOWN_ERROR = _("Unknown error when accessing")\r | |
545 | ERR_COMMAND_FAILURE = _("Unable to execute command")\r | |
546 | ERR_IO_NOT_READY = _("Not ready")\r | |
547 | ERR_IO_BUSY = _("Busy")\r | |
548 | ERR_IO_TIMEOUT = _("Timeout")\r | |
549 | ERR_IO_UNKNOWN_ERROR = _("Unknown error in IO operation")\r | |
550 | ERR_UNKNOWN_ERROR = _("Unknown error")\r | |
551 | ERR_UPT_ALREADY_INSTALLED_ERROR = _("Already installed")\r | |
552 | ERR_UPT_ENVIRON_MISSING_ERROR = _("Environ missing")\r | |
553 | ERR_UPT_REPKG_ERROR = _("File not allowed for RePackage")\r | |
d0acc87a | 554 | ERR_UPT_DB_UPDATE_ERROR = _("Update database did not complete successfully")\r |
4234283c LG |
555 | ERR_UPT_INI_PARSE_ERROR = _("INI file parse error")\r |
556 | ERR_COPYRIGHT_MISSING = \\r | |
557 | _("Header comment section must have copyright information")\r | |
558 | ERR_LICENSE_MISSING = \\r | |
559 | _("Header comment section must have license information")\r | |
2bc3256c LG |
560 | ERR_INVALID_BINARYHEADER_FORMAT = \\r |
561 | _("Binary Header comment section must have abstract,description,copyright,license information")\r | |
562 | ERR_MULTIPLE_BINARYHEADER_EXIST = \\r | |
563 | _("the inf file at most support one BinaryHeader at the fileheader section.")\r | |
4234283c LG |
564 | ERR_INVALID_COMMENT_FORMAT = _("Comment must start with #")\r |
565 | ERR_USER_ABORT = _("User has stopped the application")\r | |
566 | ERR_DIST_EXT_ERROR = \\r | |
567 | _("Distribution file extension should be '.dist'. Current given: '%s'.")\r | |
568 | ERR_DIST_FILENAME_ONLY_FOR_REMOVE = \\r | |
569 | _("Only distribution filename without path allowed during remove. Current given: '%s'.")\r | |
570 | ERR_NOT_STANDALONE_MODULE_ERROR = \\r | |
571 | _("Module %s is not a standalone module (found in Package %s)")\r | |
572 | ERR_UPT_ALREADY_RUNNING_ERROR = \\r | |
573 | _("UPT is already running, only one instance is allowed")\r | |
574 | ERR_MUL_DEC_ERROR = _("Multiple DEC files found within one package directory tree %s: %s, %s")\r | |
575 | ERR_INSTALL_FILE_FROM_EMPTY_CONTENT = _("Error file to be installed is not found in content file: %s")\r | |
576 | ERR_INSTALL_FILE_DEC_FILE_ERROR = _("Could not obtain the TokenSpaceGuidCName and the PcdCName from the DEC files "\r | |
577 | "that the package depends on for this pcd entry: TokenValue: %s Token: %s")\r | |
578 | ERR_NOT_SUPPORTED_SA_MODULE = _("Stand-alone module distribution does not allow EDK 1 INF")\r | |
579 | ERR_INSTALL_DIST_NOT_FOUND = \\r | |
580 | _("Distribution file to be installed is not found in current working directory or workspace: %s")\r | |
421ccda3 HC |
581 | ERR_REPLACE_DIST_NOT_FOUND = \\r |
582 | _("Distribution file for replace function was not found in the current working directory or workspace: %s")\r | |
583 | ERR_DIST_FILENAME_ONLY_FOR_REPLACE_ORIG = \\r | |
584 | _("Only a distribution file name without a path is allowed for "\r | |
585 | "the distribution to be replaced during replace. Current given: '%s'.")\r | |
586 | ERR_UNIPARSE_DBLQUOTE_UNMATCHED = \\r | |
587 | _("Only Language entry can contain a couple of matched quote in one line")\r | |
588 | ERR_UNIPARSE_NO_SECTION_EXIST = _("No PakcageDef or ModuleDef section exists in the UNI file.")\r | |
589 | ERR_UNIPARSE_STRNAME_FORMAT_ERROR = _("The String Token Name %s must start with \"STR_\"")\r | |
590 | ERR_UNIPARSE_SEP_LANGENTRY_LINE = _("Each <LangEntry> should be in a separate line :%s.")\r | |
591 | ERR_UNIPARSE_MULTI_ENTRY_EXIST = \\r | |
592 | _("There are same entries : %s in the UNI file, every kind of entry should be only one.")\r | |
593 | ERR_UNIPARSE_ENTRY_ORDER_WRONG = \\r | |
594 | _("The string entry order in UNI file should be <AbstractStrings>, <DescriptionStrings>, \\r | |
595 | <BinaryAbstractStrings>, <BinaryDescriptionStrings>.")\r | |
f7496d71 | 596 | ERR_UNIPARSE_STRTOKEN_FORMAT_ERROR = _("The String Token Type %s must be one of the '_PROMPT', '_HELP' and '_ERR_'.")\r |
421ccda3 HC |
597 | ERR_UNIPARSE_LINEFEED_UNDER_EXIST = _("Line feed should not exist under this line: %s.")\r |
598 | ERR_UNIPARSE_LINEFEED_UP_EXIST = _("Line feed should not exist up this line: %s.")\r | |
fe90f483 | 599 | ERR_UNI_MISS_STRING_ENTRY = _("String entry missed in this Entry, %s.")\r |
421ccda3 | 600 | ERR_UNI_MISS_LANGENTRY = _("Language entry missed in this Entry, %s.")\r |
2bc3256c LG |
601 | ERR_BINARY_HEADER_ORDER = _("Binary header must follow the file header.")\r |
602 | ERR_NO_SOURCE_HEADER = _("File header statement \"## @file\" must exist at the first place.")\r | |
421ccda3 HC |
603 | ERR_UNI_FILE_SUFFIX_WRONG = _("The UNI file must have an extension of '.uni', '.UNI' or '.Uni'")\r |
604 | ERR_UNI_FILE_NAME_INVALID = _("The use of '..', '../' and './' in the UNI file is prohibited.")\r | |
605 | ERR_UNI_SUBGUID_VALUE_DEFINE_DEC_NOT_FOUND = _("There are no DEC file to define the GUID value for \\r | |
606 | this GUID CName: '%s'.")\r | |
4234283c LG |
607 | \r |
608 | #\r | |
609 | # Expression error message\r | |
610 | #\r | |
611 | ERR_EXPR_RIGHT_PAREN = \\r | |
421ccda3 | 612 | _('Missing ")" in expression "%s".')\r |
4234283c | 613 | ERR_EXPR_FACTOR = \\r |
421ccda3 HC |
614 | _('"%s" is expected to be HEX, integer, macro, quoted string or PcdName in '\r |
615 | 'expression "%s".')\r | |
4234283c | 616 | ERR_EXPR_STRING_ITEM = \\r |
421ccda3 HC |
617 | _('"%s" is expected to be HEX, integer, macro, quoted string or PcdName in '\r |
618 | 'expression [%s].')\r | |
4234283c | 619 | ERR_EXPR_EQUALITY = \\r |
421ccda3 | 620 | _('"%s" is expected to be ==, EQ, != or NE in expression "%s".')\r |
4234283c | 621 | ERR_EXPR_BOOLEAN = \\r |
421ccda3 | 622 | _('The string "%s" in expression "%s" can not be recognized as a part of the logical expression.')\r |
4234283c | 623 | ERR_EXPR_EMPTY = _('Boolean value cannot be empty.')\r |
421ccda3 | 624 | ERR_EXPRESS_EMPTY = _('Expression can not be empty.')\r |
4234283c | 625 | ERR_EXPR_LOGICAL = \\r |
421ccda3 HC |
626 | _('The following is not a valid logical expression: "%s".')\r |
627 | ERR_EXPR_OR = _('The expression: "%s" must be encapsulated in open "(" and close ")" '\r | |
4234283c | 628 | 'parenthesis when using | or ||.')\r |
421ccda3 HC |
629 | ERR_EXPR_RANGE = \\r |
630 | _('The following is not a valid range expression: "%s".')\r | |
631 | ERR_EXPR_RANGE_FACTOR = \\r | |
632 | _('"%s" is expected to be HEX, integer in valid range expression "%s".')\r | |
633 | ERR_EXPR_RANGE_DOUBLE_PAREN_NESTED = \\r | |
634 | _('Double parentheses nested is not allowed in valid range expression: "%s".')\r | |
635 | ERR_EXPR_RANGE_EMPTY = _('Valid range can not be empty.')\r | |
636 | ERR_EXPR_LIST_EMPTY = _('Valid list can not be empty.')\r | |
637 | ERR_PAREN_NOT_USED = _('Parenthesis must be used on both sides of "OR", "AND" in valid range : %s.')\r | |
638 | ERR_EXPR_LIST = \\r | |
639 | _('The following is not a valid list expression: "%s".')\r | |
640 | \r | |
4234283c | 641 | \r |
4234283c LG |
642 | # DEC parser error message\r |
643 | #\r | |
644 | ERR_DECPARSE_STATEMENT_EMPTY = \\r | |
645 | _('Must have at least one statement in section %s.')\r | |
646 | ERR_DECPARSE_DEFINE_DEFINED = \\r | |
647 | _('%s already defined in define section.')\r | |
648 | ERR_DECPARSE_DEFINE_SECNAME = \\r | |
649 | _('No arch and others can be followed for define section.')\r | |
650 | ERR_DECPARSE_DEFINE_MULTISEC = \\r | |
651 | _('The DEC file does not allow multiple define sections.')\r | |
652 | ERR_DECPARSE_DEFINE_REQUIRED = \\r | |
653 | _("Field [%s] is required in define section.")\r | |
654 | ERR_DECPARSE_DEFINE_FORMAT = \\r | |
655 | _("Wrong define section format, must be KEY = Value.")\r | |
656 | ERR_DECPARSE_DEFINE_UNKNOWKEY = \\r | |
657 | _("Unknown key [%s] in define section.")\r | |
658 | ERR_DECPARSE_DEFINE_SPEC = \\r | |
48b77f5e | 659 | _("Specification value must be HEX numbers or decimal numbers.")\r |
4234283c LG |
660 | ERR_DECPARSE_DEFINE_PKGNAME = \\r |
661 | _("Package name must be AlphaNumeric characters.")\r | |
662 | ERR_DECPARSE_DEFINE_PKGGUID = \\r | |
663 | _("GUID format error, must be HEX value with form 8-4-4-4-12.")\r | |
664 | ERR_DECPARSE_DEFINE_PKGVERSION = \\r | |
665 | _("Version number must be decimal number.")\r | |
666 | ERR_DECPARSE_DEFINE_PKGVUNI = \\r | |
667 | _("UNI file name format error or file does not exist.")\r | |
668 | ERR_DECPARSE_INCLUDE = \\r | |
669 | _("Incorrect path: [%s].")\r | |
670 | ERR_DECPARSE_LIBCLASS_SPLIT = \\r | |
671 | _("Library class format error, must be Libraryclass|Headerpath.")\r | |
672 | ERR_DECPARSE_LIBCLASS_EMPTY = \\r | |
673 | _("Class name or file name must not be empty.")\r | |
674 | ERR_DECPARSE_LIBCLASS_LIB = \\r | |
f7496d71 | 675 | _("Class name format error, must start with upper case letter followed with "\r |
4234283c LG |
676 | "zero or more alphanumeric characters.")\r |
677 | ERR_DECPARSE_LIBCLASS_PATH_EXT = _("File name must be end with .h.")\r | |
678 | ERR_DECPARSE_LIBCLASS_PATH_DOT = _("Path must not include '..'.")\r | |
679 | ERR_DECPARSE_LIBCLASS_PATH_EXIST = _("File name [%s] does not exist.")\r | |
680 | ERR_DECPARSE_PCD_CVAR_GUID = \\r | |
681 | _("TokenSpaceGuidCName must be valid C variable format.")\r | |
682 | ERR_DECPARSE_PCD_SPLIT = \\r | |
683 | _("Incorrect PcdName. The format must be TokenSpaceGuidCName.PcdCName"\r | |
684 | "|PcdData|PcdType|Token.")\r | |
685 | ERR_DECPARSE_PCD_NAME = \\r | |
686 | _("Incorrect PCD name. The correct format must be "\r | |
687 | "<TokenSpaceGuidCName>.<PcdCName>.")\r | |
688 | ERR_DECPARSE_PCD_CVAR_PCDCNAME = \\r | |
689 | _("PcdCName must be valid C variable format.")\r | |
690 | ERR_DECPARSE_PCD_TYPE = \\r | |
691 | _('Incorrect PCD data type. A PCD data type must be one of '\r | |
692 | '"UINT8", "UINT16", "UINT32", "UINT64", "VOID*", "BOOLEAN".')\r | |
693 | ERR_DECPARSE_PCD_VOID = \\r | |
694 | _("Incorrect value [%s] of type [%s]. Value must be printable and in the "\r | |
695 | "form of{...} for array, or ""..."" for string, or L""..."""\r | |
696 | "for unicode string.")\r | |
421ccda3 | 697 | ERR_DECPARSE_PCD_VALUE_EMPTY = \\r |
f7496d71 | 698 | _("Pcd value can not be empty.")\r |
4234283c LG |
699 | ERR_DECPARSE_PCD_BOOL = \\r |
700 | _("Invalid value [%s] of type [%s]; must be expression, TRUE, FALSE, 0 or 1.")\r | |
701 | ERR_DECPARSE_PCD_INT = _("Incorrect value [%s] of type [%s]."\\r | |
702 | " Value must be a hexadecimal, decimal or octal in C language format.")\r | |
703 | ERR_DECPARSE_PCD_INT_NEGTIVE = _("Incorrect value [%s] of type [%s];"\r | |
704 | " must not be signed number.")\r | |
705 | ERR_DECPARSE_PCD_INT_EXCEED = _("Incorrect value [%s] of type [%s]; "\r | |
706 | "the number is too long for this type.")\r | |
707 | ERR_DECPARSE_PCD_FEATUREFLAG = \\r | |
708 | _("PcdFeatureFlag only allow BOOLEAN type.")\r | |
709 | ERR_DECPARSE_PCD_TOKEN = \\r | |
710 | _("An incorrect PCD token found: [%s]. "\r | |
711 | "It must start with 0x followed by 1 - 8 hexadecimal. ")\r | |
712 | ERR_DECPARSE_PCD_TOKEN_INT = _("Incorrect token number [%s]. "\r | |
713 | "This token number exceeds the maximal value of unsigned 32.")\r | |
714 | ERR_DECPARSE_PCD_TOKEN_UNIQUE = _("Token number must be unique to the token space: %s.")\r | |
715 | ERR_DECPARSE_CGUID = \\r | |
716 | _("No GUID name or value specified, must be <CName> = <GuidValueInCFormat>.")\r | |
717 | ERR_DECPARSE_CGUID_NAME = \\r | |
718 | _("No GUID name specified, must be <CName> = <GuidValueInCFormat>.")\r | |
719 | ERR_DECPARSE_CGUID_GUID = \\r | |
720 | _("No GUID value specified, must be <CName> = <GuidValueInCFormat>.")\r | |
721 | ERR_DECPARSE_CGUID_GUIDFORMAT = \\r | |
f7496d71 | 722 | _("Incorrect GUID value format, must be <GuidValueInCFormat:"\r |
4234283c | 723 | "{8,4,4,{2,2,2,2,2,2,2,2}}>.")\r |
421ccda3 | 724 | ERR_DECPARSE_CGUID_NOT_FOUND = _("Unable to find the GUID value of this GUID CName : '%s'.")\r |
4234283c LG |
725 | ERR_DECPARSE_FILEOPEN = _("Unable to open: [%s].")\r |
726 | ERR_DECPARSE_SECTION_EMPTY = _("Empty sections are not allowed.")\r | |
727 | ERR_DECPARSE_SECTION_UE = _("Incorrect UserExtentions format. "\r | |
728 | "Must be UserExtenxions.UserId.IdString[.Arch]+.")\r | |
f7496d71 | 729 | ERR_DECPARSE_SECTION_UE_USERID = _("Invalid UserId, must be underscore"\r |
4234283c LG |
730 | "or alphanumeric characters.")\r |
731 | ERR_DECPARSE_SECTION_UE_IDSTRING = \\r | |
732 | _("Incorrect IdString, must be \" ... \".")\r | |
733 | ERR_DECPARSE_ARCH = \\r | |
734 | _("Unknown arch, must be 'common' or start with upper case letter followed by"\r | |
735 | " zero or more upper case letters and numbers.")\r | |
736 | ERR_DECPARSE_SECTION_COMMA = _("Section cannot end with comma.")\r | |
737 | ERR_DECPARSE_SECTION_COMMON = \\r | |
738 | _("'COMMON' must not be used with specific ARCHs in the same section.")\r | |
739 | ERR_DECPARSE_SECTION_IDENTIFY = \\r | |
740 | _("Section header must start with and end with brackets[].")\r | |
741 | ERR_DECPARSE_SECTION_SUBEMPTY = \\r | |
742 | _("Missing a sub-section name in section: [%s]. "\r | |
743 | "All sub-sections need to have names. ")\r | |
744 | ERR_DECPARSE_SECTION_SUBTOOMANY = _("Too many DOT splits in [%s].")\r | |
745 | ERR_DECPARSE_SECTION_UNKNOW = _("Section name [%s] unknown.")\r | |
746 | ERR_DECPARSE_SECTION_FEATUREFLAG = \\r | |
747 | _("[%s] must not be in the same section as other types of PCD.")\r | |
748 | ERR_DECPARSE_MACRO_PAIR = _("No macro name/value given.")\r | |
749 | ERR_DECPARSE_MACRO_NAME = _("No macro name given.")\r | |
750 | ERR_DECPARSE_MACRO_NAME_UPPER = \\r | |
751 | _("Macro name must start with upper case letter followed "\r | |
752 | "by zero or more upper case letters or numbers. Current macro name is: [%s].")\r | |
753 | ERR_DECPARSE_SECTION_NAME = \\r | |
754 | _('Cannot mix different section names %s.')\r | |
755 | ERR_DECPARSE_BACKSLASH = \\r | |
756 | _('Backslash must be the last character on a line and '\r | |
757 | 'preceded by a space character.')\r | |
758 | ERR_DECPARSE_BACKSLASH_EMPTY = \\r | |
759 | _('Empty line after previous line that has backslash is not allowed.')\r | |
760 | ERR_DECPARSE_REDEFINE = _(\r | |
761 | "\"%s\" already defined in line %d.")\r | |
762 | ERR_DECPARSE_MACRO_RESOLVE = _("Macro %s in %s cannot be resolved.")\r | |
763 | ERR_DECPARSE_UE_DUPLICATE = \\r | |
764 | _("Duplicated UserExtensions header found.")\r | |
421ccda3 HC |
765 | ERR_DECPARSE_PCDERRORMSG_MISS_VALUE_SPLIT = \\r |
766 | _("Missing '|' between Pcd's error code and Pcd's error message.")\r | |
767 | ERR_DECPARSE_PCD_MISS_ERRORMSG = \\r | |
768 | _("Missing Pcd's error message.")\r | |
769 | ERR_DECPARSE_PCD_UNMATCHED_ERRORCODE = \\r | |
770 | _("There is no error message matched with this Pcd error code : %s in both DEC and UNI file.")\r | |
771 | ERR_DECPARSE_PCD_NODEFINED = _("The PCD : %s used in the Expression is undefined.")\r | |
4234283c LG |
772 | #\r |
773 | # Used to print the current line content which cause error raise.\r | |
774 | # Be attached to the end of every error message above.\r | |
775 | #\r | |
776 | ERR_DECPARSE_LINE = _(" Parsing line: \"%s\".")\r | |
777 | \r | |
778 | #\r | |
779 | # Warning related strings.\r | |
780 | #\r | |
781 | WRN_PACKAGE_EXISTED = _(\r | |
782 | "A package with this GUID and Version already exists: "\r | |
783 | "GUID %s, Version %s.")\r | |
784 | WRN_MODULE_EXISTED = _("This module already exists: %s")\r | |
785 | WRN_FILE_EXISTED = _("This file already exists: %s")\r | |
786 | WRN_FILE_NOT_OVERWRITTEN = \\r | |
787 | _("This file already exist and cannot be overwritten: %s")\r | |
56636814 | 788 | WRN_DIST_PKG_INSTALLED = _("This distribution package %s has previously been installed.")\r |
4234283c LG |
789 | WRN_DIST_NOT_FOUND = _(\r |
790 | "Distribution is not found at location %s")\r | |
791 | WRN_MULTI_PCD_RANGES = _(\r | |
421ccda3 HC |
792 | "A PCD can only have one type of @ValidRange, @ValidList, and @Expression comment")\r |
793 | WRN_MULTI_PCD_VALIDVALUE = _(\r | |
794 | "A PCD can only have one of @ValidList comment")\r | |
795 | WRN_MULTI_PCD_PROMPT = _(\r | |
796 | "A PCD can only have one of @Prompt comment")\r | |
4234283c LG |
797 | WRN_MISSING_USAGE = _("Missing usage")\r |
798 | WRN_INVALID_GUID_TYPE = _("This is and incorrect Guid type: %s")\r | |
799 | WRN_MISSING_GUID_TYPE = _("Missing Guid Type")\r | |
800 | WRN_INVALID_USAGE = _("This is an incorrect Usage: %s")\r | |
801 | WRN_INF_PARSER_MODULE_INVALID_HOB_TYPE = \\r | |
802 | _("This is an incorrect HOB type: %s")\r | |
803 | WRN_INF_PARSER_MODULE_INVALID_EVENT_TYPE = \\r | |
804 | _("This is an incorrect EVENT type: %s")\r | |
805 | WRN_INF_PARSER_MODULE_INVALID_BOOTMODE_TYPE = \\r | |
806 | _("This is an incorrect BOOTMODE type: %s")\r | |
807 | WRN_INVALID_MODULE_TYPE = \\r | |
f7496d71 | 808 | _("This is an incorrect Module type: %s")\r |
4234283c LG |
809 | WRN_MODULE_PARSE_FAILED = \\r |
810 | _("Parsing of this module did not complete correctly: %s.")\r | |
811 | WRN_EDK1_INF_FOUND = \\r | |
812 | _("EDK 1 module file found: %s")\r | |
813 | WRN_INVALID_COPYRIGHT = \\r | |
814 | _("Copyright information is not right")\r | |
815 | WARN_SPECIAL_SECTION_LOCATION_WRONG = _("Warning. A special section should be "\r | |
816 | "at the end of a file or at the end of a section.")\r | |
817 | WARN_INSTALLED_PACKAGE_NOT_FOUND = \\r | |
818 | _("File not found. The DEC file for a package cannot be found in GUID/Version/Install path: %s %s %s")\r | |
421ccda3 HC |
819 | WARN_CUSTOMPATH_OVERRIDE_USEGUIDEDPATH = \\r |
820 | _("option selection of --custom-path will override the option --use-guided-paths")\r | |
4234283c LG |
821 | \r |
822 | #\r | |
823 | # Help related strings.\r | |
824 | #\r | |
825 | HLP_PRINT_DEBUG_INFO = _(\r | |
826 | "Print DEBUG statements, where DEBUG_LEVEL is 0-9")\r | |
827 | HLP_PRINT_INFORMATIONAL_STATEMENT = _("Print informational statements")\r | |
828 | HLP_RETURN_NO_DISPLAY = _(\r | |
f7496d71 | 829 | "Returns only the exit code, informational and error messages are"\r |
4234283c LG |
830 | " not displayed")\r |
831 | HLP_RETURN_AND_DISPLAY = _(\r | |
832 | "Returns the exit code and displays error messages only")\r | |
833 | HLP_SPECIFY_PACKAGE_NAME_INSTALL = _(\r | |
834 | "Specify the UEFI Distribution Package filename to install")\r | |
835 | HLP_SPECIFY_PACKAGE_NAME_CREATE = _(\r | |
836 | "Specify the UEFI Distribution Package filename to create")\r | |
837 | HLP_SPECIFY_PACKAGE_NAME_REMOVE = _(\r | |
838 | "Specify the UEFI Distribution Package filename to remove")\r | |
839 | HLP_SPECIFY_TEMPLATE_NAME_CREATE = _(\r | |
840 | "Specify Package Information Data filename to create package")\r | |
841 | HLP_SPECIFY_DEC_NAME_CREATE = _(\r | |
842 | "Specify dec file names to create package")\r | |
843 | HLP_SPECIFY_INF_NAME_CREATE = _(\r | |
844 | "Specify inf file names to create package")\r | |
421ccda3 HC |
845 | HLP_LIST_DIST_INSTALLED = _(\r |
846 | "List the UEFI Distribution Packages that have been installed")\r | |
4234283c LG |
847 | HLP_NO_SUPPORT_GUI = _(\r |
848 | "Starting the tool in graphical mode is not supported in this version")\r | |
849 | HLP_DISABLE_PROMPT = _(\r | |
421ccda3 | 850 | "Disable user prompts for removing modified files. Valid only when -r is present")\r |
4234283c LG |
851 | HLP_CUSTOM_PATH_PROMPT = _(\r |
852 | "Enable user prompting for alternate installation directories")\r | |
853 | HLP_SKIP_LOCK_CHECK = _(\r | |
854 | "Skip the check for multiple instances")\r | |
421ccda3 HC |
855 | HLP_SPECIFY_PACKAGE_NAME_REPLACE = _(\r |
856 | "Specify the UEFI Distribution Package file name to replace the existing file name")\r | |
857 | HLP_SPECIFY_PACKAGE_NAME_TO_BE_REPLACED = _(\r | |
858 | "Specify the UEFI Distribution Package file name to be replaced")\r | |
859 | HLP_USE_GUIDED_PATHS = _(\r | |
860 | "Install packages to the following directory path by default: <PackageName>_<PACKAGE_GUID>_<PACKAGE_VERSION>")\r | |
6cf99034 HC |
861 | HLP_TEST_INSTALL = _(\r |
862 | "Specify the UEFI Distribution Package filenames to install")\r | |
863 | \r | |
864 | MSG_TEST_INSTALL_PASS = _("All distribution package file are satisfied for dependence check.")\r | |
865 | MSG_TEST_INSTALL_FAIL = _("NOT all distribution package file are satisfied for dependence check.")\r |