4 Commits

Author SHA1 Message Date
Adam Mills
021ded76d1 Remaining panel translations (#539)
* Remaining panel translations

* Revert hassio translation
2017-10-31 20:31:43 -07:00
Paulus Schoutsen
2f8eeec929 Add config panel translation (#511) 2017-10-26 22:16:31 -07:00
Paulus Schoutsen
dedaa87f17 English: states -> overview 2017-10-26 21:40:37 -07:00
Adam Mills
29fad98754 Core POC support for polymer i18n (#227)
* Core POC support for polymer i18n

* Move translation from core.js to html

* Replace fetch with XHR

* Convert translation pipeline to gulp

* Convert from polyglot to Polymer localize

* Pass through missing keys for custom panels

* Store promise to be reused

* Use cacheFirst sw handler for translations

* Write full filenames to translationFingerprints

* Precache en translation

* Convert home-assistant-main to ES6 class

* Create a localization mixin

* Cleanup

* Add polymer tags to annotate for linter

* Rename fingerprints to translationMetadata

* Build translation native names into metadata

* Add language selection UI to sidebar

* Provide separate message namespace argument

* Store language/resources on hass object

* Store translationMetadata on hass

* Move language selector to config panel

* Temporarily hide language selector

* Small cleanups

* Use dynamic-align for more flexible layout

* Migrate to fetch API

* Only send change events for user selection events

* Update for new linting rules

* Migrate build_frontend changes
2017-10-25 18:12:23 -07:00