]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdisk: actually translate the table headers by calling gettext()
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 1 Feb 2015 21:12:14 +0000 (22:12 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Feb 2015 09:57:07 +0000 (10:57 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/fdisk-list.c

index c65b8b475a28f9d5cd6acd0a3f3cc76284498d6c..e8a059677179223ffc49b9e559483d1c67ef7fcc 100644 (file)
@@ -136,7 +136,7 @@ void list_disklabel(struct fdisk_context *cxt)
                        fl |= SCOLS_FL_TRUNC;
 
                co = scols_table_new_column(out,
-                               fdisk_field_get_name(field),
+                               _(fdisk_field_get_name(field)),
                                fdisk_field_get_width(field), fl);
                if (!co)
                        goto done;