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