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

            Bug ID: 90013
           Summary: wrong quotes in diagnostics
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

The GCC standard for diagnostics is:

* placeholders are quoted: use %qs instead of a simple %s
* quotes are written %<like this%> instead of `this' or `this` or 'this' or
"this" or similar variants

Since the D diagnostics are marked with "gcc-internal-format", as a translator
I expect that I can use the full range of these placeholders. The current
diagnostics only use the simple %s, therefore my assumption might be wrong. If
it is, it's the fault of the program that generates the .pot file. That should
be fixed to not mark these strings as gcc-internal-format then.

Reply via email to