From 9930473390bf600123689243907fae92cf50153d Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:29:17 +0200 Subject: [PATCH] Add missing translation for youtube (#128431) --- homeassistant/components/youtube/strings.json | 3 ++- tests/components/youtube/test_config_flow.py | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/youtube/strings.json b/homeassistant/components/youtube/strings.json index 5902d3a4482d17..78ca0532459df0 100644 --- a/homeassistant/components/youtube/strings.json +++ b/homeassistant/components/youtube/strings.json @@ -10,7 +10,8 @@ "oauth_error": "[%key:common::config_flow::abort::oauth2_error%]", "oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]", "oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]", - "oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]" + "oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]", + "wrong_account": "Wrong account: please authenticate with the right account." }, "error": { "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", diff --git a/tests/components/youtube/test_config_flow.py b/tests/components/youtube/test_config_flow.py index dc312e8c5efaf8..73652d9b2391e8 100644 --- a/tests/components/youtube/test_config_flow.py +++ b/tests/components/youtube/test_config_flow.py @@ -210,10 +210,6 @@ async def test_flow_http_error( ) -@pytest.mark.parametrize( # Remove when translations fixed - "ignore_translations", - ["component.youtube.config.abort.wrong_account"], -) @pytest.mark.parametrize( ("fixture", "abort_reason", "placeholders", "call_count", "access_token"), [