bug-bash
[Top][All Lists]
Advanced

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

Re: gettext feature request


From: Mike Jonkmans
Subject: Re: gettext feature request
Date: Tue, 10 Aug 2021 20:56:40 +0200

On Tue, Aug 10, 2021 at 11:22:54AM -0400, Chet Ramey wrote:
> On 7/31/21 4:17 PM, Jean-Jacques Brucker wrote:
> > 
> > Le 29/07/2021 à 21:08, Chet Ramey a écrit :
> > 
> >> How about `noexpand_translation'?
> > 
> > It sounds good ! (imho).
> 
> This is the current description:
> 
>        noexpand_translation
>                If  set,  bash encloses the translated results of $"..."
>                quoting in single quotes instead of double  quotes.   If
>                the string is not translated, this has no effect.
> 
> It will be in the next devel branch push.

So noexpand_translation is off by default.

I suggest to use the positive version: expand_translation
As that circumvents the double negation.

expand_translation
        If set, the translated result of $"..." is enclosed in double quotes
        instead of single quotes. This might expose the script to the 
translated 
        result. For compatibility reasons, this option is enabled by default.

Regards, Mike Jonkmans



reply via email to

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