[PATCH] cfdisk: actually translate the partition types in the menu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux