fix: rename Badge Generator to Badge Link Generator and add helptext
This commit is contained in:
parent
745501852c
commit
95bfae5c8d
@ -4,11 +4,16 @@
|
|||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title">
|
<h5 class="modal-title">
|
||||||
{{ $t("Badge Generator", [monitor.name]) }}
|
{{ $t("Badge Link Generator", [monitor.name]) }}
|
||||||
</h5>
|
</h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" :aria-label="$t('Close')" />
|
<button type="button" class="btn-close" data-bs-dismiss="modal" :aria-label="$t('Close')" />
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
<i18n-t keypath="Badge Link Generator Helptext" tag="p" class="form-text mb-3">
|
||||||
|
<template #documentation>
|
||||||
|
<a href="https://github.com/louislam/uptime-kuma/wiki/Badge" target="_blank" rel="noopener noreferrer">{{ $t("documentation") }}</a>
|
||||||
|
</template>
|
||||||
|
</i18n-t>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="type" class="form-label">{{ $t("Badge Type") }}</label>
|
<label for="type" class="form-label">{{ $t("Badge Type") }}</label>
|
||||||
<select id="type" v-model="badge.type" class="form-select">
|
<select id="type" v-model="badge.type" class="form-select">
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
@click="$refs.badgeGeneratorDialog.show(monitor.id, monitor.name)"
|
@click="$refs.badgeGeneratorDialog.show(monitor.id, monitor.name)"
|
||||||
>
|
>
|
||||||
<font-awesome-icon icon="certificate" />
|
<font-awesome-icon icon="certificate" />
|
||||||
{{ $t("Open Badge Generator") }}
|
{{ $t("Open Badge Link Generator") }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -909,8 +909,9 @@
|
|||||||
"Monitor Setting": "{0}'s Monitor Setting",
|
"Monitor Setting": "{0}'s Monitor Setting",
|
||||||
"Show Clickable Link": "Show Clickable Link",
|
"Show Clickable Link": "Show Clickable Link",
|
||||||
"Show Clickable Link Description": "If checked everyone who have access to this status page can have access to monitor URL.",
|
"Show Clickable Link Description": "If checked everyone who have access to this status page can have access to monitor URL.",
|
||||||
"Open Badge Generator": "Open Badge Generator",
|
"Open Badge Link Generator": "Open Badge Link Generator",
|
||||||
"Badge Generator": "{0}'s Badge Generator",
|
"Badge Link Generator": "{0}'s Badge Link Generator",
|
||||||
|
"Badge Link Generator Helptext": "Badge links are available for all monitors assigned to public status pages. For more information, please see the {documentation}.",
|
||||||
"Badge Type": "Badge Type",
|
"Badge Type": "Badge Type",
|
||||||
"Badge Duration (in hours)": "Badge Duration (in hours)",
|
"Badge Duration (in hours)": "Badge Duration (in hours)",
|
||||||
"Badge Label": "Badge Label",
|
"Badge Label": "Badge Label",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user