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