Sync companion TTS language list with firmware (fix #6108)
This commit is contained in:
@@ -325,8 +325,8 @@ void GeneralSetupPanel::populateBacklightCB()
|
|||||||
void GeneralSetupPanel::populateVoiceLangCB()
|
void GeneralSetupPanel::populateVoiceLangCB()
|
||||||
{
|
{
|
||||||
QComboBox * b = ui->voiceLang_CB;
|
QComboBox * b = ui->voiceLang_CB;
|
||||||
QString strings[] = { tr("English"), tr("Dutch"), tr("French"), tr("Italian"), tr("German"), tr("Czech"), tr("Slovak"), tr("Spanish"), tr("Polish"), tr("Portuguese"), tr("Russian"), tr("Swedish"), tr("Hungarian"), NULL};
|
QString strings[] = { tr("English"), tr("French"), tr("Italian"), tr("German"), tr("Czech"), tr("Slovak"), tr("Spanish"), tr("Polish"), tr("Portuguese"), tr("Russian"), tr("Swedish"), tr("Hungarian"), NULL};
|
||||||
QString langcode[] = { "en", "nl","fr", "it", "de", "cz", "sk", "es", "pl", "pt", "ru", "se", "hu", NULL};
|
QString langcode[] = { "en", "fr", "it", "de", "cz", "sk", "es", "pl", "pt", "ru", "se", "hu", NULL};
|
||||||
|
|
||||||
b->clear();
|
b->clear();
|
||||||
for (int i=0; strings[i]!=NULL; i++) {
|
for (int i=0; strings[i]!=NULL; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user