]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
df: fix "blocks" translation in header
authorPádraig Brady <P@draigBrady.com>
Fri, 9 Aug 2013 04:25:18 +0000 (05:25 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 28 Aug 2013 23:23:32 +0000 (00:23 +0100)
* 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

src/df.c

index c2c390e3a319203279d94922daa0f9a18d74d6e5..949fe2fe3be4d39f6e139addf0f5d0ab8631ddad 100644 (file)
--- 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)