From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26611 invoked by alias); 7 Jan 2009 21:34:49 -0000 Received: (qmail 26589 invoked by uid 48); 7 Jan 2009 21:34:39 -0000 Date: Wed, 07 Jan 2009 21:34:00 -0000 Subject: [Bug c++/38761] New: %s substituted with regular word can't be properly translated X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "goeran at uddeborg dot se" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-01/txt/msg00800.txt.bz2 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