mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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:
1 parent
4e9f5eb4e2
commit
167422f32a
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user