105 lines
5.4 KiB
TypeScript
105 lines
5.4 KiB
TypeScript
export default {
|
||
// 页面标题和描述
|
||
"system.storage.page.title": "文件存储配置",
|
||
"system.storage.page.description": "配置系统文件存储方式,支持本地存储、S3 对象存储、FTP 及 SFTP 等多种存储方式",
|
||
|
||
// 驱动选择
|
||
"system.storage.driver": "默认存储驱动",
|
||
"system.storage.driver.local": "本地存储 (Local)",
|
||
"system.storage.driver.s3": "Amazon S3 / 对象存储",
|
||
"system.storage.driver.ftp": "FTP 服务器",
|
||
"system.storage.driver.sftp": "SFTP 服务器",
|
||
|
||
// 本地存储配置
|
||
"system.storage.local.title": "本地存储配置",
|
||
"system.storage.local.url": "访问 URL",
|
||
"system.storage.local.url.placeholder": "例如: https://example.com/storage",
|
||
"system.storage.local.url.tooltip": "文件的公开访问 URL 前缀",
|
||
|
||
// S3 配置
|
||
"system.storage.s3.title": "S3 / 对象存储配置",
|
||
"system.storage.s3.key": "Access Key ID",
|
||
"system.storage.s3.key.placeholder": "请输入 Access Key ID",
|
||
"system.storage.s3.secret": "Secret Access Key",
|
||
"system.storage.s3.secret.placeholder": "请输入 Secret Access Key",
|
||
"system.storage.s3.region": "区域 (Region)",
|
||
"system.storage.s3.region.placeholder": "例如: us-east-1 或 cn-hangzhou",
|
||
"system.storage.s3.bucket": "存储桶 (Bucket)",
|
||
"system.storage.s3.bucket.placeholder": "请输入存储桶名称",
|
||
"system.storage.s3.endpoint": "端点 (Endpoint)",
|
||
"system.storage.s3.endpoint.placeholder": "自定义端点,如阿里云 OSS: oss-cn-hangzhou.aliyuncs.com",
|
||
"system.storage.s3.endpoint.tooltip": "使用 AWS S3 时可留空,使用阿里云 OSS、腾讯云 COS 等需要填写",
|
||
"system.storage.s3.url": "自定义 URL",
|
||
"system.storage.s3.url.placeholder": "自定义文件访问 URL 前缀(可选)",
|
||
"system.storage.s3.url.tooltip": "如果使用 CDN,可以在此配置 CDN 域名",
|
||
"system.storage.s3.path_style": "路径风格端点",
|
||
"system.storage.s3.path_style.tooltip": "某些 S3 兼容服务(如 MinIO)需要启用此选项",
|
||
|
||
// FTP 配置
|
||
"system.storage.ftp.title": "FTP 服务器配置",
|
||
"system.storage.ftp.host": "主机地址",
|
||
"system.storage.ftp.host.placeholder": "例如: ftp.example.com",
|
||
"system.storage.ftp.port": "端口",
|
||
"system.storage.ftp.port.placeholder": "21",
|
||
"system.storage.ftp.username": "用户名",
|
||
"system.storage.ftp.username.placeholder": "请输入 FTP 用户名",
|
||
"system.storage.ftp.password": "密码",
|
||
"system.storage.ftp.password.placeholder": "请输入 FTP 密码",
|
||
"system.storage.ftp.root": "根目录",
|
||
"system.storage.ftp.root.placeholder": "例如: /public_html/uploads",
|
||
"system.storage.ftp.root.tooltip": "FTP 服务器上的存储根目录",
|
||
"system.storage.ftp.timeout": "超时时间",
|
||
"system.storage.ftp.timeout.placeholder": "30",
|
||
"system.storage.ftp.timeout.suffix": "秒",
|
||
"system.storage.ftp.passive": "被动模式",
|
||
"system.storage.ftp.passive.tooltip": "建议开启,适用于大多数网络环境",
|
||
"system.storage.ftp.ssl": "SSL/TLS",
|
||
"system.storage.ftp.ssl.tooltip": "启用 FTPS 安全连接",
|
||
|
||
// SFTP 配置
|
||
"system.storage.sftp.title": "SFTP 服务器配置",
|
||
"system.storage.sftp.host": "主机地址",
|
||
"system.storage.sftp.host.placeholder": "例如: sftp.example.com",
|
||
"system.storage.sftp.port": "端口",
|
||
"system.storage.sftp.port.placeholder": "22",
|
||
"system.storage.sftp.username": "用户名",
|
||
"system.storage.sftp.username.placeholder": "请输入 SFTP 用户名",
|
||
"system.storage.sftp.password": "密码",
|
||
"system.storage.sftp.password.placeholder": "请输入 SFTP 密码",
|
||
"system.storage.sftp.password.tooltip": "如果使用密钥认证可留空",
|
||
"system.storage.sftp.root": "根目录",
|
||
"system.storage.sftp.root.placeholder": "例如: /var/www/uploads",
|
||
"system.storage.sftp.root.tooltip": "SFTP 服务器上的存储根目录",
|
||
"system.storage.sftp.timeout": "超时时间",
|
||
"system.storage.sftp.timeout.placeholder": "30",
|
||
"system.storage.sftp.timeout.suffix": "秒",
|
||
"system.storage.sftp.private_key": "私钥内容",
|
||
"system.storage.sftp.private_key.placeholder": "粘贴 SSH 私钥内容(可选)",
|
||
"system.storage.sftp.private_key.tooltip": "如果使用密钥认证,请粘贴私钥内容",
|
||
"system.storage.sftp.passphrase": "私钥密码",
|
||
"system.storage.sftp.passphrase.placeholder": "如果私钥有密码保护,请输入",
|
||
"system.storage.sftp.passphrase.tooltip": "私钥的密码短语(如果有)",
|
||
|
||
// 测试连接
|
||
"system.storage.test.title": "连接测试",
|
||
"system.storage.test.current_driver": "当前存储驱动",
|
||
"system.storage.test.button": "测试连接",
|
||
"system.storage.test.success": "连接测试成功",
|
||
"system.storage.test.failed": "连接测试失败",
|
||
|
||
// 说明
|
||
"system.storage.help.title": "存储驱动说明",
|
||
"system.storage.help.local": "本地存储:",
|
||
"system.storage.help.local.desc": "文件存储在服务器本地磁盘,适合小型项目。",
|
||
"system.storage.help.s3": "S3 / 对象存储:",
|
||
"system.storage.help.s3.desc": "兼容 AWS S3、阿里云 OSS、腾讯云 COS、七牛云等,适合大规模文件存储。",
|
||
"system.storage.help.ftp": "FTP:",
|
||
"system.storage.help.ftp.desc": "通过 FTP 协议连接远程服务器存储文件。",
|
||
"system.storage.help.sftp": "SFTP:",
|
||
"system.storage.help.sftp.desc": "通过 SSH 安全连接远程服务器,更安全可靠。",
|
||
|
||
// 保存
|
||
"system.storage.save.success": "配置保存成功",
|
||
"system.storage.save.failed": "配置保存失败",
|
||
};
|