diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-11-02 11:37:51 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-11-02 16:02:55 +0100 |
| commit | 71d4c47eb5733e329474f934b54fd59eb23381fc (patch) | |
| tree | 2590fd61d339d7948988b3422f53f8034faba3cd /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 1cd4be1d0f837ea10741149bb2ea9c5e51ecb756 (diff) | |
UI: Tweak the NAND check popup message
Inform the user that re-launching titles can also fix the issues.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 752448ea95..48f9efe3b3 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -1327,17 +1327,24 @@ void CFrame::OnCheckNAND(wxCommandEvent&) "Do you want to try to repair the NAND?"); if (!result.titles_to_remove.empty()) { - message += _("\n\nWARNING: Fixing this NAND requires the deletion of titles that have " - "incomplete data on the NAND, including all associated save data. " - "By continuing, the following title(s) will be removed:\n\n"); + std::string title_listings; Core::TitleDatabase title_db; for (const u64 title_id : result.titles_to_remove) { const std::string name = title_db.GetTitleName(title_id); - message += !name.empty() ? StringFromFormat("%s (%016" PRIx64 ")", name.c_str(), title_id) : - StringFromFormat("%016" PRIx64, title_id); - message += "\n"; + title_listings += !name.empty() ? + StringFromFormat("%s (%016" PRIx64 ")", name.c_str(), title_id) : + StringFromFormat("%016" PRIx64, title_id); + title_listings += "\n"; } + + message += wxString::Format( + _("\n\nWARNING: Fixing this NAND requires the deletion of titles that have " + "incomplete data on the NAND, including all associated save data. " + "By continuing, the following title(s) will be removed:\n\n" + "%s" + "\nLaunching these titles may also fix the issues."), + title_listings.c_str()); } if (wxMessageBox(message, _("NAND Check"), wxYES_NO) != wxYES) |
