In gcc/cp/typeck.c there are these messages:

pedwarn ("ISO C++ forbids %sing an enum",
         (code == PREINCREMENT_EXPR || code == POSTINCREMENT_EXPR)
         ? "increment" : "decrement");

error ("cannot %s a pointer to incomplete type %qT",
       ((code == PREINCREMENT_EXPR
         || code == POSTINCREMENT_EXPR)
        ? "increment" : "decrement"), TREE_TYPE (argtype));

pedwarn ("ISO C++ forbids %sing a pointer of type %qT",
         ((code == PREINCREMENT_EXPR
           || code == POSTINCREMENT_EXPR)
          ? "increment" : "decrement"), argtype);


Here "increment" and "decrement" will not be translated.  Composing sentences
like this also makes translation hard, probably impossible in some languages. 
Please make two complete separate messages for each case.


-- 
           Summary: Words substituted for %s in a sentence can not be
                    translated
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          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=29089

Reply via email to