From: Benno Schulenberg Date: Sun, 1 Feb 2015 21:12:14 +0000 (+0100) Subject: sfdisk: actually translate the table headers by calling gettext() X-Git-Tag: v2.26-rc2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ac1fcf6c519cf2db6d8ee715ccf7227e91468b6;p=thirdparty%2Futil-linux.git sfdisk: actually translate the table headers by calling gettext() Signed-off-by: Benno Schulenberg --- diff --git a/disk-utils/fdisk-list.c b/disk-utils/fdisk-list.c index c65b8b475a..e8a0596771 100644 --- a/disk-utils/fdisk-list.c +++ b/disk-utils/fdisk-list.c @@ -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;