]> git.basschouten.com Git - openhab-addons.git/commit
[helioseasycontrols] Internationalization + actions for messages - Attempt 2 (#9772)
authorBernhard Bauer <bern77@gmail.com>
Sat, 6 Feb 2021 16:19:01 +0000 (17:19 +0100)
committerGitHub <noreply@github.com>
Sat, 6 Feb 2021 16:19:01 +0000 (17:19 +0100)
commite04cf82c10383b928f476b1d454500bd4196da65
tree11301f823b5e1ca820727c10a0c9a90376ab10dd
parent32fa27aaba674ab4a0369073149521742c57fd24
[helioseasycontrols] Internationalization + actions for messages - Attempt 2 (#9772)

* Internationalization + actions for messages

- Internationalization of UI relevant texts
- Better support for the error/warning/info/status messages received
from the device

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Review inputs + improvements

- inputs from @ssalonen
- additional action to retrieve all messages collectively
- added rule example for handling the collective message action
- added semantic tags in items example

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* mvn spotless:apply

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsHandler.java

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/helioseasycontrols_de.properties

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/thing/thing-types.xml

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Review inputs from @fwolter

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Inputs from @fwolter

- changed return type for actions with a single return value
- corrected findings from static code analysis

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Removed configurationPid from TranslationProvider

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Changes requested by @fwolter

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Changed log level to debug when catching InterruptedException

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
22 files changed:
bundles/org.openhab.binding.modbus.helioseasycontrols/README.md
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsActions.java
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsBindingConstants.java
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsHandler.java
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsHandlerFactory.java
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsTranslationProvider.java [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosVariable.java
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/binding/binding.xml
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/actions.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/actions_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/errors.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/errors_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/helioseasycontrols_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/infos.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/infos_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/properties.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/properties_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/stateflags.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/stateflags_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/warnings.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/warnings_de.properties [new file with mode: 0644]
bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/thing/thing-types.xml