-
- Downloads
Remove unused legacy state translations (#112023)
* Remove unused state translations There have been replaced with entity translations https://github.com/home-assistant/developers.home-assistant/pull/1557 https://github.com/home-assistant/core/pull/82701 * nothing does merging anymore * useless dispatch * remove * remove platform code from hassfest * preen * Update homeassistant/helpers/translation.py * ruff * fix merge * check is impossible now since we already know if translations exist or not * keep the function for now * remove unreachable code since we filter out `.` before now * reduce * reduce * fix merge conflict (again)
Showing
- homeassistant/helpers/translation.py 24 additions, 133 deletionshomeassistant/helpers/translation.py
- script/hassfest/translations.py 0 additions, 71 deletionsscript/hassfest/translations.py
- tests/helpers/test_template.py 1 addition, 16 deletionstests/helpers/test_template.py
- tests/helpers/test_translation.py 108 additions, 271 deletionstests/helpers/test_translation.py
- tests/testing_config/custom_components/test/translations/_broken.json 0 additions, 0 deletions...g_config/custom_components/test/translations/_broken.json
- tests/testing_config/custom_components/test/translations/en.json 2 additions, 1 deletion...esting_config/custom_components/test/translations/en.json
- tests/testing_config/custom_components/test/translations/switch.de.json 0 additions, 6 deletions...config/custom_components/test/translations/switch.de.json
- tests/testing_config/custom_components/test/translations/switch.en.json 0 additions, 7 deletions...config/custom_components/test/translations/switch.en.json
- tests/testing_config/custom_components/test/translations/switch.es.json 0 additions, 5 deletions...config/custom_components/test/translations/switch.es.json
Loading
Please register or sign in to comment