Commit Graph

4 Commits (27f3285d17a6303443ac46fd0463745f6c9af64b)

Author SHA1 Message Date
Paulus Schoutsen a4b69833d4 Update translations 2018-05-05 11:35:02 -04:00
Paulus Schoutsen a17e60208d Update translations 2018-03-23 14:15:31 -07:00
Paulus Schoutsen 76874e1cbc Update translations 2018-03-14 19:47:31 -07:00
Adam Mills b434ffba2d Support serving of backend translations (#12453)
* Add view to support backend translation fetching

* Load backend translations from component json

* Translations for season sensor

* Scripts to merge and unpack Lokalise translations

* Fix copy paste error

* Serve post-lokalise translations to frontend

* Linting

* Auto-deploy translations with Travis

* Commit post-lokalise translation files

* Split logic into more helper functions

* Fall back to English for missing keys

* Move local translation copies to `.translations`

* Linting

* Initial tests

* Remove unnecessary file check

* Convert translation helper to async/await

* Convert translation helper tests to async/await

* Use set subtraction to find missing_components

* load_translation_files use component->file mapping

* Remove duplicated resources fetching

Get to take advantage of the slick Python 3.5 dict merging here.

* Switch to live project ID
2018-02-28 19:31:38 -08:00