Apply suggestions from code review

This commit is contained in:
Frank Elsinga 2024-10-20 15:09:10 +02:00 committed by GitHub
parent 85f555295f
commit d1ad668998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View file

@ -1058,8 +1058,7 @@
"rabbitmqNodesInvalid": "Please use a fully qualified (starting with 'http') URL for RabbitMQ nodes.", "rabbitmqNodesInvalid": "Please use a fully qualified (starting with 'http') URL for RabbitMQ nodes.",
"RabbitMQ Username": "RabbitMQ Username", "RabbitMQ Username": "RabbitMQ Username",
"RabbitMQ Password": "RabbitMQ Password", "RabbitMQ Password": "RabbitMQ Password",
"RabbitMQ": "RabbitMQ", "rabbitmqHelpText": "To use the monitor, you will need to enable the Management Plugin in your RabbitMQ setup. For more information, please consult the {rabitmq_documentation}.",
"rabbitmqHelpText": "To use the monitor, you will need to enable the Management Plugin in your RabbitMQ setup. For more information, please consult the {0}.",
"SendGrid API Key": "SendGrid API Key", "SendGrid API Key": "SendGrid API Key",
"Separate multiple email addresses with commas": "Separate multiple email addresses with commas" "Separate multiple email addresses with commas": "Separate multiple email addresses with commas"
} }

View file

@ -65,7 +65,7 @@
MQTT MQTT
</option> </option>
<option value="rabbitmq"> <option value="rabbitmq">
{{ $t("RabbitMQ") }} RabbitMQ
</option> </option>
<option value="kafka-producer"> <option value="kafka-producer">
Kafka Producer Kafka Producer
@ -94,9 +94,11 @@
</optgroup> </optgroup>
</select> </select>
<i18n-t v-if="monitor.type === 'rabbitmq'" keypath="rabbitmqHelpText" tag="div" class="form-text"> <i18n-t v-if="monitor.type === 'rabbitmq'" keypath="rabbitmqHelpText" tag="div" class="form-text">
<template #rabitmq_documentation>
<a href="https://www.rabbitmq.com/management" target="_blank" rel="noopener noreferrer"> <a href="https://www.rabbitmq.com/management" target="_blank" rel="noopener noreferrer">
RabbitMQ documentation RabbitMQ documentation
</a>. </a>
</template>
</i18n-t> </i18n-t>
</div> </div>