From c7e1f6096f7cb8bcb4e84b627b2f30b0bc99721c Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Mon, 1 Aug 2011 19:49:16 +1000 Subject: [PATCH] Replace PACKAGE_NAME with "Star Traders" The gettext utilities don't like C macros in gettext() invocations, so replace each occurrence of PACKAGE_NAME with "Star Traders". --- src/intf.c | 2 +- src/trader.c | 2 +- src/trader.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intf.c b/src/intf.c index 6f03ad5..6214570 100644 --- a/src/intf.c +++ b/src/intf.c @@ -234,7 +234,7 @@ void init_screen (void) addch(attr_game_title | ' '); } - center(stdscr, 0, attr_game_title, PACKAGE_NAME); + center(stdscr, 0, attr_game_title, "Star Traders"); attrset(attr_root_window); refresh(); diff --git a/src/trader.c b/src/trader.c index a7d7ab2..5b1bbd8 100644 --- a/src/trader.c +++ b/src/trader.c @@ -333,7 +333,7 @@ playing that game. If GAME is not specified, start a new game.\n\n\ printf(_("Report %s bugs to <%s>.\n"), PACKAGE_PACKAGER, PACKAGE_PACKAGER_BUG_REPORTS); #endif #ifdef PACKAGE_URL - printf(_(PACKAGE_NAME " home page: <%s>.\n"), PACKAGE_URL); + printf(_("Star Traders home page: <%s>.\n"), PACKAGE_URL); #endif } diff --git a/src/trader.h b/src/trader.h index 90e6d81..3fd27d3 100644 --- a/src/trader.h +++ b/src/trader.h @@ -52,7 +52,7 @@ * Global definitions * ************************************************************************/ -#define GAME_FILE_HEADER PACKAGE_NAME " Saved Game" +#define GAME_FILE_HEADER "Star Traders Saved Game" #define GAME_FILE_API_VERSION "7.0" // For game loads and saves #define GAME_FILE_SENTINEL 42 // End of game file sentinel