diff options
author | Jim Meyering <meyering@redhat.com> | 2008-11-09 17:15:57 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-11-10 08:19:52 +0100 |
commit | 43448b049341d9b88293f38eb941759820f42e84 (patch) | |
tree | 15d6fc576840326d54bfb9a9ed22398fe2832cd1 | |
parent | 854284f7887677395239c1085b27a09e834291b7 (diff) | |
download | coreutils-43448b049341d9b88293f38eb941759820f42e84.tar.xz |
make --help print "Report PROGRAM translation bugs to <...>."
for all but the C/POSIX locale.
* src/system.h: Include "hard-locale.h".
(emit_bug_reporting_address): Tell where to report translation bugs.
don't include "hard-locale.h", now that system.h does
* src/comm.c: Likewise.
* src/join.c: Likewise.
* src/ls.c: Likewise.
* src/pinky.c: Likewise.
* src/pr.c: Likewise.
* src/sort.c: Likewise.
* src/uniq.c: Likewise.
* src/who.c: Likewise.
-rw-r--r-- | src/comm.c | 1 | ||||
-rw-r--r-- | src/join.c | 1 | ||||
-rw-r--r-- | src/ls.c | 1 | ||||
-rw-r--r-- | src/pinky.c | 1 | ||||
-rw-r--r-- | src/pr.c | 1 | ||||
-rw-r--r-- | src/sort.c | 1 | ||||
-rw-r--r-- | src/system.h | 13 | ||||
-rw-r--r-- | src/uniq.c | 1 | ||||
-rw-r--r-- | src/who.c | 1 |
9 files changed, 9 insertions, 12 deletions
diff --git a/src/comm.c b/src/comm.c index 9e70253f9..4ec7e4a07 100644 --- a/src/comm.c +++ b/src/comm.c @@ -23,7 +23,6 @@ #include "system.h" #include "linebuffer.h" #include "error.h" -#include "hard-locale.h" #include "quote.h" #include "stdio--.h" #include "xmemcoll.h" diff --git a/src/join.c b/src/join.c index 041e2eb53..992a357b1 100644 --- a/src/join.c +++ b/src/join.c @@ -24,7 +24,6 @@ #include "system.h" #include "error.h" -#include "hard-locale.h" #include "linebuffer.h" #include "memcasecmp.h" #include "quote.h" @@ -89,7 +89,6 @@ #include "dev-ino.h" #include "error.h" #include "filenamecat.h" -#include "hard-locale.h" #include "hash.h" #include "human.h" #include "filemode.h" diff --git a/src/pinky.c b/src/pinky.c index d6bc65482..136abc5c2 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -26,7 +26,6 @@ #include "canon-host.h" #include "error.h" -#include "hard-locale.h" #include "readutmp.h" /* The official name of this program (e.g., no `g' prefix). */ @@ -314,7 +314,6 @@ #include <sys/types.h> #include "system.h" #include "error.h" -#include "hard-locale.h" #include "mbswidth.h" #include "quote.h" #include "stat-time.h" diff --git a/src/sort.c b/src/sort.c index fe58908b9..df51d8b33 100644 --- a/src/sort.c +++ b/src/sort.c @@ -30,7 +30,6 @@ #include "argmatch.h" #include "error.h" #include "filevercmp.h" -#include "hard-locale.h" #include "hash.h" #include "md5.h" #include "physmem.h" diff --git a/src/system.h b/src/system.h index ee0d25cd9..d51caedf1 100644 --- a/src/system.h +++ b/src/system.h @@ -611,15 +611,20 @@ ptr_align (void const *ptr, size_t alignment) ? false : (((Accum) = (Accum) * 10 + (Digit_val)), true)) \ ) +#include "hard-locale.h" static inline void emit_bug_reporting_address (void) { - /* TRANSLATORS: The second placeholder indicates the bug-reporting - address for this package. Please add _another line_ saying - "Report %s translation bugs to <...>\n" with the address for translation - bugs (typically your translation team's web or email address). */ printf (_("\nReport %s bugs to <%s>.\n"), last_component (program_name), PACKAGE_BUGREPORT); + /* 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. */ + if (hard_locale (LC_MESSAGES)) + printf (_("Report %s translation bugs to " + "<http://translationproject.org/team/>\n"), + last_component (program_name)); } #include "inttostr.h" diff --git a/src/uniq.c b/src/uniq.c index f2aeb77d9..a3e0fb7b5 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -26,7 +26,6 @@ #include "argmatch.h" #include "linebuffer.h" #include "error.h" -#include "hard-locale.h" #include "posixver.h" #include "quote.h" #include "xmemcoll.h" @@ -34,7 +34,6 @@ #include "canon-host.h" #include "readutmp.h" #include "error.h" -#include "hard-locale.h" #include "quote.h" /* The official name of this program (e.g., no `g' prefix). */ |