Skip to content

Commit

Permalink
Fix missing translations in madvr (#130656)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored and frenck committed Nov 15, 2024
1 parent f74bfdc commit 9e4d261
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/madvr/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]",
"set_up_new_device": "A new device was detected. Please set it up as a new entity instead of reconfiguring."
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"no_mac": "A MAC address was not found. It required to identify the device. Please ensure your device is connectable.",
"set_up_new_device": "A new device was detected. Please set it up as a new entity instead of reconfiguring."
"no_mac": "A MAC address was not found. It required to identify the device. Please ensure your device is connectable."
}
},
"entity": {
Expand Down
4 changes: 0 additions & 4 deletions tests/components/madvr/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ async def test_reconfigure_flow(
mock_madvr_client.async_cancel_tasks.assert_called()


@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.madvr.config.abort.set_up_new_device"],
)
async def test_reconfigure_new_device(
hass: HomeAssistant,
mock_madvr_client: AsyncMock,
Expand Down

0 comments on commit 9e4d261

Please sign in to comment.