From ebee58348a2cadbc1596f6bdd60f12386b93874a Mon Sep 17 00:00:00 2001 From: Byrial Jensen Date: Thu, 16 Feb 2012 18:42:10 +0100 Subject: [PATCH] Use ngettext() instead of gettext() for a string to allow better translation. --- engineoutput.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/engineoutput.c b/engineoutput.c index a409f19..caf8f8b 100644 --- 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; -- 1.7.0.4