mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 16:27:03 +00:00
fix(nc-gui): use i18n text in import data modal
This commit is contained in:
@@ -125,27 +125,27 @@ const onClick = (type: 'airtable' | 'csv' | 'excel' | 'json' | 'nocodb') => {
|
||||
<NcMenu class="border-1 divide-y-1 nc-import-items-menu overflow-clip">
|
||||
<NcMenuItem @click="onClick('airtable')">
|
||||
<GeneralIcon icon="importAirtable" class="w-5 h-5" />
|
||||
<span class="ml-1 text-[13px] font-weight-700"> Airtable </span>
|
||||
<span class="ml-1 text-[13px] font-weight-700"> {{ $t('labels.airtable') }} </span>
|
||||
<GeneralIcon icon="chevronRight" class="ml-auto text-lg" />
|
||||
</NcMenuItem>
|
||||
<NcMenuItem @click="onClick('csv')">
|
||||
<GeneralIcon icon="importCsv" class="w-5 h-5" />
|
||||
<span class="ml-1 text-[13px] font-weight-700"> CSV </span>
|
||||
<span class="ml-1 text-[13px] font-weight-700"> {{ $t('labels.csv') }} </span>
|
||||
<GeneralIcon icon="chevronRight" class="ml-auto text-lg" />
|
||||
</NcMenuItem>
|
||||
<NcMenuItem @click="onClick('json')">
|
||||
<GeneralIcon icon="importJson" class="w-5 h-5" />
|
||||
<span class="ml-1 text-[13px] font-weight-700"> Json </span>
|
||||
<span class="ml-1 text-[13px] font-weight-700"> {{ $t('labels.jsonCapitalized') }} </span>
|
||||
<GeneralIcon icon="chevronRight" class="ml-auto text-lg" />
|
||||
</NcMenuItem>
|
||||
<NcMenuItem @click="onClick('excel')">
|
||||
<GeneralIcon icon="importExcel" class="w-5 h-5" />
|
||||
<span class="ml-1 text-[13px] font-weight-700"> Excel </span>
|
||||
<span class="ml-1 text-[13px] font-weight-700"> {{ $t('labels.excel') }} </span>
|
||||
<GeneralIcon icon="chevronRight" class="ml-auto text-lg" />
|
||||
</NcMenuItem>
|
||||
<NcMenuItem v-if="isFeatureEnabled(FEATURE_FLAG.IMPORT_FROM_NOCODB)" @click="onClick('nocodb')">
|
||||
<GeneralIcon icon="nocodb" class="w-5 h-5" />
|
||||
<span class="ml-1 text-[13px] font-weight-700"> NocoDB </span>
|
||||
<span class="ml-1 text-[13px] font-weight-700"> {{ $t('objects.syncData.nocodb') }} </span>
|
||||
<GeneralIcon icon="chevronRight" class="ml-auto text-lg" />
|
||||
</NcMenuItem>
|
||||
<!-- <NcMenuItem disabled>
|
||||
|
||||
Reference in New Issue
Block a user