warning: internationalized messages should not contain the '\v' escape sequence

Joseph Myers joseph@codesourcery.com
Mon Jan 20 18:17:00 GMT 2020


On Sat, 18 Jan 2020, Румен Петров wrote:

> Let me quite gettext manual (see url above):
> ...
> Another example is the ‘argp’ convention to use a single ‘\v’ (vertical tab)
> control character to delimit two sections inside a string. This is flawed.

I don't see any real difference from e.g. printf format strings.  In both 
cases, there are conventions the string is following that the translated 
string has to follow as well.  What this suggests to me is that there 
should be a way to mark up a string as using the \v convention for gettext 
to verify that the translation follows the same convention, just as it can 
verify that printf formats are consistent between original and translated 
strings.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list