[hurd,commited] hurd: Document how to translate EIEIO error message

Message ID 20181031005127.1950-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers

Commit Message

Samuel Thibault Oct. 31, 2018, 12:51 a.m. UTC
  * sysdeps/gnu/errlist.c (EIEIO): Document how translators should
	translate the error message.
---
 ChangeLog             |  5 +++++
 sysdeps/gnu/errlist.c | 13 +++++++++++++
 2 files changed, 18 insertions(+)
  

Comments

Joseph Myers Oct. 31, 2018, 2:13 a.m. UTC | #1
On Wed, 31 Oct 2018, Samuel Thibault wrote:

> @@ -975,6 +975,19 @@ TRANS You did @strong{what}? */
>  #ifdef EIEIO
>  /*
>  TRANS Go home and have a glass of warm, dairy-fresh milk. */
> +TRANS @c Okay.  Since you are dying to know, I'll tell you.

This breaks the build (you've inserted this text outside a comment).  
Also, shouldn't there be a regeneration of errno.texi?
  
Samuel Thibault Oct. 31, 2018, 9:38 a.m. UTC | #2
Joseph Myers, le mer. 31 oct. 2018 02:13:54 +0000, a ecrit:
> Also, shouldn't there be a regeneration of errno.texi?

Mmm, actually that was the contrary. And the script to regenerate these
was emitting an absolute path. I have now fixed these and regenerated
every errno things.

It seems at push time I introduced spurious merge commits, I probably
missed a rebased to avoid it, sorry about that.

Samuel
  
Jochen Kellner Nov. 1, 2018, 6:57 a.m. UTC | #3
Samuel Thibault <samuel.thibault@ens-lyon.org> writes:


> +TRANS @c Translators, please do not translate this litteraly, translate it into
> +TRANS @c an idiomatic funny way of saying that the computer died.

As a translator - thanks for the comments to help translating!

Jochen
  

Patch

diff --git a/ChangeLog b/ChangeLog
index 86040c06a6..c2d1d845db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@ 
+2018-10-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/gnu/errlist.c (EIEIO): Document how translators should
+	translate the error message.
+
 2018-10-30  Joseph Myers  <joseph@codesourcery.com>
 
 	* conform/linknamespace.py: New file.
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c
index 31ebfa9491..ccb9986f57 100644
--- a/sysdeps/gnu/errlist.c
+++ b/sysdeps/gnu/errlist.c
@@ -975,6 +975,19 @@  TRANS You did @strong{what}? */
 #ifdef EIEIO
 /*
 TRANS Go home and have a glass of warm, dairy-fresh milk. */
+TRANS @c Okay.  Since you are dying to know, I'll tell you.
+TRANS @c This is a joke, obviously.  There is a children's song which begins,
+TRANS @c "Old McDonald had a farm, e-i-e-i-o."  Every time I see the (real)
+TRANS @c errno macro EIO, I think about that song.  Probably most of my
+TRANS @c compatriots who program on Unix do, too.  One of them must have stayed
+TRANS @c up a little too late one night and decided to add it to Hurd or Glibc.
+TRANS @c Whoever did it should be castigated, but it made me laugh.
+TRANS @c  --jtobey@channel1.com
+TRANS @c
+TRANS @c "bought the farm" means "died".  -jtobey
+TRANS @c
+TRANS @c Translators, please do not translate this litteraly, translate it into
+TRANS @c an idiomatic funny way of saying that the computer died.
     [ERR_REMAP (EIEIO)] = N_("Computer bought the farm"),
 # if EIEIO > ERR_MAX
 # undef ERR_MAX