]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mielecloud] Fix typo and localization key resolution (#10821)
authorBjörn Lange <bjoern.lange@udo.edu>
Mon, 7 Jun 2021 18:56:24 +0000 (20:56 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 18:56:24 +0000 (20:56 +0200)
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
bundles/org.openhab.binding.mielecloud/src/main/resources/OH-INF/i18n/mielecloud.properties
bundles/org.openhab.binding.mielecloud/src/main/resources/org/openhab/binding/mielecloud/internal/config/pairing.html

index 745298699d5a1e58a214846649ab42a4e7365c2e..1413681b87e2b7bd282cc41352e3e9f12a13c2d6 100644 (file)
@@ -6,8 +6,8 @@ binding.mielecloud.description=This is the cloud-based Miele@home binding.
 thing-type.mielecloud.account.label=Miele@home Account
 thing-type.mielecloud.account.description=The Miele@home Account is used to access linked Miele Conn@ct smart home devices.
 
-thing-type.config.mielecloud.account.locale.label=E-mail
-thing-type.config.mielecloud.account.locale.description=E-mail address associated with the Miele Cloud account.
+thing-type.config.mielecloud.account.email.label=E-mail
+thing-type.config.mielecloud.account.email.description=E-mail address associated with the Miele Cloud account.
 
 thing-type.config.mielecloud.account.locale.label=Locale
 thing-type.config.mielecloud.account.locale.description=Locale to be used for API calls.
index 8c6bb6c73358ced163a649edb796f321c3024390..ea101755544d3db5d8873d263b0ec783ab4d8d11 100644 (file)
@@ -53,7 +53,7 @@
                         </div>
                         <div class="form-group">
                             <label for="email">E-mail address:</label>
-                            <input type="text" class="form-control" id="email" name="email" placeholder="Enter the e-mail address associated with you Miele Cloud Account" required pattern="[a-z0-9._%+-]{3,}@[a-z]{3,}([.]{1}[a-z]{2,}|[.]{1}[a-z]{2,}[.]{1}[a-z]{2,})" />
+                            <input type="text" class="form-control" id="email" name="email" placeholder="Enter the e-mail address associated with your Miele Cloud Account" required pattern="[a-z0-9._%+-]{3,}@[a-z]{3,}([.]{1}[a-z]{2,}|[.]{1}[a-z]{2,}[.]{1}[a-z]{2,})" />
                         </div>
                         <button type="submit" class="btn btn-danger btn-lg">Pair Account</button>
                     </form>