first commit

This commit is contained in:
liu
2026-07-13 15:23:29 +08:00
commit 50885a98c8
473 changed files with 33772 additions and 0 deletions
+104
View File
@@ -0,0 +1,104 @@
export default {
// Page title and description
'system.storage.page.title': 'Storage Configuration',
'system.storage.page.description': 'Configure system file storage, supports local storage, S3 object storage, FTP and SFTP',
// Driver selection
'system.storage.driver': 'Default Storage Driver',
'system.storage.driver.local': 'Local Storage',
'system.storage.driver.s3': 'Amazon S3 / Object Storage',
'system.storage.driver.ftp': 'FTP Server',
'system.storage.driver.sftp': 'SFTP Server',
// Local storage configuration
'system.storage.local.title': 'Local Storage Configuration',
'system.storage.local.url': 'Access URL',
'system.storage.local.url.placeholder': 'e.g., https://example.com/storage',
'system.storage.local.url.tooltip': 'Public URL prefix for file access',
// S3 configuration
'system.storage.s3.title': 'S3 / Object Storage Configuration',
'system.storage.s3.key': 'Access Key ID',
'system.storage.s3.key.placeholder': 'Enter Access Key ID',
'system.storage.s3.secret': 'Secret Access Key',
'system.storage.s3.secret.placeholder': 'Enter Secret Access Key',
'system.storage.s3.region': 'Region',
'system.storage.s3.region.placeholder': 'e.g., us-east-1 or cn-hangzhou',
'system.storage.s3.bucket': 'Bucket',
'system.storage.s3.bucket.placeholder': 'Enter bucket name',
'system.storage.s3.endpoint': 'Endpoint',
'system.storage.s3.endpoint.placeholder': 'Custom endpoint, e.g., Aliyun OSS: oss-cn-hangzhou.aliyuncs.com',
'system.storage.s3.endpoint.tooltip': 'Leave empty for AWS S3, required for Aliyun OSS, Tencent COS, etc.',
'system.storage.s3.url': 'Custom URL',
'system.storage.s3.url.placeholder': 'Custom file access URL prefix (optional)',
'system.storage.s3.url.tooltip': 'Configure CDN domain if using CDN',
'system.storage.s3.path_style': 'Path Style Endpoint',
'system.storage.s3.path_style.tooltip': 'Some S3-compatible services (like MinIO) require this option',
// FTP configuration
'system.storage.ftp.title': 'FTP Server Configuration',
'system.storage.ftp.host': 'Host',
'system.storage.ftp.host.placeholder': 'e.g., ftp.example.com',
'system.storage.ftp.port': 'Port',
'system.storage.ftp.port.placeholder': '21',
'system.storage.ftp.username': 'Username',
'system.storage.ftp.username.placeholder': 'Enter FTP username',
'system.storage.ftp.password': 'Password',
'system.storage.ftp.password.placeholder': 'Enter FTP password',
'system.storage.ftp.root': 'Root Directory',
'system.storage.ftp.root.placeholder': 'e.g., /public_html/uploads',
'system.storage.ftp.root.tooltip': 'Storage root directory on FTP server',
'system.storage.ftp.timeout': 'Timeout',
'system.storage.ftp.timeout.placeholder': '30',
'system.storage.ftp.timeout.suffix': 'seconds',
'system.storage.ftp.passive': 'Passive Mode',
'system.storage.ftp.passive.tooltip': 'Recommended for most network environments',
'system.storage.ftp.ssl': 'SSL/TLS',
'system.storage.ftp.ssl.tooltip': 'Enable FTPS secure connection',
// SFTP configuration
'system.storage.sftp.title': 'SFTP Server Configuration',
'system.storage.sftp.host': 'Host',
'system.storage.sftp.host.placeholder': 'e.g., sftp.example.com',
'system.storage.sftp.port': 'Port',
'system.storage.sftp.port.placeholder': '22',
'system.storage.sftp.username': 'Username',
'system.storage.sftp.username.placeholder': 'Enter SFTP username',
'system.storage.sftp.password': 'Password',
'system.storage.sftp.password.placeholder': 'Enter SFTP password',
'system.storage.sftp.password.tooltip': 'Leave empty if using key authentication',
'system.storage.sftp.root': 'Root Directory',
'system.storage.sftp.root.placeholder': 'e.g., /var/www/uploads',
'system.storage.sftp.root.tooltip': 'Storage root directory on SFTP server',
'system.storage.sftp.timeout': 'Timeout',
'system.storage.sftp.timeout.placeholder': '30',
'system.storage.sftp.timeout.suffix': 'seconds',
'system.storage.sftp.private_key': 'Private Key',
'system.storage.sftp.private_key.placeholder': 'Paste SSH private key content (optional)',
'system.storage.sftp.private_key.tooltip': 'Paste private key content for key authentication',
'system.storage.sftp.passphrase': 'Passphrase',
'system.storage.sftp.passphrase.placeholder': 'Enter if private key is password protected',
'system.storage.sftp.passphrase.tooltip': 'Private key passphrase (if any)',
// Test connection
'system.storage.test.title': 'Connection Test',
'system.storage.test.current_driver': 'Current Storage Driver',
'system.storage.test.button': 'Test Connection',
'system.storage.test.success': 'Connection test successful',
'system.storage.test.failed': 'Connection test failed',
// Help
'system.storage.help.title': 'Storage Driver Guide',
'system.storage.help.local': 'Local Storage:',
'system.storage.help.local.desc': 'Files stored on server local disk, suitable for small projects.',
'system.storage.help.s3': 'S3 / Object Storage:',
'system.storage.help.s3.desc': 'Compatible with AWS S3, Aliyun OSS, Tencent COS, Qiniu, suitable for large-scale storage.',
'system.storage.help.ftp': 'FTP:',
'system.storage.help.ftp.desc': 'Connect to remote server via FTP protocol.',
'system.storage.help.sftp': 'SFTP:',
'system.storage.help.sftp.desc': 'Secure connection via SSH, more secure and reliable.',
// Save
'system.storage.save.success': 'Configuration saved successfully',
'system.storage.save.failed': 'Failed to save configuration',
};