add:设备列表国际化

This commit is contained in:
2023-11-29 10:56:50 +08:00
parent 7ca7031b9d
commit b083c325d2
10 changed files with 149 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
import zh from './zh-CN'
import menu from './menu/zh'
import menu from './device/zh'
import param from './param/zh'
export default {

View File

@@ -0,0 +1,45 @@
export default {
'device': {
'title': 'device',
'placeholder': {
'enter_name_code': 'Enter a name or code',
'device_type': 'Device type'
},
'table_title': {
'menu_title': 'title',
'system': 'system',
'icon': 'icon',
'sort': 'sort',
'permission_ident': 'permission mark',
'path': 'path',
'outside_chain': 'out chain',
'cache': 'cache',
'visible': 'visible',
'create_time': 'create time'
},
'dialog': {
'menu_type': 'Menu Type',
'system': 'System',
'catalogue': 'Catalogue',
'menu': 'Menu',
'button': 'Button',
'button_name': 'Button Name',
'menu_icon': 'Menu Icon',
'menu_chain': 'Menu Chain',
'menu_cache': 'Menu Cache',
'menu_visible': 'Menu Visible',
'default_title': 'Default Title',
'zh_title': 'ZH-Title',
'en_title': 'EN-Title',
'id_title': 'ID-Title',
'router_path': 'Router Path',
'menu_sort': 'Menu Sort',
'component_name': 'Component Name',
'component_path': 'Component Path',
'superior_class': 'Superior Class'
},
'msg': {
'delete_msg': 'Are you sure to delete it? If there are subordinate nodes, they will be deleted together. This operation cannot be undone!'
}
}
}

View File

@@ -0,0 +1,45 @@
export default {
'device': {
'title': '设备',
'placeholder': {
'enter_name_code': 'Masukkan nama atau kode',
'device_type': 'Jenis perangkat'
},
'table_title': {
'menu_title': 'title',
'system': 'sistem',
'icon': 'ikon',
'sort': 'sort',
'permission_ident': 'otoritas',
'path': 'assembly',
'outside_chain': 'rantai luar',
'cache': 'cache',
'visible': 'terlihat',
'create_time': 'tarikh penciptaan'
},
'dialog': {
'menu_type': 'Jenis Menu',
'system': 'Sistem',
'catalogue': 'Katalog',
'menu': 'Menu',
'button': 'Tombol',
'button_name': 'Nama Tombol',
'menu_icon': 'Ikon Menu',
'menu_chain': 'Menu Link',
'menu_cache': 'Cache Menu',
'menu_visible': 'Menu Terlihat',
'default_title': 'Tajuk Default',
'zh_title': 'ZH-Title',
'en_title': 'EN-Title',
'id_title': 'ID-Title',
'router_path': 'Alamat Perjalanan',
'menu_sort': 'Pengurusan Menu',
'component_name': 'Nama Komponen',
'component_path': 'Laluan komponen',
'superior_class': 'Kategori Tertinggi'
},
'msg': {
'delete_msg': 'Apakah Anda yakin untuk menghapusnya? Jika ada nod subordinat, mereka akan dihapus bersama. Operasi ini tidak dapat dibatalkan!'
}
}
}

View File

@@ -0,0 +1,45 @@
export default {
'device': {
'title': '设备',
'placeholder': {
'enter_name_code': '输入名称或者编码',
'device_type': '设备类型'
},
'table_title': {
'menu_title': '菜单标题',
'system': '所属系统',
'icon': '图标',
'sort': '排序',
'permission_ident': '权限标识',
'path': '组件路径',
'outside_chain': '外链',
'cache': '缓存',
'visible': '可见',
'create_time': '创建日期'
},
'dialog': {
'menu_type': '菜单类型',
'system': '系统',
'catalogue': '目录',
'menu': '菜单',
'button': '按钮',
'button_name': '按钮名称',
'menu_icon': '菜单图标',
'menu_chain': '外链菜单',
'menu_cache': '菜单缓存',
'menu_visible': '菜单可见',
'default_title': '默认标题',
'zh_title': '中文标题',
'en_title': '英文标题',
'id_title': '印尼标题',
'router_path': '路由地址',
'menu_sort': '菜单排序',
'component_name': '组件名称',
'component_path': '组件路径',
'superior_class': '上级类目'
},
'msg': {
'delete_msg': '确定删除吗,如果存在下级节点则一并删除,此操作不能撤销!'
}
}
}

View File

@@ -80,7 +80,9 @@ export default {
'Tip13': 'Are you sure to log out and exit the system?',
'Tip14': 'WebSocket connection error',
'Tip15': 'Please enter an icon name',
'loading': 'loading...'
'loading': 'loading...',
'synchronous': 'synchronous',
'import': 'import'
},
'monitor': {
'sys': 'System',

View File

@@ -1,6 +1,6 @@
import enLocale from 'element-ui/lib/locale/lang/en'
import en from './en'
import menu from './menu/en'
import menu from './device/en'
import param from './param/en'
export default {

View File

@@ -80,7 +80,9 @@ export default {
'Tip13': 'Apakah Anda yakin untuk log keluar dan keluar dari sistem?',
'Tip14': 'Koneksi WebSocket error',
'Tip15': 'Silakan masukkan nama ikon',
'loading': 'Memuatkan Data...'
'loading': 'Memuatkan Data...',
'synchronous': 'Sinkron',
'import': 'Mengimpor'
},
'monitor': {
'sys': 'Sistem',

View File

@@ -1,6 +1,6 @@
import idLocale from 'element-ui/lib/locale/lang/id'
import id from './in'
import menu from './menu/in'
import menu from './device/in'
import param from './param/in'
export default {

View File

@@ -80,7 +80,9 @@ export default {
'Tip13': '确定注销并退出系统吗?',
'Tip14': 'WebSocket连接发生错误',
'Tip15': '请输入图标名称',
'loading': '数据加载中...'
'loading': '数据加载中...',
'synchronous': '同步',
'import': '导入'
},
'monitor': {
'sys': '系统',

View File

@@ -37,7 +37,7 @@
size="mini"
@click="uploadShow = true"
>
导入
{{ $t('common.import') }}
</el-button>
<el-button
slot="right"
@@ -47,7 +47,7 @@
icon="el-icon-refresh"
@click="reload"
>
同步
{{ $t('common.synchronous') }}
</el-button>
</crudOperation>
<!--表单组件-->