Browse Source

chore(gui-v2): i18n

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
2eb2084ea6
  1. 2
      packages/nc-gui-v2/components/dlg/FileImport.vue

2
packages/nc-gui-v2/components/dlg/FileImport.vue

@ -116,7 +116,7 @@ const handleSubmit = () => {
<template> <template>
<a-modal v-model:visible="dialogShow" width="max(90vw, 600px)" @keydown.esc="dialogShow = false"> <a-modal v-model:visible="dialogShow" width="max(90vw, 600px)" @keydown.esc="dialogShow = false">
<template #footer> <template #footer>
<a-button key="back" @click="dialogShow = false">Cancel</a-button> <a-button key="back" @click="dialogShow = false">{{ $t('general.cancel') }}</a-button>
<a-button v-if="activeKey === 'json'" key="format" :loading="loading" @click="formatJson">Format JSON</a-button> <a-button v-if="activeKey === 'json'" key="format" :loading="loading" @click="formatJson">Format JSON</a-button>
<a-button key="submit" type="primary" :loading="loading" @click="handleSubmit">Import</a-button> <a-button key="submit" type="primary" :loading="loading" @click="handleSubmit">Import</a-button>
</template> </template>

Loading…
Cancel
Save