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
This commit is contained in:
Pádraig Brady committed 2013-08-29 00:23:32 +01:00
1 parent 4e9f5eb4e2
commit 167422f32a
1 file changed
+1 -1
+1 -1
View File
@@ -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)