On Thu, Jan 27, 2022 at 11:37:29AM +0100, Martin Liška wrote: > @@ -665,12 +667,12 @@ diagnostic_action_after_output (diagnostic_context > *context, > if (context->abort_on_error) > real_abort (); > - fnotice (stderr, "Please submit a full bug report,\n" > - "with preprocessed source if appropriate.\n"); > - if (count > 0) > - fnotice (stderr, > - ("Please include the complete backtrace " > - "with any bug report.\n")); > + const char *details > + = context->report_bug ? "" : "(by using -freport-bug) "; > + const char *ending = count > 0 ? "and the complete backtrace" : ""; > + > + fnotice (stderr, "\nPlease submit a full bug report, " > + "with preprocessed source %s%s.\n", details, ending);
This is highly translation unfriendly. You need to use separate full strings for all the different cases. Jakub