Clarify the "Select the OTP/SEEPROM dump" message

Most users don't know what OTP/SEEPROM means.
This commit is contained in:
JosJuice 2017-12-02 18:20:42 +01:00
parent 76fbdbb06e
commit c4db59e7b6
2 changed files with 7 additions and 6 deletions

View File

@ -906,9 +906,9 @@ void MainWindow::OnImportNANDBackup()
}, },
[this] { [this] {
return RunOnObject(this, [this] { return RunOnObject(this, [this] {
return QFileDialog::getOpenFileName(this, tr("Select the OTP/SEEPROM dump"), return QFileDialog::getOpenFileName(this, tr("Select the keys file (OTP/SEEPROM dump)"),
QDir::currentPath(), QDir::currentPath(),
tr("BootMii OTP/SEEPROM dump (*.bin);;" tr("BootMii keys file (*.bin);;"
"All Files (*)")) "All Files (*)"))
.toStdString(); .toStdString();
}); });

View File

@ -1306,10 +1306,11 @@ void CFrame::OnImportBootMiiBackup(wxCommandEvent& WXUNUSED(event))
DiscIO::NANDImporter().ImportNANDBin( DiscIO::NANDImporter().ImportNANDBin(
file_name, [&dialog] { dialog.Pulse(); }, file_name, [&dialog] { dialog.Pulse(); },
[this] { [this] {
return WxStrToStr(wxFileSelector( return WxStrToStr(wxFileSelector(_("Select the keys file (OTP/SEEPROM dump)"),
_("Select the OTP/SEEPROM dump"), wxEmptyString, wxEmptyString, wxEmptyString, wxEmptyString, wxEmptyString, wxEmptyString,
_("BootMii OTP/SEEPROM dump (*.bin)") + "|*.bin|" + wxGetTranslation(wxALL_FILES), _("BootMii keys file (*.bin)") + "|*.bin|" +
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this)); wxGetTranslation(wxALL_FILES),
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST, this));
}); });
wxPostEvent(GetMenuBar(), wxCommandEvent{DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM}); wxPostEvent(GetMenuBar(), wxCommandEvent{DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM});
} }