diff --git a/src/config.c b/src/config.c index e1d0ad6d4..5a089b8b8 100644 --- a/src/config.c +++ b/src/config.c @@ -713,9 +713,9 @@ load_network(void) if (p != NULL) { if ((network_dev_to_id(p) == -1) || (network_ndev == 1)) { if ((network_ndev == 1) && strcmp(network_host, "none")) { - ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2094); + ui_msgbox_header(MBX_ERROR, (wchar_t *) IDS_2094, (wchar_t *) IDS_2129); } else if (network_dev_to_id(p) == -1) { - ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2095); + ui_msgbox_header(MBX_ERROR, (wchar_t *) IDS_2095, (wchar_t *) IDS_2129); } strcpy(network_host, "none"); diff --git a/src/include/86box/language.h b/src/include/86box/language.h index d29573aa5..10a91e07e 100644 --- a/src/include/86box/language.h +++ b/src/include/86box/language.h @@ -102,6 +102,7 @@ #define IDS_2126 2126 // "An emulator of old computers..." #define IDS_2127 2127 // "OK" #define IDS_2128 2128 // "Hardware not available" +#define IDS_2129 2129 // "Make sure " PCAP " is installed..." #define IDS_4096 4096 // "Hard disk (%s)" #define IDS_4097 4097 // "%01i:%01i" diff --git a/src/network/network.c b/src/network/network.c index a32f232c1..77fbfa1ae 100644 --- a/src/network/network.c +++ b/src/network/network.c @@ -438,7 +438,7 @@ network_reset(void) if (i < 0) { /* Tell user we can't do this (at the moment.) */ - ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2093); + ui_msgbox_header(MBX_ERROR, (wchar_t *) IDS_2093, (wchar_t *) IDS_2129); // FIXME: we should ask in the dialog if they want to // reconfigure or quit, and throw them into the diff --git a/src/win/86Box.rc b/src/win/86Box.rc index b3ea93c55..25543e05a 100644 --- a/src/win/86Box.rc +++ b/src/win/86Box.rc @@ -930,7 +930,7 @@ BEGIN IDS_2090 "Default" IDS_2091 "%i Wait state(s)" IDS_2092 "Type" - IDS_2093 "PCap failed to set up because it may not be initialized" + IDS_2093 "Failed to set up PCap" IDS_2094 "No PCap devices found" IDS_2095 "Invalid PCap device" IDS_2096 "Standard 2-button joystick(s)" @@ -966,6 +966,12 @@ BEGIN IDS_2126 "An emulator of old computers\n\nAuthors: Sarah Walker, Miran Grca, Fred N. van Kempen (waltje), SA1988, MoochMcGee, reenigne, leilei, JohnElliott, greatpsycho, and others.\n\nReleased under the GNU General Public License version 2. See LICENSE for more information." IDS_2127 "OK" IDS_2128 "Hardware not available" +#ifdef _WIN32 +#define PCAP "WinPcap" +#else +#define PCAP "libpcap" +#endif + IDS_2129 "Make sure " PCAP " is installed and that you are on a " PCAP "-compatible network connection." END STRINGTABLE DISCARDABLE