Fix spelling of "non-existent", "non-blocking" and "currently used" (#148440)

This commit is contained in:
Norbert Rittel 2025-07-08 23:58:39 +02:00 committed by GitHub
parent 70c01efe57
commit ed8effa162
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@
},
"python_version": {
"title": "Support for Python {current_python_version} is being removed",
"description": "Support for running Home Assistant in the current used Python version {current_python_version} is deprecated and will be removed in Home Assistant {breaks_in_ha_version}. Please upgrade Python to {required_python_version} to prevent your Home Assistant instance from breaking."
"description": "Support for running Home Assistant in the currently used Python version {current_python_version} is deprecated and will be removed in Home Assistant {breaks_in_ha_version}. Please upgrade Python to {required_python_version} to prevent your Home Assistant instance from breaking."
},
"config_entry_only": {
"title": "The {domain} integration does not support YAML configuration",
@ -81,7 +81,7 @@
"title": "Integration {domain} not found",
"fix_flow": {
"abort": {
"issue_ignored": "Not existing integration {domain} ignored."
"issue_ignored": "Non-existent integration {domain} ignored."
},
"step": {
"init": {
@ -274,7 +274,7 @@
"message": "Failed to process the returned action response data, expected a dictionary, but got {response_data_type}."
},
"service_should_be_blocking": {
"message": "A non blocking action call with argument {non_blocking_argument} can't be used together with argument {return_response}."
"message": "A non-blocking action call with argument {non_blocking_argument} can't be used together with argument {return_response}."
}
}
}

View File

@ -1847,7 +1847,7 @@ async def test_services_call_return_response_requires_blocking(
return_response=True,
)
assert str(exc.value) == (
"A non blocking action call with argument blocking=False "
"A non-blocking action call with argument blocking=False "
"can't be used together with argument return_response=True"
)