1
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
return array (
|
||||
'Invalid title' => 'Invalid title',
|
||||
'Invalid address' => 'Invalid address',
|
||||
'Address is not exist' => 'Address is not exist',
|
||||
);
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'Article does not exist' => 'Article does not exist',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
return array (
|
||||
'Incorrect title' => 'Incorrect title',
|
||||
'Incorrect amount' => 'Incorrect amount',
|
||||
'Incorrect quantity' => 'Incorrect quantity',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
return array (
|
||||
'Email is incorrect' => 'Email is incorrect',
|
||||
'Mobile is incorrect' => 'Mobile is incorrect',
|
||||
'Invalid trade password' => 'Invalid trade password',
|
||||
'Invalid invite code' => 'Invalid invite code',
|
||||
'Sign up successful' => 'Sign up successful',
|
||||
'Invalid username or password' => 'Invalid username or password',
|
||||
'Password must be 6 to 30 characters' => 'Password must be 6 to 30 characters',
|
||||
'User not found' => 'User not found',
|
||||
'Reset password successful' => 'Reset password successful',
|
||||
'Reset Trade password successful' => 'Reset Trade password successful',
|
||||
'Only one verification code can be sent within %second% seconds' => 'Only one verification code can be sent within %second% seconds',
|
||||
'Email sent successfully' => 'Email sent successfully',
|
||||
'Captcha is incorrect' => 'Captcha is incorrect',
|
||||
'Mt email code' => 'Mt email code',
|
||||
'错误的邀请码' => '错误的邀请码',
|
||||
'Incoret param' => 'Incoret param',
|
||||
'Trade password must be 6 characters' => 'Trade password must be 6 characters',
|
||||
'SMS sent successfully' => 'SMS sent successfully',
|
||||
);
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
return array (
|
||||
'Product does not exist' => 'Product does not exist',
|
||||
'Gift is incorrect' => 'Gift is incorrect',
|
||||
'Denomination is incorrect' => 'Denomination is incorrect',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
'Quantity is incorrect' => 'Quantity is incorrect',
|
||||
'Gift stock is insufficient' => 'Gift stock is insufficient',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'Unverified address' => 'Unverified address',
|
||||
);
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'Product does not exist' => 'Product does not exist',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
return array (
|
||||
'Product is incorrect' => 'Product is incorrect',
|
||||
'Can\\\'t buy now' => 'Can\\\'t buy now',
|
||||
'Sold out' => 'Sold out',
|
||||
'Out of stock product' => 'Out of stock product',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
'Quantity is incorrect' => 'Quantity is incorrect',
|
||||
'微量包每个用户只能购买一个' => '微量包每个用户只能购买一个',
|
||||
);
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
return array (
|
||||
'Product does not exist' => 'Product does not exist',
|
||||
'Questionnaire does not exist' => 'Questionnaire does not exist',
|
||||
'Incorrect parameter' => 'Incorrect parameter',
|
||||
'Server is not exist' => 'Server is not exist',
|
||||
'Server is not exist %sadds_f%' => 'Server is not exist %sadds_f%',
|
||||
);
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
return array (
|
||||
'Network is incorrect' => 'Network is incorrect',
|
||||
'Failed to create recharge order, please try again later' => 'Failed to create recharge order, please try again later',
|
||||
'Record does not exist' => 'Record does not exist',
|
||||
'permission denied' => 'permission denied',
|
||||
'user not exist' => 'user not exist',
|
||||
'exist' => 'exist',
|
||||
'You have reached the limit of uncompleted orders ( %max% ). Please complete the existing orders before trying to create another one.' => 'You have reached the limit of uncompleted orders ( %max% ). Please complete the existing orders before trying to create another one.',
|
||||
'Minimum recharge of %num%' => 'Minimum recharge of %num%',
|
||||
'Order not exsit' => 'Order not exsit',
|
||||
);
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
return array (
|
||||
'Role does not exist' => 'Role does not exist',
|
||||
'This character group is not allowed to be sold' => 'This character group is not allowed to be sold',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
'Your level is too high to purchase this character' => 'Your level is too high to purchase this character',
|
||||
);
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
return array (
|
||||
'Product is incorrect' => 'Product is incorrect',
|
||||
'Server is not exist' => 'Server is not exist',
|
||||
'Server could not start' => 'Server could not start',
|
||||
'Server is not exist %sadds_f%' => 'Server is not exist %sadds_f%',
|
||||
);
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
return array (
|
||||
'Please login first' => 'Please login first',
|
||||
'今日已签到' => '今日已签到',
|
||||
'请上传2张图片' => '请上传2张图片',
|
||||
'请明日再来' => '请明日再来',
|
||||
'请上传1张图片' => '请上传1张图片',
|
||||
'请每日再来' => '请每日再来',
|
||||
'日期格式错误' => '日期格式错误',
|
||||
'补签日期不能大于今天' => '补签日期不能大于今天',
|
||||
'该日已签到' => '该日已签到',
|
||||
'Please complete real-name verification first' => 'Please complete real-name verification first',
|
||||
);
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
return array (
|
||||
'普通用户' => 'User',
|
||||
'VIP' => 'VIP',
|
||||
'渠道商' => 'Channel',
|
||||
'Invalid user' => 'Invalid user',
|
||||
'Access denied' => 'Access denied',
|
||||
'It cannot be lower than the user\\\'s current level' => 'It cannot be lower than the user\\\'s current level',
|
||||
'V1' => 'V1',
|
||||
'V2' => 'V2',
|
||||
'V3' => 'V3',
|
||||
'V4' => 'V4',
|
||||
'V5' => 'V5',
|
||||
);
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
return array (
|
||||
'Reset password successful' => 'Reset password successful',
|
||||
'Reset trade password successful' => 'Reset trade password successful',
|
||||
'The system is under maintenance, please wait...' => 'The system is under maintenance, please wait...',
|
||||
'User is incorrect' => 'User is incorrect',
|
||||
'Trade successful' => 'Trade successful',
|
||||
'Incoret param' => 'Incoret param',
|
||||
'You have verified' => 'You have verified',
|
||||
'ID card already exists' => 'ID card already exists',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
return array (
|
||||
'The mailbox is already occupied' => 'The mailbox is already occupied',
|
||||
'Username is already taken' => 'Username is already taken',
|
||||
'Nickname is already taken' => 'Nickname is already taken',
|
||||
'Phone Number is already taken' => 'Phone Number is already taken',
|
||||
'Mobile number does not exist' => 'Mobile number does not exist',
|
||||
'Email does not exist' => 'Email does not exist',
|
||||
'Incorrect verification code' => 'Incorrect verification code',
|
||||
'Verification code has expired' => 'Verification code has expired',
|
||||
);
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
return array (
|
||||
'The system is under maintenance, please wait...' => 'The system is under maintenance, please wait...',
|
||||
'Exchange successful' => 'Exchange successful',
|
||||
'User is incorrect' => 'User is incorrect',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
'Transfer successful' => 'Transfer successful',
|
||||
'卡密不存在' => '卡密不存在',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
return array (
|
||||
'The system is under maintenance, please wait...' => 'The system is under maintenance, please wait...',
|
||||
'Address is incorrect' => 'Address is incorrect',
|
||||
'Unverified address' => 'Unverified address',
|
||||
'The amount exceeds the available balance' => 'The amount exceeds the available balance',
|
||||
'You can only withdraw once a day.' => 'You can only withdraw once a day.',
|
||||
'Network is incorrect' => 'Network is incorrect',
|
||||
'Record does not exist' => 'Record does not exist',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
return array (
|
||||
'successful' => 'successful',
|
||||
'Invalid parameters' => 'Invalid parameters',
|
||||
'waiting' => 'waiting',
|
||||
'working' => 'working',
|
||||
'auditing' => 'auditing',
|
||||
'settlement' => 'settlement',
|
||||
'complete' => 'complete',
|
||||
'驳回' => 'Rejected',
|
||||
'等待审核' => 'Waiting for review',
|
||||
'转账中' => 'Transferring',
|
||||
'充值' => 'Recharge',
|
||||
'提现' => 'Withdrawal',
|
||||
'提现退回' => 'Withdrawal returned',
|
||||
'站内转账' => 'Internal transfer',
|
||||
'购买产品' => 'Purchase AI',
|
||||
'问卷收益' => 'Questionnaire income',
|
||||
'问卷A收益' => 'Questionnaire A income',
|
||||
'问卷B收益' => 'Questionnaire B income',
|
||||
'购买角色' => 'Purchase role',
|
||||
'VIP奖励' => 'VIP reward',
|
||||
'渠道商奖励' => 'Agent reward',
|
||||
'会员奖励' => 'Agent reward',
|
||||
'添加算力' => 'Add computing power',
|
||||
'算力减少' => 'Reduce computing power',
|
||||
'算力过期' => 'Computing power expired',
|
||||
'算力释放' => 'Computing power released',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$common = require 'common.php';
|
||||
$app = Request()->app;
|
||||
$controller =get_controller_name();
|
||||
$langs = [];
|
||||
$fn= __DIR__.'/'.($app?$app.'/' : '').strtolower($controller).'.php';
|
||||
if(file_exists($fn)){
|
||||
$langs = require $fn;
|
||||
if(!is_array( $langs)){
|
||||
$langs = [];
|
||||
}
|
||||
}
|
||||
return array_merge($common,$langs);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,147 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c); 2006~2021 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 );
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// 核心中文语言包
|
||||
return [
|
||||
// 系统错误提示
|
||||
'Undefined variable' => '未定义变量',
|
||||
'Undefined index' => '未定义数组索引',
|
||||
'Undefined offset' => '未定义数组下标',
|
||||
'Parse error' => '语法解析错误',
|
||||
'Type error' => '类型错误',
|
||||
'Fatal error' => '致命错误',
|
||||
'syntax error' => '语法错误',
|
||||
|
||||
// 框架核心错误提示
|
||||
'dispatch type not support' => '不支持的调度类型',
|
||||
'method param miss' => '方法参数错误',
|
||||
'method not exists' => '方法不存在',
|
||||
'function not exists' => '函数不存在',
|
||||
'app not exists' => '应用不存在',
|
||||
'controller not exists' => '控制器不存在',
|
||||
'class not exists' => '类不存在',
|
||||
'property not exists' => '类的属性不存在',
|
||||
'template not exists' => '模板文件不存在',
|
||||
'illegal controller name' => '非法的控制器名称',
|
||||
'illegal action name' => '非法的操作名称',
|
||||
'url suffix deny' => '禁止的URL后缀访问',
|
||||
'Undefined cache config' => '缓存配置未定义',
|
||||
'Route Not Found' => '当前访问路由未定义或不匹配',
|
||||
'Undefined db config' => '数据库配置未定义',
|
||||
'Undefined log config' => '日志配置未定义',
|
||||
'Undefined db type' => '未定义数据库类型',
|
||||
'variable type error' => '变量类型错误',
|
||||
'PSR-4 error' => 'PSR-4 规范错误',
|
||||
'not support type' => '不支持的分页索引字段类型',
|
||||
'not support total' => '简洁模式下不能获取数据总数',
|
||||
'not support last' => '简洁模式下不能获取最后一页',
|
||||
'error session handler' => '错误的SESSION处理器类',
|
||||
'not allow php tag' => '模板不允许使用PHP语法',
|
||||
'not support' => '不支持',
|
||||
'database config error' => '数据库配置信息错误',
|
||||
'redisd master' => 'Redisd 主服务器错误',
|
||||
'redisd slave' => 'Redisd 从服务器错误',
|
||||
'must run at sae' => '必须在SAE运行',
|
||||
'memcache init error' => '未开通Memcache服务,请在SAE管理平台初始化Memcache服务',
|
||||
'KVDB init error' => '没有初始化KVDB,请在SAE管理平台初始化KVDB服务',
|
||||
'fields not exists' => '数据表字段不存在',
|
||||
'where express error' => '查询表达式错误',
|
||||
'no data to update' => '没有任何数据需要更新',
|
||||
'miss data to insert' => '缺少需要写入的数据',
|
||||
'miss complex primary data' => '缺少复合主键数据',
|
||||
'miss update condition' => '缺少更新条件',
|
||||
'model data Not Found' => '模型数据不存在',
|
||||
'table data not Found' => '表数据不存在',
|
||||
'delete without condition' => '没有条件不会执行删除操作',
|
||||
'miss relation data' => '缺少关联表数据',
|
||||
'tag attr must' => '模板标签属性必须',
|
||||
'tag error' => '模板标签错误',
|
||||
'cache write error' => '缓存写入失败',
|
||||
'sae mc write error' => 'SAE mc 写入错误',
|
||||
'route name not exists' => '路由标识不存在(或参数不够)',
|
||||
'invalid request' => '非法请求',
|
||||
'bind attr has exists' => '模型的属性已经存在',
|
||||
'relation data not exists' => '关联数据不存在',
|
||||
'relation not support' => '关联不支持',
|
||||
'chunk not support order' => 'Chunk不支持调用order方法',
|
||||
'route pattern error' => '路由变量规则定义错误',
|
||||
'route behavior will not support' => '路由行为废弃(使用中间件替代)',
|
||||
'closure not support cache(true);' => '使用闭包查询不支持cache(true);,请指定缓存Key',
|
||||
|
||||
// 上传错误信息
|
||||
'unknown upload error' => '未知上传错误!',
|
||||
'file write error' => '文件写入失败!',
|
||||
'upload temp dir not found' => '找不到临时文件夹!',
|
||||
'no file to uploaded' => '没有文件被上传!',
|
||||
'only the portion of file is uploaded' => '文件只有部分被上传!',
|
||||
'upload File size exceeds the maximum value' => '上传文件大小超过了最大值!',
|
||||
'upload write error' => '文件上传保存错误!',
|
||||
'has the same filename: {:filename}' => '存在同名文件:{:filename}',
|
||||
'upload illegal files' => '非法上传文件',
|
||||
'illegal image files' => '非法图片文件',
|
||||
'extensions to upload is not allowed' => '上传文件后缀不允许',
|
||||
'mimetype to upload is not allowed' => '上传文件MIME类型不允许!',
|
||||
'filesize not match' => '上传文件大小不符!',
|
||||
'directory {:path} creation failed' => '目录 {:path} 创建失败!',
|
||||
|
||||
'The middleware must return Response instance' => '中间件方法必须返回Response对象实例',
|
||||
'The queue was exhausted, with no response returned' => '中间件队列为空',
|
||||
// Validate Error Message
|
||||
':attribute require' => ':attribute不能为空',
|
||||
':attribute must' => ':attribute必须',
|
||||
':attribute must be numeric' => ':attribute必须是数字',
|
||||
':attribute must be integer' => ':attribute必须是整数',
|
||||
':attribute must be float' => ':attribute必须是浮点数',
|
||||
':attribute must be bool' => ':attribute必须是布尔值',
|
||||
':attribute not a valid email address' => ':attribute格式不符',
|
||||
':attribute not a valid mobile' => ':attribute格式不符',
|
||||
':attribute must be a array' => ':attribute必须是数组',
|
||||
':attribute must be yes,on or 1' => ':attribute必须是yes、on或者1',
|
||||
':attribute not a valid datetime' => ':attribute不是一个有效的日期或时间格式',
|
||||
':attribute not a valid file' => ':attribute不是有效的上传文件',
|
||||
':attribute not a valid image' => ':attribute不是有效的图像文件',
|
||||
':attribute must be alpha' => ':attribute只能是字母',
|
||||
':attribute must be alpha-numeric' => ':attribute只能是字母和数字',
|
||||
':attribute must be alpha-numeric, dash, underscore' => ':attribute只能是字母、数字和下划线_及破折号-',
|
||||
':attribute not a valid domain or ip' => ':attribute不是有效的域名或者IP',
|
||||
':attribute must be chinese' => ':attribute只能是汉字',
|
||||
':attribute must be chinese or alpha' => ':attribute只能是汉字、字母',
|
||||
':attribute must be chinese,alpha-numeric' => ':attribute只能是汉字、字母和数字',
|
||||
':attribute must be chinese,alpha-numeric,underscore, dash' => ':attribute只能是汉字、字母、数字和下划线_及破折号-',
|
||||
':attribute not a valid url' => ':attribute不是有效的URL地址',
|
||||
':attribute not a valid ip' => ':attribute不是有效的IP地址',
|
||||
':attribute must be dateFormat of :rule' => ':attribute必须使用日期格式 :rule',
|
||||
':attribute must be in :rule' => ':attribute必须在 :rule 范围内',
|
||||
':attribute be notin :rule' => ':attribute不能在 :rule 范围内',
|
||||
':attribute must between :1 - :2' => ':attribute只能在 :1 - :2 之间',
|
||||
':attribute not between :1 - :2' => ':attribute不能在 :1 - :2 之间',
|
||||
'size of :attribute must be :rule' => ':attribute长度不符合要求 :rule',
|
||||
'max size of :attribute must be :rule' => ':attribute长度不能超过 :rule',
|
||||
'min size of :attribute must be :rule' => ':attribute长度不能小于 :rule',
|
||||
':attribute cannot be less than :rule' => ':attribute日期不能小于 :rule',
|
||||
':attribute cannot exceed :rule' => ':attribute日期不能超过 :rule',
|
||||
':attribute not within :rule' => '不在有效期内 :rule',
|
||||
'access IP is not allowed' => '不允许的IP访问',
|
||||
'access IP denied' => '禁止的IP访问',
|
||||
':attribute out of accord with :2' => ':attribute和确认字段:2不一致',
|
||||
':attribute cannot be same with :2' => ':attribute和比较字段:2不能相同',
|
||||
':attribute must greater than or equal :rule' => ':attribute必须大于等于 :rule',
|
||||
':attribute must greater than :rule' => ':attribute必须大于 :rule',
|
||||
':attribute must less than or equal :rule' => ':attribute必须小于等于 :rule',
|
||||
':attribute must less than :rule' => ':attribute必须小于 :rule',
|
||||
':attribute must equal :rule' => ':attribute必须等于 :rule',
|
||||
':attribute has exists' => ':attribute已存在',
|
||||
':attribute not conform to the rules' => ':attribute不符合指定规则',
|
||||
'invalid Request method' => '无效的请求类型',
|
||||
'invalid token' => '令牌数据无效',
|
||||
'not conform to the rules' => '规则错误',
|
||||
'record has update' => '记录已经被更新了',
|
||||
];
|
||||
Reference in New Issue
Block a user