Browse Source

fix: i18n for Details page

pull/6512/head
Muhammed Mustafa 1 year ago
parent
commit
57f3d735ea
  1. 6
      packages/nc-gui/components/smartsheet/Details.vue
  2. 1
      packages/nc-gui/lang/en.json

6
packages/nc-gui/components/smartsheet/Details.vue

@ -33,7 +33,7 @@ watch(
<template #tab>
<div class="tab" data-testid="nc-relations-tab">
<GeneralIcon icon="erd" class="tab-icon" :class="{}" />
<div>Relations</div>
<div>{{ $t('title.relations') }}</div>
</div>
</template>
<SmartsheetDetailsErd />
@ -43,7 +43,7 @@ watch(
<template #tab>
<div class="tab" data-testid="nc-apis-tab">
<GeneralIcon icon="code" class="tab-icon" :class="{}" />
<div>APIs</div>
<div>{{ $t('labels.apis') }}</div>
</div>
</template>
<SmartsheetDetailsApi />
@ -53,7 +53,7 @@ watch(
<template #tab>
<div class="tab" data-testid="nc-webhooks-tab">
<GeneralIcon icon="webhook" class="tab-icon" :class="{}" />
<div>Webhooks</div>
<div>{{ $t('objects.webhooks') }}</div>
</div>
</template>
<SmartsheetDetailsWebhooks />

1
packages/nc-gui/lang/en.json

@ -446,6 +446,7 @@
"addRowForm": "Enter record data through a form",
"noAccess": "No access",
"restApis": "Rest APIs",
"apis": "APIs",
"includeData": "Include Data",
"includeView": "Include View",
"includeWebhook": "Include Webhook",

Loading…
Cancel
Save