Distinguish two different usages of the word "on" in accessible WB
authorH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 22 Jul 2022 20:03:23 +0000 (22:03 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 22 Jul 2022 20:16:23 +0000 (22:16 +0200)
For the purpose of allowing different translations, one of the
occurrences of teh string "on" got a space appended.

winboard/jaws.c

index 7760575..b6e125b 100644 (file)
@@ -863,7 +863,7 @@ SayPieceType(char id)
        } else {\r
            for(r=0; r<BOARD_HEIGHT; r++) for(f=BOARD_LEFT; f<BOARD_RGHT; f++) {\r
                if(boards[currentMove][r][f] != piece) continue;\r
-               if(!nr++) SayString(PieceToName(piece, 1), FALSE), SayString("on", FALSE);\r
+               if(!nr++) SayString(PieceToName(piece, 1), FALSE), SayString("on ", FALSE);\r
                else SayString("and", FALSE);\r
                SayString(SquareToChar(f), FALSE);\r
                SayString(SquareToNum(r), FALSE);\r