diff --git a/README.md b/README.md index 141e9a8bc..3de1330a3 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ or just set manually the entity type to `camera` and write URL into it. ### Hide toolbar To hide toolbar you can set the checkbox in the ioBroker configuration dialog on the Themes tab. -To show it, you can disable it in dialog again or just call the URL with `?toolbar=true` parameter. +To show it, you can disable it in the dialog again or just call the URL with `?toolbar=true` parameter. ### Markdown You can use bindings in markdown like in [iobroker.vis](https://github.com/ioBroker/ioBroker.vis#bindings-of-objects). @@ -439,15 +439,17 @@ For now (2020.01.12) following files were modified: After that checkout modified version in `./build` folder. Then. 1. go to ./build directory. -2. `git clone https://github.com/GermanBluefox/home-assistant-polymer.git` it is fork of https://github.com/home-assistant/home-assistant-polymer.git, but some things are modified (see the file list earlier). +2. `git clone https://github.com/GermanBluefox/home-assistant-polymer.git` it is a fork of https://github.com/home-assistant/home-assistant-polymer.git, but some things are modified (see the file list earlier). 3. `cd home-assistant-polymer` 4. `git checkout master` 5. `npm install` -6. `gulp build-app` for release or `gulp develop-iob` for debug version. To build web after changes you can call `webpack-dev-app` for faster build, but you need to call `build-app` anyway after the version is ready for use. +6. `gulp build-app` for release or `gulp develop-iob` for the debugging version. To build web after changes you can call `webpack-dev-app` for faster build, but you need to call `build-app` anyway after the version is ready for use. 7. copy all files from `./build/home-assistant-polymer/hass_frontend` into `./hass_frontend` in this repo 8. Start `gulp rename` task. ## Changelog +### 1.0.13 (2020-04-13) +* (bluefox) The translation was corrected in the custom settings. ### 1.0.12 (2020-03-16) * (Garfonso) Added option to restrict auto entity creation to alias.0.* diff --git a/admin/custom_m.html b/admin/custom_m.html index e93bf08a6..8464bf807 100644 --- a/admin/custom_m.html +++ b/admin/custom_m.html @@ -57,7 +57,7 @@ url: 'adapter/lovelace/words.js', success: function (script) { let translation = script.substring(script.indexOf('{'), script.length); - translation = translation.substring(0, translation.lastIndexOf(';')); + translation = translation.substring(0, translation.lastIndexOf('};') + 1); $.extend(systemDictionary, JSON.parse(translation)); }, async: false diff --git a/admin/words.js b/admin/words.js index 88b00ffad..0af9d1fba 100644 --- a/admin/words.js +++ b/admin/words.js @@ -73,6 +73,6 @@ var lovelace_systemDictionary = { "vacuum": { "en": "vacuum", "de": "Vakuum", "ru": "vacuum", "pt": "vácuo", "nl": "vacuüm", "fr": "vide", "it": "vuoto", "es": "vacío", "pl": "próżnia", "zh-cn": "真空"}, "water_heater": { "en": "water heater", "de": "Wasserkocher", "ru": "water_heater", "pt": "aquecedor de água", "nl": "waterkoker", "fr": "chauffe-eau", "it": "scaldabagno", "es": "calentador de agua", "pl": "podgrzewacz wody", "zh-cn": "热水器"}, "weather": { "en": "weather", "de": "Wetter", "ru": "weather", "pt": "clima", "nl": "weer", "fr": "conditions météorologiques", "it": "tempo metereologico", "es": "clima", "pl": "pogoda", "zh-cn": "天气"}, - "weblink": { "en": "weblink", "de": "Weblink", "ru": "weblink", "pt": "link da web", "nl": "web link", "fr": "lien Web", "it": "collegamento web", "es": "enlace web", "pl": "link", "zh-cn": "网络链接"}, + "weblink": { "en": "weblink", "de": "Weblink", "ru": "weblink", "pt": "link da web", "nl": "web link", "fr": "lien Web", "it": "collegamento web", "es": "enlace web", "pl": "link", "zh-cn": "网络链接"} }; if (typeof module !== 'undefined' && module.parent) { module.exports = lovelace_systemDictionary; } diff --git a/io-package.json b/io-package.json index 2c046d281..3b439d302 100644 --- a/io-package.json +++ b/io-package.json @@ -1,8 +1,20 @@ { "common": { "name": "lovelace", - "version": "1.0.12", + "version": "1.0.13", "news": { + "1.0.13": { + "en": "The translation was corrected in the custom settings", + "de": "Die Übersetzung wurde in den benutzerdefinierten Einstellungen korrigiert", + "ru": "Перевод был исправлен в пользовательских настройках", + "pt": "A tradução foi corrigida nas configurações personalizadas", + "nl": "De vertaling is gecorrigeerd in de aangepaste instellingen", + "fr": "La traduction a été corrigée dans les paramètres personnalisés", + "it": "La traduzione è stata corretta nelle impostazioni personalizzate", + "es": "La traducción se corrigió en la configuración personalizada", + "pl": "Tłumaczenie zostało poprawione w ustawieniach niestandardowych", + "zh-cn": "翻译已在自定义设置中更正" + }, "1.0.12": { "en": "Added option to restrict auto entity creation to alias.0.*", "de": "Option hinzugefügt, um die automatische Entitätserstellung auf Alias.0 zu beschränken. *", diff --git a/package.json b/package.json index f415ad36e..a2f3eec9b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.lovelace", - "version": "1.0.12", + "version": "1.0.13", "description": "With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI", "author": { "name": "bluefox",