diff options
author | Stéphane Raimbault <stephane.raimbault@makina-corpus.com> | 2009-12-31 16:55:48 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-01-01 14:06:46 +0100 |
commit | 4668ae8f06d5033d9cf762fc52a11b9a34afd369 (patch) | |
tree | d0615cf2dd15ed425ec5264313271381b4e908a4 /src | |
parent | b0782cb9ead2861e79cf7c8065b79bfe56eb46f5 (diff) | |
download | coreutils-4668ae8f06d5033d9cf762fc52a11b9a34afd369.tar.xz |
df: add comments to help translators align column headers
* src/df.c (print_header): Add a comment telling translators to
retain the message length, and another to align header translations.
Diffstat (limited to 'src')
-rw-r--r-- | src/df.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -148,11 +148,19 @@ print_header (void) char buf[MAX (LONGEST_HUMAN_READABLE + 1, INT_BUFSIZE_BOUND (uintmax_t))]; if (print_type) + /* TRANSLATORS: + For best results (df header/column alignment), ensure that + your translation has the same length as the original. */ fputs (_("Filesystem Type"), stdout); else fputs (_("Filesystem "), stdout); if (inode_format) + /* TRANSLATORS: + For best results (df header/column alignment), ensure that + your translation has the same length as the original. + Also, each column name translation should end at the same + column as the corresponding original. */ printf (_(" Inodes IUsed IFree IUse%%")); else if (human_output_opts & human_autoscale) { |