diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.vfr index 69fb606324..569b841989 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), + FORM_TIME_OUT_ID < 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"