Hoping that this will decrease the volume of bug reports
mistakenly directed to the coreutils mailing list.
* src/system.h (emit_bug_reporting_address): Specify the program
name in the "Report bugs to <...>." line in each program's --help
output and man page. Now, it will say "Report PROGRAM_NAME bugs
to <...>." Suggestion from Ondřej Vašík.
static inline void
emit_bug_reporting_address (void)
{
- /* TRANSLATORS: The placeholder indicates the bug-reporting address
- for this package. Please add _another line_ saying
- "Report translation bugs to <...>\n" with the address for translation
+ /* 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 bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ printf (_("\nReport %s bugs to <%s>.\n"), last_component (program_name),
+ PACKAGE_BUGREPORT);
}
#include "inttostr.h"