[gnome-software/wip/hughsie/fwupd-cats-translations2] fwupd: Add translations for more device categories




commit 2d3331f72160180c4fdcf1be856d612354c17a5c
Author: Richard Hughes <richard hughsie com>
Date:   Wed Feb 16 17:03:01 2022 +0000

    fwupd: Add translations for more device categories

 plugins/fwupd/gs-fwupd-app.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/plugins/fwupd/gs-fwupd-app.c b/plugins/fwupd/gs-fwupd-app.c
index cb8e19f2f..c0faf0519 100644
--- a/plugins/fwupd/gs-fwupd-app.c
+++ b/plugins/fwupd/gs-fwupd-app.c
@@ -214,6 +214,16 @@ gs_fwupd_release_get_name (FwupdRelease *release)
                         * PCI card, not the logical wired connection */
                        return g_strdup_printf (_("%s Network Interface Update"), name);
                }
+               if (g_strcmp0(cat, "X-VideoDisplay") == 0) {
+                       /* TRANSLATORS: Video Display refers to the laptop internal display or
+                        * external monitor */
+                       return g_strdup_printf (_("%s Display Update"), name);
+               }
+               if (g_strcmp0(cat, "X-BaseboardManagementController") == 0) {
+                       /* TRANSLATORS: BMC refers to baseboard management controller which
+                        * is the device that updates all the other firmware on the system */
+                       return g_strdup_printf (_("%s BMC Update"), name);
+               }
        }
 
        /* default fallback */


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