[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Added note for translators to gai_strerror.c, so they don't
From: |
Bruno Haible |
Subject: |
Re: [PATCH] Added note for translators to gai_strerror.c, so they don't translate param names. |
Date: |
Fri, 26 Oct 2007 03:32:03 +0200 |
User-agent: |
KMail/1.5.4 |
Eric Blake wrote:
> Would it perhaps be worth rendering this as:
>
> _("`Servname' not supported for `ai_socktype'")
>
> further emphasizing the literalness of the parameter names?
IMO, this goes against the sense of quotes: Quoting usually highlights
a literal value, not a variable name. If a function
chdir (directory)
is called as
chdir ("%HOME%")
then the error message should be
invalid directory: '%HOME%'
not invalid directory: %HOME%
nor invalid 'directory': '%HOME%'
The literal part should be quoted, so that its extent becomes clear despite
special characters or possibly spaces. The variable - here 'directory' - should
not be quoted because the literal string "directory" does not appear in the
compiled program.
For this same reason, makeinfo renders @code{x} as `x' but not @var{x}.
Bruno
- Re: Errors in the coreutils-6.9 PO file, Eric Blake, 2007/10/24
- Re: Errors in the coreutils-6.9 PO file, Simon Josefsson, 2007/10/25
- Re: Errors in the coreutils-6.9 PO file, Andreas Schwab, 2007/10/25
- [PATCH] Added note for translators to gai_strerror.c, so they don't translate param names., Micah Cowan, 2007/10/25
- Re: [PATCH] Added note for translators to gai_strerror.c, so they don't translate param names., Eric Blake, 2007/10/25
- Re: [PATCH] Added note for translators to gai_strerror.c, so they don't translate param names., Micah Cowan, 2007/10/25
- Re: [PATCH] Added note for translators to gai_strerror.c, so they don't translate param names.,
Bruno Haible <=
- Re: [PATCH] Added note for translators to gai_strerror.c, so they don't translate param names., Karl Berry, 2007/10/26
- Re: quotation conventions, Bruno Haible, 2007/10/26