coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] maint: adjust formatting of certain continued strings


From: Pádraig Brady
Subject: Re: [PATCH] maint: adjust formatting of certain continued strings
Date: Wed, 11 Jan 2012 09:26:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 01/10/2012 06:00 PM, Jim Meyering wrote:
> -          format = xasprintf ("%s%s", format, _("\
> -Access: %x\n\
> -Modify: %y\n\
> -Change: %z\n\
> - Birth: %w\n\
> -"));
> +          format = xasprintf ("%s%s", format,
> +                              _("Access: %x\n"
> +                                "Modify: %y\n"
> +                                "Change: %z\n"
> +                                "Birth: %w\n"));

>        error (EXIT_FAILURE, 0,
> -             _("when translating with string1 longer than string2,\n\
> -the latter string must not end with a character class"));
> +             _("when translating with string1 longer than string2,\nthe \
> + latter string must not end with a character class"));

Prompted by the latest hydra build failure,
I'm going to apply the following.

thanks,
Pádraig.

diff --git a/src/stat.c b/src/stat.c
index 8254ccc..9ae2d5a 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -1307,7 +1307,7 @@ default_format (bool fs, bool terse, bool device)
                               _("Access: %x\n"
                                 "Modify: %y\n"
                                 "Change: %z\n"
-                                "Birth: %w\n"));
+                                " Birth: %w\n"));
           free (temp);
         }
     }
diff --git a/src/tr.c b/src/tr.c
index 329d814..bc410aa 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1417,7 +1417,7 @@ string2_extend (const struct Spec_list *s1, struct 
Spec_list *s2)
          That's not portable however, contradicts POSIX and is dependent
          on your collating sequence.  */
       error (EXIT_FAILURE, 0,
-             _("when translating with string1 longer than string2,\nthe \
+             _("when translating with string1 longer than string2,\nthe\
  latter string must not end with a character class"));
       abort (); /* inform gcc that the above use of error never returns. */
       break;




reply via email to

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