bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] df: add comments to help the translators to translate headers


From: Stéphane Raimbault
Subject: [PATCH] df: add comments to help the translators to translate headers
Date: Thu, 31 Dec 2009 16:55:48 +0100

* df (print_header): Add a comment to respect the message length and
another to align header translations.

Signed-off-by: Stéphane Raimbault <address@hidden>
---
 src/df.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/df.c b/src/df.c
index 411e61a..0e92c1d 100644
--- a/src/df.c
+++ b/src/df.c
@@ -148,11 +148,17 @@ print_header (void)
   char buf[MAX (LONGEST_HUMAN_READABLE + 1, INT_BUFSIZE_BOUND (uintmax_t))];
 
   if (print_type)
+    /* TRANSLATORS:
+       Take care to use the exact same message length for your translation  */
     fputs (_("Filesystem    Type"), stdout);
   else
     fputs (_("Filesystem        "), stdout);
 
   if (inode_format)
+    /* TRANSLATORS:
+       Take care to use the exact same message length for your translation and
+       the translations of the column names must end at the same position as 
the
+       original ones.  */
     printf (_("    Inodes   IUsed   IFree IUse%%"));
   else if (human_output_opts & human_autoscale)
     {
-- 
1.6.5.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]