mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-18 23:34:04 +02:00
Apply suggestions from code review
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
c87ccddad9
commit
783655b0d8
2 changed files with 9 additions and 15 deletions
|
@ -1113,5 +1113,5 @@
|
|||
"smsplanetNeedToApproveName": "Needs to be approved in the client panel",
|
||||
"Disable URL in Notification": "Disable URL in Notification",
|
||||
"Ip Family": "IP Family",
|
||||
"ipFamilyDescription": "Choose the IP version to use (IPv4 or IPv6). If \"auto-select\" is chosen, it will use \"Happy Eyeballs\" for determining the IP version."
|
||||
"ipFamilyDescriptionAutoSelect": "Use {happyEyeballs} for determining the IP family."
|
||||
}
|
||||
|
|
|
@ -748,22 +748,16 @@
|
|||
|
||||
<div class="my-3">
|
||||
<label for="ipFamily" class="form-label">{{ $t("Ip Family") }}</label>
|
||||
|
||||
<select id="ipFamily" v-model="monitor.ipFamily" class="form-select">
|
||||
<option :value="null">
|
||||
{{ $t("auto-select") }}
|
||||
</option>
|
||||
<option value="ipv4">
|
||||
IPv4
|
||||
</option>
|
||||
<option value="ipv6">
|
||||
IPv6
|
||||
</option>
|
||||
<option :value="null">{{ $t("auto-select") }}</option>
|
||||
<option value="ipv4">IPv4</option>
|
||||
<option value="ipv6">IPv6</option>
|
||||
</select>
|
||||
|
||||
<div class="form-text">
|
||||
{{ $t("ipFamilyDescription") }} (<a href="https://en.wikipedia.org/wiki/Happy_Eyeballs" target="_blank">{{ $t('Learn More') }}</a>)
|
||||
</div>
|
||||
<i18n-t tag="div" class="form-text" key="ipFamilyDescriptionAutoSelect" v-if="monitor.ipFamily === 'null'">
|
||||
<template #happyEyeballs>
|
||||
<a href="https://en.wikipedia.org/wiki/Happy_Eyeballs" target="_blank">"Happy Eyeballs"</a>
|
||||
</template
|
||||
</i18n-t>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue