diff options
| author | Benno Schulenberg <bensberg@justemail.net> | 2014-07-21 13:37:11 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2014-07-21 15:36:33 +0200 |
| commit | 86407f2cae326030a021f1d57c61a7b74b5e0812 (patch) | |
| tree | ed3cacf2d95965995244a09c96af246243fb0c1b /disk-utils/cfdisk.c | |
| parent | c372860ddb4a768f7f6c50cd26d60119370d5cd5 (diff) | |
| download | util-linux-86407f2cae326030a021f1d57c61a7b74b5e0812.tar.gz | |
cfdisk: actually translate the partition types in the menu
[kzak@redhat.com: - translate also GPT types]
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/cfdisk.c')
| -rw-r--r-- | disk-utils/cfdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 715e07ddb6..109489a1e8 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -1507,9 +1507,9 @@ 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; + name = (char *) _(x->name); cm[i].desc = x->typestr; } cm[i].name = name; |
