mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-31 12:16:32 +00:00
Add the X-Gpu category for new hardware support
This commit is contained in:
parent
ecb38b1199
commit
189b4a413d
@ -3902,6 +3902,8 @@ fu_common_device_category_to_name(const gchar *cat)
|
|||||||
return "BMC";
|
return "BMC";
|
||||||
if (g_strcmp0(cat, "X-UsbReceiver") == 0)
|
if (g_strcmp0(cat, "X-UsbReceiver") == 0)
|
||||||
return "USB Receiver";
|
return "USB Receiver";
|
||||||
|
if (g_strcmp0(cat, "X-Gpu") == 0)
|
||||||
|
return "GPU";
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -817,6 +817,11 @@ fu_util_release_get_name(FwupdRelease *release)
|
|||||||
* SATA or NVMe disk */
|
* SATA or NVMe disk */
|
||||||
return g_strdup_printf(_("%s SSD Update"), name);
|
return g_strdup_printf(_("%s SSD Update"), name);
|
||||||
}
|
}
|
||||||
|
if (g_strcmp0(cat, "X-Gpu") == 0) {
|
||||||
|
/* TRANSLATORS: GPU refers to a Graphics Processing Unit, e.g.
|
||||||
|
* the "video card" */
|
||||||
|
return g_strdup_printf(_("%s GPU Update"), name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TRANSLATORS: this is the fallback where we don't know if the release
|
/* TRANSLATORS: this is the fallback where we don't know if the release
|
||||||
|
Loading…
Reference in New Issue
Block a user