feat: 国际化

This commit is contained in:
2024-04-02 17:17:41 +08:00
parent f9aceb9eb8
commit 3afe6dda6c
20 changed files with 315 additions and 91 deletions

View File

@@ -1,13 +1,32 @@
export default {
'BasicClassification': {
'title': 'Base Type',
'table': {
'code': 'code',
'name': 'name',
'values': 'value',
'description': 'remark'
'description': 'description',
'create_time': 'create time',
'create_user': 'create user',
'update_time': 'update time',
'update_user': 'update user',
'is_modify': 'modify',
'isTop': 'top category',
'parent_class_id': 'superior category'
},
'rules': {
'NotNull': 'Cannot be empty'
},
'msg': {
'm1': 'Are you sure to delete it? If there are lower-level nodes, delete them together. This operation cannot be undone!'
},
'button': {
'all_open': 'Expand All',
'bu1': 'Add Sibling',
'bu2': 'Add Child'
},
'placeholder': {
'p1': 'Please select a category name',
'p2': 'Select the parent category'
}
}
}

View File

@@ -1,13 +1,32 @@
export default {
'BasicClassification': {
'title': 'Tipe Dasar',
'table': {
'code': 'kode',
'name': 'nama',
'values': 'nilai',
'description': 'Catatan'
'description': 'keterangan',
'create_time': 'tarikh penciptaan',
'create_user': 'pencipta',
'update_time': 'tanggal modifikasi',
'update_user': 'diubah oleh',
'is_modify': 'memodifikasi',
'isTop': 'kategori teratas',
'parent_class_id': 'kategori unggul'
},
'rules': {
'NotNull': 'Tidak dapat kosong'
},
'msg': {
'm1': 'Apakah Anda yakin akan menghapusnya? Jika ada node tingkat rendah, hapus semuanya. Operasi ini tidak dapat dibatalkan!'
},
'button': {
'all_open': 'Melebarkan Semua',
'bu1': 'Tambahkan Saudara',
'bu2': 'Tambahkan Anak'
},
'placeholder': {
'p1': 'Silakan pilih nama kategori',
'p2': 'Pilih kategori induk'
}
}
}

View File

@@ -1,13 +1,32 @@
export default {
'BasicClassification': {
'title': '基础类别',
'table': {
'code': '编码',
'name': '名称',
'values': '',
'description': '备注'
'code': '分类编码',
'name': '分类名称',
'description': '分类描述',
'create_time': '创建日期',
'create_user': '创建人',
'update_time': '修改日期',
'update_user': '修改人',
'is_modify': '是否可修改',
'isTop': '顶级类目',
'parent_class_id': '上级类目'
},
'rules': {
'NotNull': '不能为空'
},
'msg': {
'm1': '确定删除吗,如果存在下级节点则一并删除,此操作不能撤销!'
},
'button': {
'all_open': '全部展开',
'bu1': '新增同级',
'bu2': '新增子级'
},
'placeholder': {
'p1': '请选择分类名称',
'p2': '选择上级类目'
}
}
}