mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 13:59:15 +00:00
trivial: Add three more update categories
This commit is contained in:
parent
47756bbdf3
commit
2ae4587a1c
@ -802,6 +802,19 @@ fu_util_release_get_name(FwupdRelease *release)
|
|||||||
* device that stays in the USB port so the wireless peripheral works */
|
* device that stays in the USB port so the wireless peripheral works */
|
||||||
return g_strdup_printf(_("%s USB Receiver Update"), name);
|
return g_strdup_printf(_("%s USB Receiver Update"), name);
|
||||||
}
|
}
|
||||||
|
if (g_strcmp0(cat, "X-Drive") == 0) {
|
||||||
|
/* TRANSLATORS: drive refers to a storage device, e.g. SATA disk */
|
||||||
|
return g_strdup_printf(_("%s Drive Update"), name);
|
||||||
|
}
|
||||||
|
if (g_strcmp0(cat, "X-FlashDrive") == 0) {
|
||||||
|
/* TRANSLATORS: flash refers to solid state storage, e.g. UFS or eMMC */
|
||||||
|
return g_strdup_printf(_("%s Flash Drive Update"), name);
|
||||||
|
}
|
||||||
|
if (g_strcmp0(cat, "X-SolidStateDrive") == 0) {
|
||||||
|
/* TRANSLATORS: SSD refers to a Solid State Drive, e.g. non-rotating
|
||||||
|
* SATA or NVMe disk */
|
||||||
|
return g_strdup_printf(_("%s SSD 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