This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38761] %s substituted with regular word can't be properly translated
- From: "goeran at uddeborg dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2009 21:52:47 -0000
- Subject: [Bug c++/38761] %s substituted with regular word can't be properly translated
- References: <bug-38761-10888@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from goeran at uddeborg dot se 2009-01-07 21:52 -------
(In reply to comment #1)
> Well template here might be consider the keyword template.
It COULD, but I would argue that would break the style of other messages. The
word "template" is used in many messages, sometimes in different forms like
"templates" and "templetized". The use in this particular message isn't
stylistically different from any other message.
Maybe more importantly, it wouldn't really help. If I were to translate this
message in a way that treated "template" as an untranslatable keyword, I would
rewrite it to something analogous to
parameter pack %qD of %s ...
But that only works as long as "kind" becomes SOME keyword. If it is empty, I
do of course not want any "of".
(I would have to add $-directives to change the order too, but I omitted that
here for simplicity.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38761