BaseTools: Enhance BaseTools supports FixedAtBuild usage in VFR file
[mirror_edk2.git] / BaseTools / Source / Python / BPDG / StringTable.py
1 ## @file
2 # This file is used to define strings used in the BPDG tool
3 #
4 # Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 #
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 ##
13
14
15 #string table starts here...
16
17 #strings are classified as following types
18 # MSG_...: it is a message string
19 # ERR_...: it is a error string
20 # WRN_...: it is a warning string
21 # LBL_...: it is a UI label (window title, control label, etc.)
22 # MNU_...: it is a menu item label
23 # HLP_...: it is a help string
24 # CFG_...: it is a config string used in module. Do not need to translate it.
25 # XRC_...: it is a user visible string from xrc file
26
27 MAP_FILE_COMMENT_TEMPLATE = \
28 """
29 ## @file
30 #
31 # THIS IS AUTO-GENERATED FILE BY BPDG TOOLS AND PLEASE DO NOT MAKE MODIFICATION.
32 #
33 # This file lists all VPD informations for a platform fixed/adjusted by BPDG tool.
34 #
35 # Copyright (c) 2010 -2016, Intel Corporation. All rights reserved.<BR>
36 # This program and the accompanying materials
37 # are licensed and made available under the terms and conditions of the BSD License
38 # which accompanies this distribution. The full text of the license may be found at
39 # http://opensource.org/licenses/bsd-license.php
40 #
41 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
42 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
43 #
44 """
45
46
47
48 LBL_BPDG_LONG_UNI = (u"Intel(r) Binary Product Data Generation Tool (Intel(r) BPDG)")
49 LBL_BPDG_VERSION = (u"1.0")
50 LBL_BPDG_USAGE = \
51 (
52 """BPDG options -o Filename.bin -m Filename.map Filename.txt
53 Copyright (c) 2010 - 2016, Intel Corporation All Rights Reserved.
54
55 Intel(r) Binary Product Data Generation Tool (Intel(r) BPDG)
56
57 Required Flags:
58 -o BIN_FILENAME, --vpd-filename=BIN_FILENAME
59 Specify the file name for the VPD binary file
60 -m FILENAME, --map-filename=FILENAME
61 Generate file name for consumption during the build that contains
62 the mapping of Pcd name, offset, datum size and value derived
63 from the input file and any automatic calculations.
64 """
65 )
66
67 MSG_OPTION_HELP = ("Show this help message and exit.")
68 MSG_OPTION_DEBUG_LEVEL = ("Print DEBUG statements, where DEBUG_LEVEL is 0-9.")
69 MSG_OPTION_VERBOSE = ("Print informational statements.")
70 MSG_OPTION_QUIET = ("Returns the exit code and will display only error messages.")
71 MSG_OPTION_VPD_FILENAME = ("Specify the file name for the VPD binary file.")
72 MSG_OPTION_MAP_FILENAME = ("Generate file name for consumption during the build that contains the mapping of Pcd name, offset, datum size and value derived from the input file and any automatic calculations.")
73 MSG_OPTION_FORCE = ("Will force overwriting existing output files rather than returning an error message.")
74
75 ERR_INVALID_DEBUG_LEVEL = ("Invalid level for debug message. Only "
76 "'DEBUG', 'INFO', 'WARNING', 'ERROR', "
77 "'CRITICAL' are supported for debugging "
78 "messages.")