X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gamelist.c;fp=gamelist.c;h=8497192f0c80dab2dfd358e4da3829fb5e5a565a;hb=3ba8afd8c058bfd2a62b3fb73699a824537fc322;hp=cb66eaa4c36c028751e2c876745fb243e218c48f;hpb=55bcdf9838f790e70d828225a2c008ea7eb2a662;p=xboard.git diff --git a/gamelist.c b/gamelist.c index cb66eaa..8497192 100644 --- a/gamelist.c +++ b/gamelist.c @@ -43,6 +43,15 @@ #include "backend.h" #include "parser.h" #include "moves.h" +#include "gettext.h" + +#ifdef ENABLE_NLS +# define _(s) gettext (s) +# define N_(s) gettext_noop (s) +#else +# define _(s) (s) +# define N_(s) s +#endif /* Variables @@ -363,7 +372,7 @@ int GameListBuild(f) break; } if(gameNumber % 1000 == 0) { - snprintf(buf, MSG_SIZ,"Reading game file (%d)", gameNumber); + snprintf(buf, MSG_SIZ, _("Reading game file (%d)"), gameNumber); DisplayTitle(buf); } }