mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 11:32:41 -05:00
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);
|
TTSBase* tts = TTSBase::getTTS(ttsName);
|
||||||
tts->setCfg(settings);
|
tts->setCfg(settings);
|
||||||
if(tts->configOk())
|
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
|
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();
|
QString encoder = settings->curEncoder();
|
||||||
// only proceed if encoder setting is set
|
// only proceed if encoder setting is set
|
||||||
|
|
@ -111,12 +113,15 @@ void CreateVoiceWindow::updateSettings(void)
|
||||||
if(enc != NULL) {
|
if(enc != NULL) {
|
||||||
enc->setCfg(settings);
|
enc->setCfg(settings);
|
||||||
if(enc->configOk())
|
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
|
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
|
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());
|
ui.wavtrimthreshold->setValue(settings->wavtrimTh());
|
||||||
emit settingsUpdated();
|
emit settingsUpdated();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -121,21 +121,26 @@ void InstallTalkWindow::updateSettings(void)
|
||||||
TTSBase* tts = TTSBase::getTTS(ttsName);
|
TTSBase* tts = TTSBase::getTTS(ttsName);
|
||||||
tts->setCfg(settings);
|
tts->setCfg(settings);
|
||||||
if(tts->configOk())
|
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
|
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();
|
QString encoder = settings->curEncoder();
|
||||||
EncBase* enc = EncBase::getEncoder(encoder);
|
EncBase* enc = EncBase::getEncoder(encoder);
|
||||||
if(enc != NULL) {
|
if(enc != NULL) {
|
||||||
enc->setCfg(settings);
|
enc->setCfg(settings);
|
||||||
if(enc->configOk())
|
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
|
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
|
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());
|
setTalkFolder(settings->lastTalkedFolder());
|
||||||
emit settingsUpdated();
|
emit settingsUpdated();
|
||||||
|
|
|
||||||
|
|
@ -895,12 +895,12 @@ You need to change your player to UMS mode for installation. </source>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="106"/>
|
<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>
|
<translation>Gewählte TTS Engine: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="119"/>
|
<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>
|
<translation>Gewählter Encoder: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
@ -1267,12 +1267,12 @@ p, li { white-space: pre-wrap; }
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="126"/>
|
<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>
|
<translation>Gewählte TTS Engine: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="138"/>
|
<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>
|
<translation>Gewählter Encoder: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
|
||||||
|
|
@ -898,12 +898,12 @@ pour télécharger tous les fichiers néecessaires dans le cache.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="106"/>
|
<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>
|
<translation>Moteur TTS sélectionné : <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="119"/>
|
<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>
|
<translation>Encodeur sélectionné : <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
@ -1255,12 +1255,12 @@ p, li { white-space: pre-wrap; }
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="126"/>
|
<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>
|
<translation>Moteur TTS sélectionné : <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="138"/>
|
<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>
|
<translation>Encodeur sélectionné : <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
|
||||||
|
|
@ -911,12 +911,12 @@ U moet uw speler in UMS modus plaatsen voor installatie.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="106"/>
|
<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>
|
<translation>Geselecteerde TTS engine: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="119"/>
|
<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>
|
<translation>Geselecteerde Encoder: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
@ -1288,12 +1288,12 @@ p, li { white-space: pre-wrap; }
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="126"/>
|
<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>
|
<translation>Geselecteerde TTS engine: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="138"/>
|
<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>
|
<translation>Geselecteerde Encoder: <b>%1</b></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
|
||||||
|
|
@ -890,12 +890,12 @@ Aygitinizi ve baglama noktasini kendiniz se<73>iniz.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="106"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="createvoicewindow.cpp" line="119"/>
|
<location filename="createvoicewindow.cpp" line="119"/>
|
||||||
<source>Selected Encoder: <b>%1</b></source>
|
<source>Selected encoder: <b>%1</b></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
@ -1247,12 +1247,12 @@ p, li { white-space: pre-wrap; }
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="126"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="installtalkwindow.cpp" line="138"/>
|
<location filename="installtalkwindow.cpp" line="138"/>
|
||||||
<source>Selected Encoder: <b>%1</b></source>
|
<source>Selected encoder: <b>%1</b></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
|
|
||||||
|
|
@ -94,10 +94,7 @@
|
||||||
<item row="0" column="1" >
|
<item row="0" column="1" >
|
||||||
<widget class="QLabel" name="labelDevice" >
|
<widget class="QLabel" name="labelDevice" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<string>device / mountpoint unknown or invalid</string>
|
||||||
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>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue