From: H.G. Muller Date: Wed, 29 Dec 2010 22:41:27 +0000 (+0100) Subject: Subject JAWS menu and spoken strings to translation X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=9a24300ce4a3563de948d67cd51f54e963204a04;p=xboard.git Subject JAWS menu and spoken strings to translation --- diff --git a/winboard/jaws.c b/winboard/jaws.c index ce056ef..d2a7740 100644 --- a/winboard/jaws.c +++ b/winboard/jaws.c @@ -166,7 +166,7 @@ VOID SayString(char *mess, BOOL flag) int l = strlen(buf); if(appData.debugMode) fprintf(debugFP, "SAY '%s'\n", mess); if(l) buf[l++] = ' '; // separate by space from previous - safeStrCpy(buf+l, mess, 8000-1-l); // buffer + safeStrCpy(buf+l, _(mess), 8000-1-l); // buffer if(!flag) return; // wait for flush if(p = StrCaseStr(buf, "Xboard adjudication:")) { int i; @@ -240,7 +240,7 @@ AdaptMenu() if(menuItemJAWS[i].name[0] == '-') AppendMenu(menuJAWS, MF_SEPARATOR, (UINT_PTR) 0, NULL); else AppendMenu(menuJAWS, MF_ENABLED|MF_STRING, - (UINT_PTR) menuItemJAWS[i].code, (LPCTSTR) menuItemJAWS[i].name); + (UINT_PTR) menuItemJAWS[i].code, (LPCTSTR) _(menuItemJAWS[i].name)); } InsertMenu(menuMain, 7, MF_BYPOSITION|MF_POPUP|MF_ENABLED|MF_STRING, (UINT_PTR) menuJAWS, "&JAWS");