translation
This commit is contained in:
@@ -63,10 +63,10 @@ class Language extends Command
|
||||
return 0;
|
||||
}
|
||||
function write2file($data=[]){
|
||||
$langs = ['zh','en'];
|
||||
$langs = ['zh-Hans','en'];
|
||||
foreach($data as $fn=>$arr){
|
||||
foreach($langs as $lang){
|
||||
$lang_path = base_path().'/resource/translations/'.$lang.'/';
|
||||
$lang_path = base_path('/resource/translations/'.$lang.'/');
|
||||
$_common_arr = require($lang_path.'common.php');
|
||||
$_arr = [];
|
||||
if(file_exists($lang_path.$fn)){
|
||||
|
||||
@@ -18,4 +18,8 @@ return array (
|
||||
'Incoret param' => 'Incoret param',
|
||||
'Trade password must be 6 characters' => 'Trade password must be 6 characters',
|
||||
'SMS sent successfully' => 'SMS sent successfully',
|
||||
'Unknown register way' => 'Unknown register way',
|
||||
'Username is incorrect' => 'Username is incorrect',
|
||||
'Password must be 6 to 32 characters' => 'Password must be 6 to 32 characters',
|
||||
'Trade password must be 6-32 characters' => 'Trade password must be 6-32 characters',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'参数错误' => '参数错误',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
return array (
|
||||
'Role does not exist' => 'Role does not exist',
|
||||
'Your level is too high to purchase this character' => 'Your level is too high to purchase this character',
|
||||
'This character group is not allowed to be sold' => 'This character group is not allowed to be sold',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -1,3 +1,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'Article does not exist' => 'Article does not exist',
|
||||
);
|
||||
@@ -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',
|
||||
);
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return array (
|
||||
"Account is incorrect" => "账号不正确",
|
||||
'Account is incorrect' => '账号不正确',
|
||||
'Email is incorrect' => '邮箱地址不正确',
|
||||
'Mobile is incorrect' => '手机号不正确',
|
||||
'Invalid trade password' => '交易密码无效',
|
||||
@@ -17,4 +17,9 @@ return array(
|
||||
'Mt email code' => 'Mt email code',
|
||||
'错误的邀请码' => '错误的邀请码',
|
||||
'Incoret param' => 'Incoret param',
|
||||
'Unknown register way' => 'Unknown register way',
|
||||
'Username is incorrect' => 'Username is incorrect',
|
||||
'Password must be 6 to 32 characters' => 'Password must be 6 to 32 characters',
|
||||
'Trade password must be 6-32 characters' => 'Trade password must be 6-32 characters',
|
||||
'SMS sent successfully' => 'SMS sent successfully',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -4,4 +4,6 @@ return array (
|
||||
'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,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'参数错误' => '参数错误',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -6,4 +6,6 @@ return array (
|
||||
'Out of stock product' => '产品缺货',
|
||||
'Insufficient balance' => '余额不足',
|
||||
'You can only purchase %max_quantity% copies' => '你只能购买%max_quantity%份',
|
||||
'Quantity is incorrect' => 'Quantity is incorrect',
|
||||
'微量包每个用户只能购买一个' => '微量包每个用户只能购买一个',
|
||||
);
|
||||
@@ -8,4 +8,5 @@ return array (
|
||||
'exist' => '已存在',
|
||||
'You have reached the limit of uncompleted orders ( %max% ). Please complete the existing orders before trying to create another one.' => '订单已达上限,请完成订单或15分钟后再试',
|
||||
'Minimum recharge of %num%' => '最低充值额 %num%',
|
||||
'Order not exsit' => 'Order not exsit',
|
||||
);
|
||||
@@ -9,4 +9,5 @@ return array (
|
||||
'日期格式错误' => '日期格式错误',
|
||||
'补签日期不能大于今天' => '补签日期不能大于今天',
|
||||
'该日已签到' => '该日已签到',
|
||||
'Please complete real-name verification first' => 'Please complete real-name verification first',
|
||||
);
|
||||
@@ -6,4 +6,9 @@ return array (
|
||||
'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,7 @@
|
||||
<?php
|
||||
return array (
|
||||
'Role does not exist' => 'Role does not exist',
|
||||
'Your level is too high to purchase this character' => 'Your level is too high to purchase this character',
|
||||
'This character group is not allowed to be sold' => 'This character group is not allowed to be sold',
|
||||
'Insufficient balance' => 'Insufficient balance',
|
||||
);
|
||||
@@ -5,4 +5,7 @@ return array (
|
||||
'The system is under maintenance, please wait...' => '系统正在维护中,请稍等…',
|
||||
'User is incorrect' => '用户名不正确',
|
||||
'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,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
@@ -1,3 +1,4 @@
|
||||
<?php
|
||||
return array (
|
||||
'Article does not exist' => 'Article does not exist',
|
||||
);
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return array (
|
||||
);
|
||||
Reference in New Issue
Block a user