System: Make some boot error messages translatable

This commit is contained in:
Connor McLaughlin
2021-02-18 02:08:27 +10:00
parent 7641bbf5f2
commit db4f521d92
2 changed files with 5 additions and 3 deletions

View File

@ -716,7 +716,8 @@ bool Boot(const SystemBootParameters& params)
std::optional<BIOS::Image> bios_image = g_host_interface->GetBIOSImage(s_region);
if (!bios_image)
{
g_host_interface->ReportFormattedError("Failed to load %s BIOS", Settings::GetConsoleRegionName(s_region));
g_host_interface->ReportFormattedError(g_host_interface->TranslateString("System", "Failed to load %s BIOS."),
Settings::GetConsoleRegionName(s_region));
Shutdown();
return false;
}