made sure that json-query for the mqtt monitor is translated properly (#4791)

This commit is contained in:
Frank Elsinga 2024-05-23 20:37:02 +02:00 committed by GitHub
commit 1590ca6c02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -370,9 +370,10 @@
<label for="jsonPath" class="form-label">{{ $t("Json Query") }}</label>
<input id="jsonPath" v-model="monitor.jsonPath" type="text" class="form-control" required>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('jsonQueryDescription')">
</div>
<i18n-t tag="div" class="form-text" keypath="jsonQueryDescription">
<a href="https://jsonata.org/">jsonata.org</a>
<a href="https://try.jsonata.org/">{{ $t('here') }}</a>
</i18n-t>
<br>
<label for="expectedValue" class="form-label">{{ $t("Expected Value") }}</label>