Fix key type errors for cloud TTS

This commit is contained in:
Steve Repsher 2022-07-15 12:28:53 -04:00
parent 0ebeec0db6
commit 3d236a8f49
No known key found for this signature in database
GPG Key ID: 776C4F2DACF6131B

View File

@ -59,9 +59,9 @@ export const getCloudTtsSupportedGenders = (
if (curLang === language) {
genders.push([
gender,
localize(`ui.panel.media-browser.tts.gender_${gender}`) ||
localize(`ui.panel.config.cloud.account.tts.${gender}`) ||
gender,
gender === "male" || gender === "female"
? localize(`ui.panel.config.cloud.account.tts.${gender}`)
: gender,
]);
}
}