Fix missing translations in madvr (#130656)

This commit is contained in:
epenet 2024-11-15 04:41:15 +01:00 committed by GitHub
parent 4a7ae081df
commit 62a5a219d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

View File

@ -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": {

View File

@ -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,