Skip to content

Commit

Permalink
Fix translation string in lyric (home-assistant#128386)
Browse files Browse the repository at this point in the history
* Fix translation string in lyric

* Remove ignore_translations from lyric config_flow test
  • Loading branch information
j4n-e4t authored Oct 15, 2024
1 parent c5f8d82 commit e273148
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion homeassistant/components/lyric/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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%]",
"missing_credentials": "[%key:common::config_flow::abort::oauth2_missing_credentials%]"
},
"create_entry": {
"default": "[%key:common::config_flow::create_entry::authenticated%]"
Expand Down
4 changes: 0 additions & 4 deletions tests/components/lyric/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ async def mock_impl(hass: HomeAssistant) -> None:
)


@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.lyric.config.abort.missing_credentials"],
)
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
"""Check flow abort when no configuration."""
result = await hass.config_entries.flow.async_init(
Expand Down

0 comments on commit e273148

Please sign in to comment.