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