[Bug translation/79643] New: Please define the file format of *.opt files more i18n-friendly

roland.illig at gmx dot de gcc-bugzilla@gcc.gnu.org
Mon Feb 20 21:51:00 GMT 2017


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

            Bug ID: 79643
           Summary: Please define the file format of *.opt files more
                    i18n-friendly
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: translation
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

The nios2.opt file contains the following lines:

> mno-custom-ftruncds
> Target Report RejectNegative Var(nios2_custom_ftruncds, -1)
> Do not use the ftruncds custom instruction.
> 
> mcustom-ftruncds=
> Target Report RejectNegative Joined UInteger Var(nios2_custom_ftruncds) Init(-1)
> Integer id (N) of ftruncds custom instruction.
> 
> mno-custom-fextsd
> Target Report RejectNegative Var(nios2_custom_fextsd, -1)
> Do not use the fextsd custom instruction.
> 
> mcustom-fextsd=
> Target Report RejectNegative Joined UInteger Var(nios2_custom_fextsd) Init(-1)
> Integer id (N) of fextsd custom instruction.
> 
> mno-custom-fixdu
> Target Report RejectNegative Var(nios2_custom_fixdu, -1)
> Do not use the fixdu custom instruction.
> 
> mcustom-fixdu=
> Target Report RejectNegative Joined UInteger Var(nios2_custom_fixdu) Init(-1)
> Integer id (N) of fixdu custom instruction.

These lines are error-prone and boring for translators. Could you maybe define
the file format for *.opt files so that it can use placeholders like %s? This
would make the job of translators a bit easier.


More information about the Gcc-bugs mailing list