diff options
Diffstat (limited to 'rbutil/rbutilqt/base/voicefile.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/voicefile.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/voicefile.cpp b/rbutil/rbutilqt/base/voicefile.cpp index a3950ca950..ce4596828f 100644 --- a/rbutil/rbutilqt/base/voicefile.cpp +++ b/rbutil/rbutilqt/base/voicefile.cpp | |||
@@ -63,9 +63,12 @@ bool VoiceFileCreator::createVoiceFile() | |||
63 | version = version.left(version.indexOf("-")).remove("r"); | 63 | version = version.left(version.indexOf("-")).remove("r"); |
64 | 64 | ||
65 | //prepare download url | 65 | //prepare download url |
66 | QUrl genlangUrl = SystemInfo::value(SystemInfo::GenlangUrl).toString() | 66 | QString genlang = SystemInfo::value(SystemInfo::GenlangUrl).toString(); |
67 | +"?lang=" + m_lang + "&t=" + target + "&rev=" + version + "&f=" + features; | 67 | genlang.replace("%LANG%", m_lang); |
68 | 68 | genlang.replace("%TARGET%", target); | |
69 | genlang.replace("%REVISION%", version); | ||
70 | genlang.replace("%FEATURES%", features); | ||
71 | QUrl genlangUrl(genlang); | ||
69 | qDebug() << "[VoiceFileCreator] downloading " << genlangUrl; | 72 | qDebug() << "[VoiceFileCreator] downloading " << genlangUrl; |
70 | 73 | ||
71 | //download the correct genlang output | 74 | //download the correct genlang output |