[gnome-software] Add CPU microcode category



commit b2a866ea190effc89e0309300dc395bc156c4c1d
Author: Mario Limonciello <mario limonciello dell com>
Date:   Thu Apr 2 10:33:47 2020 -0500

    Add CPU microcode category

 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 ae07e11a..9f8a8c27 100644
--- a/plugins/fwupd/gs-fwupd-app.c
+++ b/plugins/fwupd/gs-fwupd-app.c
@@ -171,6 +171,11 @@ gs_fwupd_release_get_name (FwupdRelease *release)
                         * the first %s is the system name, e.g. 'ThinkPad P50` */
                        return g_strdup_printf (_("%s Thunderbolt Controller"), name);
                }
+               if (g_strcmp0 (cat, "X-CpuMicrocode") == 0) {
+                       /* TRANSLATORS: the CPU microcode is firmware loaded onto the CPU
+                        * at system bootup */
+                       return g_strdup_printf (_("%s CPU Microcode"), name);
+               }
        }
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]