[Bug d/89823] Composed message only partially translatable
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89823 Göran Uddeborg changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from Göran Uddeborg --- The message is removed.
[Bug d/89823] Composed message only partially translatable
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89823 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Iain Buclaw --- For now, translation is not required as of r270074.
[Bug d/89823] Composed message only partially translatable
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89823 --- Comment #2 from ibuclaw at gcc dot gnu.org --- Author: ibuclaw Date: Tue Apr 2 05:23:20 2019 New Revision: 270074 URL: https://gcc.gnu.org/viewcvs?rev=270074=gcc=rev Log: gcc/po/ChangeLog: 2019-04-02 Iain Buclaw PR d/89823 * EXCLUDES: Update list of d/dmd sources. * gcc.pot: Regenerated. Modified: trunk/gcc/po/ChangeLog trunk/gcc/po/EXCLUDES trunk/gcc/po/gcc.pot
[Bug d/89823] Composed message only partially translatable
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89823 --- Comment #1 from Iain Buclaw --- (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.