]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Logger/StringTable.py
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Logger / StringTable.py
index 83ae0ae2f3e089366d6bbd394c2657333f6321b8..c1c7732b40ce4747d2aa41d936be844db2b98ca1 100644 (file)
@@ -1,11 +1,11 @@
 ## @file\r
 # This file is used to define strings used in the UPT tool\r
 #\r
-# Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
-# This program and the accompanying materials are licensed and made available \r
-# under the terms and conditions of the BSD License which accompanies this \r
-# distribution. The full text of the license may be found at \r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at\r
 # http://opensource.org/licenses/bsd-license.php\r
 #\r
 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
@@ -118,7 +118,7 @@ ERR_INF_PARSER_DEPEX_SECTION_MODULE_TYPE_ERROR = \
 ERR_INF_PARSER_DEPEX_SECTION_CONTENT_MISSING = \\r
     _("Missing content in: %s")\r
 ERR_INF_PARSER_DEPEX_SECTION_CONTENT_ERROR  = \\r
-    _("The [Depex] section contains invalid content: %s")                    \r
+    _("The [Depex] section contains invalid content: %s")\r
 ERR_INF_PARSER_DEPEX_SECTION_SEC_TYPE_ERROR = \\r
     _("The format is incorrect. The section type keyword of the content in the"\r
       " [Depex] section is only for 'PEI_DEPEX', 'DXE_DEPEX', 'SMM_DEPEX', "\r
@@ -140,11 +140,11 @@ ERR_INF_PARSER_SOURCES_SECTION_CONTENT_ERROR = \
 ERR_INF_PARSER_PCD_SECTION_TYPE_ERROR = \\r
     _("The PCD section type is incorrect. The value should be this list: %s")\r
 ERR_INF_PARSER_PCD_SECTION_CONTENT_ERROR = \\r
-    _("PcdName format invalid." \r
+    _("PcdName format invalid."\r
       "Should like following: PcdName | Value | FeatureFlag.")\r
 ERR_INF_PARSER_PCD_NAME_FORMAT_ERROR = \\r
-    _("Format invalid." \r
-      "Should like following: <TokenSpaceGuidCName>.<PcdCName> ")   \r
+    _("Format invalid."\r
+      "Should like following: <TokenSpaceGuidCName>.<PcdCName> ")\r
 ERR_INF_PARSER_GUID_PPI_PROTOCOL_SECTION_CONTENT_ERROR = \\r
     _("The format is incorrect. "\r
       "It should be formated as follows: CName | FeatureFlag.")\r
@@ -181,7 +181,7 @@ ERR_INF_PARSER_PCD_CVAR_GUID = \
 ERR_INF_PARSER_PCD_CVAR_PCDCNAME = \\r
     _("PcdCName must be valid C variable format.")\r
 ERR_INF_PARSER_PCD_VALUE_INVALID = \\r
-    _("The PCD value is incorrect. It must be corrected before continuing.")    \r
+    _("The PCD value is incorrect. It must be corrected before continuing.")\r
 ERR_INF_PARSER_FEATURE_FLAG_EXP_SYNTAX_INVLID = \\r
     _("Incorrect feature flag expression: %s")\r
 ERR_INF_PARSER_FEATURE_FLAG_EXP_MISSING = \\r
@@ -191,7 +191,7 @@ ERR_INF_PARSER_INVALID_CNAME = \
 ERR_INF_PARSER_CNAME_MISSING = \\r
     _("Missing CName. Specify a valid C variable name.")\r
 ERR_INF_PARSER_DEFINE_SECTION_KEYWORD_INVALID = \\r
-    _("The Define section contains an invalid keyword:  \"%s\"."  \r
+    _("The Define section contains an invalid keyword:  \"%s\"."\r
     "It must be corrected before continuing.")\r
 ERR_INF_PARSER_FILE_MISS_DEFINE = \\r
     _("The following file listed in the module "\r
@@ -206,7 +206,7 @@ ERR_INF_PARSER_NOT_SUPPORT_EDKI_INF = _("EDKI INF is not supported")
 ERR_INF_PARSER_EDKI_COMMENT_IN_EDKII = _("The EDKI style comment is not supported in EDKII modules")\r
 \r
 ERR_INF_PARSER_FEATUREPCD_USAGE_INVALID = _("The usage for FeaturePcd can only"\r
-    " be type of \"CONSUMES\".") \r
+    " be type of \"CONSUMES\".")\r
 \r
 ERR_INF_PARSER_DEFINE_ITEM_NO_NAME = _("No name specified")\r
 ERR_INF_PARSER_DEFINE_ITEM_NO_VALUE = _("No value specified")\r
@@ -221,9 +221,9 @@ ERR_INF_NO_PKG_DEPENDENCY_INFO = _("There are no packages defined that use the A
 #\r
 ERR_INF_PARSER_ITEM_DUPLICATE_IN_DEC = \\r
 _('"%s" is redefined in its dependent DEC files')\r
-ERR_INF_PARSER_ITEM_DUPLICATE = _("%s define duplicated! " \r
+ERR_INF_PARSER_ITEM_DUPLICATE = _("%s define duplicated! "\r
                                   "It must be corrected before continuing.")\r
-ERR_INF_PARSER_ITEM_DUPLICATE_COMMON = _("%s define duplicated! Item listed" \r
+ERR_INF_PARSER_ITEM_DUPLICATE_COMMON = _("%s define duplicated! Item listed"\r
 "in an architectural section must not be listed in the common architectural"\r
 "section.It must be corrected before continuing.")\r
 ERR_INF_PARSER_UE_SECTION_DUPLICATE_ERROR = \\r
@@ -237,11 +237,11 @@ _("The name 'NULL' for LibraryClass is a reserved word."
 \r
 ERR_GLOBAL_MARCO_INVALID = \\r
 _("Using global MACRO in INF/DEC is not permitted: %s . "\r
-"It must be corrected before continuing.")                                          \r
+"It must be corrected before continuing.")\r
 \r
 ERR_MARCO_DEFINITION_MISS_ERROR = \\r
 _("MACRO expand incorrectly, can not find the MACRO definition. "\r
-"It must be corrected before continuing.") \r
+"It must be corrected before continuing.")\r
 \r
 #\r
 # AsBuilt related\r
@@ -370,7 +370,7 @@ MSG_RECOVER_FAIL = _('Recovery failed.')
 #\r
 \r
 ERR_DEPENDENCY_NOT_MATCH         = _(\r
-    "Module %s's dependency on package %s (GUID %s Version %s) " \r
+    "Module %s's dependency on package %s (GUID %s Version %s) "\r
     "cannot be satisfied")\r
 ERR_MODULE_NOT_INSTALLED         = _(\r
     "This module is not installed in the workspace: %s\n")\r
@@ -475,7 +475,7 @@ ERR_FILELIST_EXIST               = _(
 ERR_COPYRIGHT_CONTENT            = _(\r
     "The copyright content must contain the word \"Copyright\" (case insensitive).")\r
 ERR_WRONG_FILELIST_FORMAT        = \\r
-_('File list format is incorrect.' \r
+_('File list format is incorrect.'\r
   'The correct format is: filename|key=value[|key=value]')\r
 ERR_FILELIST_ATTR                = _(\r
     "The value of attribute \"%s\" includes illegal character.")\r
@@ -593,7 +593,7 @@ _("There are same entries : %s in the UNI file, every kind of entry should be on
 ERR_UNIPARSE_ENTRY_ORDER_WRONG = \\r
 _("The string entry order in UNI file should be <AbstractStrings>, <DescriptionStrings>, \\r
 <BinaryAbstractStrings>, <BinaryDescriptionStrings>.")\r
-ERR_UNIPARSE_STRTOKEN_FORMAT_ERROR = _("The String Token Type %s must be one of the '_PROMPT', '_HELP' and '_ERR_'.") \r
+ERR_UNIPARSE_STRTOKEN_FORMAT_ERROR = _("The String Token Type %s must be one of the '_PROMPT', '_HELP' and '_ERR_'.")\r
 ERR_UNIPARSE_LINEFEED_UNDER_EXIST = _("Line feed should not exist under this line: %s.")\r
 ERR_UNIPARSE_LINEFEED_UP_EXIST = _("Line feed should not exist up this line: %s.")\r
 ERR_UNI_MISS_STRING_ENTRY = _("String entry missed in this Entry, %s.")\r
@@ -672,7 +672,7 @@ _("Library class format error, must be Libraryclass|Headerpath.")
 ERR_DECPARSE_LIBCLASS_EMPTY         = \\r
 _("Class name or file name must not be empty.")\r
 ERR_DECPARSE_LIBCLASS_LIB           = \\r
-_("Class name format error, must start with upper case letter followed with " \r
+_("Class name format error, must start with upper case letter followed with "\r
   "zero or more alphanumeric characters.")\r
 ERR_DECPARSE_LIBCLASS_PATH_EXT      = _("File name must be end with .h.")\r
 ERR_DECPARSE_LIBCLASS_PATH_DOT      = _("Path must not include '..'.")\r
@@ -695,7 +695,7 @@ _("Incorrect  value [%s] of type [%s].  Value  must be printable and in the "
   "form of{...} for array, or ""..."" for string, or L""..."""\r
   "for unicode string.")\r
 ERR_DECPARSE_PCD_VALUE_EMPTY        = \\r
-_("Pcd value can not be empty.") \r
+_("Pcd value can not be empty.")\r
 ERR_DECPARSE_PCD_BOOL               = \\r
 _("Invalid value [%s] of type [%s]; must be expression, TRUE, FALSE, 0 or 1.")\r
 ERR_DECPARSE_PCD_INT                = _("Incorrect value [%s] of type [%s]."\\r
@@ -719,14 +719,14 @@ _("No GUID name specified, must be <CName> = <GuidValueInCFormat>.")
 ERR_DECPARSE_CGUID_GUID             = \\r
 _("No GUID value specified, must be <CName> = <GuidValueInCFormat>.")\r
 ERR_DECPARSE_CGUID_GUIDFORMAT       = \\r
-_("Incorrect GUID value format, must be <GuidValueInCFormat:" \r
+_("Incorrect GUID value format, must be <GuidValueInCFormat:"\r
   "{8,4,4,{2,2,2,2,2,2,2,2}}>.")\r
 ERR_DECPARSE_CGUID_NOT_FOUND = _("Unable to find the GUID value of this GUID CName : '%s'.")\r
 ERR_DECPARSE_FILEOPEN               = _("Unable to open: [%s].")\r
 ERR_DECPARSE_SECTION_EMPTY          = _("Empty sections are not allowed.")\r
 ERR_DECPARSE_SECTION_UE             = _("Incorrect UserExtentions format. "\r
                             "Must be UserExtenxions.UserId.IdString[.Arch]+.")\r
-ERR_DECPARSE_SECTION_UE_USERID      = _("Invalid UserId, must be underscore" \r
+ERR_DECPARSE_SECTION_UE_USERID      = _("Invalid UserId, must be underscore"\r
                                         "or alphanumeric characters.")\r
 ERR_DECPARSE_SECTION_UE_IDSTRING    = \\r
     _("Incorrect IdString, must be \" ... \".")\r
@@ -805,7 +805,7 @@ WRN_INF_PARSER_MODULE_INVALID_EVENT_TYPE = \
 WRN_INF_PARSER_MODULE_INVALID_BOOTMODE_TYPE = \\r
     _("This is an incorrect BOOTMODE type: %s")\r
 WRN_INVALID_MODULE_TYPE = \\r
-    _("This is an incorrect Module type: %s")  \r
+    _("This is an incorrect Module type: %s")\r
 WRN_MODULE_PARSE_FAILED = \\r
     _("Parsing of this module did not complete correctly: %s.")\r
 WRN_EDK1_INF_FOUND = \\r
@@ -826,7 +826,7 @@ HLP_PRINT_DEBUG_INFO             = _(
     "Print DEBUG statements, where DEBUG_LEVEL is 0-9")\r
 HLP_PRINT_INFORMATIONAL_STATEMENT = _("Print informational statements")\r
 HLP_RETURN_NO_DISPLAY            = _(\r
-    "Returns only the exit code, informational and error messages are" \r
+    "Returns only the exit code, informational and error messages are"\r
     " not displayed")\r
 HLP_RETURN_AND_DISPLAY           = _(\r
     "Returns the exit code and displays  error messages only")\r