Fix translations in subaru (#130486)
This commit is contained in:
parent
7fd337d67f
commit
0a5a2de78e
2 changed files with 2 additions and 6 deletions
|
@ -37,13 +37,13 @@
|
||||||
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
||||||
"incorrect_pin": "Incorrect PIN",
|
"incorrect_pin": "Incorrect PIN",
|
||||||
"bad_pin_format": "PIN should be 4 digits",
|
"bad_pin_format": "PIN should be 4 digits",
|
||||||
"two_factor_request_failed": "Request for 2FA code failed, please try again",
|
|
||||||
"bad_validation_code_format": "Validation code should be 6 digits",
|
"bad_validation_code_format": "Validation code should be 6 digits",
|
||||||
"incorrect_validation_code": "Incorrect validation code"
|
"incorrect_validation_code": "Incorrect validation code"
|
||||||
},
|
},
|
||||||
"abort": {
|
"abort": {
|
||||||
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
"already_configured": "[%key:common::config_flow::abort::already_configured_account%]",
|
||||||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
||||||
|
"two_factor_request_failed": "Request for 2FA code failed, please try again"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
|
|
|
@ -192,10 +192,6 @@ async def test_two_factor_request_success(
|
||||||
assert len(mock_two_factor_request.mock_calls) == 1
|
assert len(mock_two_factor_request.mock_calls) == 1
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize( # Remove when translations fixed
|
|
||||||
"ignore_translations",
|
|
||||||
["component.subaru.config.abort.two_factor_request_failed"],
|
|
||||||
)
|
|
||||||
async def test_two_factor_request_fail(
|
async def test_two_factor_request_fail(
|
||||||
hass: HomeAssistant, two_factor_start_form
|
hass: HomeAssistant, two_factor_start_form
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue