Commit c905b44a authored by Johnny Jazeix's avatar Johnny Jazeix Committed by Bruno Coudoin
Browse files

dialog, download confirmation, add qsTr for yes/no

parent 39a85c17
......@@ -468,13 +468,13 @@ Item {
Core.showMessageDialog(main,
qsTr("You selected a new locale") + '\n'
+ qsTr("Do you want to download the corresponding sound files now?"),
"YES", function() {
qsTr("Yes"), function() {
// yes -> start download
if (DownloadManager.downloadResource(
DownloadManager.getVoicesResourceForLocale(ApplicationSettings.locale)))
var downloadDialog = Core.showDownloadDialog(main, {});
},
"NO", null,
qsTr("No"), null,
null
);
} else // check for udpates or/and register new voices
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment