[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison: Misleading german translation
From: |
Akim Demaille |
Subject: |
Re: bison: Misleading german translation |
Date: |
Fri, 31 Aug 2012 18:26:43 +0200 |
I will push the following changes in {maint}. Comments
most welcome!
(Enrico is already in THANKS).
From 795d56bd3666213ec621056804f44df65cdf7fbc Mon Sep 17 00:00:00 2001
From: Akim Demaille <address@hidden>
Date: Fri, 31 Aug 2012 18:18:13 +0200
Subject: [PATCH] --help: include a place to report translation issues
http://lists.gnu.org/archive/html/bug-bison/2012-08/msg00007.html
shows that it is useful to help users report translation issues.
While at it, include other informative bits that the coreutils shows.
* src/getargs.c (usage): Report more URLs where the user can
refer to.
Mostly copied/pasted from coreutils' emit_ancillary_info function.
---
src/getargs.c | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/getargs.c b/src/getargs.c
index 599cbba..70a25e0 100644
--- a/src/getargs.c
+++ b/src/getargs.c
@@ -361,7 +361,25 @@ THINGS is a list of comma separated words that can
include:\n\
`none' disable the report\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ putc ('\n', stdout);
+ printf (_("Report bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ printf (_("%s home page: <%s>.\n"), PACKAGE_NAME, PACKAGE_URL);
+ fputs (_("General help using GNU software: "
+ "<http://www.gnu.org/gethelp/>.\n"),
+ stdout);
+ /* Don't output this redundant message for English locales.
+ Note we still output for 'C' so that it gets included in the
+ man page. */
+ const char *lc_messages = setlocale (LC_MESSAGES, NULL);
+ if (lc_messages && strcmp (lc_messages, "en_"))
+ /* TRANSLATORS: Replace LANG_CODE in this URL with your language
+ code <http://translationproject.org/team/LANG_CODE.html> to
+ form one of the URLs at http://translationproject.org/team/.
+ Otherwise, replace the entire URL with your translation team's
+ email address. */
+ fputs (_("Report translation bugs to "
+ "<http://translationproject.org/team/>.\n"), stdout);
+ fputs (_("For complete documentation, run: info bison.\n"), stdout);
}
exit (status);
--
1.7.11.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: bison: Misleading german translation,
Akim Demaille <=