[Top][All Lists]

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

Re: GNU poke 1.0 released

From: Benno Schulenberg
Subject: Re: GNU poke 1.0 released
Date: Wed, 10 Mar 2021 12:41:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Op 02-03-2021 om 23:33 schreef Jose E. Marchesi:
> Not really, because of our use of terminal hyperlinks.  I just pushed a
> patch that changes the code to this:
>           pk_puts (_("For help, type"));
>           pk_puts (" \"");
>           pk_term_hyperlink (help_hyperlink, NULL);
>           pk_puts (".help");
>           pk_term_end_hyperlink ();
>           pk_puts ("\".\n");
>           free (help_hyperlink);
> i.e. now the double quotes are not gettextized.  I am aware splitting
> sentences like this is complicated for internationalization, but I can't
> see how to solve this without splitting.  Any idea?

Maybe change the first statement to:

           pk_puts (_("For help, type: "));

and drop the \" quotes?  It avoids an awkwardly truncated sentence, and
avoids showing quote characters that are improper in some locales.


reply via email to

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