From: Pádraig Brady Date: Fri, 9 Aug 2013 04:25:18 +0000 (+0100) Subject: df: fix "blocks" translation in header X-Git-Tag: v8.22~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=167422f32a2bc2ad286173d6eec936568d2f2f32;p=thirdparty%2Fcoreutils.git df: fix "blocks" translation in header * src/df.c (get_header): Get the translation of "blocks" here, rather than just marking the string for translation. Fixes http://bugs.gnu.org/15054 --- diff --git a/src/df.c b/src/df.c index c2c390e3a3..949fe2fe3b 100644 --- a/src/df.c +++ b/src/df.c @@ -539,7 +539,7 @@ get_header (void) char *num = human_readable (output_block_size, buf, opts, 1, 1); /* Reset the header back to the default in OUTPUT_MODE. */ - header = N_("blocks"); + header = _("blocks"); /* TRANSLATORS: this is the "1K-blocks" header in "df" output. */ if (asprintf (&cell, _("%s-%s"), num, header) == -1)