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 translation/29917] New: %s substituted with actual words can not be translated correctly


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


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