[gnome-software] fwupd: Add configuration category
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] fwupd: Add configuration category
- Date: Wed, 19 Aug 2020 14:58:25 +0000 (UTC)
commit 9f1a2ca0aa57729a39d47f49303e45a953db8bf1
Author: Richard Hughes <richard hughsie com>
Date: Mon Aug 17 20:32:30 2020 +0100
fwupd: Add configuration category
We'll be using this soon for dbx updates...
plugins/fwupd/gs-fwupd-app.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/plugins/fwupd/gs-fwupd-app.c b/plugins/fwupd/gs-fwupd-app.c
index fc5c48c2..df6505b0 100644
--- a/plugins/fwupd/gs-fwupd-app.c
+++ b/plugins/fwupd/gs-fwupd-app.c
@@ -177,6 +177,11 @@ gs_fwupd_release_get_name (FwupdRelease *release)
* at system bootup */
return g_strdup_printf (_("%s CPU Microcode Update"), name);
}
+ if (g_strcmp0 (cat, "X-Configuration") == 0) {
+ /* TRANSLATORS: configuration refers to hardware state,
+ * e.g. a security database or a default power value */
+ return g_strdup_printf (_("%s Configuration Update"), name);
+ }
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]