public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug translation/43779] New: Parts of message not available for translation
@ 2010-04-17 18:39 goeran at uddeborg dot se
2010-04-18 18:24 ` [Bug c++/43779] " rguenth at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: goeran at uddeborg dot se @ 2010-04-17 18:39 UTC (permalink / raw)
To: gcc-bugs
In gcc/cp/typecheck.c there is this construction:
error_at (input_location, "too many arguments to %s %q#D",
called_thing, fndecl);
and an analogous message for too few arguments. Called_thing is a string like
"function" or "constructor". But this string is not available for translation.
so if this message is translated, the result will be a mix of the target
language and English.
Marking called_thing for translation separately is a bit tricky from a
translation point of view. It often breaks to "build" sentences from words in
source in this way. The rest of the sentence might have different forms
dependent on what called_thing is. That would not be a problem for Swedish in
this particular case, but I would still recommend creating a couple of complete
messages for translation instead of building them from parts.
--
Summary: Parts of message not available for translation
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: translation
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: goeran at uddeborg dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/43779] Parts of message not available for translation
2010-04-17 18:39 [Bug translation/43779] New: Parts of message not available for translation goeran at uddeborg dot se
@ 2010-04-18 18:24 ` rguenth at gcc dot gnu dot org
2010-04-28 9:23 ` pzhao at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-18 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-18 18:24 -------
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|translation |c++
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2010-04-18 18:24:42
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/43779] Parts of message not available for translation
2010-04-17 18:39 [Bug translation/43779] New: Parts of message not available for translation goeran at uddeborg dot se
2010-04-18 18:24 ` [Bug c++/43779] " rguenth at gcc dot gnu dot org
@ 2010-04-28 9:23 ` pzhao at gcc dot gnu dot org
2010-04-30 6:17 ` pzhao at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-04-28 9:23 UTC (permalink / raw)
To: gcc-bugs
--
pzhao at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2010-04-18 18:24:42 |2010-04-28 09:23:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/43779] Parts of message not available for translation
2010-04-17 18:39 [Bug translation/43779] New: Parts of message not available for translation goeran at uddeborg dot se
2010-04-18 18:24 ` [Bug c++/43779] " rguenth at gcc dot gnu dot org
2010-04-28 9:23 ` pzhao at gcc dot gnu dot org
@ 2010-04-30 6:17 ` pzhao at gcc dot gnu dot org
2010-05-05 14:18 ` pzhao at gcc dot gnu dot org
2010-05-05 14:23 ` paolo dot carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-04-30 6:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pzhao at gcc dot gnu dot org 2010-04-30 06:16 -------
Subject: Bug 43779
Author: pzhao
Date: Fri Apr 30 06:16:26 2010
New Revision: 158919
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158919
Log:
2010-04-30 Shujing Zhao <pearly.zhao@oracle.com>
PR c++/43779
* typeck.c (warn_args_num): New function.
(convert_arguments): Use warn_args_num to print the diagnostic
messages.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/43779] Parts of message not available for translation
2010-04-17 18:39 [Bug translation/43779] New: Parts of message not available for translation goeran at uddeborg dot se
` (2 preceding siblings ...)
2010-04-30 6:17 ` pzhao at gcc dot gnu dot org
@ 2010-05-05 14:18 ` pzhao at gcc dot gnu dot org
2010-05-05 14:23 ` paolo dot carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: pzhao at gcc dot gnu dot org @ 2010-05-05 14:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pzhao at gcc dot gnu dot org 2010-05-05 14:18 -------
fixed for 4.6.0
--
pzhao at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/43779] Parts of message not available for translation
2010-04-17 18:39 [Bug translation/43779] New: Parts of message not available for translation goeran at uddeborg dot se
` (3 preceding siblings ...)
2010-05-05 14:18 ` pzhao at gcc dot gnu dot org
@ 2010-05-05 14:23 ` paolo dot carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2010-05-05 14:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo dot carlini at oracle dot com 2010-05-05 14:23 -------
Adjusted the target milestone.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43779
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-05-05 14:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-17 18:39 [Bug translation/43779] New: Parts of message not available for translation goeran at uddeborg dot se
2010-04-18 18:24 ` [Bug c++/43779] " rguenth at gcc dot gnu dot org
2010-04-28 9:23 ` pzhao at gcc dot gnu dot org
2010-04-30 6:17 ` pzhao at gcc dot gnu dot org
2010-05-05 14:18 ` pzhao at gcc dot gnu dot org
2010-05-05 14:23 ` paolo dot carlini at oracle dot com
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).