gettextize and some rough translations
[super-star-trek.git] / src / sst.h
index 321d802b2021131d466d9efa2efa02cf15281c42..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 <math.h>
 #include <stdlib.h>
 #include <string.h>
+#include <locale.h>
+#include <libintl.h>
 #include <curses.h>
 
 #ifdef DATA_DIR
 #include <curses.h>
 
 #ifdef DATA_DIR
@@ -12,6 +14,8 @@
 #define SSTDOC DOC_NAME
 #endif
 
 #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))
 
 #define min(x, y)      ((x)<(y)?(x):(y))
 #define max(x, y)      ((x)>(y)?(x):(y))
 
@@ -285,6 +289,7 @@ enum loctype {neither, quadrant, sector};
 #define IHS 'S'
 #define IHSTAR '*'
 #define IHP 'P'
 #define IHS 'S'
 #define IHSTAR '*'
 #define IHP 'P'
+#define IHW '@'
 #define IHB 'B'
 #define IHBLANK ' '
 #define IHDOT '.'
 #define IHB 'B'
 #define IHBLANK ' '
 #define IHDOT '.'