Overhaul plat_get_string()
Now takes constants with human-readable names instead of Win32 string table IDs, language.h is no longer needed ui_msgbox*() no longer accepts string IDs as arguments directly, plat_get_string() must be explicitly called to retrieve the string
This commit is contained in:
@@ -214,7 +214,11 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
if (!pc_init_modules()) {
|
||||
ui_msgbox_header(MBX_FATAL, (void *) IDS_2121, (void *) IDS_2056);
|
||||
QMessageBox fatalbox(QMessageBox::Icon::Critical, QObject::tr("No ROMs found"),
|
||||
QObject::tr("86Box could not find any usable ROM images.\n\nPlease <a href=\"https://github.com/86Box/roms/releases/latest\">download</a> a ROM set and extract it into the \"roms\" directory."),
|
||||
QMessageBox::Ok);
|
||||
fatalbox.setTextFormat(Qt::TextFormat::RichText);
|
||||
fatalbox.exec();
|
||||
return 6;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user