Re: [PATCH 3/3] textual: put option and its description into a single translatable string

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

 



On Sun, Jan 18, 2015 at 04:02:49PM -0500, JWP wrote:
> On 01/18/2015 03:40 PM, Benno Schulenberg wrote:
> > Also improve the description: notime, notq, and nohost are literals,
> > not things to be replaced by something else -- so no angular brackets.
> > 
> > Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
> > ---
> >  misc-utils/logger.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/misc-utils/logger.c b/misc-utils/logger.c
> > index 35caf9d..296f7f0 100644
> > --- a/misc-utils/logger.c
> > +++ b/misc-utils/logger.c
> > @@ -525,8 +525,8 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
> >  	fputs(_(" -T, --tcp             use TCP only\n"), out);
> >  	fputs(_(" -d, --udp             use UDP only\n"), out);
> >  	fputs(_("     --rfc3164         use the obsolete BSD syslog protocol\n"), out);
> > -	fputs(_("     --rfc5424[=<notime,notq,nohost>]\n"), out);
> > -	fputs(_("                       use the syslog protocol (default)\n"), out);
> > +	fputs(_("     --rfc5424[=<cut>] use the syslog protocol (the default);\n"
> > +		"                         <cut> can be notime, or notq, and/or nohost\n"), out);
> 
> I have never see that done before, it seems confusing.
> Isn't the commonly used term 'snip'?

 Yes, I have replaced <cut> with <snip>.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux