This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/29897] New: %s substituted withparts of sentence can not be translated correctly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]