mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Use different success message if erase profile is used.
Erase has been written sounds a bit odd.
This commit is contained in:
parent
c96e5474d0
commit
224ebebb04
1 changed files with 4 additions and 1 deletions
5
main.qml
5
main.qml
|
@ -892,7 +892,10 @@ ApplicationWindow {
|
|||
|
||||
function onSuccess() {
|
||||
msgpopupheader.text = qsTr("Write Successful")
|
||||
msgpopupbody.text = qsTr("<b>%1</b> has been written to <b>%2</b><br><br>You can now remove the SD card from the reader").arg(osbutton.text).arg(dstbutton.text)
|
||||
if (osbutton.text === qsTr("Erase"))
|
||||
msgpopupbody.text = qsTr("<b>%2</b> has been erased<br><br>You can now remove the SD card from the reader").arg(dstbutton.text)
|
||||
else
|
||||
msgpopupbody.text = qsTr("<b>%1</b> has been written to <b>%2</b><br><br>You can now remove the SD card from the reader").arg(osbutton.text).arg(dstbutton.text)
|
||||
msgpopup.open()
|
||||
imageWriter.setDst("")
|
||||
dstbutton.text = qsTr("CHOOSE SD CARD")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue