Translation key for OID

pull/4717/head
Matt Visnovsky 7 months ago
parent 56e7fa8bd5
commit f4842ead68

@ -930,5 +930,6 @@
"Control Value": "Control Value",
"snmpControlValueHelptext": "Enter the control value against which the SNMP value will be compared. Depending on the condition chosen, this value can be numeric or string. For 'contains' condition, specify a substring to search for within the SNMP value.",
"SNMP Version": "SNMP Version",
"snmpVersionHelptext": "Prefer SNMPv2c for enhanced security and expanded features. If compatibility issues occur, fallback to SNMPv1, but note that SNMPv1 has limited capabilities compared to SNMPv2c."
"snmpVersionHelptext": "Prefer SNMPv2c for enhanced security and expanded features. If compatibility issues occur, fallback to SNMPv1, but note that SNMPv1 has limited capabilities compared to SNMPv2c.",
"Please enter a valid OID.": "Please enter a valid OID."
}

@ -273,7 +273,7 @@
<div v-if="monitor.type === 'snmp'" class="my-3">
<label for="snmp_oid" class="form-label">{{ $t("OID (Object Identifier)") }}</label>
<input id="snmp_oid" v-model="monitor.snmpOid" type="text" class="form-control" required pattern="^([0-2])((\.0)|(\.[1-9][0-9]*))*$" title="Please enter a valid OID, e.g. 1.3.6.1.4.1.9.6.1.101" placeholder="1.3.6.1.4.1.9.6.1.101">
<input id="snmp_oid" v-model="monitor.snmpOid" :title="$t('Please enter a valid OID.') + ' ' + $t('Example:', ['1.3.6.1.4.1.9.6.1.101'])" type="text" class="form-control" pattern="^([0-2])((\.0)|(\.[1-9][0-9]*))*$" placeholder="1.3.6.1.4.1.9.6.1.101" required>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('snmpOIDHelptext')"></div>

Loading…
Cancel
Save