[Bug c++/38761] %s substituted with regular word can't be properly translated

goeran at uddeborg dot se gcc-bugzilla@gcc.gnu.org
Wed Jan 7 21:52:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list