Browse Source

fix: 日志管理国际化

master
李永德 8 months ago
parent
commit
4237306bc0
  1. 6
      nladmin-ui/src/i18n/langs/chinese.js
  2. 6
      nladmin-ui/src/i18n/langs/english.js
  3. 6
      nladmin-ui/src/i18n/langs/indonesian.js
  4. 14
      nladmin-ui/src/i18n/langs/log/en.js
  5. 20
      nladmin-ui/src/i18n/langs/log/error/en.js
  6. 20
      nladmin-ui/src/i18n/langs/log/error/in.js
  7. 20
      nladmin-ui/src/i18n/langs/log/error/zh.js
  8. 14
      nladmin-ui/src/i18n/langs/log/in.js
  9. 14
      nladmin-ui/src/i18n/langs/log/zh.js

6
nladmin-ui/src/i18n/langs/chinese.js

@ -22,6 +22,8 @@ import role from './role/zh'
import department from './department/zh' import department from './department/zh'
import dict from './dict/zh' import dict from './dict/zh'
import angle from './angle/zh' import angle from './angle/zh'
import log from './log/zh'
import errorLog from './log/error/zh'
export default { export default {
...zhLocale, ...zhLocale,
@ -47,6 +49,8 @@ export default {
...role, ...role,
...department, ...department,
...dict, ...dict,
...angle ...angle,
...log,
...errorLog
} }

6
nladmin-ui/src/i18n/langs/english.js

@ -22,6 +22,8 @@ import role from './role/en'
import department from './department/en' import department from './department/en'
import dict from './dict/en' import dict from './dict/en'
import angle from './angle/en' import angle from './angle/en'
import log from './log/en'
import errorLog from './log/error/en'
export default { export default {
...enLocale, ...enLocale,
@ -47,6 +49,8 @@ export default {
...role, ...role,
...department, ...department,
...dict, ...dict,
...angle ...angle,
...log,
...errorLog
} }

6
nladmin-ui/src/i18n/langs/indonesian.js

@ -22,6 +22,8 @@ import role from './role/in'
import department from './department/in' import department from './department/in'
import dict from './dict/in' import dict from './dict/in'
import angle from './angle/in' import angle from './angle/in'
import log from './log/in'
import errorLog from './log/error/in'
export default { export default {
...idLocale, ...idLocale,
@ -48,5 +50,7 @@ export default {
...role, ...role,
...department, ...department,
...dict, ...dict,
...angle ...angle,
...log,
...errorLog
} }

14
nladmin-ui/src/i18n/langs/log/en.js

@ -0,0 +1,14 @@
export default {
'Log': {
'level': 'Log Level',
'label': 'Label',
'search': 'Search',
'content': 'Log Content',
'link_id': 'Link ID',
'link_id_msg': 'Please enter the link ID',
'time': 'Time',
'start_time': 'Start Time',
'to': 'To',
'end_time': 'End Time'
}
}

20
nladmin-ui/src/i18n/langs/log/error/en.js

@ -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
nladmin-ui/src/i18n/langs/log/error/in.js

@ -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
nladmin-ui/src/i18n/langs/log/error/zh.js

@ -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': '确认清空所有操作日志吗?'
}
}
}

14
nladmin-ui/src/i18n/langs/log/in.js

@ -0,0 +1,14 @@
export default {
'Log': {
'level': 'Tingkat Log',
'label': 'Label',
'search': 'Mencari',
'content': 'Catat Konten',
'link_id': 'ID Tautan',
'link_id_msg': 'Silakan masukkan ID tautan',
'time': 'Waktu',
'start_time': 'Waktu Mulai',
'to': '-',
'end_time': 'Akhir Waktu'
}
}

14
nladmin-ui/src/i18n/langs/log/zh.js

@ -0,0 +1,14 @@
export default {
'Log': {
'level': '日志级别',
'label': '标签名',
'search': '模糊搜索',
'content': '日志内容',
'link_id': '链路ID',
'link_id_msg': '请输入链路ID',
'time': '时间',
'start_time': '开始时间',
'to': '至',
'end_time': '结束时间'
}
}
Loading…
Cancel
Save