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

core, gcompris first use, replace system locale by the real one (else it tries...

core, gcompris first use, replace system locale by the real one (else it tries to download voice-system)
parent b9c59cf6
......@@ -123,14 +123,14 @@ Window {
+ qsTr("Have Fun!")
+ "\n"
+ qsTr("Your current language is %1 (%2).")
.arg(Qt.locale(ApplicationSettings.locale).nativeLanguageName)
.arg(ApplicationSettings.locale)
.arg(Qt.locale(ApplicationInfo.localeShort).nativeLanguageName)
.arg(ApplicationInfo.localeShort)
+ "\n"
+ qsTr("Do you want to download the corresponding sound files now?"),
qsTr("Yes"),
function() {
if (DownloadManager.downloadResource(
DownloadManager.getVoicesResourceForLocale(ApplicationSettings.locale)))
DownloadManager.getVoicesResourceForLocale(ApplicationInfo.localeShort)))
var downloadDialog = Core.showDownloadDialog(pageView.currentItem, {});
},
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