1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-10-27 18:20:13 -04:00

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".
This commit is contained in:
John Zaitseff 2011-08-01 19:49:16 +10:00
parent 1ee27fda20
commit c7e1f6096f
3 changed files with 3 additions and 3 deletions

View File

@ -234,7 +234,7 @@ void init_screen (void)
addch(attr_game_title | ' '); addch(attr_game_title | ' ');
} }
center(stdscr, 0, attr_game_title, PACKAGE_NAME); center(stdscr, 0, attr_game_title, "Star Traders");
attrset(attr_root_window); attrset(attr_root_window);
refresh(); refresh();

View File

@ -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); printf(_("Report %s bugs to <%s>.\n"), PACKAGE_PACKAGER, PACKAGE_PACKAGER_BUG_REPORTS);
#endif #endif
#ifdef PACKAGE_URL #ifdef PACKAGE_URL
printf(_(PACKAGE_NAME " home page: <%s>.\n"), PACKAGE_URL); printf(_("Star Traders home page: <%s>.\n"), PACKAGE_URL);
#endif #endif
} }

View File

@ -52,7 +52,7 @@
* Global definitions * * 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_API_VERSION "7.0" // For game loads and saves
#define GAME_FILE_SENTINEL 42 // End of game file sentinel #define GAME_FILE_SENTINEL 42 // End of game file sentinel