add: 日志管理模块实现国际化

This commit is contained in:
yanps
2023-11-30 14:33:32 +08:00
parent 6fe192867f
commit 301033ef99
17 changed files with 252 additions and 85 deletions

View File

@@ -12,6 +12,7 @@ import address from './address/zh'
import storageCell from './storageCell/zh'
import route from './route/zh'
import auto from './auto/zh'
import monitor from './monitor/zh'
export default {
...zhLocale,
@@ -27,5 +28,6 @@ export default {
...instruction,
...task,
...history,
...auto
...auto,
...monitor
}

View File

@@ -12,6 +12,7 @@ import address from './address/en'
import storageCell from './storageCell/en'
import route from './route/en'
import auto from './auto/en'
import monitor from './monitor/en'
export default {
...enLocale,
@@ -27,6 +28,6 @@ export default {
...address,
...storageCell,
...route,
...auto
...auto,
...monitor
}

View File

@@ -12,6 +12,7 @@ import address from './address/in'
import storageCell from './storageCell/in'
import route from './route/in'
import auto from './auto/in'
import monitor from './monitor/in'
export default {
...idLocale,
@@ -27,5 +28,6 @@ export default {
...address,
...storageCell,
...route,
...auto
...auto,
...monitor
}

View File

@@ -0,0 +1,43 @@
export default {
'monitor': {
'table': {
'clear': 'Clear',
'username': 'Username',
'IP_source': 'IP source',
'description': 'Description',
'browser': 'Browser',
'create_time': 'Creation time',
'exception_details': 'Exception details',
'view_details': 'View details',
'clear_log': 'Are you sure you want to clear all exception logs?',
'prompt': 'Prompt',
'confirm': 'Confirm',
'cancel': 'Cancel',
'request_time': 'Request Time',
'search': 'Please enter the content you want to search'
},
'lucence': {
'operate': 'Operation',
'device_code': 'Device number',
'task_code': 'Task code',
'instruct_code': 'Instruction code',
'method': 'Method',
'status_code': 'Status code',
'requestparam': 'Request parameter',
'responseparam': 'Return parameter',
'logTime': 'Timestamp',
'content': 'Content details',
'method_name': 'Please enter the method name you want to search.',
'search_status_code': 'Please enter the status code you want to search.',
'search_request_param': 'Please enter the request parameter you want to search.',
'search_response_param': 'Please enter the response parameter you want to search.',
'search_content': 'Please enter the details of the content you want to search.',
'until': 'Until',
'start_time': 'start date',
'end_time': 'End date',
'the_past_week': 'The past week',
'the_past_month': 'The past month',
'the_past_three_months': 'The past three months'
}
}
}

View File

@@ -0,0 +1,43 @@
export default {
'monitor': {
'table': {
'clear': 'Mengosongkan',
'username': 'Nama pengguna',
'IP_source': 'Sumber IP',
'description': 'Deskripsi',
'browser': 'Peramban',
'create_time': 'Waktu pembuatan',
'exception_details': 'Detail pengecualian',
'view_details': 'Lihat detail',
'clear_log': 'Anda yakin ingin menghapus semua log pengecualian?',
'prompt': 'Peringatan',
'confirm': 'Konfirmasi',
'cancel': 'Batal',
'request_time': 'Waktu Permintaan',
'search': 'Silakan masukkan konten yang ingin Anda cari'
},
'lucence': {
'operate': 'Operasi',
'device_code': 'Nomor perangkat',
'task_code': 'Kode tugas',
'instruct_code': 'Kode instruksi',
'method': 'Metode',
'status_code': 'Kode status',
'requestparam': 'Parameter permintaan',
'responseparam': 'Parameter pengembalian',
'logTime': 'Stempel waktu',
'content': 'Rincian konten',
'method_name': 'Silakan masukkan nama metode yang ingin Anda cari.',
'search_status_code': 'Silakan masukkan kode status yang ingin Anda cari.',
'search_request_param': 'Silakan masukkan parameter permintaan yang ingin Anda cari.',
'search_response_param': 'Silakan masukkan parameter respons yang ingin Anda cari.',
'search_content': 'Silakan masukkan rincian konten yang ingin Anda cari.',
'until': 'Sampai',
'start_time': 'Tanggal mulai',
'end_time': 'Tanggal berakhir',
'the_past_week': 'Minggu terakhir',
'the_past_month': 'Bulan terakhir',
'the_past_three_months': 'Tiga bulan terakhir'
}
}
}

View File

@@ -0,0 +1,43 @@
export default {
'monitor': {
'table': {
'clear': '清空',
'username': '用户名',
'IP_source': 'IP来源',
'description': '描述',
'browser': '浏览器',
'create_time': '创建时间',
'exception_details': '异常详情',
'view_details': '查看详情',
'clear_log': '确认清空所有异常日志吗?',
'prompt': '提示',
'confirm': '确认',
'cancel': '取消',
'request_time': '请求耗时',
'search': '请输入你要搜索的内容'
},
'lucence': {
'operate': '操作',
'device_code': '设备号',
'task_code': '任务编码',
'instruct_code': '指令编码',
'method': '方法',
'status_code': '状态码',
'requestparam': '请求参数',
'responseparam': '返回参数',
'logTime': '记录时间',
'content': '内容详情',
'method_name': '请输入你要搜索的方法名',
'search_status_code': '请输入你要搜索的状态码',
'search_request_param': '请输入你要搜索的请求参数',
'search_response_param': '请输入你要搜索的返回参数',
'search_content': '请输入你要搜索的内容详情',
'until': '至',
'start_time': '开始日期',
'end_time': '结束日期',
'the_past_week': '最近一周',
'the_past_month': '最近一个月',
'the_past_three_months': '最近三个月'
}
}
}

View File

@@ -35,7 +35,18 @@ export default {
'Creator': 'Creator',
'Create_time': 'Creation time',
'Operation': 'Operation',
'Create_command': 'Create command'
'Create_command': 'Create command',
'Reset': 'Reset',
'Void': 'Void',
'Starting_point': 'Starting point',
'Target_point': 'Target point',
'Is_it_completed': 'Is it completed',
'error_code': 'Error code',
'start_time': 'Start time',
'finish_time': 'Completion time',
'create_type': 'Create type',
'finish_type': 'Completion type',
'retry_times': 'Retry count'
}
}
}

View File

@@ -35,7 +35,18 @@ export default {
'Creator': 'Pencipta',
'Create_time': 'Waktu penciptaan',
'Operation': 'Operasi',
'Create_command': 'Perintah membuat'
'Create_command': 'Perintah membuat',
'Reset': 'Atur ulang',
'Void': 'Batal',
'Starting_point': 'Titik awal',
'Target_point': 'Titik tujuan',
'Is_it_completed': 'Apakah sudah selesai',
'error_code': 'Kode kesalahan',
'start_time': 'Waktu mulai',
'finish_time': 'Waktu penyelesaian',
'create_type': 'Jenis pembuatan',
'finish_type': 'Jenis penyelesaian',
'retry_times': 'Jumlah percobaan ulang'
}
}
}

View File

@@ -35,7 +35,18 @@ export default {
'Creator': '创建者',
'Create_time': '创建时间',
'Operation': '操作',
'Create_command': '创建指令'
'Create_command': '创建指令',
'Reset': '重置',
'Void': '作废',
'Starting_point': '起始点位',
'Target_point': '目标点位',
'Is_it_completed': '是否完成',
'error_code': '错误编码',
'start_time': '开始时间',
'finish_time': '完成时间',
'create_type': '创建类型',
'finish_type': '完成类型',
'retry_times': '重试次数'
}
}
}