poke-devel
[Top][All Lists]
Advanced

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

Re: GNU poke 1.0 released


From: Jose E. Marchesi
Subject: Re: GNU poke 1.0 released
Date: Wed, 10 Mar 2021 14:03:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> 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.

Good idea.  I changed the first statement to "For help, type: ", but
kept the quotes in separated puts.




reply via email to

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