Add i18n for notification form

This commit is contained in:
zsxeee 2021-09-21 13:02:41 +08:00
parent ad6fcc2f2e
commit 8c941b1d56
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
18 changed files with 228 additions and 133 deletions

View file

@ -1,6 +1,6 @@
<template>
<div class="mb-3">
<label for="teams-webhookurl" class="form-label">Webhook URL</label>
<label for="teams-webhookurl" class="form-label">{{ $t("Webhook URL") }}</label>
<input
id="teams-webhookurl"
v-model="$parent.notification.webhookUrl"
@ -8,12 +8,11 @@
class="form-control"
required
/>
<div class="form-text">
You can learn how to create a webhook url
<i18n-t keypath="wayToGetTeamsURL" class="form-text" tag="div">
<a
href="https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook"
target="_blank"
>here</a>.
</div>
>{{ $t("here") }}</a>
</i18n-t>
</div>
</template>