diff --git a/main.qml b/main.qml index daa39d8..38ecaaa 100644 --- a/main.qml +++ b/main.qml @@ -892,7 +892,10 @@ ApplicationWindow { function onSuccess() { msgpopupheader.text = qsTr("Write Successful") - msgpopupbody.text = qsTr("%1 has been written to %2

You can now remove the SD card from the reader").arg(osbutton.text).arg(dstbutton.text) + if (osbutton.text === qsTr("Erase")) + msgpopupbody.text = qsTr("%2 has been erased

You can now remove the SD card from the reader").arg(dstbutton.text) + else + msgpopupbody.text = qsTr("%1 has been written to %2

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")