Adjust homewizard translation strings (#128423)

* Add missing translation for homewizard

* Adjust
pull/128420/head
epenet 2024-10-15 11:34:20 +02:00 committed by GitHub
parent 9930473390
commit 117bc67a4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -22,9 +22,10 @@
}, },
"abort": { "abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"invalid_discovery_parameters": "Detected unsupported API version", "invalid_discovery_parameters": "Invalid discovery parameters",
"device_not_supported": "This device is not supported", "device_not_supported": "This device is not supported",
"unknown_error": "[%key:common::config_flow::error::unknown%]", "unknown_error": "[%key:common::config_flow::error::unknown%]",
"unsupported_api_version": "Detected unsupported API version",
"reauth_successful": "Enabling API was successful" "reauth_successful": "Enabling API was successful"
} }
}, },

View File

@ -302,10 +302,6 @@ async def test_error_flow(
assert result["type"] is FlowResultType.CREATE_ENTRY assert result["type"] is FlowResultType.CREATE_ENTRY
@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.homewizard.config.abort.unsupported_api_version"],
)
@pytest.mark.parametrize( @pytest.mark.parametrize(
("exception", "reason"), ("exception", "reason"),
[ [