clean: QLocale country -> territory renaming
Some checks failed
SonarCloud / Build and analyze (push) Waiting to run
deploy_website / deploy (push) Has been cancelled

This commit is contained in:
shenleban tongying 2024-11-07 02:56:06 -05:00
parent 02143921f4
commit f694c3210e

View file

@ -39,7 +39,7 @@ SpeechClient::Engines SpeechClient::availableEngines()
for ( const QVoice & voice : sp->availableVoices() ) {
const QString name( QString( "%4 - %3 %1 (%2)" )
.arg( QLocale::languageToString( locale.language() ),
( QLocale::countryToString( locale.country() ) ),
( QLocale::territoryToString( locale.territory() ) ),
voice.name(),
engine_name ) );
Engine engine( Config::VoiceEngine( engine_name, name, voice.name(), QLocale( locale ), 50, 0 ) );