Fix some source strings to clean up translations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17947 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6667857eb2
commit
a5ab84f37a
7 changed files with 47 additions and 40 deletions
|
@ -101,9 +101,11 @@ void CreateVoiceWindow::updateSettings(void)
|
|||
TTSBase* tts = TTSBase::getTTS(ttsName);
|
||||
tts->setCfg(settings);
|
||||
if(tts->configOk())
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS engine : <b>%1</b>").arg(TTSBase::getTTSName(ttsName)));
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
|
||||
.arg(TTSBase::getTTSName(ttsName)));
|
||||
else
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS Engine: <b>%1</b>").arg("Invalid TTS configuration!"));
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
|
||||
.arg("Invalid TTS configuration!"));
|
||||
|
||||
QString encoder = settings->curEncoder();
|
||||
// only proceed if encoder setting is set
|
||||
|
@ -111,12 +113,15 @@ void CreateVoiceWindow::updateSettings(void)
|
|||
if(enc != NULL) {
|
||||
enc->setCfg(settings);
|
||||
if(enc->configOk())
|
||||
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg(EncBase::getEncoderName(encoder)));
|
||||
ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
|
||||
.arg(EncBase::getEncoderName(encoder)));
|
||||
else
|
||||
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
|
||||
ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
|
||||
.arg("Invalid encoder configuration!"));
|
||||
}
|
||||
else
|
||||
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
|
||||
ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
|
||||
.arg("Invalid encoder configuration!"));
|
||||
ui.wavtrimthreshold->setValue(settings->wavtrimTh());
|
||||
emit settingsUpdated();
|
||||
}
|
||||
|
|
|
@ -121,21 +121,26 @@ void InstallTalkWindow::updateSettings(void)
|
|||
TTSBase* tts = TTSBase::getTTS(ttsName);
|
||||
tts->setCfg(settings);
|
||||
if(tts->configOk())
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS engine : <b>%1</b>").arg(TTSBase::getTTSName(ttsName)));
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
|
||||
.arg(TTSBase::getTTSName(ttsName)));
|
||||
else
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS Engine: <b>%1</b>").arg("Invalid TTS configuration!"));
|
||||
ui.labelTtsProfile->setText(tr("Selected TTS engine: <b>%1</b>")
|
||||
.arg("Invalid TTS configuration!"));
|
||||
|
||||
QString encoder = settings->curEncoder();
|
||||
EncBase* enc = EncBase::getEncoder(encoder);
|
||||
if(enc != NULL) {
|
||||
enc->setCfg(settings);
|
||||
if(enc->configOk())
|
||||
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg(EncBase::getEncoderName(encoder)));
|
||||
ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
|
||||
.arg(EncBase::getEncoderName(encoder)));
|
||||
else
|
||||
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
|
||||
ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
|
||||
.arg("Invalid encoder configuration!"));
|
||||
}
|
||||
else
|
||||
ui.labelEncProfile->setText(tr("Selected Encoder: <b>%1</b>").arg("Invalid encoder configuration!"));
|
||||
ui.labelEncProfile->setText(tr("Selected encoder: <b>%1</b>")
|
||||
.arg("Invalid encoder configuration!"));
|
||||
|
||||
setTalkFolder(settings->lastTalkedFolder());
|
||||
emit settingsUpdated();
|
||||
|
|
|
@ -890,17 +890,17 @@ You need to change your player to UMS mode for installation. </source>
|
|||
<name>CreateVoiceWindow</name>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="104"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<translation>Gewählte TTS engine : <b>%1</b></translation>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Gewählte TTS engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="106"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Gewählte TTS Engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="119"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation>Gewählter Encoder: <b>%1</b></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -1262,17 +1262,17 @@ p, li { white-space: pre-wrap; }
|
|||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="124"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<translation>Gewählte TTS engine : <b>%1</b></translation>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Gewählte TTS engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="126"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Gewählte TTS Engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="138"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation>Gewählter Encoder: <b>%1</b></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
@ -893,17 +893,17 @@ pour télécharger tous les fichiers néecessaires dans le cache.</translation>
|
|||
<name>CreateVoiceWindow</name>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="104"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Moteur TTS sélectionné : <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="106"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Moteur TTS sélectionné : <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="119"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation>Encodeur sélectionné : <b>%1</b></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -1250,17 +1250,17 @@ p, li { white-space: pre-wrap; }
|
|||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="124"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Moteur TTS sélectionné : <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="126"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Moteur TTS sélectionné : <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="138"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation>Encodeur sélectionné : <b>%1</b></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
@ -906,17 +906,17 @@ U moet uw speler in UMS modus plaatsen voor installatie.</translation>
|
|||
<name>CreateVoiceWindow</name>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="104"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Geselecteerde TTS engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="106"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Geselecteerde TTS engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="119"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation>Geselecteerde Encoder: <b>%1</b></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -1283,17 +1283,17 @@ p, li { white-space: pre-wrap; }
|
|||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="124"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Geselecteerde TTS engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="126"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation>Geselecteerde TTS engine: <b>%1</b></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="138"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation>Geselecteerde Encoder: <b>%1</b></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
@ -885,17 +885,17 @@ Aygitinizi ve baglama noktasini kendiniz se<73>iniz.</translation>
|
|||
<name>CreateVoiceWindow</name>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="104"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="106"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="createvoicewindow.cpp" line="119"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
@ -1242,17 +1242,17 @@ p, li { white-space: pre-wrap; }
|
|||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="124"/>
|
||||
<source>Selected TTS engine : <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="126"/>
|
||||
<source>Selected TTS Engine: <b>%1</b></source>
|
||||
<source>Selected TTS engine: <b>%1</b></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="installtalkwindow.cpp" line="138"/>
|
||||
<source>Selected Encoder: <b>%1</b></source>
|
||||
<source>Selected encoder: <b>%1</b></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
@ -94,10 +94,7 @@
|
|||
<item row="0" column="1" >
|
||||
<widget class="QLabel" name="labelDevice" >
|
||||
<property name="text" >
|
||||
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">none</span> at <span style=" font-weight:600;">unknown</span></p></body></html></string>
|
||||
<string>device / mountpoint unknown or invalid</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in a new issue