mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
clean: QLocale country -> territory renaming
This commit is contained in:
parent
02143921f4
commit
f694c3210e
|
@ -39,7 +39,7 @@ SpeechClient::Engines SpeechClient::availableEngines()
|
||||||
for ( const QVoice & voice : sp->availableVoices() ) {
|
for ( const QVoice & voice : sp->availableVoices() ) {
|
||||||
const QString name( QString( "%4 - %3 %1 (%2)" )
|
const QString name( QString( "%4 - %3 %1 (%2)" )
|
||||||
.arg( QLocale::languageToString( locale.language() ),
|
.arg( QLocale::languageToString( locale.language() ),
|
||||||
( QLocale::countryToString( locale.country() ) ),
|
( QLocale::territoryToString( locale.territory() ) ),
|
||||||
voice.name(),
|
voice.name(),
|
||||||
engine_name ) );
|
engine_name ) );
|
||||||
Engine engine( Config::VoiceEngine( engine_name, name, voice.name(), QLocale( locale ), 50, 0 ) );
|
Engine engine( Config::VoiceEngine( engine_name, name, voice.name(), QLocale( locale ), 50, 0 ) );
|
||||||
|
|
Loading…
Reference in a new issue