trivial: Add three more update categories

This commit is contained in:
Richard Hughes 2022-06-13 09:41:16 +01:00
parent 47756bbdf3
commit 2ae4587a1c

View File

@ -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