mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 14:32:56 +00:00
Add X-UsbReceiver as an update category
This commit is contained in:
parent
636786dd6a
commit
5e6ed64f68
@ -3461,6 +3461,8 @@ fu_common_device_category_to_name(const gchar *cat)
|
||||
return "Display";
|
||||
if (g_strcmp0(cat, "X-BaseboardManagementController") == 0)
|
||||
return "BMC";
|
||||
if (g_strcmp0(cat, "X-UsbReceiver") == 0)
|
||||
return "USB Receiver";
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -797,6 +797,11 @@ fu_util_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);
|
||||
}
|
||||
}
|
||||
|
||||
/* TRANSLATORS: this is the fallback where we don't know if the release
|
||||
|
Loading…
Reference in New Issue
Block a user