bug-gnubg
[Top][All Lists]
Advanced

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

Re: Display bug in Analyse, Clear Analysis, Move


From: Guido Flohr
Subject: Re: Display bug in Analyse, Clear Analysis, Move
Date: Tue, 13 Feb 2024 23:07:54 +0000

> But we could also leverage the kind of hacky implementation of message 
> contexts in GNU gettext. Message contexts were introduced in a manner that 
> did not require a modification of the format of .mo resp. .gmo files. It was 
> simply assumed/stipulated that message ids must not contain the control 
> character end-of-transmission (ASCII 004), and that was then solemnly 
> declared the separator between a message id and a message context. Therefore, 
> these two calls should be equivalent (not 100 % sure though):
> 
>    C_(”noun”, ”Move)
>    _(”noun\004Move”)

To give truth the honour … I vaguely remember that the convention ”noun|Move” 
predates the introduction of message contexts into GNU gettext. It was 
considered useful, only that the wonky pipe separator (’|’) was replaced by the 
safer choice end-of-transmission ’\004’. But be prepared for an old man's 
memory to be clouded.

 



reply via email to

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