From b13383c81bb57304fe8058b38a06e2266ee622f6 Mon Sep 17 00:00:00 2001 From: springstan Date: Thu, 24 Oct 2019 15:19:33 +0200 Subject: [PATCH 1/7] Translated customization page - added translation key-value pairs to en.json - translated form-customize, customize-icon and its key-value --- .../config/customize/ha-form-customize.js | 22 +++++++++---------- .../customize/types/ha-customize-icon.js | 2 +- .../customize/types/ha-customize-key-value.js | 4 ++-- src/translations/en.json | 16 +++++++++++++- 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/src/panels/config/customize/ha-form-customize.js b/src/panels/config/customize/ha-form-customize.js index 7b1bca7a4999..800784d3f242 100644 --- a/src/panels/config/customize/ha-form-customize.js +++ b/src/panels/config/customize/ha-form-customize.js @@ -26,19 +26,18 @@ class HaFormCustomize extends PolymerElement { if="[[computeShowWarning(localConfig, globalConfig)]]" >
- It seems that your configuration.yaml doesn't properly + [[localize('ui.panel.config.customize.warning.include_sentence')]] include customize.yaml[[localize('ui.panel.config.customize.warning.include_link')]].
- Changes made here are written in it, but will not be applied after a - configuration reload unless the include is in place. + [[localize('ui.panel.config.customize.warning.not_applied')]]