add: 高级配置模块实现国际化
This commit is contained in:
@@ -14,21 +14,25 @@ import route from './route/zh'
|
||||
import auto from './auto/zh'
|
||||
import monitor from './monitor/zh'
|
||||
import timing from './timing/zh'
|
||||
import config from './config/zh'
|
||||
|
||||
export default {
|
||||
...zhLocale,
|
||||
...zh,
|
||||
...menu,
|
||||
...param,
|
||||
...device,
|
||||
...opc,
|
||||
...protocol,
|
||||
...address,
|
||||
...storageCell,
|
||||
...route,
|
||||
...instruction,
|
||||
...task,
|
||||
...history,
|
||||
...auto,
|
||||
...monitor,
|
||||
...timing
|
||||
}
|
||||
...zhLocale,
|
||||
...zh,
|
||||
...menu,
|
||||
...param,
|
||||
...device,
|
||||
...opc,
|
||||
...protocol,
|
||||
...address,
|
||||
...storageCell,
|
||||
...route,
|
||||
...instruction,
|
||||
...task,
|
||||
...history,
|
||||
...auto,
|
||||
...monitor,
|
||||
...timing,
|
||||
...config
|
||||
}
|
||||
|
||||
|
||||
23
acs/nladmin-ui/src/i18n/langs/config/en.js
Normal file
23
acs/nladmin-ui/src/i18n/langs/config/en.js
Normal file
@@ -0,0 +1,23 @@
|
||||
export default {
|
||||
'config': {
|
||||
'table': {
|
||||
'device_execution': 'Device execution',
|
||||
'please_select': 'Please select',
|
||||
'end_of_instruction': 'End of instructio',
|
||||
'end_of_task': 'End of task',
|
||||
'end_device': 'End device',
|
||||
'max': 'Maximum quantity',
|
||||
'allocation_ratio': 'Allocation ratio',
|
||||
'cancel': 'Cancel',
|
||||
'confirm': 'Confirm',
|
||||
'device_code': 'Device code',
|
||||
'destination_device': 'Destination device',
|
||||
'inst_nextdevice_code': 'Command destination device',
|
||||
'destination_configuration': 'Destination configuration',
|
||||
'operation': 'Operation',
|
||||
'device_is_not_null': 'Device code cannot be empty'
|
||||
},
|
||||
'rules': {
|
||||
}
|
||||
}
|
||||
}
|
||||
23
acs/nladmin-ui/src/i18n/langs/config/in.js
Normal file
23
acs/nladmin-ui/src/i18n/langs/config/in.js
Normal file
@@ -0,0 +1,23 @@
|
||||
export default {
|
||||
'config': {
|
||||
'table': {
|
||||
'device_execution': 'Eksekusi perangkat',
|
||||
'please_select': 'Silakan pilih',
|
||||
'end_of_instruction': 'Akhir instruksi',
|
||||
'end_of_task': 'Akhir tugas',
|
||||
'end_device': 'Perangkat akhir',
|
||||
'max': 'Jumlah maksimum',
|
||||
'allocation_ratio': 'Rasio alokasi',
|
||||
'cancel': 'Membatalkan',
|
||||
'confirm': 'Mengonfirmasi',
|
||||
'device_code': 'Kode perangkat',
|
||||
'destination_device': 'Perangkat tujuan tugas',
|
||||
'inst_nextdevice_code': 'Perangkat tujuan perintah',
|
||||
'destination_configuration': 'Konfigurasi tujuan',
|
||||
'operation': 'Operasi',
|
||||
'device_is_not_null': 'Kode perangkat tidak boleh kosong'
|
||||
},
|
||||
'rules': {
|
||||
}
|
||||
}
|
||||
}
|
||||
23
acs/nladmin-ui/src/i18n/langs/config/zh.js
Normal file
23
acs/nladmin-ui/src/i18n/langs/config/zh.js
Normal file
@@ -0,0 +1,23 @@
|
||||
export default {
|
||||
'config': {
|
||||
'table': {
|
||||
'device_execution': '执行设备',
|
||||
'please_select': '请选择',
|
||||
'end_of_instruction': '指令终点',
|
||||
'end_of_task': '任务终点',
|
||||
'end_device': '终点设备',
|
||||
'max': '最大数量',
|
||||
'allocation_ratio': '分配比例',
|
||||
'cancel': '取消',
|
||||
'confirm': '确定',
|
||||
'device_code': '设备编码',
|
||||
'destination_device': '任务终点设备',
|
||||
'inst_nextdevice_code': '指令终点设备',
|
||||
'destination_configuration': '终点配置',
|
||||
'operation': '操作',
|
||||
'device_is_not_null': '设备编码不能为空'
|
||||
},
|
||||
'rules': {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,21 +14,25 @@ import route from './route/en'
|
||||
import auto from './auto/en'
|
||||
import monitor from './monitor/en'
|
||||
import timing from './timing/en'
|
||||
import config from './config/en'
|
||||
|
||||
export default {
|
||||
...enLocale,
|
||||
...en,
|
||||
...menu,
|
||||
...param,
|
||||
...instruction,
|
||||
...task,
|
||||
...history,
|
||||
...device,
|
||||
...opc,
|
||||
...protocol,
|
||||
...address,
|
||||
...storageCell,
|
||||
...route,
|
||||
...auto,
|
||||
...monitor,
|
||||
...timing
|
||||
}
|
||||
...enLocale,
|
||||
...en,
|
||||
...menu,
|
||||
...param,
|
||||
...instruction,
|
||||
...task,
|
||||
...history,
|
||||
...device,
|
||||
...opc,
|
||||
...protocol,
|
||||
...address,
|
||||
...storageCell,
|
||||
...route,
|
||||
...auto,
|
||||
...monitor,
|
||||
...timing,
|
||||
...config
|
||||
}
|
||||
|
||||
|
||||
@@ -14,21 +14,24 @@ import route from './route/in'
|
||||
import auto from './auto/in'
|
||||
import monitor from './monitor/in'
|
||||
import timing from './timing/in'
|
||||
import config from './config/in'
|
||||
|
||||
export default {
|
||||
...idLocale,
|
||||
...id,
|
||||
...menu,
|
||||
...param,
|
||||
...instruction,
|
||||
...task,
|
||||
...history,
|
||||
...device,
|
||||
...opc,
|
||||
...protocol,
|
||||
...address,
|
||||
...storageCell,
|
||||
...route,
|
||||
...auto,
|
||||
...monitor,
|
||||
...timing
|
||||
}
|
||||
...idLocale,
|
||||
...id,
|
||||
...menu,
|
||||
...param,
|
||||
...instruction,
|
||||
...task,
|
||||
...history,
|
||||
...device,
|
||||
...opc,
|
||||
...protocol,
|
||||
...address,
|
||||
...storageCell,
|
||||
...route,
|
||||
...auto,
|
||||
...monitor,
|
||||
...config,
|
||||
...timing
|
||||
}
|
||||
|
||||
@@ -46,7 +46,11 @@ export default {
|
||||
'finish_time': 'Completion time',
|
||||
'create_type': 'Create type',
|
||||
'finish_type': 'Completion type',
|
||||
'retry_times': 'Retry count'
|
||||
'retry_times': 'Retry count',
|
||||
'please_enter_origin-column': 'Please enter origin-column!',
|
||||
'please_enter_origin_level': 'Please enter origin-level!',
|
||||
'please_select_destination_column': 'Please select destination-column!',
|
||||
'please_select_destination_level': 'Please select the destination floor!'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,11 @@ export default {
|
||||
'finish_time': 'Waktu penyelesaian',
|
||||
'create_type': 'Jenis pembuatan',
|
||||
'finish_type': 'Jenis penyelesaian',
|
||||
'retry_times': 'Jumlah percobaan ulang'
|
||||
'retry_times': 'Jumlah percobaan ulang',
|
||||
'please_enter_origin_column': 'Silakan masukkan asal-kolom!',
|
||||
'please_enter_origin_level': 'Silakan masukkan asal-level!',
|
||||
'please_select_destination_column': 'Silakan pilih tujuan-kolom!',
|
||||
'please_select_destination_level': 'Silakan pilih lantai tujuan!”'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,11 @@ export default {
|
||||
'finish_time': '完成时间',
|
||||
'create_type': '创建类型',
|
||||
'finish_type': '完成类型',
|
||||
'retry_times': '重试次数'
|
||||
'retry_times': '重试次数',
|
||||
'please_enter_origin-column': '请输入起点-列!',
|
||||
'please_enter_origin_level': '请输入起点-层!',
|
||||
'please_select_destination_column': '请选择终点-列!',
|
||||
'please_select_destination_level': '请选择终点-层!'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user