feat(manager/devices): Add device management features including creation and editing

This commit is contained in:
2026-01-22 17:07:02 +07:00
parent 0bac8d0f25
commit 8b95a620c2
8 changed files with 840 additions and 3 deletions

View File

@@ -3,4 +3,33 @@ export default {
'master.thing.external_id': 'External ID',
'master.thing.group': 'Group',
'master.thing.address': 'Address',
// Device translations
'master.devices.title': 'Devices',
'master.devices.name': 'Name',
'master.devices.name.tip': 'The device name',
'master.devices.external_id': 'External ID',
'master.devices.external_id.tip': 'The external identifier',
'master.devices.type': 'Type',
'master.devices.type.tip': 'The device type',
'master.devices.online': 'Online',
'master.devices.offline': 'Offline',
'master.devices.table.pagination': 'devices',
'master.devices.register': 'Add Device',
'master.devices.register.title': 'Add new device',
'master.devices.create.success': 'Device created successfully',
'master.devices.create.error': 'Device creation failed',
'master.devices.groups': 'Groups',
'master.devices.groups.required': 'Please select groups',
// Edit device modal
'master.devices.update.title': 'Update device',
'master.devices.ok': 'OK',
'master.devices.cancel': 'Cancel',
'master.devices.name.placeholder': 'Enter device name',
'master.devices.name.required': 'Please enter device name',
'master.devices.external_id.placeholder': 'Enter external ID',
'master.devices.external_id.required': 'Please enter external ID',
'master.devices.address': 'Address',
'master.devices.address.placeholder': 'Enter address',
'master.devices.address.required': 'Please enter address',
};