From: H.G. Muller Date: Thu, 23 Feb 2012 08:29:17 +0000 (+0100) Subject: Fix translation of EngineOutputTitle WB X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2d64eed6cbca4b6c81c31bbc9471fa6f08312cea;p=xboard.git Fix translation of EngineOutputTitle WB --- diff --git a/engineoutput.c b/engineoutput.c index caf8f8b..35f3c69 100644 --- a/engineoutput.c +++ b/engineoutput.c @@ -53,7 +53,13 @@ # define _(s) gettext (s) # define N_(s) gettext_noop (s) #else -# define _(s) (s) +# ifdef WIN32 +# define _(s) T_(s) +# undef ngettext +# define ngettext(s,p,n) T_(p) +# else +# define _(s) (s) +# endif # define N_(s) s #endif diff --git a/winboard/language.txt b/winboard/language.txt index bf65ac0..9e56f82 100644 --- a/winboard/language.txt +++ b/winboard/language.txt @@ -612,7 +612,8 @@ EVALUATION GRAPH ENGINE OUTPUT WINDOW -"Engine output" === "" +"Engine Output" === "" +"%s (%d reversible plies)" === "" "Engine #1" === "" "NPS" === "" "Engine #2" === "" diff --git a/winboard/language/nederlands.lng b/winboard/language/nederlands.lng index 1546de1..853b9da 100644 --- a/winboard/language/nederlands.lng +++ b/winboard/language/nederlands.lng @@ -586,7 +586,8 @@ EVALUATION GRAPH ENGINE OUTPUT WINDOW -"Engine output" === "Overwogen zetten" +"Engine Output" === "Overwogen zetten" +"%s (%d reversible plies)" === "%s (%d omkeerbare zetten)" "Engine #1" === "Programma #1" "NPS" === "" "Engine #2" === "Programma #1"