From: Benno Schulenberg Date: Sun, 1 Feb 2015 14:00:11 +0000 (+0100) Subject: libfdisk: actually translate the human-readable name of the partition type X-Git-Tag: v2.26-rc2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc45b86e149372e6a9770a7035eaed93f0021a33;p=thirdparty%2Futil-linux.git libfdisk: actually translate the human-readable name of the partition type Signed-off-by: Benno Schulenberg --- diff --git a/libfdisk/src/partition.c b/libfdisk/src/partition.c index 9a02993c30..5b27d3a714 100644 --- a/libfdisk/src/partition.c +++ b/libfdisk/src/partition.c @@ -735,7 +735,7 @@ int fdisk_partition_to_string(struct fdisk_partition *pa, rc = asprintf(&p, "%ju", pa->cpg); break; case FDISK_FIELD_TYPE: - p = pa->type && pa->type->name ? strdup(pa->type->name) : NULL; + p = pa->type && pa->type->name ? strdup(_(pa->type->name)) : NULL; break; case FDISK_FIELD_TYPEID: if (pa->type && fdisk_parttype_get_string(pa->type))