This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29897] New: %s substituted withparts of sentence can not be translated correctly
- From: "goeran at uddeborg dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2006 14:10:06 -0000
- Subject: [Bug c/29897] New: %s substituted withparts of sentence can not be translated correctly
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In gcc/config/sh/symbian.c there is this code:
warning (0, "%s %q+D %s after being referenced with dllimport linkage",
TREE_CODE (decl) == VAR_DECL ? "variable" : "function",
decl, (DECL_INITIAL (decl) || !DECL_EXTERNAL (decl))
? "defined locally" : "redeclared without dllimport attribute");
The strings substituted for the two %s:es are not available for translation, so
this can not be properly translated. And composed sentences like this is not
in general possible to translate. I realise it has to be split up in four
different messages, but that seems to be the only way to get proper
translations.
--
Summary: %s substituted withparts of sentence can not be
translated correctly
Product: gcc
Version: 4.1.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=29897