Add missing translation for youtube (#128431)

This commit is contained in:
epenet 2024-10-15 11:29:17 +02:00 committed by GitHub
parent b41ef73ecb
commit 9930473390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -10,7 +10,8 @@
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]", "oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]", "oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]", "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": { "error": {
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",

View File

@ -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( @pytest.mark.parametrize(
("fixture", "abort_reason", "placeholders", "call_count", "access_token"), ("fixture", "abort_reason", "placeholders", "call_count", "access_token"),
[ [