Skip to content

Commit

Permalink
Add X-Configuration to use for dbx updates
Browse files Browse the repository at this point in the history
This would fall back to X-System.
  • Loading branch information
hughsie committed Aug 17, 2020
1 parent 1abb32c commit 04afb39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fu-util-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,11 @@ fu_util_release_get_name (FwupdRelease *release)
* the first %s is the device name, e.g. 'Unifying Receiver` */
return g_strdup_printf (_("%s Device Update"), name);
}
if (g_strcmp0 (cat, "X-Configuration") == 0) {
/* TRANSLATORS: a specific part of hardware,
* the first %s is the device name, e.g. 'Secure Boot` */
return g_strdup_printf (_("%s Configuration Update"), name);
}
if (g_strcmp0 (cat, "X-System") == 0) {
/* TRANSLATORS: the entire system, e.g. all internal devices,
* the first %s is the device name, e.g. 'ThinkPad P50` */
Expand Down

0 comments on commit 04afb39

Please sign in to comment.