// hosts namespace — host management page (English) export default { title: 'Hosts', description: 'Manage SSH hosts for binary-based Loki deployment', actions: { add: 'Add Host', detail: 'Details', editAria: 'Edit host {{name}}', validateAria: 'Validate host {{name}}', deleteAria: 'Delete host {{name}}', }, fields: { address: 'Address', user: 'User', auth: 'Auth', authPassword: 'Password', authKey: 'SSH Key', os: 'OS', unknown: 'Unknown', }, empty: { title: 'No hosts yet', description: 'Add your first SSH host to get started', }, delete: { warning: 'Delete "{{name}}"? Warning: {{dep}} deployments and {{col}} collector policies still reference this host; they will stop working once it is deleted.', }, toast: { deleteFailed: 'Failed to delete host', validateFailed: 'Validation failed', createFailed: 'Failed to add host', }, form: { addTitle: 'Add SSH Host', editTitle: 'Edit Host', editTitleWithName: 'Edit Host · {{name}}', nameLabel: 'Name *', hostIpLabel: 'Host IP *', portLabel: 'Port', userLabel: 'Username *', authTypeLabel: 'Authentication', passwordLabel: 'Password *', passwordLabelEdit: 'Password (leave blank to keep unchanged)', passwordPlaceholder: 'SSH login password', privateKeyLabel: 'Private Key *', privateKeyLabelEdit: 'Private Key (leave blank to keep unchanged)', keyPhraseLabel: 'Passphrase (optional)', keyPhrasePlaceholder: 'Leave blank if no passphrase', labelsLabel: 'Labels (JSON)', submitAdd: 'Add Host', submitSave: 'Save Changes', submittingAdd: 'Adding...', submittingSave: 'Saving...', validation: { nameRequired: 'Host name is required', hostIpRequired: 'Host IP is required', portRequired: 'Port is required', portNumeric: 'Port must be a number', portRange: 'Port must be between 1 and 65535', userRequired: 'Username is required', passwordRequired: 'SSH password is required', privateKeyRequired: 'Paste the SSH private key content', }, }, detail: { loadError: 'Failed to load host details', usage: 'Resource Usage', memory: 'Memory', disk: 'Disk', usageDetail: '({{detail}})', basicInfo: 'Basic Info', hostname: 'Hostname', os: 'OS', arch: 'Architecture', kernel: 'Kernel', cpuCores: 'CPU Cores', uptime: 'Uptime', unknown: 'Unknown', }, }