This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: warning: internationalized messages should not contain the '\v' escape sequence
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Румен Петров <transl at roumenpetrov dot info>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Mon, 20 Jan 2020 18:10:22 +0000
- Subject: Re: warning: internationalized messages should not contain the '\v' escape sequence
- Ironport-sdr: ZMDIIDGVoUG29ytvmCAcX5acpg7cYsEZZ639eyuE5e9ziFBE0XFPE7w0X5Fy25S6UDMTg64dK8 ZtMr0pZyRu5V65/iKgKACxKupoioX/6avDs0AmWLi7+XJFJiKVCjb/kTN9pTkSUU8Z3SmGqZvZ N7ttAe5H9Ikx7Q2cJOAb8WJ4YOVNx2dWkGXK/8j8gfZfI1ewO1xCzDJX7PUbzcj6Ias5OyCeEb 0n4gbiF2D2K4vYsPcS/WLU8H/wCyYN+t9pOZlVKWef/roDlUmcVUqhq3KAsIl73XTwrGwBgk95 fuw=
- Ironport-sdr: SLF8YBJ6lOdr32wxwJfxzK4mWzQjJm0ChBpshNrVQ393NuyuS8HnLBP7yMeZ65ujLmJ2LiQJKL VtNUTB8JHniA==
- References: <ce21cec0-e722-2ca4-f43c-0fe1c457fb0a@roumenpetrov.info> <928503646.1039073.1579042453618@poczta.nazwa.pl> <bee6334e-b7fa-e24f-e86c-198d55a47a26@roumenpetrov.info>
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