[gnome-software/wip/hughsie/fwupd-cats] fwupd: Add translations for more device categories
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/fwupd-cats] fwupd: Add translations for more device categories
- Date: Mon, 13 Sep 2021 13:41:59 +0000 (UTC)
commit c4e2e2bda5d52d34e0bcc0ca443c17dcc398afcf
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 13 14:40:32 2021 +0100
fwupd: Add translations for more device categories
plugins/fwupd/gs-fwupd-app.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/plugins/fwupd/gs-fwupd-app.c b/plugins/fwupd/gs-fwupd-app.c
index bb749d199..122e11354 100644
--- a/plugins/fwupd/gs-fwupd-app.c
+++ b/plugins/fwupd/gs-fwupd-app.c
@@ -206,6 +206,15 @@ gs_fwupd_release_get_name (FwupdRelease *release)
/* TRANSLATORS: Keyboard refers to an input device for typing */
return g_strdup_printf (_("%s Keyboard Update"), name);
}
+ if (g_strcmp0 (cat, "X-StorageController") == 0) {
+ /* TRANSLATORS: Storage Controller is typically a RAID or SAS adapter */
+ return g_strdup_printf (_("%s Storage Controller Update"), name);
+ }
+ if (g_strcmp0 (cat, "X-NetworkInterface") == 0) {
+ /* TRANSLATORS: Network Interface refers to the physical
+ * PCI card, not the logical wired connection */
+ return g_strdup_printf (_("%s Network Interface Update"), name);
+ }
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]