projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 2 strings for translation
[xboard.git]
/
gamelist.c
diff --git
a/gamelist.c
b/gamelist.c
index
cb66eaa
..
8497192
100644
(file)
--- a/
gamelist.c
+++ b/
gamelist.c
@@
-43,6
+43,15
@@
#include "backend.h"
#include "parser.h"
#include "moves.h"
#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
/* Variables
@@
-363,7
+372,7
@@
int GameListBuild(f)
break;
}
if(gameNumber % 1000 == 0) {
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);
}
}
DisplayTitle(buf);
}
}