mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add missing translation string to philips_js (#130637)
This commit is contained in:
parent
7c34f5ea56
commit
2c8f038c39
@ -18,11 +18,11 @@
|
|||||||
"error": {
|
"error": {
|
||||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||||
"unknown": "[%key:common::config_flow::error::unknown%]",
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
||||||
"pairing_failure": "Unable to pair: {error_id}",
|
|
||||||
"invalid_pin": "Invalid PIN"
|
"invalid_pin": "Invalid PIN"
|
||||||
},
|
},
|
||||||
"abort": {
|
"abort": {
|
||||||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
||||||
|
"pairing_failure": "Unable to pair: {error_id}",
|
||||||
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -161,10 +161,6 @@ async def test_pairing(hass: HomeAssistant, mock_tv_pairable, mock_setup_entry)
|
|||||||
assert len(mock_setup_entry.mock_calls) == 1
|
assert len(mock_setup_entry.mock_calls) == 1
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.philips_js.config.abort.pairing_failure"],
|
|
||||||
)
|
|
||||||
async def test_pair_request_failed(
|
async def test_pair_request_failed(
|
||||||
hass: HomeAssistant, mock_tv_pairable, mock_setup_entry
|
hass: HomeAssistant, mock_tv_pairable, mock_setup_entry
|
||||||
) -> None:
|
) -> None:
|
||||||
@ -192,10 +188,6 @@ async def test_pair_request_failed(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.philips_js.config.abort.pairing_failure"],
|
|
||||||
)
|
|
||||||
async def test_pair_grant_failed(
|
async def test_pair_grant_failed(
|
||||||
hass: HomeAssistant, mock_tv_pairable, mock_setup_entry
|
hass: HomeAssistant, mock_tv_pairable, mock_setup_entry
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user