summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-08-09 05:25:18 +0100
committerPádraig Brady <P@draigBrady.com>2013-08-29 00:23:32 +0100
commit167422f32a2bc2ad286173d6eec936568d2f2f32 (patch)
tree1ac8df48b4954917f966a36d61b4ccc248a4e556
parent4e9f5eb4e2f7614b74c1f930312acc455cc106e7 (diff)
downloadcoreutils-167422f32a2bc2ad286173d6eec936568d2f2f32.tar.xz
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
-rw-r--r--src/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/df.c b/src/df.c
index c2c390e3a..949fe2fe3 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)