[Bug translation/79477] New: Please write code more translator-friendly
roland.illig at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sun Feb 12 17:28:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79477
Bug ID: 79477
Summary: Please write code more translator-friendly
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: translation
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
As a translator, I have to translate these strings:
-mdirect-move requires -mvsx
-mupper-regs-di requires -mvsx
-mpower9-vector requires -mpower8-vector
-mpower9-dform requires -mpower9-vector
And several more of this pattern. This is both boring and error-prone.
Instead of calling:
error ("-mpower9-dform requires -mpower9-vector");
Could you perhaps call:
error ("%s requires %s", "-mpower9-dform", "-mpower9-vector");
This would save the translators of each language a lot of work.
More information about the Gcc-bugs
mailing list