Skip to content

Prepare frontend translations and markdown placeholder option#45

Merged
martindell merged 3 commits into
mainfrom
codex/ha-dev-testing-helper
May 22, 2026
Merged

Prepare frontend translations and markdown placeholder option#45
martindell merged 3 commits into
mainfrom
codex/ha-dev-testing-helper

Conversation

@martindell
Copy link
Copy Markdown
Owner

Summary

  • Move frontend Entity Notes strings out of entity-notes.js and into translation JSON files
  • Load frontend translation strings from custom_components/entity_notes/translations/*.json
  • Add a Display option to hide the long Markdown placeholder text while keeping the default behavior unchanged
  • Update translation contribution docs

Testing

  • python3 -m json.tool custom_components/entity_notes/translations/en.json >/dev/null
  • python3 -m compileall custom_components/entity_notes
  • JS parse check after runtime placeholder substitution
  • git diff --check
  • Local Home Assistant deploy/test via ha-deploy-dev.sh

@martindell martindell merged commit b259bbb into main May 22, 2026
2 of 4 checks passed
@martindell martindell deleted the codex/ha-dev-testing-helper branch May 22, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant