public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "goeran at uddeborg dot se" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/38761] New: %s substituted with regular word can't be properly translated Date: Wed, 07 Jan 2009 21:34:00 -0000 [thread overview] Message-ID: <bug-38761-10888@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2009-01-07 21:34 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-07 21:34 goeran at uddeborg dot se [this message] 2009-01-07 21:39 ` Andrew Thomas Pinski 2009-01-07 21:39 ` [Bug c++/38761] " pinskia at gmail dot com 2009-01-07 21:52 ` goeran at uddeborg dot se 2009-01-30 15:46 ` bangerth at gmail dot com 2009-11-12 8:07 ` pearly dot zhao at oracle dot com 2009-11-12 21:14 ` goeran at uddeborg dot se 2009-11-13 3:44 ` pearly dot zhao at oracle dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-38761-10888@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).