https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79603

            Bug ID: 79603
           Summary: make diagnostics more i18n-friendly
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

from fortran/options.c:

Flag %<-fno-automatic%> overwrites %<-fmax-stack-var-size=%d%>
Flag %<-fno-automatic%> overwrites %<-frecursive%>
Flag %<-fno-automatic%> overwrites %<-frecursive%> implied by %<-fopenmp%>
Flag %<-frecursive%> overwrites %<-fmax-stack-var-size=%d%>

These diagnostics are boring for translators, since they all follow the very
same structure, most probably in all languages of the world. Therefore, these
messages should use the placeholder %qs so that the translators only have to
translate it once.

Flag %qs overwrites %qs

This also removes the possibility of introducing wrong warnings by
unintentionally sloppy translation.

Reply via email to