wip: i18n

- Change locales json to one-dimensional format
This commit is contained in:
Elvis Liao
2024-09-27 00:42:40 +08:00
parent b3f1e1e444
commit e820e5599b
6 changed files with 259 additions and 142 deletions

View File

@@ -1,11 +1,108 @@
{
"username": "username",
"password": "password",
"email": "email",
"logout": "logout",
"setting": "setting",
"account": "account",
"template": "template",
"save": "save",
"no.data": "no.data",
"status": "status",
"operation": "operation",
"enable": "enable",
"disable": "disable",
"deploy": "deploy",
"download": "download",
"delete": "delete",
"cancel": "cancel",
"confirm": "confirm",
"edit": "edit",
"succeed": "succeed",
"add": "add",
"document": "document",
"basic.setting": "basic.setting",
"advanced.setting": "advanced.setting",
"operation.succeed": "operation.succeed",
"save.succeed": "save.succeed",
"save.failed": "save.failed",
"login.submit": "login.submit",
"login.username.no.empty.message": "login.username.no.empty.message",
"login.password.length.message": "login.password.length.message",
"menu.dashboard": "menu.dashboard",
"menu.domain.management": "menu.domain.management",
"menu.auth.management": "menu.auth.management",
"menu.deploy.log": "menu.deploy.log"
"theme.light": "theme.light",
"theme.dark": "theme.dark",
"theme.system": "theme.system",
"dashboard": "dashboard",
"dashboard.all": "dashboard.all",
"dashboard.near.expired": "dashboard.near.expired",
"dashboard.enabled": "dashboard.enabled",
"dashboard.not.enabled": "dashboard.not.enabled",
"dashboard.unit": "dashboard.unit",
"deployment.log.name": "deployment.log.name",
"deployment.log.empty": "deployment.log.empty",
"deployment.log.status": "deployment.log.status",
"deployment.log.stage": "deployment.log.stage",
"deployment.log.last.execution.time": "deployment.log.last.execution.time",
"deployment.log.detail.button.text": "deployment.log.detail.button.text",
"deployment.log.detail": "deployment.log.detail",
"pagination.next": "pagination.next",
"pagination.prev": "pagination.prev",
"domain": "domain",
"domain.add": "domain.add",
"domain.delete": "domain.delete",
"domain.not.empty.verify.message": "domain.not.empty.verify.message",
"domain.management.name": "domain.management.name",
"domain.management.start.deploy.succeed.tips": "domain.management.start.deploy.succeed.tips",
"domain.management.execution.failed": "domain.management.execution.failed",
"domain.management.execution.failed.tips": "domain.management.execution.failed.tips",
"domain.management.empty": "domain.management.empty",
"domain.management.expiry.date": "domain.management.expiry.date",
"domain.management.expiry.date1": "domain.management.expiry.date1",
"domain.management.expiry.date2": "domain.management.expiry.date2",
"domain.management.last.execution.time": "domain.management.last.execution.time",
"domain.management.last.execution.status": "domain.management.last.execution.status",
"domain.management.last.execution.stage": "domain.management.last.execution.stage",
"domain.management.enable": "domain.management.enable",
"domain.management.start.deploying": "domain.management.start.deploying",
"domain.management.forced.deployment": "domain.management.forced.deployment",
"domain.management.delete.confirm": "domain.management.delete.confirm",
"domain.management.edit.title": "domain.management.edit.title",
"domain.management.edit.dns.label": "domain.management.edit.dns.label",
"domain.management.edit.dns.verify.tips": "domain.management.edit.dns.verify.tips",
"domain.management.edit.target.type.verify.tips": "domain.management.edit.target.type.verify.tips",
"domain.management.edit.succeed.tips": "domain.management.edit.succeed.tips",
"domain.management.edit.target.access.verify.msg": "domain.management.edit.target.access.verify.msg",
"domain.management.edit.email.not.empty.message": "domain.management.edit.email.not.empty.message",
"domain.management.edit.email.description": "domain.management.edit.email.description",
"domain.management.add.succeed.tips": "domain.management.add.succeed.tips",
"email.add": "email.add",
"email.list": "email.list",
"email.valid.message": "email.valid.message",
"email.already.exist": "email.already.exist",
"email.not.empty.message": "email.not.empty.message",
"setting.notify.menu": "setting.notify.menu",
"setting.submit": "setting.submit",
"setting.account.email.valid.message": "setting.account.email.valid.message",
"setting.account.email.placeholder": "setting.account.email.placeholder",
"setting.account.email.change.succeed": "setting.account.email.change.succeed",
"setting.account.email.change.failed": "setting.account.email.change.failed",
"setting.account.log.back.in": "setting.account.log.back.in",
"setting.password.length.message": "setting.password.length.message",
"setting.password.not.match": "setting.password.not.match",
"setting.password.change.succeed": "setting.password.change.succeed",
"setting.password.change.failed": "setting.password.change.failed",
"setting.password.current.password": "setting.password.current.password",
"setting.password.new.password": "setting.password.new.password",
"setting.password.confirm.password": "setting.password.confirm.password",
"setting.notify.template.save.succeed": "setting.notify.template.save.succeed",
"setting.notify.template.variables.tips.title": "setting.notify.template.variables.tips.title",
"setting.notify.template.variables.tips.content": "setting.notify.template.variables.tips.content",
"setting.notify.config.enable": "setting.notify.config.enable",
"setting.notify.config.save.succeed": "setting.notify.config.save.succeed",
"setting.notify.config.save.failed": "setting.notify.config.save.failed",
"setting.notify.config.save.failed.url.not.valid": "setting.notify.config.save.failed.url.not.valid",
"deploy.progress.check": "deploy.progress.check",
"deploy.progress.apply": "deploy.progress.apply",
"deploy.progress.deploy": "deploy.progress.deploy"
}

