feat: 国际化
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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': '选择上级类目'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,9 @@ import redis from './redis/zh'
|
||||
import log from './log/zh'
|
||||
import notice from './notice/zh'
|
||||
import record from './record/zh'
|
||||
import errorLog from './log/error/zh'
|
||||
import online from './online/zh'
|
||||
import classification from './baseclass/zh'
|
||||
|
||||
export default {
|
||||
...zhLocale,
|
||||
@@ -29,5 +32,8 @@ export default {
|
||||
...redis,
|
||||
...log,
|
||||
...notice,
|
||||
...record
|
||||
...record,
|
||||
...errorLog,
|
||||
...online,
|
||||
...classification
|
||||
}
|
||||
|
||||
@@ -88,6 +88,7 @@ export default {
|
||||
'Tip14': 'WebSocket connection error',
|
||||
'Tip15': 'Please enter an icon name',
|
||||
'Tip16': 'NOT NULL',
|
||||
'Tip17': 'Please enter what you are searching for',
|
||||
'loading': 'loading...'
|
||||
},
|
||||
'WorkOrder': {
|
||||
|
||||
@@ -13,6 +13,9 @@ import redis from './redis/en'
|
||||
import log from './log/en'
|
||||
import notice from './notice/en'
|
||||
import record from './record/en'
|
||||
import errorLog from './log/error/en'
|
||||
import online from './online/en'
|
||||
import classification from './baseclass/en'
|
||||
|
||||
export default {
|
||||
...enLocale,
|
||||
@@ -29,5 +32,8 @@ export default {
|
||||
...redis,
|
||||
...log,
|
||||
...notice,
|
||||
...record
|
||||
...record,
|
||||
...errorLog,
|
||||
...online,
|
||||
...classification
|
||||
}
|
||||
|
||||
@@ -88,6 +88,7 @@ export default {
|
||||
'Tip14': 'Koneksi WebSocket error',
|
||||
'Tip15': 'Silakan masukkan nama ikon',
|
||||
'Tip16': 'TIDAK NULL',
|
||||
'Tip17': 'Silakan masukkan apa yang Anda cari',
|
||||
'loading': 'Memuatkan Data...'
|
||||
},
|
||||
'WorkOrder': {
|
||||
|
||||
@@ -13,6 +13,9 @@ import redis from './redis/in'
|
||||
import log from './log/in'
|
||||
import notice from './notice/in'
|
||||
import record from './record/in'
|
||||
import errorLog from './log/error/in'
|
||||
import online from './online/in'
|
||||
import classification from './baseclass/in'
|
||||
|
||||
export default {
|
||||
...idLocale,
|
||||
@@ -29,5 +32,8 @@ export default {
|
||||
...redis,
|
||||
...log,
|
||||
...notice,
|
||||
...record
|
||||
...record,
|
||||
...errorLog,
|
||||
...online,
|
||||
...classification
|
||||
}
|
||||
|
||||
20
lms/nladmin-ui/src/i18n/langs/log/error/en.js
Normal file
20
lms/nladmin-ui/src/i18n/langs/log/error/en.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
'ErrorLog': {
|
||||
'table': {
|
||||
'method': 'method',
|
||||
'params': 'params',
|
||||
'username': 'username',
|
||||
'address': 'IP source',
|
||||
'description': 'description',
|
||||
'browser': 'browser',
|
||||
'create_time': 'create time',
|
||||
'err_del': 'exception details',
|
||||
'see_del': 'view details',
|
||||
'time': 'request time',
|
||||
'clear': 'Clear'
|
||||
},
|
||||
'msg': {
|
||||
'm1': 'Are you sure to clear all operation logs?'
|
||||
}
|
||||
}
|
||||
}
|
||||
20
lms/nladmin-ui/src/i18n/langs/log/error/in.js
Normal file
20
lms/nladmin-ui/src/i18n/langs/log/error/in.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
'ErrorLog': {
|
||||
'table': {
|
||||
'method': 'metode',
|
||||
'params': 'param',
|
||||
'username': 'nama belakang',
|
||||
'address': 'sumber IP',
|
||||
'description': 'keterangan',
|
||||
'browser': 'peramban',
|
||||
'create_time': 'menciptakan waktu',
|
||||
'err_del': 'detail pengecualian',
|
||||
'see_del': 'melihat rincian',
|
||||
'time': 'waktu permintaan',
|
||||
'clear': 'Jernih'
|
||||
},
|
||||
'msg': {
|
||||
'm1': 'Apakah Anda yakin untuk menghapus semua log operasi?'
|
||||
}
|
||||
}
|
||||
}
|
||||
20
lms/nladmin-ui/src/i18n/langs/log/error/zh.js
Normal file
20
lms/nladmin-ui/src/i18n/langs/log/error/zh.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
'ErrorLog': {
|
||||
'table': {
|
||||
'method': '请求方法',
|
||||
'params': '请求参数',
|
||||
'username': '用户名',
|
||||
'address': 'IP来源',
|
||||
'description': '描述',
|
||||
'browser': '浏览器',
|
||||
'create_time': '创建日期',
|
||||
'err_del': '异常详情',
|
||||
'see_del': '查看详情',
|
||||
'time': '请求耗时',
|
||||
'clear': '清空'
|
||||
},
|
||||
'msg': {
|
||||
'm1': '确认清空所有操作日志吗?'
|
||||
}
|
||||
}
|
||||
}
|
||||
21
lms/nladmin-ui/src/i18n/langs/online/en.js
Normal file
21
lms/nladmin-ui/src/i18n/langs/online/en.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export default {
|
||||
'Online': {
|
||||
'title': 'Online User',
|
||||
'table': {
|
||||
'userName': 'userName',
|
||||
'nickName': 'nickName',
|
||||
'dept': 'department',
|
||||
'ip': 'IP',
|
||||
'address': 'login location',
|
||||
'browser': 'browser',
|
||||
'loginTime': 'login time',
|
||||
'forced': 'Force Quit'
|
||||
},
|
||||
'msg': {
|
||||
'm1': 'Are you sure you want to force logout on this use?',
|
||||
'm2': 'Successful forced withdrawal!',
|
||||
'm3_1': 'Confirm the forcibly unselected',
|
||||
'm3_2': 'users?'
|
||||
}
|
||||
}
|
||||
}
|
||||
21
lms/nladmin-ui/src/i18n/langs/online/in.js
Normal file
21
lms/nladmin-ui/src/i18n/langs/online/in.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export default {
|
||||
'Online': {
|
||||
'title': 'Pengguna Daring',
|
||||
'table': {
|
||||
'userName': 'nama belakang',
|
||||
'nickName': 'nama panggilan',
|
||||
'dept': 'departemen',
|
||||
'ip': 'IP',
|
||||
'address': 'lokasi masuk',
|
||||
'browser': 'peramban',
|
||||
'loginTime': 'waktu masuk',
|
||||
'forced': 'Keluar Paksa'
|
||||
},
|
||||
'msg': {
|
||||
'm1': 'Apakah Anda yakin ingin memaksa logout pada penggunaan ini?',
|
||||
'm2': 'Penarikan paksa yang berhasil!',
|
||||
'm3_1': 'Konfirmasikan yang tidak dipilih secara paksa',
|
||||
'm3_2': 'pengguna?'
|
||||
}
|
||||
}
|
||||
}
|
||||
21
lms/nladmin-ui/src/i18n/langs/online/zh.js
Normal file
21
lms/nladmin-ui/src/i18n/langs/online/zh.js
Normal file
@@ -0,0 +1,21 @@
|
||||
export default {
|
||||
'Online': {
|
||||
'title': '在线用户',
|
||||
'table': {
|
||||
'userName': '用户名',
|
||||
'nickName': '用户姓名',
|
||||
'dept': '部门',
|
||||
'ip': '登录IP',
|
||||
'address': '登录地点',
|
||||
'browser': '浏览器',
|
||||
'loginTime': '登录时间',
|
||||
'forced': '强退'
|
||||
},
|
||||
'msg': {
|
||||
'm1': '确定强制退出该用户吗?',
|
||||
'm2': '强退成功!',
|
||||
'm3_1': '确认强退选中的',
|
||||
'm3_2': '个用户?'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -88,6 +88,7 @@ export default {
|
||||
'Tip14': 'WebSocket连接发生错误',
|
||||
'Tip15': '请输入图标名称',
|
||||
'Tip16': '不能为空',
|
||||
'Tip17': '请输入你要搜索的内容',
|
||||
'loading': '数据加载中...'
|
||||
},
|
||||
'WorkOrder': {
|
||||
|
||||
Reference in New Issue
Block a user