* [PATCH] cfdisk: actually translate the partition types in the menu
@ 2014-07-21 11:37 Benno Schulenberg
2014-07-21 13:38 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2014-07-21 11:37 UTC (permalink / raw)
To: util-linux
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
disk-utils/cfdisk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 715e07d..f3ca42c 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1507,7 +1507,7 @@ static struct fdisk_parttype *ui_get_parttype(struct cfdisk *cf,
continue;
cm[i].userdata = x;
if (!has_typestr)
- xasprintf(&name, "%2x %s", x->type, x->name);
+ xasprintf(&name, "%2x %s", x->type, _(x->name));
else {
name = (char *) x->name;
cm[i].desc = x->typestr;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-21 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21 11:37 [PATCH] cfdisk: actually translate the partition types in the menu Benno Schulenberg
2014-07-21 13:38 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox