mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-04 07:43:58 +02: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:
@@ -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