[Bug translation/29917] New: %s substituted with actual words can not be translated correctly

goeran at uddeborg dot se gcc-bugzilla@gcc.gnu.org
Mon Nov 20 19:15:00 GMT 2006


In the function op_error in gcc/cp/call.c there are several messages like

"%s for ternary %<operator?:%> in %<%E ? %E : %E%>"

and

"%s for %<operator%s%> in %<%E%s%>"

among others.  The first %s here is substituted fromthe variable "problem"
which can contain strings "no match" or "ambigious overload".  These latter
words are not available for translation, so the composed sentence will be only
partially translated.  And composed sentences like this is not in general
possible to translate, even if it would work for Swedish.  Each message needs
to be split up in two separate messages if proper translation is to be possible
for all languages.


-- 
           Summary: %s substituted with actual words can not be translated
                    correctly
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          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=29917



More information about the Gcc-bugs mailing list