------- Comment #1 from pinskia at gmail dot com 2009-01-07 21:39 ------- Subject: Re: New: %s substituted with regular word can't be properly translated
Well template here might be consider the keyword template. So we either have template argument or just argument. Translating template might cause more confusion. Sent from my iPhone On Jan 7, 2009, at 1:34 PM, "goeran at uddeborg dot se" <gcc-bugzi...@gcc.gnu.org > wrote: > In gcc/cp/parser.c there is this code in > cp_parser_parameter_declaration > > error ("%H%sparameter pack %qD cannot have a default > argument", > &declarator_token_start->location, > kind, id_declarator->u.id.unqualified_name); > else > error ("%H%sparameter pack cannot have a default argument", > &declarator_token_start->location, kind); > > where "kind" has previously been assigned either the empty string or > the word > "template" followed by a space. There is no way to translate the word > "template". For this to work in all languages, I suspect the two > messages > needs to be split up in four complete messages, with and without > "template", > rather than composed from pieces like this. > > > -- > Summary: %s substituted with regular word can't be properly > translated > Product: gcc > Version: 4.4.0 > Status: UNCONFIRMED > Severity: minor > Priority: P3 > Component: c++ > AssignedTo: unassigned at gcc dot gnu dot org > ReportedBy: goeran at uddeborg dot se > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38761 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38761