projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7dab202
)
Distinguish two different usages of the word "on" in accessible WB
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Fri, 22 Jul 2022 20:03:23 +0000 (22:03 +0200)
committer
H.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
patch
|
blob
|
history
diff --git
a/winboard/jaws.c
b/winboard/jaws.c
index
7760575
..
b6e125b
100644
(file)
--- a/
winboard/jaws.c
+++ b/
winboard/jaws.c
@@
-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