public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99298] New: diagnostic in name-lookup.c embeds part-of-speech
@ 2021-02-27 10:01 roland.illig at gmx dot de
2021-02-27 13:02 ` [Bug c++/99298] " redi at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: roland.illig at gmx dot de @ 2021-02-27 10:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99298
Bug ID: 99298
Summary: diagnostic in name-lookup.c embeds part-of-speech
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
gcc/cp/name-lookup.c says:
> error_at (loc, "%s namespace %qD conflicts with reachable definition",
> inline_p ? "inline" : "non-inline", decl);
> inform (DECL_SOURCE_LOCATION (decl), "reachable %s definition here",
> inline_p ? "non-inline" : "inline");
The word "non-inline" cannot be translated into other languages since it is
provided as a string literal. Depending on the language, the "non" might even
change the complete structure of the message.
https://gcc.gnu.org/codingconventions.html#Diagnostics says:
> All diagnostics should be full sentences without English
> fragments substituted in them, to facilitate translation.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/99298] diagnostic in name-lookup.c embeds part-of-speech
2021-02-27 10:01 [Bug c++/99298] New: diagnostic in name-lookup.c embeds part-of-speech roland.illig at gmx dot de
@ 2021-02-27 13:02 ` redi at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2021-02-27 13:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99298
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |diagnostic
Last reconfirmed| |2021-02-27
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-27 13:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-27 10:01 [Bug c++/99298] New: diagnostic in name-lookup.c embeds part-of-speech roland.illig at gmx dot de
2021-02-27 13:02 ` [Bug c++/99298] " redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).