[gnome-software/wip/hughsie/X-UsbReceiver: 1/2] fwupd: Add translations for another device category
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/X-UsbReceiver: 1/2] fwupd: Add translations for another device category
- Date: Tue, 24 May 2022 11:47:45 +0000 (UTC)
commit cc02b7cf780bba0895e9202c266c91cdc5eb402c
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..8f575ad7d 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]