summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-11-09 17:15:57 +0100
committerJim Meyering <meyering@redhat.com>2008-11-10 08:19:52 +0100
commit43448b049341d9b88293f38eb941759820f42e84 (patch)
tree15d6fc576840326d54bfb9a9ed22398fe2832cd1 /src/system.h
parent854284f7887677395239c1085b27a09e834291b7 (diff)
downloadcoreutils-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.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h13
1 files changed, 9 insertions, 4 deletions
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"