From 8e28b7b49b670c67b400148fce91a7d74a4ae037 Mon Sep 17 00:00:00 2001 From: beginner2047 <165547380+beginner2047@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:16:54 +0000 Subject: [PATCH] Add yue language support to Google Translate TTS (#134480) --- homeassistant/components/google_translate/const.py | 1 + homeassistant/components/google_translate/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/google_translate/const.py b/homeassistant/components/google_translate/const.py index ed9709d2811..ab0291bc58f 100644 --- a/homeassistant/components/google_translate/const.py +++ b/homeassistant/components/google_translate/const.py @@ -88,6 +88,7 @@ SUPPORT_LANGUAGES = [ "uk", "ur", "vi", + "yue", # dialects "zh-CN", "zh-cn", diff --git a/homeassistant/components/google_translate/manifest.json b/homeassistant/components/google_translate/manifest.json index 7074d0ed444..b5b1f670675 100644 --- a/homeassistant/components/google_translate/manifest.json +++ b/homeassistant/components/google_translate/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://www.home-assistant.io/integrations/google_translate", "iot_class": "cloud_push", "loggers": ["gtts"], - "requirements": ["gTTS==2.2.4"] + "requirements": ["gTTS==2.5.3"] } diff --git a/requirements_all.txt b/requirements_all.txt index dd98c845c12..da85ef69c6d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -959,7 +959,7 @@ fritzconnection[qr]==1.14.0 fyta_cli==0.7.0 # homeassistant.components.google_translate -gTTS==2.2.4 +gTTS==2.5.3 # homeassistant.components.gardena_bluetooth gardena-bluetooth==1.5.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 24f94facdf4..fe203064278 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -812,7 +812,7 @@ fritzconnection[qr]==1.14.0 fyta_cli==0.7.0 # homeassistant.components.google_translate -gTTS==2.2.4 +gTTS==2.5.3 # homeassistant.components.gardena_bluetooth gardena-bluetooth==1.5.0