1
0
Fork 0
forked from len0rd/rockbox

Improve voice creation window a bit.

- Make the window slightly smaller. There isn't too much information to be
  displayed, and Qt will enlarge the window if necessary anyway.
- Rename the "wavtrim threshold" field, since "wavtrim" is not really
  descriptive for non-developers.

Change-Id: I89622b3f1bca8bcd7326b447d28859412107287f
This commit is contained in:
Dominik Riebeling 2012-06-13 22:42:32 +02:00
parent 47ea5b65b2
commit 0850c1cba2
2 changed files with 54 additions and 55 deletions

View file

@ -94,10 +94,10 @@ void CreateVoiceWindow::updateSettings(void)
QString ttsName = RbSettings::value(RbSettings::Tts).toString();
TTSBase* tts = TTSBase::getTTS(this,ttsName);
if(tts->configOk())
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
ui.labelTtsProfile->setText(tr("Engine: <b>%1</b>")
.arg(TTSBase::getTTSName(ttsName)));
else
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
ui.labelTtsProfile->setText(tr("Engine: <b>%1</b>")
.arg("Invalid TTS configuration!"));
ui.wavtrimthreshold->setValue(RbSettings::value(RbSettings::WavtrimThreshold).toInt());