https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89823

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Göran Uddeborg from comment #0)
> In d/dmd/expressionsem.c there is this piece of code:
> 
> > const char *s = exp->op == TOKplusplus ? "increment" : "decrement";
> > exp->error("cannot post-%s array slice '%s', use pre-%s instead", s, 
> > exp->e1->toChars(), s);
> 
> The string "cannot post-%s …" will be extracted for translation, but the
> inserted words, "increment" and "decrement", will not.
> 
> At a minimum, these words need to be marked for translation too.  Better is
> probably to make it two complete messages.  For Swedish it would work to
> compose the sentence this way, but I suspect there are languages further
> removed from English where it would be hard.

The dmd sources should all be in the EXCLUDES file, I must have missed one when
grepping for the sources that have may emit an error.

Reply via email to