mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Fix key type errors for cloud TTS
This commit is contained in:
parent
0ebeec0db6
commit
3d236a8f49
@ -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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user