Browse Source

feat(nc-gui): apply i18n in webhook editor

pull/5317/head
Wing-Kam Wong 2 years ago
parent
commit
d13863cc60
  1. 5
      packages/nc-gui/components/webhook/Editor.vue

5
packages/nc-gui/components/webhook/Editor.vue

@ -441,8 +441,7 @@ onMounted(async () => {
<a-button class="mr-3 nc-btn-webhook-test" size="large" @click="testWebhook"> <a-button class="mr-3 nc-btn-webhook-test" size="large" @click="testWebhook">
<div class="flex items-center"> <div class="flex items-center">
<MdiGestureDoubleTap class="mr-2" /> <MdiGestureDoubleTap class="mr-2" />
<!-- TODO: i18n --> {{ $t('activity.testWebhook') }}
Test Webhook
</div> </div>
</a-button> </a-button>
@ -468,7 +467,7 @@ onMounted(async () => {
class="nc-check-box-enable-webhook" class="nc-check-box-enable-webhook"
@update:checked="hook.active = $event" @update:checked="hook.active = $event"
> >
Enable Webhook {{ $t('activity.enableWebhook') }}
</a-checkbox> </a-checkbox>
</a-card> </a-card>
</a-col> </a-col>

Loading…
Cancel
Save