[gnome-software/wip/hughsie/X-UsbReceiver] fwupd: Add translations for another device category




commit 274d312c003545631356a400e1b81597cd05bf70
Author: Richard Hughes <richard hughsie com>
Date:   Tue May 24 11:23:01 2022 +0100

    fwupd: Add translations for another device 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 d275ae867..3a633ab38 100644
--- a/plugins/fwupd/gs-fwupd-app.c
+++ b/plugins/fwupd/gs-fwupd-app.c
@@ -224,6 +224,11 @@ gs_fwupd_release_get_name (FwupdRelease *release)
                         * is the device that updates all the other firmware on the system */
                        return g_strdup_printf (_("%s BMC Update"), name);
                }
+               if (g_strcmp0(cat, "X-UsbReceiver") == 0) {
+                       /* TRANSLATORS: Receiver refers to a radio device, e.g. a tiny Bluetooth
+                        * device that stays in the USB port so the wireless peripheral works */
+                       return g_strdup_printf(_("%s USB Receiver Update"), name);
+               }
        }
 
        /* default fallback */


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