i18n: Webhook 設定画面に翻訳を追加 (#10379)

* Webhook 設定画面に翻訳を追加

* fix: typo

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
kakkokari-gtyih
2023-03-24 15:44:26 +09:00
committed by GitHub
parent f01e6ef6bf
commit 972963913b
4 changed files with 39 additions and 22 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="_gaps_m">
<MkInput v-model="name">
<template #label>Name</template>
<template #label>{{ i18n.ts._webhookSettings.name }}</template>
</MkInput>
<MkInput v-model="url" type="url">
@ -10,20 +10,20 @@
<MkInput v-model="secret">
<template #prefix><i class="ti ti-lock"></i></template>
<template #label>Secret</template>
<template #label>{{ i18n.ts._webhookSettings.secret }}</template>
</MkInput>
<FormSection>
<template #label>Events</template>
<template #label>{{ i18n.ts._webhookSettings.events }}</template>
<div class="_gaps_s">
<MkSwitch v-model="event_follow">Follow</MkSwitch>
<MkSwitch v-model="event_followed">Followed</MkSwitch>
<MkSwitch v-model="event_note">Note</MkSwitch>
<MkSwitch v-model="event_reply">Reply</MkSwitch>
<MkSwitch v-model="event_renote">Renote</MkSwitch>
<MkSwitch v-model="event_reaction">Reaction</MkSwitch>
<MkSwitch v-model="event_mention">Mention</MkSwitch>
<MkSwitch v-model="event_follow">{{ i18n.ts._webhookSettings._events.follow }}</MkSwitch>
<MkSwitch v-model="event_followed">{{ i18n.ts._webhookSettings._events.followed }}</MkSwitch>
<MkSwitch v-model="event_note">{{ i18n.ts._webhookSettings._events.note }}</MkSwitch>
<MkSwitch v-model="event_reply">{{ i18n.ts._webhookSettings._events.reply }}</MkSwitch>
<MkSwitch v-model="event_renote">{{ i18n.ts._webhookSettings._events.renote }}</MkSwitch>
<MkSwitch v-model="event_reaction">{{ i18n.ts._webhookSettings._events.reaction }}</MkSwitch>
<MkSwitch v-model="event_mention">{{ i18n.ts._webhookSettings._events.mention }}</MkSwitch>
</div>
</FormSection>