trivial: adjust error for no UEFI capsules

Point people towards firwmare setup instead (Fixes: #1454)
This commit is contained in:
Mario Limonciello 2021-01-12 12:38:51 -06:00 committed by Mario Limonciello
parent bb8c8040c7
commit 797da4fc60
2 changed files with 2 additions and 2 deletions

View File

@ -465,7 +465,7 @@ fu_plugin_build_device_update_error (FuPlugin *self)
if (fu_plugin_has_flag (self, FWUPD_PLUGIN_FLAG_LEGACY_BIOS))
return "Not updatable in legacy BIOS mode";
if (fu_plugin_has_flag (self, FWUPD_PLUGIN_FLAG_CAPSULES_UNSUPPORTED))
return "Not updatable as UEFI capsule updates not enabled";
return "Not updatable as UEFI capsule updates not enabled in firmware setup";
if (fu_plugin_has_flag (self, FWUPD_PLUGIN_FLAG_UNLOCK_REQUIRED))
return "Not updatable as requires unlock";
if (fu_plugin_has_flag (self, FWUPD_PLUGIN_FLAG_EFIVAR_NOT_MOUNTED))

View File

@ -1310,7 +1310,7 @@ fu_util_plugin_flag_to_string (FwupdPluginFlags plugin_flag)
}
if (plugin_flag == FWUPD_PLUGIN_FLAG_CAPSULES_UNSUPPORTED) {
/* TRANSLATORS: capsule updates are an optional BIOS feature */
return _("UEFI capsule updates not available or enabled");
return _("UEFI capsule updates not available or enabled in firmware setup");
}
if (plugin_flag == FWUPD_PLUGIN_FLAG_UNLOCK_REQUIRED) {
/* TRANSLATORS: user needs to run a command */