diff --git a/gulp/tasks/translations.js b/gulp/tasks/translations.js index 8399cacb71..108adeb38c 100755 --- a/gulp/tasks/translations.js +++ b/gulp/tasks/translations.js @@ -22,7 +22,10 @@ const TRANSLATION_FRAGMENTS = [ 'history', 'logbook', 'mailbox', + 'profile', 'shopping-list', + 'page-authorize', + 'page-onboarding', ]; const tasks = []; diff --git a/package.json b/package.json index ad37eaa480..7a37ff543f 100644 --- a/package.json +++ b/package.json @@ -117,6 +117,7 @@ "polymer-analyzer": "^3.0.1", "polymer-bundler": "^4.0.1", "polymer-cli": "^1.7.4", + "raw-loader": "^0.5.1", "reify": "^0.16.2", "require-dir": "^1.0.0", "sinon": "^6.0.0", diff --git a/src/auth/ha-auth-flow.js b/src/auth/ha-auth-flow.js index 1a6455eb3a..19c89a392d 100644 --- a/src/auth/ha-auth-flow.js +++ b/src/auth/ha-auth-flow.js @@ -2,46 +2,64 @@ import { PolymerElement } from '@polymer/polymer/polymer-element.js'; import '@polymer/paper-button/paper-button.js'; import { html } from '@polymer/polymer/lib/utils/html-tag.js'; import '../components/ha-form.js'; -import EventsMixin from '../mixins/events-mixin.js'; +import LocalizeLiteMixin from '../mixins/localize-lite-mixin.js'; -/* - * @appliesMixin EventsMixin - */ -class HaAuthFlow extends EventsMixin(PolymerElement) { +class HaAuthFlow extends LocalizeLiteMixin(PolymerElement) { static get template() { return html` - - -