From 8fac045db19df1195fbdc4db1572bd1beea0a7a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Lewi=C5=84ski?= Date: Tue, 17 Oct 2023 11:45:19 +0200 Subject: [PATCH] nosubmitif clause added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filip LewiƄski --- .../BootMaintenanceManager.vfr | 9 +++++++++ .../BootMaintenanceManagerStrings.uni | 2 ++ 2 files changed, 11 insertions(+) diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr index 69fb606324..c18eeb3406 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr @@ -351,4 +351,13 @@ formset endform; + form formid = FORM_TIME_OUT_ID, + help = STRING_TOKEN(STR_HLP_AUTO_BOOT); + title = STRING_TOKEN(STR_FORM_STD_ERR_TITLE); + nosubmitif + prompt = STRING_TOKEN(AUTOBOOT_NOSUBMIT_IF_NEGATIVE), + //value < 0 + endif; + endform; + endformset; diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerStrings.uni b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerStrings.uni index 3d47473e6c..679b0b84ea 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerStrings.uni +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerStrings.uni @@ -31,6 +31,8 @@ #language fr-FR "Modify boot driver options" #string STR_FORM_BOOT_ADD_TITLE #language en-US "Add Boot Option" #language fr-FR "Add Boot Option" +#string AUTOBOOT_NOSUBMIT_IF_NEGATIVE #language en-US "Autoboot Timeout value cannot be negative!" + #language fr-FR "Autoboot Timeout value cannot be negative!" #string STR_FORM_BOOT_ADD_HELP #language en-US "Add EFI Application or Removable Fs as Boot Option" #language fr-FR "Add EFI Application or Removable Fs as Boot Option" #string STR_FORM_BOOT_DEL_TITLE #language en-US "Delete Boot Option"