[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Added note for translators to gai_strerror.c, so they don't tran
From: |
Micah Cowan |
Subject: |
[PATCH] Added note for translators to gai_strerror.c, so they don't translate param names. |
Date: |
Thu, 25 Oct 2007 09:13:57 -0700 |
---
ChangeLog | 6 ++++++
lib/gai_strerror.c | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3ed561c..1fdf097 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-25 Micah Cowan <address@hidden>
+
+ * lib/gai_strerror.c (values): Note for translators, asking them
+ not to translate servname and ai_socktype (formal parameter
+ names). Assumes xgettext is given --add-comments=TRANSLATORS: .
+
2007-10-24 Paul Eggert <address@hidden>
* README: Append ".git" to git and cg examples.
diff --git a/lib/gai_strerror.c b/lib/gai_strerror.c
index aa733d6..0053f9a 100644
--- a/lib/gai_strerror.c
+++ b/lib/gai_strerror.c
@@ -49,6 +49,8 @@ values[] =
{ EAI_MEMORY, N_("Memory allocation failure") },
{ EAI_NODATA, N_("No address associated with hostname") },
{ EAI_NONAME, N_("Name or service not known") },
+ /* TRANSLATORS: Servname and ai_socktype are formal parameter names,
+ and should not be translated. */
{ EAI_SERVICE, N_("Servname not supported for ai_socktype") },
{ EAI_SOCKTYPE, N_("ai_socktype not supported") },
{ EAI_SYSTEM, N_("System error") },
--
1.5.2.5
- 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 <=
- 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, 2007/10/25
- 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