Browse Source

fix: i18n for Create table modal

pull/6512/head
Muhammed Mustafa 1 year ago
parent
commit
444b35f1d9
  1. 6
      packages/nc-gui/components/dlg/TableCreate.vue
  2. 2
      packages/nc-gui/lang/en.json

6
packages/nc-gui/components/dlg/TableCreate.vue

@ -168,9 +168,9 @@ onMounted(() => {
<template #label="{ value }">
<a-tooltip v-if="value === 'id'" placement="top" class="!flex">
<template #title>
<span>ID column is required, you can rename this later if required.</span>
<span>{{ $t('msg.idColumnRequired') }}</span>
</template>
ID
{{ $t('datatype.ID') }}
</a-tooltip>
<div v-else class="flex">
{{ value }}
@ -190,7 +190,7 @@ onMounted(() => {
@click="_createTable"
>
{{ $t('activity.createTable') }}
<template #loading> Creating Table </template>
<template #loading> {{ $t('title.creatingTable') }} </template>
</NcButton>
</div>
</a-form>

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

@ -237,6 +237,7 @@
"isNotNull": "is not null"
},
"title": {
"creatingTable": "Creating Table",
"erdView": "ERD View",
"newProj": "New Project",
"myProject": "My Projects",
@ -640,6 +641,7 @@
},
"msg": {
"areYouSureUWantTo": "Are you sure you want to delete the following",
"idColumnRequired": "ID column is required, you can rename this later if required.",
"warning": {
"barcode": {
"renderError": "Barcode error - please check compatibility between input and barcode type"

Loading…
Cancel
Save