Skip to content

Commit

Permalink
Add missing translation for youtube (home-assistant#128431)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Oct 15, 2024
1 parent b41ef73 commit 9930473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion homeassistant/components/youtube/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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%]",
Expand Down
4 changes: 0 additions & 4 deletions tests/components/youtube/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
[
Expand Down

0 comments on commit 9930473

Please sign in to comment.