chore: make vue domain components localizable (#1532)

This commit is contained in:
Philipp Fischbeck
2022-08-10 07:12:45 +02:00
committed by GitHub
parent e5bf7bce17
commit 32244988d2
23 changed files with 254 additions and 144 deletions

View File

@@ -1,9 +1,9 @@
<template>
<div>
<v-card-text>
<v-switch v-model="webhookCopy.enabled" label="Enabled"></v-switch>
<v-text-field v-model="webhookCopy.name" label="Webhook Name"></v-text-field>
<v-text-field v-model="webhookCopy.url" label="Webhook Url"></v-text-field>
<v-switch v-model="webhookCopy.enabled" label="$t('general.enabled')"></v-switch>
<v-text-field v-model="webhookCopy.name" label="$t('settings.webhooks.webhook-name')"></v-text-field>
<v-text-field v-model="webhookCopy.url" label="$t('settings.webhooks.webhook-url')"></v-text-field>
<v-time-picker v-model="scheduledTime" class="elevation-2" ampm-in-title format="ampm"></v-time-picker>
</v-card-text>
<v-card-actions class="py-0 justify-end">
@@ -77,7 +77,7 @@ export default defineComponent({
},
head() {
return {
title: this.$tc("settings.webhooks.webhooks"),
title: this.$t("settings.webhooks.webhooks") as string,
};
},
});