Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations: add device automation base strings #37262

Closed
3 tasks
balloob opened this issue Jun 30, 2020 · 2 comments
Closed
3 tasks

Translations: add device automation base strings #37262

balloob opened this issue Jun 30, 2020 · 2 comments
Labels
help-wanted Wanna help? Jump in! translations

Comments

@balloob
Copy link
Member

balloob commented Jun 30, 2020

The problem

Device automations are having a bunch of duplicate strings. This is a poor experience for translators that need to translate the same string over and over again. It also means that if we want to change the translation, we need to update it in many places.

  • Add device automation base strings to homeassistant/components/strings.json. When introducing these, make sure you rename existing ones (ie light.device_automation.turn_on -> generic.device_automation.turn_on) and set up old one with a reference to new key name.
  • Update our scaffold scripts to use references
  • Update existing translations to use references

Split out of #34264

Environment

  • Home Assistant Core release with the issue: 112
  • Last working Home Assistant Core release (if known):
  • Operating environment (OS/Container/Supervised/Core):
  • Integration causing this issue:
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

@balloob balloob mentioned this issue Jun 30, 2020
44 tasks
@frenck frenck added the help-wanted Wanna help? Jump in! label Jun 30, 2020
@github-actions
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 27, 2020
@balloob balloob removed the stale label Nov 29, 2020
@frenck
Copy link
Member

frenck commented Mar 28, 2025

This one is hanging around for quite some time now.

We have new plans/routes we want to take with automations sometime soon. I am going to close this one for that reason.

../Frenck

@frenck frenck closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Wanna help? Jump in! translations
Projects
None yet
Development

No branches or pull requests

2 participants