Use ngettext() instead of gettext() for a string to allow better translation.
[xboard.git] / engineoutput.c
index a409f19..caf8f8b 100644 (file)
@@ -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;