mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Translation key for OID
This commit is contained in:
parent
56e7fa8bd5
commit
f4842ead68
2 changed files with 3 additions and 2 deletions
|
@ -930,5 +930,6 @@
|
||||||
"Control Value": "Control Value",
|
"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.",
|
"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",
|
"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">
|
<div v-if="monitor.type === 'snmp'" class="my-3">
|
||||||
<label for="snmp_oid" class="form-label">{{ $t("OID (Object Identifier)") }}</label>
|
<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 -->
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||||
<div class="form-text" v-html="$t('snmpOIDHelptext')"></div>
|
<div class="form-text" v-html="$t('snmpOIDHelptext')"></div>
|
||||||
|
|
Loading…
Reference in a new issue