mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 18:37:45 +00:00
fix: i18n
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { onKeyStroke, onMounted, reactive, ref } from '#imports'
|
||||
import { onKeyStroke, onMounted, reactive, ref, useI18n } from '#imports'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
const props = defineProps<{
|
||||
title: string
|
||||
@@ -29,7 +31,7 @@ function renameFile(fileName: string) {
|
||||
// }
|
||||
|
||||
const rules = {
|
||||
title: [{ required: true, message: 'title is required.' }],
|
||||
title: [{ required: true, message: t('labels.titleRequired') }],
|
||||
}
|
||||
|
||||
function onCancel() {
|
||||
|
||||
Reference in New Issue
Block a user