From: Byrial Jensen Date: Thu, 22 Dec 2011 14:01:31 +0000 (+0100) Subject: One more string marked for translation X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=1d4d9cd9be0e8b7986128e0480ecef3ad3a45933 One more string marked for translation And it is moved inside the if statement that uses it. --- diff --git a/engineoutput.c b/engineoutput.c index 59bff2f..9cd7548 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -102,10 +102,11 @@ void MakeEngineOutputTitle() while( (signed char)boards[count][EP_STATUS] <= EP_NONE && count > backwardMostMove ) count--; if( count == backwardMostMove ) count -= initialRulePlies; count = currentMove - count; - snprintf(buf, MSG_SIZ, "%s (%d reversible plies)", title, count); if(!rule) rule = 100; - if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) - safeStrCpy(title, buf, MSG_SIZ); + if(count >= rule - 40 && (!appData.icsActive || gameMode == IcsObserving)) { + snprintf(buf, MSG_SIZ, _("%s (%d reversible plies)"), title, count); + safeStrCpy(title, buf, MSG_SIZ); + } if(!strcmp(oldTitle, title)) return; safeStrCpy(oldTitle, title, MSG_SIZ); SetEngineOutputTitle(title);