https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79869
Bug ID: 79869
Summary: i18n: document placeholders for translators
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
from config/arc/arc.c:
error ("%s is not available for %s architecture",
DOC, arc_selected_cpu->arch_info->name);
As a translator, I have no idea what the placeholder DOC might contain.
Therefore it should be documented above the function call:
/* TRANSLATORS: the first %s looks like "mfpu=fpus"
or "single precission FPX", the second %s looks like "???" */
While here: the first %s should probably be %qs, since it can consist of
multiple words.