View File

@@ -18,101 +18,115 @@
"cancel": "取消",
"confirm": "确认",
"edit": "编辑",
"succeed": "成功",
"add": "新增",
"document": "文档",
"variables": "变量",
"dns": "域名服务器",
"name": "名称",
"create.time": "创建时间",
"update.time": "更新时间",
"created.in": "创建于",
"updated.in": "更新于",
"basic.setting": "基础设置",
"advanced.setting": "高级设置",
"operation.succeed": "操作成功",
"save.succeed": "保存成功",
"save.failed": "保存失败",
"login.submit": "登录",
"login.username.no.empty.message": "请输入正确的邮箱地址",
"login.password.length.message": "密码至少10个字符",
"menu": {
"auth.management": "授权管理"
},
"theme": {
"light": "浅色",
"dark": "暗黑",
"system": "系统"
},
"menu.auth.management": "授权管理",
"theme.light": "浅色",
"theme.dark": "暗黑",
"theme.system": "系统",
"dashboard": "控制面板",
"dashboard.all": "所有",
"dashboard.near.expired": "即将过期",
"dashboard.enabled": "启用中",
"dashboard.not.enabled": "未启用",
"dashboard.unit": "个",
"deployment.log": {
"name": "部署历史",
"empty": "你暂未创建任何部署,请先添加域名进行部署吧!",
"status": "状态",
"stage": "阶段",
"last.execution.time": "最近执行时间",
"detail.button.text": "日志",
"detail": "部署详情"
},
"pagination": {
"next": "下一页",
"prev": "上一页"
},
"deployment.log.name": "部署历史",
"deployment.log.empty": "你暂未创建任何部署,请先添加域名进行部署吧!",
"deployment.log.status": "状态",
"deployment.log.stage": "阶段",
"deployment.log.last.execution.time": "最近执行时间",
"deployment.log.detail.button.text": "日志",
"deployment.log.detail": "部署详情",
"pagination.next": "下一页",
"pagination.prev": "上一页",
"domain": "域名",
"domain.add": "新增域名",
"domain.delete": "删除域名",
"domain.management": {
"name": "域名列表",
"start.deploy.succeed.tips": "已发起部署,请稍后查看部署日志。",
"execution.failed": "执行失败",
"execution.failed.tips": "执行失败,请在 <1>部署历史</1> 查看详情。",
"empty": "请添加域名开始部署证书吧。",
"expiry.date": "有效期限",
"expiry.date1": "有效期 {{date}} 天",
"expiry.date2": "{{date}} 到期",
"last.execution.time": "最近执行时间",
"last.execution.status": "最近执行状态",
"last.execution.stage": "最近执行阶段",
"enable": "是否启用",
"start.deploying": "立即部署",
"forced.deployment": "强行部署",
"delete.confirm": "确定要删除域名吗?",
"edit": {
"title": "编辑域名",
"domain.verify.tips": "域名",
"dns.verify.tips": "请选择DNS服务商授权配置",
"target.type.verify.tips": "请选择部署服务类型"
}
},
"domain.not.empty.verify.message": "请输入域名",
"domain.management.name": "域名列表",
"domain.management.start.deploy.succeed.tips": "已发起部署,请稍后查看部署日志。",
"domain.management.execution.failed": "执行失败",
"domain.management.execution.failed.tips": "执行失败,请在 <1>部署历史</1> 查看详情。",
"domain.management.empty": "请添加域名开始部署证书吧。",
"domain.management.expiry.date": "有效期限",
"domain.management.expiry.date1": "有效期 {{date}} 天",
"domain.management.expiry.date2": "{{date}} 到期",
"domain.management.last.execution.time": "最近执行时间",
"domain.management.last.execution.status": "最近执行状态",
"domain.management.last.execution.stage": "最近执行阶段",
"domain.management.enable": "是否启用",
"domain.management.start.deploying": "立即部署",
"domain.management.forced.deployment": "强行部署",
"domain.management.delete.confirm": "确定要删除域名吗?",
"domain.management.edit.title": "编辑域名",
"domain.management.edit.dns.access.label": "DNS 服务商授权配置",
"domain.management.edit.dns.access.not.empty.message": "请选择DNS服务商授权配置",
"domain.management.edit.access.label": "服务商授权配置",
"domain.management.edit.access.not.empty.message": "请选择授权配置",
"domain.management.edit.target.type": "部署服务类型",
"domain.management.edit.target.type.not.empty.message": "请选择部署服务类型",
"domain.management.edit.succeed.tips": "域名编辑成功",
"domain.management.edit.target.access": "部署服务商授权配置",
"domain.management.edit.target.access.content.label": "服务商授权配置",
"domain.management.edit.target.access.not.empty.message": "请选择授权配置",
"domain.management.edit.target.access.verify.msg": "部署授权和部署授权组至少选一个",
"domain.management.edit.group.label": "部署配置组(用于将一个域名证书部署到多个 ssh 主机)",
"domain.management.edit.group.not.empty.message": "请选择分组",
"domain.management.edit.email.not.empty.message": "请选择邮箱",
"domain.management.edit.email.description": "(申请证书需要提供邮箱)",
"domain.management.edit.variables.placeholder": "可在SSH部署中使用,形如:\nkey=val;\nkey2=val2;",
"domain.management.edit.dns.placeholder": "自定义域名服务器,多个用分号隔开,如:\n8.8.8.8;\n8.8.4.4;",
"domain.management.add.succeed.tips": "域名添加成功",
"email.add": "添加邮箱",
"email.list": "邮箱列表",
"email.valid.message": "请输入正确的邮箱地址",
"email.already.exist": "邮箱已存在",
"email.not.empty.message": "请输入邮箱",
"setting.notify.menu": "消息推送",
"setting.submit": "确认修改",
"setting.account.email": {
"valid.message": "请输入正确的邮箱地址",
"placeholder": "请输入邮箱",
"change.succeed": "修改账户邮箱成功",
"change.failed": "修改账户邮箱失败"
},
"setting.account.email.valid.message": "请输入正确的邮箱地址",
"setting.account.email.placeholder": "请输入邮箱",
"setting.account.email.change.succeed": "修改账户邮箱成功",
"setting.account.email.change.failed": "修改账户邮箱失败",
"setting.account.log.back.in": "请重新登录",
"setting.password": {
"length.message": "密码至少10个字符",
"not.match": "两次密码不一致",
"change.succeed": "修改密码成功",
"change.failed": "修改密码失败",
"current.password": "当前密码",
"new.password": "密码",
"confirm.password": "确认密码"
},
"setting.notify": {
"template": {
"save.succeed": "通知模板保存成功",
"variables.tips": {
"title": "可选的变量, COUNT:即将过期张数",
"content": "可选的变量, COUNT:即将过期张数DOMAINS:域名列表"
}
},
"config": {
"enable": "是否启用",
"save.succeed": "配置保存成功",
"save.failed": "配置保存失败",
"save.failed.url.not.valid": "Url格式不正确"
}
},
"deploy.progress": {
"check": "检查",
"apply": "获取",
"deploy": "部署"
}
"setting.password.length.message": "密码至少10个字符",
"setting.password.not.match": "两次密码不一致",
"setting.password.change.succeed": "修改密码成功",
"setting.password.change.failed": "修改密码失败",
"setting.password.current.password": "当前密码",
"setting.password.new.password": "密码",
"setting.password.confirm.password": "确认密码",
"setting.notify.template.save.succeed": "通知模板保存成功",
"setting.notify.template.variables.tips.title": "可选的变量, COUNT:即将过期张数",
"setting.notify.template.variables.tips.content": "可选的变量, COUNT:即将过期张数DOMAINS:域名列表",
"setting.notify.config.enable": "是否启用",
"setting.notify.config.save.succeed": "配置保存成功",
"setting.notify.config.save.failed": "配置保存失败",
"setting.notify.config.save.failed.url.not.valid": "Url格式不正确",
"deploy.progress.check": "检查",
"deploy.progress.apply": "获取",
"deploy.progress.deploy": "部署",
"access.management": "授权管理",
"access.add": "添加授权",
"access.list": "授权列表",
"access.type": "服务商",
"access.empty": "请添加授权开始部署证书吧。",
"access.group.management": "授权组管理",
"access.group.add": "添加授权组"
}