mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Fix missing translations in madvr (#130656)
This commit is contained in:
parent
4a7ae081df
commit
62a5a219d9
@ -28,12 +28,12 @@
|
|||||||
},
|
},
|
||||||
"abort": {
|
"abort": {
|
||||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
"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": {
|
"error": {
|
||||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
"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.",
|
"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."
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"entity": {
|
"entity": {
|
||||||
|
@ -165,10 +165,6 @@ async def test_reconfigure_flow(
|
|||||||
mock_madvr_client.async_cancel_tasks.assert_called()
|
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(
|
async def test_reconfigure_new_device(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
mock_madvr_client: AsyncMock,
|
mock_madvr_client: AsyncMock,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user