added/fixed translations

This commit is contained in:
filippolauria 2025-03-04 11:01:23 +01:00
parent e0166f5eca
commit 0bb2756f9c
2 changed files with 17 additions and 9 deletions

View file

@ -1051,5 +1051,13 @@
"RabbitMQ Password": "RabbitMQ Password",
"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}.",
"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",
"pingCountLabel": "Max Packets",
"pingCountDescription": "Number of packets to send before stopping",
"pingNumericLabel": "Numeric Output",
"pingNumericDescription": "If checked, IP addresses will be output instead of symbolic hostnames",
"pingDeadlineLabel": "Max Duration",
"pingDeadlineDescription": "Total time in seconds before ping stops, regardless of packets sent",
"pingTimeoutLabel": "Response Timeout",
"pingTimeoutDescription": "Maximum time in seconds to wait for each response"
}

View file

@ -662,10 +662,10 @@
<!-- Max Packets / Count -->
<div v-if="monitor.type === 'ping'" class="my-3">
<label for="ping-count" class="form-label">{{ $t("Max Packets") }}</label>
<label for="ping-count" class="form-label">{{ $t("pingCountLabel") }}</label>
<input id="ping-count" v-model="monitor.ping_count" type="number" class="form-control" required :min="ping_count_min" :max="ping_count_max" step="1">
<div class="form-text">
{{ $t("Number of packets to send before stopping") }}
{{ $t("pingCountDescription") }}
</div>
</div>
@ -673,10 +673,10 @@
<div v-if="monitor.type === 'ping'" class="my-3 form-check">
<input id="ping_numeric" v-model="monitor.ping_numeric" type="checkbox" class="form-check-input" :checked="monitor.ping_numeric">
<label class="form-check-label" for="ping_numeric">
{{ $t("Numeric Output") }}
{{ $t("pingNumericLabel") }}
</label>
<div class="form-text">
{{ $t("If checked, IP addresses will be output instead of symbolic hostnames") }}
{{ $t("pingNumericDescription") }}
</div>
</div>
@ -688,19 +688,19 @@
<!-- Max Duration / Deadline -->
<div v-if="monitor.type === 'ping'" class="my-3">
<label for="ping_deadline" class="form-label">{{ $t("Max Duration") }}</label>
<label for="ping_deadline" class="form-label">{{ $t("pingDeadlineLabel") }}</label>
<input id="ping_deadline" v-model="monitor.ping_deadline" type="number" class="form-control" required :min="ping_deadline_min" :max="ping_deadline_max" step="1">
<div class="form-text">
{{ $t("Total time in seconds before ping stops, regardless of packets sent") }}
{{ $t("pingDeadlineDescription") }}
</div>
</div>
<!-- Response Timeout -->
<div v-if="monitor.type === 'ping'" class="my-3">
<label for="ping_timeout" class="form-label">{{ $t("Response Timeout") }}</label>
<label for="ping_timeout" class="form-label">{{ $t("pingTimeoutLabel") }}</label>
<input id="ping_timeout" v-model="monitor.ping_timeout" type="number" class="form-control" required :min="ping_timeout_min" :max="ping_timeout_max" step="1">
<div class="form-text">
{{ $t("Maximum time in seconds to wait for each response") }}
{{ $t("pingTimeoutDescription") }}
</div>
</div>