From 04afb39f761cddf31dbb7c7ccff40ad8473c39e3 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 17 Aug 2020 16:20:24 +0100 Subject: [PATCH] Add X-Configuration to use for dbx updates This would fall back to X-System. --- src/fu-util-common.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fu-util-common.c b/src/fu-util-common.c index 1720b274628c..70d3aa70d5a4 100644 --- a/src/fu-util-common.c +++ b/src/fu-util-common.c @@ -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` */