-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sagercaster] Enhance binding internals #11295
Conversation
Make it ready for online translation of texts. Small code improvements Signed-off-by: Gaël L'hopital <gael@lhopital.org>
I just opened the PR, I think your PR title is clearly not describing its content. The "semantic tag" is 1% of your changes ;) And I do not understand why you used |
You're correct, it was my initial intent, but I also found some enhancements to proceed with and switched to the easiest translation mechanism. I did it this way for channel state options as it is easier to translate this way. I'm going to change the PR title. |
@clinique : can you please first resolve the conflicting files, I will then have a look. |
Signed-off-by: clinique <gael@lhopital.org>
@lolodomo : you should now be ready to go. |
...ster/src/main/java/org/openhab/binding/sagercaster/internal/SagerCasterBindingConstants.java
Outdated
Show resolved
Hide resolved
Signed-off-by: clinique <gael@lhopital.org>
@lolodomo : build fails for errors out of this PR, you can proceed if/when you want. |
bundles/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster.properties
Show resolved
Hide resolved
bundles/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster.properties
Outdated
Show resolved
Hide resolved
...les/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster_fr.properties
Outdated
Show resolved
Hide resolved
...les/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster_fr.properties
Outdated
Show resolved
Hide resolved
...les/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster_fr.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.sagercaster/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.sagercaster/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: clinique <gael@lhopital.org>
...les/org.openhab.binding.sagercaster/src/main/resources/OH-INF/i18n/sagercaster_fr.properties
Outdated
Show resolved
Hide resolved
...ain/java/org/openhab/binding/sagercaster/internal/discovery/SagerCasterDiscoveryService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: clinique <gael@lhopital.org>
...ain/java/org/openhab/binding/sagercaster/internal/discovery/SagerCasterDiscoveryService.java
Show resolved
Hide resolved
Signed-off-by: clinique <gael@lhopital.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do not enjoy too fast, the build will certainly fail ;) |
Build finally succeeded |
* Added semantic tags Make it ready for online translation of texts. Small code improvements Signed-off-by: Gaël L'hopital <gael@lhopital.org> * Update sagercaster_fr.properties * Correcting encoding for DE resource file. Signed-off-by: clinique <gael@lhopital.org> * Code review corrections Signed-off-by: clinique <gael@lhopital.org> * Still some code refinings * Corrections following lolodomo feed-backs. Signed-off-by: clinique <gael@lhopital.org> * Still some corrections Signed-off-by: clinique <gael@lhopital.org> * Enhanced discovery Signed-off-by: clinique <gael@lhopital.org> Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
* Added semantic tags Make it ready for online translation of texts. Small code improvements Signed-off-by: Gaël L'hopital <gael@lhopital.org> * Update sagercaster_fr.properties * Correcting encoding for DE resource file. Signed-off-by: clinique <gael@lhopital.org> * Code review corrections Signed-off-by: clinique <gael@lhopital.org> * Still some code refinings * Corrections following lolodomo feed-backs. Signed-off-by: clinique <gael@lhopital.org> * Still some corrections Signed-off-by: clinique <gael@lhopital.org> * Enhanced discovery Signed-off-by: clinique <gael@lhopital.org> Signed-off-by: Nick Waterton <n.waterton@outlook.com>
* Added semantic tags Make it ready for online translation of texts. Small code improvements Signed-off-by: Gaël L'hopital <gael@lhopital.org> * Update sagercaster_fr.properties * Correcting encoding for DE resource file. Signed-off-by: clinique <gael@lhopital.org> * Code review corrections Signed-off-by: clinique <gael@lhopital.org> * Still some code refinings * Corrections following lolodomo feed-backs. Signed-off-by: clinique <gael@lhopital.org> * Still some corrections Signed-off-by: clinique <gael@lhopital.org> * Enhanced discovery Signed-off-by: clinique <gael@lhopital.org>
* Added semantic tags Make it ready for online translation of texts. Small code improvements Signed-off-by: Gaël L'hopital <gael@lhopital.org> * Update sagercaster_fr.properties * Correcting encoding for DE resource file. Signed-off-by: clinique <gael@lhopital.org> * Code review corrections Signed-off-by: clinique <gael@lhopital.org> * Still some code refinings * Corrections following lolodomo feed-backs. Signed-off-by: clinique <gael@lhopital.org> * Still some corrections Signed-off-by: clinique <gael@lhopital.org> * Enhanced discovery Signed-off-by: clinique <gael@lhopital.org>
* Added semantic tags Make it ready for online translation of texts. Small code improvements Signed-off-by: Gaël L'hopital <gael@lhopital.org> * Update sagercaster_fr.properties * Correcting encoding for DE resource file. Signed-off-by: clinique <gael@lhopital.org> * Code review corrections Signed-off-by: clinique <gael@lhopital.org> * Still some code refinings * Corrections following lolodomo feed-backs. Signed-off-by: clinique <gael@lhopital.org> * Still some corrections Signed-off-by: clinique <gael@lhopital.org> * Enhanced discovery Signed-off-by: clinique <gael@lhopital.org>
Added semantic tags
Make it ready for crowndin translation of texts.
Small code improvements.
Used system channels when possible.
Signed-off-by: Gaël L'hopital gael@lhopital.org