projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d29ed0e
)
Use ngettext() instead of gettext() for a string to allow better translation.
author
Byrial Jensen
<byrial@vip.cybercity.dk>
Thu, 16 Feb 2012 17:42:10 +0000 (18:42 +0100)
committer
Byrial Jensen
<byrial@vip.cybercity.dk>
Thu, 16 Feb 2012 17:42:10 +0000 (18:42 +0100)
engineoutput.c
patch
|
blob
|
history
diff --git
a/engineoutput.c
b/engineoutput.c
index
a409f19
..
caf8f8b
100644
(file)
--- a/
engineoutput.c
+++ b/
engineoutput.c
@@
-107,7
+107,7
@@
MakeEngineOutputTitle ()
count = currentMove - count;
if(!rule) rule = 100;
if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) {
- snprintf(buf, MSG_SIZ, _("%s (%d reversible plies)"), title, count);
+ snprintf(buf, MSG_SIZ, ngettext("%s (%d reversible ply)", "%s (%d reversible plies)", count), title, count);
safeStrCpy(title, buf, MSG_SIZ);
}
if(!strcmp(oldTitle, title)) return;