Skip to content

Commit

Permalink
Fix typos in strings.json files (#138601)
Browse files Browse the repository at this point in the history
* fix codespell issues

* update nextcloud snapshots

* update weheat snapshots

* update waqi snapshots
  • Loading branch information
CFenner authored Feb 18, 2025
1 parent b71d573 commit 1579e90
Show file tree
Hide file tree
Showing 27 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/anthemav/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"cannot_receive_deviceinfo": "Failed to retreive MAC Address. Make sure the device is turned on"
"cannot_receive_deviceinfo": "Failed to retrieve MAC Address. Make sure the device is turned on"
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/aurora_abb_powerone/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"error": {
"cannot_connect": "Unable to connect, please check serial port, address, electrical connection and that inverter is on (in daylight)",
"invalid_serial_port": "Serial port is not a valid device or could not be openned",
"invalid_serial_port": "Serial port is not a valid device or could not be opened",
"cannot_open_serial_port": "Cannot open serial port, please check and try again"
},
"abort": {
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/elvia/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"abort": {
"metering_point_id_already_configured": "Metering point with ID `{metering_point_id}` is already configured.",
"no_metering_points": "The provived API token has no metering points."
"no_metering_points": "The provided API token has no metering points."
}
}
}
2 changes: 1 addition & 1 deletion homeassistant/components/emoncms/strings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"config": {
"error": {
"api_error": "An error occured in the pyemoncms API : {details}"
"api_error": "An error occurred in the pyemoncms API : {details}"
},
"step": {
"user": {
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/enphase_envoy/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"init": {
"title": "Envoy {serial} {host} options",
"data": {
"diagnostics_include_fixtures": "Include test fixture data in diagnostic report. Use when requested to provide test data for troubleshooting or development activies. With this option enabled the diagnostic report may take more time to download. When report is created best disable this option again.",
"diagnostics_include_fixtures": "Include test fixture data in diagnostic report. Use when requested to provide test data for troubleshooting or development activities. With this option enabled the diagnostic report may take more time to download. When report is created best disable this option again.",
"disable_keep_alive": "Always use a new connection when requesting data from the Envoy. May resolve communication issues with some Envoy firmwares."
},
"data_description": {
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/feedreader/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"issues": {
"import_yaml_error_url_error": {
"title": "The Feedreader YAML configuration import failed",
"description": "Configuring the Feedreader using YAML is being removed but there was a connection error when trying to import the YAML configuration for `{url}`.\n\nPlease verify that url is reachable and accessable for Home Assistant and restart Home Assistant to try again or remove the Feedreader YAML configuration from your configuration.yaml file and continue to set up the integration manually."
"description": "Configuring the Feedreader using YAML is being removed but there was a connection error when trying to import the YAML configuration for `{url}`.\n\nPlease verify that url is reachable and accessible for Home Assistant and restart Home Assistant to try again or remove the Feedreader YAML configuration from your configuration.yaml file and continue to set up the integration manually."
}
}
}
2 changes: 1 addition & 1 deletion homeassistant/components/habitica/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@
},
"cancel_quest": {
"name": "Cancel a pending quest",
"description": "Cancels a quest that has not yet startet. All accepted and pending invitations will be canceled and the quest roll returned to the owner's inventory. Only quest leader or group leader can perform this action.",
"description": "Cancels a quest that has not yet started. All accepted and pending invitations will be canceled and the quest roll returned to the owner's inventory. Only quest leader or group leader can perform this action.",
"fields": {
"config_entry": {
"name": "[%key:component::habitica::common::config_entry_name%]",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/heos/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"host": "[%key:common::config_flow::data::host%]"
},
"data_description": {
"host": "Host name or IP address of a HEOS-capable product (preferrably one connected via wire to the network)."
"host": "Host name or IP address of a HEOS-capable product (preferably one connected via wire to the network)."
}
},
"reconfigure": {
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/history_stats/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"options": {
"description": "Read the documention for further details on how to configure the history stats sensor using these options.",
"description": "Read the documentation for further details on how to configure the history stats sensor using these options.",
"data": {
"start": "Start",
"end": "End",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/homeassistant/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"no_platform_setup": {
"title": "Unused YAML configuration for the {platform} integration",
"description": "It's not possible to configure {platform} {domain} by adding `{platform_key}` to the {domain} configuration. Please check the documentation for more information on how to set up this integration.\n\nTo resolve this:\n1. Remove `{platform_key}` occurences from the `{domain}:` configuration in your YAML configuration file.\n2. Restart Home Assistant.\n\nExample that should be removed:\n{yaml_example}"
"description": "It's not possible to configure {platform} {domain} by adding `{platform_key}` to the {domain} configuration. Please check the documentation for more information on how to set up this integration.\n\nTo resolve this:\n1. Remove `{platform_key}` occurrences from the `{domain}:` configuration in your YAML configuration file.\n2. Restart Home Assistant.\n\nExample that should be removed:\n{yaml_example}"
},
"storage_corruption": {
"title": "Storage corruption detected for {storage_key}",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/homeworks/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"step": {
"import_finish": {
"description": "The existing YAML configuration has succesfully been imported.\n\nYou can now remove the `homeworks` configuration from your configuration.yaml file."
"description": "The existing YAML configuration has successfully been imported.\n\nYou can now remove the `homeworks` configuration from your configuration.yaml file."
},
"import_controller_name": {
"description": "Lutron Homeworks is no longer configured through configuration.yaml.\n\nPlease fill in the form to import the existing configuration to the UI.",
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/madvr/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"step": {
"user": {
"title": "Set up madVR Envy",
"description": "Your device needs to be on in order to add the integation.",
"description": "Your device needs to be on in order to add the integration.",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]"
Expand All @@ -15,7 +15,7 @@
},
"reconfigure": {
"title": "Reconfigure madVR Envy",
"description": "Your device needs to be on in order to reconfigure the integation.",
"description": "Your device needs to be on in order to reconfigure the integration.",
"data": {
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]"
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/mastodon/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"error": {
"unauthorized_error": "The credentials are incorrect.",
"network_error": "The Mastodon instance was not found.",
"unknown": "Unknown error occured when connecting to the Mastodon instance."
"unknown": "Unknown error occurred when connecting to the Mastodon instance."
}
},
"exceptions": {
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/mcp_server/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"llm_hass_api": "[%key:common::config_flow::data::llm_hass_api%]"
},
"data_description": {
"llm_hass_api": "The method for controling Home Assistant to expose with the Model Context Protocol."
"llm_hass_api": "The method for controlling Home Assistant to expose with the Model Context Protocol."
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/nextcloud/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"abort": {
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"connection_error_during_import": "Connection error occured during yaml configuration import",
"connection_error_during_import": "Connection error occurred during yaml configuration import",
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]"
},
"error": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"name": "Cache memory"
},
"nextcloud_cache_num_entries": {
"name": "Cache number of entires"
"name": "Cache number of entries"
},
"nextcloud_cache_num_hits": {
"name": "Cache number of hits"
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/proximity/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"step": {
"confirm": {
"title": "[%key:component::proximity::issues::tracked_entity_removed::title%]",
"description": "The entity `{entity_id}` has been removed from HA, but is used in proximity {name}. Please remove `{entity_id}` from the list of tracked entities. Related proximity sensor entites were set to unavailable and can be removed."
"description": "The entity `{entity_id}` has been removed from HA, but is used in proximity {name}. Please remove `{entity_id}` from the list of tracked entities. Related proximity sensor entities were set to unavailable and can be removed."
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions homeassistant/components/qbittorrent/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"name": "Upload speed limit"
},
"alltime_download": {
"name": "Alltime download"
"name": "All-time download"
},
"alltime_upload": {
"name": "Alltime upload"
"name": "All-time upload"
},
"global_ratio": {
"name": "Global ratio"
Expand Down Expand Up @@ -115,7 +115,7 @@
"message": "No entry with ID {device_id} was found"
},
"login_error": {
"message": "A login error occured. Please check your username and password."
"message": "A login error occurred. Please check your username and password."
},
"cannot_connect": {
"message": "Can't connect to qBittorrent, please check your configuration."
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/qbus/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"abort": {
"already_configured": "Controller already configured",
"discovery_in_progress": "Discovery in progress",
"not_supported": "Configuration for QBUS happens through MQTT discovery. If your controller is not automatically discovered, check the prerequisites and troubleshooting section of the documention."
"not_supported": "Configuration for QBUS happens through MQTT discovery. If your controller is not automatically discovered, check the prerequisites and troubleshooting section of the documentation."
},
"error": {
"no_controller": "No controllers were found"
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/reolink/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
},
"hub_switch_deprecated": {
"title": "Reolink Home Hub switches deprecated",
"description": "The redundant 'Record', 'Email on event', 'FTP upload', 'Push notifications', and 'Buzzer on event' switches on the Reolink Home Hub are depricated since the new firmware no longer supports these. Please use the equally named switches under each of the camera devices connected to the Home Hub instead. To remove this issue, please adjust automations accordingly and disable the switch entities mentioned."
"description": "The redundant 'Record', 'Email on event', 'FTP upload', 'Push notifications', and 'Buzzer on event' switches on the Reolink Home Hub are deprecated since the new firmware no longer supports these. Please use the equally named switches under each of the camera devices connected to the Home Hub instead. To remove this issue, please adjust automations accordingly and disable the switch entities mentioned."
}
},
"services": {
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/statistics/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
"state_characteristic": {
"description": "Read the documention for further details on available options and how to use them.",
"description": "Read the documentation for further details on available options and how to use them.",
"data": {
"state_characteristic": "Statistic characteristic"
},
Expand All @@ -30,7 +30,7 @@
}
},
"options": {
"description": "Read the documention for further details on how to configure the statistics sensor using these options.",
"description": "Read the documentation for further details on how to configure the statistics sensor using these options.",
"data": {
"sampling_size": "Sampling size",
"max_age": "Max age",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/stookwijzer/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"config": {
"step": {
"user": {
"description": "Select the location you want to recieve the Stookwijzer information for.",
"description": "Select the location you want to receive the Stookwijzer information for.",
"data": {
"location": "[%key:common::config_flow::data::location%]"
},
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/tessie/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@
},
"exceptions": {
"unknown": {
"message": "An unknown issue occured changing {name}."
"message": "An unknown issue occurred changing {name}."
},
"not_supported": {
"message": "{name} is not supported."
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/waqi/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"name": "[%key:component::sensor::entity_component::pm25::name%]"
},
"neph": {
"name": "Visbility using nephelometry"
"name": "Visibility using nephelometry"
},
"dominant_pollutant": {
"name": "Dominant pollutant",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/weheat/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"name": "Indoor unit water pump"
},
"indoor_unit_auxiliary_pump_state": {
"name": "Indoor unit auxilary water pump"
"name": "Indoor unit auxiliary water pump"
},
"indoor_unit_dhw_valve_or_pump_state": {
"name": "Indoor unit DHW valve or water pump"
Expand Down
12 changes: 6 additions & 6 deletions tests/components/nextcloud/snapshots/test_sensor.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@
'state': '0.175296',
})
# ---
# name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_entires-entry]
# name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_entries-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
Expand All @@ -1116,7 +1116,7 @@
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.my_nc_url_local_cache_number_of_entires',
'entity_id': 'sensor.my_nc_url_local_cache_number_of_entries',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
Expand All @@ -1128,7 +1128,7 @@
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Cache number of entires',
'original_name': 'Cache number of entries',
'platform': 'nextcloud',
'previous_unique_id': None,
'supported_features': 0,
Expand All @@ -1137,14 +1137,14 @@
'unit_of_measurement': None,
})
# ---
# name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_entires-state]
# name: test_async_setup_entry[sensor.my_nc_url_local_cache_number_of_entries-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'my.nc_url.local Cache number of entires',
'friendly_name': 'my.nc_url.local Cache number of entries',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'context': <ANY>,
'entity_id': 'sensor.my_nc_url_local_cache_number_of_entires',
'entity_id': 'sensor.my_nc_url_local_cache_number_of_entries',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
Expand Down
4 changes: 2 additions & 2 deletions tests/components/waqi/snapshots/test_sensor.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'RIVM - Rijksinstituut voor Volksgezondheid en Milieum, Landelijk Meetnet Luchtkwaliteit and World Air Quality Index Project',
'friendly_name': 'de Jongweg, Utrecht Visbility using nephelometry',
'friendly_name': 'de Jongweg, Utrecht Visibility using nephelometry',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'context': <ANY>,
'entity_id': 'sensor.de_jongweg_utrecht_visbility_using_nephelometry',
'entity_id': 'sensor.de_jongweg_utrecht_visibility_using_nephelometry',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
Expand Down
12 changes: 6 additions & 6 deletions tests/components/weheat/snapshots/test_binary_sensor.ambr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# serializer version: 1
# name: test_binary_entities[binary_sensor.test_model_indoor_unit_auxilary_water_pump-entry]
# name: test_binary_entities[binary_sensor.test_model_indoor_unit_auxiliary_water_pump-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
Expand All @@ -12,7 +12,7 @@
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.test_model_indoor_unit_auxilary_water_pump',
'entity_id': 'binary_sensor.test_model_indoor_unit_auxiliary_water_pump',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
Expand All @@ -24,7 +24,7 @@
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Indoor unit auxilary water pump',
'original_name': 'Indoor unit auxiliary water pump',
'platform': 'weheat',
'previous_unique_id': None,
'supported_features': 0,
Expand All @@ -33,14 +33,14 @@
'unit_of_measurement': None,
})
# ---
# name: test_binary_entities[binary_sensor.test_model_indoor_unit_auxilary_water_pump-state]
# name: test_binary_entities[binary_sensor.test_model_indoor_unit_auxiliary_water_pump-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Test Model Indoor unit auxilary water pump',
'friendly_name': 'Test Model Indoor unit auxiliary water pump',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.test_model_indoor_unit_auxilary_water_pump',
'entity_id': 'binary_sensor.test_model_indoor_unit_auxiliary_water_pump',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
Expand Down

0 comments on commit 1579e90

Please sign in to comment.