1
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return [
|
||||
'Category' => '分类',
|
||||
];
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return [
|
||||
'Category' => '分类',
|
||||
];
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
return [
|
||||
'Upload' => '上传',
|
||||
'Choose' => '选择',
|
||||
'currency2' => '未结算',
|
||||
'money' => '余额',
|
||||
'score' => '待结算',
|
||||
];
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
return [
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$common = require 'common.php';
|
||||
$currency_langs = config('site.currency_langs');
|
||||
$controller =get_controller_name();
|
||||
$langs = [];
|
||||
$fn= strtolower($controller).'.php';
|
||||
if(file_exists(__DIR__.DIRECTORY_SEPARATOR.$fn)){
|
||||
$langs = require $fn;
|
||||
if(!is_array( $langs)){
|
||||
$langs = [];
|
||||
}
|
||||
}
|
||||
return array_merge($common,$langs,$currency_langs);
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return [
|
||||
'Category' => '分类',
|
||||
];
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
return [
|
||||
'Category' => '分类',
|
||||
];
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
return [
|
||||
'Upload' => '上传',
|
||||
'Choose' => '选择',
|
||||
'currency2' => '未结算',
|
||||
'money' => '余额',
|
||||
'score' => '待结算',
|
||||
];
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
return [
|
||||
'Upload' => '上传',
|
||||
'Choose' => '选择',
|
||||
];
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$common = require 'common.php';
|
||||
$currency_langs = config('site.currency_langs');
|
||||
$controller =get_controller_name();
|
||||
$langs = [];
|
||||
$fn= strtolower($controller).'.php';
|
||||
if(file_exists(__DIR__.DIRECTORY_SEPARATOR.$fn)){
|
||||
$langs = require $fn;
|
||||
if(!is_array( $langs)){
|
||||
$langs = [];
|
||||
}
|
||||
}
|
||||
return array_merge($common,$langs,$currency_langs);
|
||||
Reference in New Issue
Block a user