Add X-Configuration to use for dbx updates

This would fall back to X-System.
This commit is contained in:
Richard Hughes 2020-08-17 16:20:24 +01:00
parent 1abb32c623
commit 04afb39f76

View File

@ -598,6 +598,11 @@ fu_util_release_get_name (FwupdRelease *release)
* the first %s is the device name, e.g. 'Unifying Receiver` */
return g_strdup_printf (_("%s Device Update"), name);
}
if (g_strcmp0 (cat, "X-Configuration") == 0) {
/* TRANSLATORS: a specific part of hardware,
* the first %s is the device name, e.g. 'Secure Boot` */
return g_strdup_printf (_("%s Configuration Update"), name);
}
if (g_strcmp0 (cat, "X-System") == 0) {
/* TRANSLATORS: the entire system, e.g. all internal devices,
* the first %s is the device name, e.g. 'ThinkPad P50` */