Commit 2288dbdc authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

config, fix a bug in the manual download of long locale

Long locales like zh_TW where downloaded as 'zh' only when the
download button in the configuration was used.
parent 6466a114
......@@ -481,7 +481,7 @@ Item {
qsTr("Yes"), function() {
// yes -> start download
if (DownloadManager.downloadResource(
DownloadManager.getVoicesResourceForLocale(ApplicationInfo.localeShort)))
DownloadManager.getVoicesResourceForLocale(ApplicationSettings.locale)))
var downloadDialog = Core.showDownloadDialog(main, {});
},
qsTr("No"), null,
......
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