Maybe don't helptext all the things...

Addresses https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589866321
pull/4717/head
Matt Visnovsky 2 weeks ago
parent e5fb726160
commit 2015142b00

@ -923,13 +923,11 @@
"max 15 digits": "max 15 digits",
"max 11 alphanumeric characters": "max 11 alphanumeric characters",
"Community String": "Community String",
"snmpCommunityStringHelptext": "This string acts as a password and is used to authenticate and control access to SNMP-enabled devices. Ensure it matches the configuration of your SNMP device.",
"snmpCommunityStringHelptext": "This string functions as a password to authenticate and control access to SNMP-enabled devices. Match it with your SNMP device's configuration.",
"OID (Object Identifier)": "OID (Object Identifier)",
"snmpOIDHelptext": "Please input the OID corresponding to the sensor or status you wish to monitor. If you're unsure about the OID, various network management tools can assist you in discovering the correct OID for your device, such as a MIB browser, or SNMP management software.",
"snmpOIDHelptext": "Enter the OID for the sensor or status you want to monitor. Use network management tools like MIB browsers or SNMP software if you're unsure about the OID.",
"Condition": "Condition",
"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.",
"Please enter a valid OID.": "Please enter a valid OID."
}

@ -298,8 +298,6 @@
<input v-else id="snmp_control_value" v-model="monitor.snmpControlValue" type="text" class="form-control" required>
</div>
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('snmpControlValueHelptext')"></div>
</div>
<div v-if="monitor.type === 'snmp'" class="my-3">
@ -312,9 +310,6 @@
SNMPv2c
</option>
</select>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('snmpVersionHelptext')"></div>
</div>
<!-- DNS Resolver Server -->

Loading…
Cancel
Save