gettextize and some rough translations
[super-star-trek.git] / src / sst.h
index 06832359e2406fe3aa6042b8f9766043e08466ce..2af0f192703c146121ff4f136b385f11ae53d79b 100644 (file)
--- a/src/sst.h
+++ b/src/sst.h
@@ -4,6 +4,8 @@
 #include <math.h>
 #include <stdlib.h>
 #include <string.h>
+#include <locale.h>
+#include <libintl.h>
 #include <curses.h>
 
 #ifdef DATA_DIR
@@ -12,6 +14,8 @@
 #define SSTDOC DOC_NAME
 #endif
 
+#define _(str) gettext(str)
+
 #define min(x, y)      ((x)<(y)?(x):(y))
 #define max(x, y)      ((x)>(y)?(x):(y))