[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/28051] New: Unextractable messages in the code
From: |
yurchor at ukr dot net |
Subject: |
[Bug gas/28051] New: Unextractable messages in the code |
Date: |
Sun, 04 Jul 2021 09:41:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28051
Bug ID: 28051
Summary: Unextractable messages in the code
Product: binutils
Version: 2.38 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: yurchor at ukr dot net
Target Milestone: ---
There are several unextractable Gettext messages in the new code due to the
undocumented usage of quotation marks.
grep '%"' gas.pot
msgid "%"
msgid "0x%"
msgid "%s out of domain (%"
msgid "%s out of range (%"
msgid "value 0x%"
grep '%"' bfd.pot
msgid "%pB: TLS relocation at (0x%"
msgid "%pB: TLS local relocation at (0x%"
msgid "%pB: relocatation (%d) at (0x%"
msgid "%pB: stripping non-representable symbol '%s' (value %"
msgid "%pB: error: erratum 843419 immediate 0x%"
Example of the code (from gas/config/tc-i386.c:2564):
as_warn (_("%"BFD_VMA_FMT"x shortened to %"BFD_VMA_FMT"x"),
Here, the extracted message is just "%" because of the quotation mark that is
just right after the percent sign.
Thanks in advance for fixing the code to make the messages extractable and
translatable.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/28051] New: Unextractable messages in the code,
yurchor at ukr dot net <=