From: H.G. Muller Date: Mon, 10 Dec 2012 12:40:47 +0000 (+0100) Subject: Update WinBoard translation template X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=a02eb1349bbc0ad33bf36648b4c5b7d2ce197928;p=xboard.git Update WinBoard translation template --- diff --git a/book.c b/book.c index 98dde33..1c7f2fe 100644 --- a/book.c +++ b/book.c @@ -574,7 +574,7 @@ ReadFromBookFile (int moveNr, char *book, entry_t entries[]) f = fopen(book,"rb"); } if(!f){ - DisplayError("Polyglot book not valid", 0); + DisplayError(_("Polyglot book not valid"), 0); appData.usePolyglotBook = FALSE; return -1; } @@ -995,5 +995,5 @@ FlushBook () // entry.learnCount = 0; entry_to_file(f, &entry); } - } else DisplayError("Could not create book", 0); + } else DisplayError(_("Could not create book"), 0); } diff --git a/winboard/language.txt b/winboard/language.txt index 40e00db..d71f3ec 100644 --- a/winboard/language.txt +++ b/winboard/language.txt @@ -1067,3 +1067,42 @@ END-OF-GAME MESSAGES (should they be translated?) "Make all use GUI book by default" === "" "You must supply a tournament file,\nfor storing the tourney progress" === "" "Not enough participants" === "" +"Continue Later" === "" +"First you must specify an existing tourney file to clone" === "" +"No engine %s is installed" === "" + +# THEMES DIALOG + +"Board themes" === "" +"Select theme from list:" === "" +"Theme name:" === "" +"Use board textures" === "" +"Light-square texture:" === "" +"Dark-square texture:" === "" +"Dark reorientation mode:" === "" +"Light reorientation mode:" === "" +"Draw border around board" === "" +"Optional border bitmap:" === "" +" Beware: a specified piece font will prevail over piece bitmaps" === "" +"Directory with piece bitmaps:" === "" +"Use piece font" === "" +"Font size (%):" === "" +"Font name:" === "" +"Font piece to char:" === "" +"Delete Theme" === "" +"Select single theme from the group" === "" + +# book.c + +"Could not create book" === "" +"Polyglot book not valid" === "" +"Hash keys are different" === "" +"Book Fault" === "" +"Book file exists! Try again for overwrite." === "" + +# NEW MENU ITEMS IN 4.7 + +"Save Games to Book" === "" +"Colo&rs..." === "" +"&Board Themes..." === "" + diff --git a/winboard/winboard.c b/winboard/winboard.c index 3616957..2069301 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -296,7 +296,7 @@ int dialogItems[][42] = { OPT_ChooseTellColor, OPT_ChooseChallengeColor, OPT_ChooseRequestColor, OPT_ChooseSeekColor, OPT_ChooseNormalColor, OPT_ChooseBackgroundColor, OPT_DefaultColors, OPT_DontColorize, IDC_Boxes, GPB_Colors, GPB_Premove, - GPB_General, GPB_Alarm }, + GPB_General, GPB_Alarm, OPT_AutoCreate }, { DLG_BoardOptions, IDOK, IDCANCEL, OPT_SizeTiny, OPT_SizeTeeny, OPT_SizeDinky, OPT_SizePetite, OPT_SizeSlim, OPT_SizeSmall, OPT_SizeMediocre, OPT_SizeMiddling, OPT_SizeAverage, OPT_SizeModerate, OPT_SizeMedium, OPT_SizeBulky, OPT_SizeLarge, @@ -1279,6 +1279,7 @@ ParseFontName(char *name, MyFontParams *mfp) p = q + 1; } else { q = mfp->faceName; + while (*p && !isdigit(*p)) { *q++ = *p++; if (q - mfp->faceName >= sizeof(mfp->faceName))