This commit is contained in:
2022-03-21 11:16:38 +08:00
commit e89e807c64
1040 changed files with 284164 additions and 0 deletions

216
language/zh_cn/common.php Normal file
View File

@@ -0,0 +1,216 @@
<?php
/**
* 翻译说明:
*
* 1、带大括号的保留原来写法{name},会被系统动态替换
* 2、没在以下出现的可以自行追加
*
* @author dogstar <chanzonghuang@gmail.com> 2015-02-09
*/
return array(
'Hi {name}, welcome to use PhalApi!' => '{name}您好欢迎使用PhalApi',
'user not exists' => '用户不存在',
'user not login' => '用户未登录',
'App\\' => 'OpenAPI',
'Admin\\' => '后台接口',
'Platform\\' => '平台接口',
'Portal' => '运营平台',
'Portal\\' => '运营平台',
'Task\\' => '任务接口',
'unknown application' => '未知应用',
'api inadequate permissions' => '接口权限不足',
'can not get user info' => '找不到此用户的信息',
'app does not exist or is disabled' => 'app不存在或已被禁用',
'user does not exist or is blocked' => '用户不存在或已被禁用',
'invalid access_token type {type}' => 'access_token类型{type}非法',
'application failed, app_key does not exist' => '申请失败app_key不存在',
'application failed, app has been unregistered or disabled' => '申请失败,应用已被注销或禁用',
'application failed, app approval failed' => '申请失败,应用审核未通过',
'application failed, app_secret error' => '申请失败app_secret错误',
'illegal request the api of admin, please use the entry of /api/admin.php' => '非法请求Admin管理后台接口请改用/api/admin.php后台API入口',
'illegal request the api of platform, please use the entry of /api/platform.php' => '非法请求Platform开放平台接口请改用/api/platform.php开放平台API入口',
'illegal request the api of task, please use the entry of /api/task.php or CLI' => '非法请求Task计划任务接口请改用/api/task.php计划任务API入口或通过CLI方式执行',
'sorry, the current account has been disabled' => '抱歉,当前账号已被禁用',
'sorry, the current app has reached the maximum number of interface calls today' => '抱歉,当前应用今日接口调用次数已达到上限',
'upload file type {filetype} error, currently only support: {supporttype}' => '上传文件类型{fileType}错误,目前只支持:{supportType}',
'too much time span' => '时间跨度太大',
'app rsa init failure, unable to find app or app RSA public / private key is empty' => 'app rsa 初始失败无法找到应用或应用RSA公钥/私钥为空',
'aliyun sms service is not configured' => '阿里云短信服务未配置',
'there is a problem with the time format' => '时间格式有问题',
'client exception : {msg}' => '客户端异常 : {msg}',
'server exception : {msg}' => '服务端异常 : {msg}',
'number of applications created has reached the maximum and no more new applications can be created, please contact the administrator' => '当前创建的应用已经达到数量上限,无法再创建新应用,请联系管理员',
'application does not exist' => '应用不存在',
'application has been approved and cannot be modified' => '应用审核已通过,不能再修改',
'current application does not belong to current developer account' => '当前应用不属于当前开发者账号',
'developer registration is currently disabled, please contact the administrator' => '当前已禁止开发者注册,请联系管理员',
'the account is illegal, current account type does not allow developers to register' => '账号类型非法,当前账号类型不允许开发者注册',
'member registration is currently disabled, please contact the administrator' => '当前已禁止会员注册,请联系管理员',
'the account is illegal, current account type does not allow member to register' => '账号类型非法,当前账号类型不允许会员注册',
'the account already exists, and repeated registration is not allowed' => '账号已存在,不允许重复注册',
'login failed, wrong account or password, or account is disabled' => '登录失败,账号或密码错误,或账号已被禁用',
'login failed, the current account is not administrator' => '登录失败,当前账号不是管理员',
'the current account is not a developer account' => '当前账号不是开发者账号',
'the current account is not administrator' => '当前账号不是管理员',
'super administrator password cannot be modified' => '不能修改超级管理员密码',
'insufficient permission, unable to change administrator password' => '权限不足,不能修改管理员密码',
'member does not exist or has been deleted' => '会员不存在或已被删除',
'account does not exist or has been deleted' => '账号不存在或已被删除',
'super administrator account cannot be deleted' => '超级管理员账号无法删除',
'/api/platform.php entry can only be used to request the api of platform' => '/api/platform.php开放平台API入口只能调用Platform系列接口',
'/api/admin.php entry can only be used to request the api of admin' => '/api/admin.php后台API入口只能调用Admin系列接口',
'access_token check fail' => 'access_token校验不通过',
'invalid access_token' => 'access_token无效',
'illegal interface service operation format' => '接口服务操作格式非法',
'permission rule already exists, cannot be added repeatedly' => '权限规则已存在,不能重复添加',
'current api entry can only be used to request the api of task' => '当前API入口只能请求Task计划任务接口',
'image upload failed, please try again' => '图片上传失败,请重试',
'the uploaded picture is in the wrong format and cannot be recognized, correct example:{example}' => '上传的图片格式错误,无法识别。正确示例:{example}',
'Home' => '首页',
'Open API' => 'OpenAPI',
'Open Platform' => '开放平台',
'Docs' => '技术文档',
'Management System' => '管理后台',
'welcome' => '欢迎',
'Sign In' => '登录',
'Sign Up' => '注册',
'Search API' => '搜索接口',
'best choice to build cloud platform' => '一套开发、管理和提供接口的软件源代码和解决方案',
'Online API Docs' => '在线接口文档',
'API List' => '接口服务列表',
'login management system to see all APIs' => '管理员登录后可查看全部接口',
'API Service' => '接口服务',
'API Title' => '接口名称',
'API Description' => '接口描述',
'Language' => '语言',
'API Docs' => '接口文档',
'API Url' => '接口地址',
'Protocol' => '请求协议',
'Method' => '请求方式',
'Charset' => '编码格式',
'Format' => '返回格式',
'API Parameters' => '接口参数',
'Parameter Name' => '参数名字',
'Type' => '类型',
'Is Required' => '是否必须',
'Required' => '必须',
'Optional' => '可选',
'Default' => '默认值',
'Note' => '其他',
'Description' => '说明',
'Response Result' => '返回结果',
'Return Field' => '返回字段',
'Test Online' => '在线测试',
'Parameter' => '参数',
'Value' => '值',
'Client Request Demo' => '客户端请求示例',
'Request API' => '请求当前接口',
'Error List' => '错误列表',
'Error Status' => '错误状态码',
'Error Description' => '错误描述信息',
'Last generated at: ' => '本文档生成时间:',
'string' => '字符串',
'int' => '整型',
'float' => '浮点型',
'boolean' => '布尔型',
'date' => '日期',
'array' => '字符串', // 转换成客户端看到的参数类型
'fixed' => '固定值',
'enum' => '枚举类型',
'object' => '对象',
'object/mixed' => '对象或混合类型',
'json' => 'JSON格式',
'seperated by %s' => '用%s分割',
'min: ' => '最小:',
'max: ' => '最大:',
'range: ' => '范围:',
'source: ' => '数据源:',
'business data, decided by API implementation' => '业务数据,由各自接口指定,通常为对象',
'status code, 200 is ok, 4xx is bad request, 5xx is server inside error' => '状态码200表示成功4xx表示客户端非法请求5xx表示服务器错误',
'message, usually error message' => '提示信息,失败时的错误提示',
'Select' => '请选择',
'json demo' => 'HTTP通用示例',
'js demo' => 'Javascript示例',
'oc demo' => 'Object-C示例',
'java demo' => 'Java示例',
'curl demo' => 'CURL示例',
'php demo' => 'PHP示例',
'py demo' => 'Python示例',
'go demo' => 'Golang示例',
'cs demo' => 'C#示例',
'API Document Password: ' => '文档查看密码:',
'please input view password' => '请输入查看密码',
'Submit' => '确定',
'wrong view password' => '查看密码错误!',
'To Be Reviewed' => '待审核',
'Not Passed' => '未通过',
'Canceled' => '已注销',
'wrong sign' => '签名错误',
'wrong captcha' => '验证码错误',
'operation exists' => '操作已存在',
'operation not exists' => '操作不存在',
'not super admin' => '非超级管理员',
'wrong service name' => '接口服务名称有误',
'wrong API params config' => '接口设计的请求参数有误,请根据文档规则传递',
'wrong API response config' => '接口设计的返回参数有误,请根据文档规则传递',
'no data updated' => '无数据需要更新',
'update successfully' => '更新成功',
'fail to generate code' => '生成代码失败',
'fail to generate demo file' => '生成示例文件失败',
'wrong config' => '配置出错',
'file exists' => '文件已存在',
'succeed to generate code' => '生成代码成功',
'no write permission' => '当前环境没有权限写入文件。注意请不要在生产环境上保存接口代码,避免覆盖!',
'no write permissionsrc/view/docs/demos' => '没有权限写入示例文件请先为src/view/docs/demos目录添加写入权限。注意不要在生产环境上操作。',
'succeed to generate demo file' => '生成示例成功',
'fail to delete' => '删除失败',
'succeed to delete' => '删除成功',
'fail to add' => '添加失败',
'succeed to add' => '添加成功',
'test case is running or not exists' => '测试用例使用中或不存在该配置',
'succeed to verify' => '验证成功',
'wrong expect response' => '期待返回有误',
'test case name repeat' => '用例名称已存在',
'data not exists' => '数据不存在',
'test case not exists' => '用例不存在',
'finish to test' => '测试结束',
'unkonw' => '未知',
'test case crontab switch' => '全部接口测试定时任务开关',
'field not exists' => '字段不存在',
'fail to verify, can not tell true or not' => '验证失败期望值或实际值为bool无法判断',
'FAIL, Expected: ' => '验证失败:期望值:',
'Actual: ' => '实际值:',
'sorry, the current IP not allowed' => '抱歉当前IP禁止访问',
'{service} free api can not repeat' => '{service}接口流量的免费套餐不能重复设置',
'price can not be zero' => '价格不能为0',
'order_status_0' => '未支付',
'order_status_10' => '已支付',
'order_status_20' => '已购买',
'order_status_30' => '已退款',
'order_status_40' => '已取消',
'mall_flow_status_0' => '已失效',
'mall_flow_status_10' => '未使用',
'mall_flow_status_20' => '使用中',
'mall_flow_status_30' => '已用完',
'mall_flow_status_40' => '已过期',
'free' => '免费',
'Fee' => '付费',
'time_unit' => '次',
'money_unit' => '元',
'money_symbol' => '¥',
'api flow not enough' => '接口流量不足',
'product not exists' => '套餐版本不存在',
'Enable' => '开启',
'Disable' => '关闭',
'Sandbox' => '沙箱环境',
'Production' => '生产环境',
'order not exists' => '订单不存在',
'pay config not exists' => '支付配置不存在',
'do not repeat to pay order' => '订单不能重复支付',
'unknow pay type' => '未知支付类型',
'API USE' => 'API 使用',
'The user uid does not exist, please check the parameter' => '该用户uid不存在请检测参数',
'product_key_more can not empty' => '组合套餐不能为空',
);