From: Arun Persaud Date: Fri, 17 Sep 2010 03:44:37 +0000 (-0700) Subject: fixed internationalization for winboard X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f766634577a899f7aa7dbcdddc90700538ab9cde;p=xboard.git fixed internationalization for winboard in the original commit some files were forgotten. This should fix it. --- diff --git a/args.h b/args.h index d59f26c..f142e1a 100644 --- a/args.h +++ b/args.h @@ -545,6 +545,7 @@ ArgDescriptor argDescriptors[] = { { "defaultHashSize", ArgInt, (void *) &appData.defaultHashSize, TRUE, (ArgIniType) 64 }, { "defaultCacheSizeEGTB", ArgInt, (void *) &appData.defaultCacheSizeEGTB, TRUE, (ArgIniType) 4 }, { "defaultPathEGTB", ArgFilename, (void *) &appData.defaultPathEGTB, TRUE, (ArgIniType) "c:\\egtb" }, + { "language", ArgFilename, (void *) &appData.language, TRUE, (ArgIniType) "" }, /* [HGM] board-size, adjudication and misc. options */ { "oneClickMove", ArgBoolean, (void *) &appData.oneClick, TRUE, (ArgIniType) FALSE }, diff --git a/common.h b/common.h index 996badf..fe70ff5 100644 --- a/common.h +++ b/common.h @@ -369,6 +369,7 @@ typedef enum { } typedef struct { + char *language; #if !defined(_amigados) char *whitePieceColor; char *blackPieceColor;