From 8f0901e7a50b2ff8426ba712e5d5d1a08d1650de Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 9 Jul 2023 20:59:59 +1000 Subject: [PATCH] VMManager: Flag BIOS missing error for translation --- pcsx2/VMManager.cpp | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pcsx2/VMManager.cpp b/pcsx2/VMManager.cpp index bbc2509043..cb812a99fb 100644 --- a/pcsx2/VMManager.cpp +++ b/pcsx2/VMManager.cpp @@ -1126,17 +1126,14 @@ bool VMManager::Initialize(VMBootParameters boot_params) Console.WriteLn("Loading BIOS..."); if (!LoadBIOS()) { - // TODO: When we translate core strings, translate this. - - const char* message = - "PCSX2 requires a PS2 BIOS in order to run.\n\n" - "For legal reasons, you *must* obtain a BIOS from an actual PS2 unit that you own (borrowing " - "doesn't count).\n\n" - "Once dumped, this BIOS image should be placed in the bios folder within the data directory " - "(Tools Menu -> Open Data Directory).\n\n" - "Please consult the FAQs and Guides for further instructions."; - - Host::ReportErrorAsync("Startup Error", message); + Host::ReportErrorAsync(TRANSLATE_SV("VMManager", "Error"), + TRANSLATE_SV("VMManager", + "PCSX2 requires a PS2 BIOS in order to run.\n\n" + "For legal reasons, you *must* obtain a BIOS from an actual PS2 unit that you own (borrowing " + "doesn't count).\n\n" + "Once dumped, this BIOS image should be placed in the bios folder within the data directory " + "(Tools Menu -> Open Data Directory).\n\n" + "Please consult the FAQs and Guides for further instructions.")); return false; } }