https://sourceware.org/bugzilla/show_bug.cgi?id=29952

            Bug ID: 29952
           Summary: String concatenation in translated message
           Product: binutils
           Version: 2.39
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: fmarchal at perso dot be
  Target Milestone: ---

Translated message must never be assembled from translated fragments.

This is exceedingly difficult or impossible to translate correctly.

The source code at
[config/tc-i386.c:5070](https://sourceware.org/git?p=binutils-gdb.git;a=blob;f=gas/config/tc-i386.c;h=66d5ea5a99da47a61bf18623f6bd09b10c5f124d;hb=HEAD#l5070)
does that twice:

5068         case unsupported_64bit:
5069           if (ISLOWER (mnem_suffix))
5070             as_bad (_("`%s%c' is %s supported in 64-bit mode"),
5071                     pass1_mnem ? pass1_mnem :
current_templates->start->name,
5072                     mnem_suffix,
5073                     flag_code == CODE_64BIT ? _("not") : _("only"));
5074           else
5075             as_bad (_("`%s' is %s supported in 64-bit mode"),
5076                     pass1_mnem ? pass1_mnem :
current_templates->start->name,
5077                     flag_code == CODE_64BIT ? _("not") : _("only"));

Please use two distinct messages for "not" vs "only" string in each case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to