diff --git a/src/lang/language.h b/src/lang/language.h index bbbffdb2c..7150fbe2d 100644 --- a/src/lang/language.h +++ b/src/lang/language.h @@ -96,6 +96,7 @@ #define IDS_2120 2120 // "Unable to initialize SDL..." #define IDS_2121 2121 // "Are you sure you want to..." #define IDS_2122 2122 // "Are you sure you want to..." +#define IDS_2123 2123 // "Unable to initialize Ghostscript..." #define IDS_4096 4096 // "Hard disk (%s)" #define IDS_4097 4097 // "%01i:%01i" @@ -174,7 +175,7 @@ #define IDS_LANG_ENUS IDS_7168 -#define STR_NUM_2048 75 +#define STR_NUM_2048 76 #define STR_NUM_3072 11 #define STR_NUM_4096 18 #define STR_NUM_4352 7 diff --git a/src/printer/prt_ps.c b/src/printer/prt_ps.c index ac8319ef8..2ea717de4 100644 --- a/src/printer/prt_ps.c +++ b/src/printer/prt_ps.c @@ -23,6 +23,7 @@ #include #include #include "../86box.h" +#include "../lang/language.h" #include "../lpt.h" #include "../timer.h" #include "../pit.h" @@ -308,7 +309,7 @@ ghostscript_init() /* Try loading the DLL. */ ghostscript_handle = dynld_module(PATH_GHOSTSCRIPT_DLL, ghostscript_imports); if (ghostscript_handle == NULL) { - ui_msgbox(MBX_ERROR, L"Couldn't initialize Ghostscript!"); + ui_msgbox(MBX_ERROR, (wchar_t *) IDS_2123); return; } diff --git a/src/win/86Box.rc b/src/win/86Box.rc index 2c7c0ee61..d9f73af4b 100644 --- a/src/win/86Box.rc +++ b/src/win/86Box.rc @@ -903,6 +903,7 @@ BEGIN IDS_2120 "Unable to initialize SDL, SDL2.dll is required" IDS_2121 "Are you sure you want to hard reset the emulated machine?" IDS_2122 "Are you sure you want to quit 86Box?" + IDS_2123 "Unable to initialize Ghostscript, gsdll32.dll is required for automatic convertion of PostScript files to PDF.\n\nAny documents sent to the generic PostScript printer will be saved as PostScript files (.ps)." END STRINGTABLE DISCARDABLE