diff --git a/app/Admin/Metrics/Examples/NewDevices.php b/app/Admin/Metrics/Examples/NewDevices.php
index 3406d9d..a2dc699 100644
--- a/app/Admin/Metrics/Examples/NewDevices.php
+++ b/app/Admin/Metrics/Examples/NewDevices.php
@@ -54,23 +54,21 @@ class NewDevices extends Donut
/**
* 设置图表数据.
*
- * @param array $data
- *
+ * @param array $data
* @return $this
*/
public function withChart(array $data)
{
return $this->chart([
- 'series' => $data
+ 'series' => $data,
]);
}
/**
* 设置卡片头部内容.
*
- * @param mixed $desktop
- * @param mixed $mobile
- *
+ * @param mixed $desktop
+ * @param mixed $mobile
* @return $this
*/
protected function withContent($desktop, $mobile)
diff --git a/app/Admin/Metrics/Examples/NewUsers.php b/app/Admin/Metrics/Examples/NewUsers.php
index 66798bf..0b37905 100644
--- a/app/Admin/Metrics/Examples/NewUsers.php
+++ b/app/Admin/Metrics/Examples/NewUsers.php
@@ -28,8 +28,7 @@ class NewUsers extends Line
/**
* 处理请求
*
- * @param Request $request
- *
+ * @param Request $request
* @return mixed|void
*/
public function handle(Request $request)
@@ -64,15 +63,14 @@ class NewUsers extends Line
// 卡片内容
$this->withContent('89.2k');
// 图表数据
- $this->withChart([28, 40, 36, 52, 38, 60, 55,]);
+ $this->withChart([28, 40, 36, 52, 38, 60, 55]);
}
}
/**
* 设置图表数据.
*
- * @param array $data
- *
+ * @param array $data
* @return $this
*/
public function withChart(array $data)
@@ -90,8 +88,7 @@ class NewUsers extends Line
/**
* 设置卡片内容.
*
- * @param string $content
- *
+ * @param string $content
* @return $this
*/
public function withContent($content)
diff --git a/app/Admin/Metrics/Examples/ProductOrders.php b/app/Admin/Metrics/Examples/ProductOrders.php
index d7c10bb..60011c7 100644
--- a/app/Admin/Metrics/Examples/ProductOrders.php
+++ b/app/Admin/Metrics/Examples/ProductOrders.php
@@ -27,8 +27,7 @@ class ProductOrders extends Round
/**
* 处理请求
*
- * @param Request $request
- *
+ * @param Request $request
* @return mixed|void
*/
public function handle(Request $request)
@@ -53,8 +52,7 @@ class ProductOrders extends Round
/**
* 设置图表数据.
*
- * @param array $data
- *
+ * @param array $data
* @return $this
*/
public function withChart(array $data)
@@ -67,10 +65,9 @@ class ProductOrders extends Round
/**
* 卡片内容.
*
- * @param int $finished
- * @param int $pending
- * @param int $rejected
- *
+ * @param int $finished
+ * @param int $pending
+ * @param int $rejected
* @return $this
*/
public function withContent($finished, $pending, $rejected)
diff --git a/app/Admin/Metrics/Examples/Sessions.php b/app/Admin/Metrics/Examples/Sessions.php
index bc76ace..25ca973 100644
--- a/app/Admin/Metrics/Examples/Sessions.php
+++ b/app/Admin/Metrics/Examples/Sessions.php
@@ -37,15 +37,14 @@ class Sessions extends Bar
$color->primary(),
$dark35,
$dark35,
- $dark35
+ $dark35,
]);
}
/**
* 处理请求
*
- * @param Request $request
- *
+ * @param Request $request
* @return mixed|void
*/
public function handle(Request $request)
@@ -69,8 +68,7 @@ class Sessions extends Bar
/**
* 设置图表数据.
*
- * @param array $data
- *
+ * @param array $data
* @return $this
*/
public function withChart(array $data)
@@ -83,10 +81,9 @@ class Sessions extends Bar
/**
* 设置卡片内容.
*
- * @param string $title
- * @param string $value
- * @param string $style
- *
+ * @param string $title
+ * @param string $value
+ * @param string $style
* @return $this
*/
public function withContent($title, $value, $style = 'success')
diff --git a/app/Admin/Metrics/Examples/Tickets.php b/app/Admin/Metrics/Examples/Tickets.php
index 44a514d..c1b5702 100644
--- a/app/Admin/Metrics/Examples/Tickets.php
+++ b/app/Admin/Metrics/Examples/Tickets.php
@@ -29,8 +29,7 @@ class Tickets extends RadialBar
/**
* 处理请求
*
- * @param Request $request
- *
+ * @param Request $request
* @return mixed|void
*/
public function handle(Request $request)
@@ -53,8 +52,7 @@ class Tickets extends RadialBar
/**
* 设置图表数据.
*
- * @param int $data
- *
+ * @param int $data
* @return $this
*/
public function withChart(int $data)
@@ -67,8 +65,7 @@ class Tickets extends RadialBar
/**
* 卡片内容
*
- * @param string $content
- *
+ * @param string $content
* @return $this
*/
public function withContent($content)
@@ -86,10 +83,9 @@ HTML
/**
* 卡片底部内容.
*
- * @param string $new
- * @param string $open
- * @param string $response
- *
+ * @param string $new
+ * @param string $open
+ * @param string $response
* @return $this
*/
public function withFooter($new, $open, $response)
diff --git a/app/Admin/Metrics/Examples/TotalUsers.php b/app/Admin/Metrics/Examples/TotalUsers.php
index 90d3a4d..34e7d83 100644
--- a/app/Admin/Metrics/Examples/TotalUsers.php
+++ b/app/Admin/Metrics/Examples/TotalUsers.php
@@ -34,8 +34,7 @@ class TotalUsers extends Card
/**
* 处理请求.
*
- * @param Request $request
- *
+ * @param Request $request
* @return void
*/
public function handle(Request $request)
@@ -61,8 +60,7 @@ class TotalUsers extends Card
}
/**
- * @param int $percent
- *
+ * @param int $percent
* @return $this
*/
public function up($percent)
@@ -73,8 +71,7 @@ class TotalUsers extends Card
}
/**
- * @param int $percent
- *
+ * @param int $percent
* @return $this
*/
public function down($percent)
@@ -87,8 +84,7 @@ class TotalUsers extends Card
/**
* 设置卡片底部内容.
*
- * @param string|Renderable|\Closure $footer
- *
+ * @param string|Renderable|\Closure $footer
* @return $this
*/
public function footer($footer)
diff --git a/app/Admin/bootstrap.php b/app/Admin/bootstrap.php
index 40cf396..9b4bfba 100644
--- a/app/Admin/bootstrap.php
+++ b/app/Admin/bootstrap.php
@@ -1,13 +1,11 @@
*
* Bootstraper for Admin.
@@ -22,5 +20,4 @@ use Dcat\Admin\Show;
* Or require js and css assets:
* Admin::css('/packages/prettydocs/css/styles.css');
* Admin::js('/packages/prettydocs/js/main.js');
- *
*/
diff --git a/app/Admin/routes.php b/app/Admin/routes.php
index bea3a1f..02d4706 100644
--- a/app/Admin/routes.php
+++ b/app/Admin/routes.php
@@ -1,17 +1,15 @@
config('admin.route.prefix'),
- 'namespace' => config('admin.route.namespace'),
+ 'prefix' => config('admin.route.prefix'),
+ 'namespace' => config('admin.route.namespace'),
'middleware' => config('admin.route.middleware'),
], function (Router $router) {
-
$router->get('/', 'HomeController@index');
-
});
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index ff76f7a..d008bf5 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -133,6 +133,7 @@ class Handler extends ExceptionHandler
'message' => $e->getMessage(),
'data' => null,
];
+
return $data;
} elseif ($this->isHttpException($e)) {
$data = [
diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php
index 006e8e5..1c6c0e9 100644
--- a/app/Http/Controllers/AuthController.php
+++ b/app/Http/Controllers/AuthController.php
@@ -4,7 +4,6 @@ namespace App\Http\Controllers;
use App\Models\AdminUser;
use Illuminate\Http\Request;
-use App\Exceptions\BizException;
use Illuminate\Support\Facades\Hash;
class AuthController extends Controller
@@ -27,11 +26,10 @@ class AuthController extends Controller
return $this->attemptUser($user);
}
-
protected function attemptUser(AdminUser $user, $name = 'api')
{
$token = $user->createToken($name)->plainTextToken;
- return $this->json(['token' => $token, 'info' => $user, 'permissions'=>$user->getCachePermissions()]);
+ return $this->json(['token' => $token, 'info' => $user, 'permissions' => $user->getCachePermissions()]);
}
}
diff --git a/app/Http/Controllers/CityDataController.php b/app/Http/Controllers/CityDataController.php
index 176ab30..ffef337 100644
--- a/app/Http/Controllers/CityDataController.php
+++ b/app/Http/Controllers/CityDataController.php
@@ -2,7 +2,6 @@
namespace App\Http\Controllers;
-use Illuminate\Http\Request;
use Peidikeji\Setting\Models\Setting;
class CityDataController extends Controller
@@ -12,16 +11,18 @@ class CityDataController extends Controller
*
* @return void
*/
- public function statistics(){
+ public function statistics()
+ {
$settings = Setting::where('slug', 'like', 'city_data_%')->get()->toArray();
- return $this->json(array_map(function($item){
+ return $this->json(array_map(function ($item) {
$_value = json_decode($item['value'], true);
+
return [
- 'name' => $item['name'],
+ 'name' => $item['name'],
'slug' => $item['slug'],
'value' => $_value['value'] ?? 0,
- 'unit' => $_value['unit'] ?? '未知',
+ 'unit' => $_value['unit'] ?? '未知',
];
}, $settings));
}
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php
index 8abd021..ea5eac5 100644
--- a/app/Http/Controllers/Controller.php
+++ b/app/Http/Controllers/Controller.php
@@ -3,10 +3,10 @@
namespace App\Http\Controllers;
use Dcat\Admin\Traits\JsonResponse;
-use Illuminate\Foundation\Bus\DispatchesJobs;
-use Illuminate\Routing\Controller as BaseController;
-use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
+use Illuminate\Foundation\Bus\DispatchesJobs;
+use Illuminate\Foundation\Validation\ValidatesRequests;
+use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
diff --git a/app/Http/Controllers/KeywordController.php b/app/Http/Controllers/KeywordController.php
index f322fb2..b0f68fd 100644
--- a/app/Http/Controllers/KeywordController.php
+++ b/app/Http/Controllers/KeywordController.php
@@ -3,8 +3,8 @@
namespace App\Http\Controllers;
use Illuminate\Http\Request;
-use Peidikeji\Keywords\Models\Keywords;
use Peidikeji\Keywords\Http\Resources\KeywordResource;
+use Peidikeji\Keywords\Models\Keywords;
class KeywordController extends Controller
{
@@ -13,7 +13,8 @@ class KeywordController extends Controller
*
* @return void
*/
- public function crops(Request $request){
+ public function crops(Request $request)
+ {
$list = Keywords::filter($request->all())->where('type_key', 'like', 'crops-cate-%')->get();
return $this->json(KeywordResource::collection($list));
@@ -24,20 +25,22 @@ class KeywordController extends Controller
*
* @return void
*/
- public function cropsCate(Request $request){
+ public function cropsCate(Request $request)
+ {
$cropsId = $request->input('crops_id', 0);
$crops = null;
- if($cropsId){
+ if ($cropsId) {
$crops = Keywords::find($cropsId);
}
$query = Keywords::filter($request->all())->where('type_key', 'crops-category');
- if($crops){
+ if ($crops) {
$query->where('id', $crops->parent_id);
}
$list = $query->get();
+
return $this->json(KeywordResource::collection($list));
}
}
diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php
index 5e14584..d82be25 100644
--- a/app/Http/Controllers/UserController.php
+++ b/app/Http/Controllers/UserController.php
@@ -2,8 +2,8 @@
namespace App\Http\Controllers;
-use Illuminate\Http\Request;
use App\Exceptions\BizException;
+use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
class UserController extends Controller
@@ -29,7 +29,8 @@ class UserController extends Controller
return $this->success('修改成功');
}
- public function logout(){
+ public function logout()
+ {
$user = auth('api')->user();
$user->tokens()->delete();
diff --git a/app/Models/AdminUser.php b/app/Models/AdminUser.php
index e92fad7..b1df77a 100644
--- a/app/Models/AdminUser.php
+++ b/app/Models/AdminUser.php
@@ -14,10 +14,10 @@ class AdminUser extends BaseAdminModel
'usersname',
'password',
'avatar',
- 'department', 'phone', 'status', 'is_enable'
+ 'department', 'phone', 'status', 'is_enable',
];
protected $hidden = [
- 'password', 'remember_token'
+ 'password', 'remember_token',
];
}
diff --git a/config/admin.php b/config/admin.php
index 5d9d95a..1d91a74 100644
--- a/config/admin.php
+++ b/config/admin.php
@@ -136,7 +136,7 @@ return [
'guards' => [
'admin' => [
- 'driver' => 'session',
+ 'driver' => 'session',
'provider' => 'admin',
],
],
@@ -144,7 +144,7 @@ return [
'providers' => [
'admin' => [
'driver' => 'eloquent',
- 'model' => Dcat\Admin\Models\Administrator::class,
+ 'model' => Dcat\Admin\Models\Administrator::class,
],
],
@@ -235,7 +235,7 @@ return [
'cache' => [
// enable cache or not
'enable' => false,
- 'store' => 'file',
+ 'store' => 'file',
],
// Whether enable menu bind to a permission.
@@ -267,7 +267,7 @@ return [
// Image and file upload path under the disk above.
'directory' => [
'image' => 'images',
- 'file' => 'files',
+ 'file' => 'files',
],
],
@@ -302,12 +302,12 @@ return [
'menu_model' => Dcat\Admin\Models\Menu::class,
// Pivot table for table above.
- 'role_users_table' => 'admin_role_users',
+ 'role_users_table' => 'admin_role_users',
'role_permissions_table' => 'admin_role_permissions',
- 'role_menu_table' => 'admin_role_menu',
- 'permission_menu_table' => 'admin_permission_menu',
- 'settings_table' => 'admin_settings',
- 'extensions_table' => 'admin_extensions',
+ 'role_menu_table' => 'admin_role_menu',
+ 'permission_menu_table' => 'admin_permission_menu',
+ 'settings_table' => 'admin_settings',
+ 'extensions_table' => 'admin_extensions',
'extension_histories_table' => 'admin_extension_histories',
],
diff --git a/config/auth.php b/config/auth.php
index 389f05e..8301841 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -43,7 +43,7 @@ return [
'api' => [
'driver' => 'sanctum',
'provider' => 'users',
- ]
+ ],
],
/*
diff --git a/database/seeders/KeywordsTableSeeder.php b/database/seeders/KeywordsTableSeeder.php
index f5ed874..6639426 100644
--- a/database/seeders/KeywordsTableSeeder.php
+++ b/database/seeders/KeywordsTableSeeder.php
@@ -26,33 +26,34 @@ class KeywordsTableSeeder extends Seeder
Keywords::truncate();
$list = [
['key' => 'crops-category', 'name' => '农作物产业分类', 'value' => '', 'list' => [
- ['key' => 'crops-cate-nongye', 'name' => '农业', 'type_key'=>'crops-category', 'value' => '', 'list' =>[
- ['key' => 'crops-shuidao', 'name' => '水稻', 'type_key'=>'crops-cate-nongye', 'value' => ''],
- ['key' => 'crops-papagan', 'name' => '耙耙柑', 'type_key'=>'crops-cate-nongye', 'value' => ''],
- ['key' => 'crops-aiyuan', 'name' => '爱媛', 'type_key'=>'crops-cate-nongye', 'value' => ''],
- ['key' => 'crops-buzhihuo', 'name' => '不知火', 'type_key'=>'crops-cate-nongye', 'value' => '']
+ ['key' => 'crops-cate-nongye', 'name' => '农业', 'type_key' => 'crops-category', 'value' => '', 'list' => [
+ ['key' => 'crops-shuidao', 'name' => '水稻', 'type_key' => 'crops-cate-nongye', 'value' => ''],
+ ['key' => 'crops-papagan', 'name' => '耙耙柑', 'type_key' => 'crops-cate-nongye', 'value' => ''],
+ ['key' => 'crops-aiyuan', 'name' => '爱媛', 'type_key' => 'crops-cate-nongye', 'value' => ''],
+ ['key' => 'crops-buzhihuo', 'name' => '不知火', 'type_key' => 'crops-cate-nongye', 'value' => ''],
]],
- ['key' => 'crops-cate-yuye', 'name' => '渔业', 'type_key'=>'crops-category', 'value' => '', 'list' =>[
- ['key' => 'crops-huocaoyu', 'name' => '活草鱼', 'type_key'=>'crops-cate-yuye', 'value' => ''],
- ['key' => 'crops-daoxia', 'name' => '稻虾', 'type_key'=>'crops-cate-yuye', 'value' => ''],
- ['key' => 'crops-wuyu', 'name' => '乌鱼', 'type_key'=>'crops-cate-yuye', 'value' => ''],
- ['key' => 'crops-luyu', 'name' => '鲈鱼', 'type_key'=>'crops-cate-yuye', 'value' => ''],
+ ['key' => 'crops-cate-yuye', 'name' => '渔业', 'type_key' => 'crops-category', 'value' => '', 'list' => [
+ ['key' => 'crops-huocaoyu', 'name' => '活草鱼', 'type_key' => 'crops-cate-yuye', 'value' => ''],
+ ['key' => 'crops-daoxia', 'name' => '稻虾', 'type_key' => 'crops-cate-yuye', 'value' => ''],
+ ['key' => 'crops-wuyu', 'name' => '乌鱼', 'type_key' => 'crops-cate-yuye', 'value' => ''],
+ ['key' => 'crops-luyu', 'name' => '鲈鱼', 'type_key' => 'crops-cate-yuye', 'value' => ''],
]],
- ['key' => 'crops-cate-xumuye', 'name' => '畜牧业', 'type_key'=>'crops-category', 'value' => '', 'list' => [
- ['key' => 'crops-shengzhu', 'name' => '生猪', 'type_key'=>'crops-cate-xumuye', 'value' => ''],
+ ['key' => 'crops-cate-xumuye', 'name' => '畜牧业', 'type_key' => 'crops-category', 'value' => '', 'list' => [
+ ['key' => 'crops-shengzhu', 'name' => '生猪', 'type_key' => 'crops-cate-xumuye', 'value' => ''],
]],
- ['key' => 'crops-cate-lingye', 'name' => '林业', 'type_key'=>'crops-category', 'value' => ''],
+ ['key' => 'crops-cate-lingye', 'name' => '林业', 'type_key' => 'crops-category', 'value' => ''],
]],
];
- if($list){
+ if ($list) {
$this->createKeywords($list);
}
}
- private function createKeywords($keywords, $parentType = null){
+ private function createKeywords($keywords, $parentType = null)
+ {
foreach ($keywords as $item) {
- if($parentType){
+ if ($parentType) {
$type = Keywords::create([
'name' => $item['name'],
'key' => $item['key'] ?? $parentType->key.($parentType + 1),
@@ -60,11 +61,11 @@ class KeywordsTableSeeder extends Seeder
'level' => ($parentType->level ?? 1) + 1,
'parent_id' => $parentType->id,
]);
- }else{
+ } else {
$type = Keywords::create(Arr::except($item, 'list'));
}
$list = data_get($item, 'list');
- if($list){
+ if ($list) {
$this->createKeywords($list, $type);
}
}
diff --git a/database/seeders/SettingTableSeeder.php b/database/seeders/SettingTableSeeder.php
index 0267597..20d0795 100644
--- a/database/seeders/SettingTableSeeder.php
+++ b/database/seeders/SettingTableSeeder.php
@@ -25,13 +25,13 @@ class SettingTableSeeder extends Seeder
Setting::truncate();
$time = now();
$list = [
- ['name' => '全市数据-幅员面积', 'slug'=> 'city_data_area', 'value'=>'{"value":"0", "unit":"平方公里"}'],
- ['name' => '全市数据-镇街', 'slug'=>'city_data_street', 'value' =>'{"value":"0", "unit":"个"}'],
- ['name' => '全市数据-水产品产量', 'slug'=>'city_data_water_ouput', 'value' =>'{"value":"0", "unit":"万吨"}'],
- ['name' => '全市数据-粮食产量', 'slug'=>'city_data_food_ouput', 'value' =>'{"value":"0", "unit":"万吨"}'],
- ['name' => '全市数据-人口', 'slug'=>'city_data_population', 'value' =>'{"value":"0", "unit":"万人"}'],
- ['name' => '全市数据-耕地总面积', 'slug'=>'city_data_cultivated_area', 'value' =>'{"value":"0", "unit":"万亩"}'],
- ['name' => '全市数据-生猪年出栏', 'slug'=>'city_data_pig_output', 'value' => '{"value":"0", "unit":"万头"}']
+ ['name' => '全市数据-幅员面积', 'slug' => 'city_data_area', 'value' => '{"value":"0", "unit":"平方公里"}'],
+ ['name' => '全市数据-镇街', 'slug' => 'city_data_street', 'value' => '{"value":"0", "unit":"个"}'],
+ ['name' => '全市数据-水产品产量', 'slug' => 'city_data_water_ouput', 'value' => '{"value":"0", "unit":"万吨"}'],
+ ['name' => '全市数据-粮食产量', 'slug' => 'city_data_food_ouput', 'value' => '{"value":"0", "unit":"万吨"}'],
+ ['name' => '全市数据-人口', 'slug' => 'city_data_population', 'value' => '{"value":"0", "unit":"万人"}'],
+ ['name' => '全市数据-耕地总面积', 'slug' => 'city_data_cultivated_area', 'value' => '{"value":"0", "unit":"万亩"}'],
+ ['name' => '全市数据-生猪年出栏', 'slug' => 'city_data_pig_output', 'value' => '{"value":"0", "unit":"万头"}'],
];
Setting::insert($list);
}
diff --git a/lang/en/admin.php b/lang/en/admin.php
index 66a1f7e..09b9e03 100644
--- a/lang/en/admin.php
+++ b/lang/en/admin.php
@@ -2,226 +2,226 @@
return [
'scaffold' => [
- 'header' => 'Scaffold',
- 'choose' => 'choose',
- 'table' => 'Table',
- 'model' => 'Model',
- 'controller' => 'Controller',
- 'repository' => 'Repository',
- 'add_field' => 'Add field',
- 'pk' => 'Primary key',
- 'soft_delete' => 'Soft delete',
- 'create_migration' => 'Create migration',
- 'create_model' => 'Create model',
+ 'header' => 'Scaffold',
+ 'choose' => 'choose',
+ 'table' => 'Table',
+ 'model' => 'Model',
+ 'controller' => 'Controller',
+ 'repository' => 'Repository',
+ 'add_field' => 'Add field',
+ 'pk' => 'Primary key',
+ 'soft_delete' => 'Soft delete',
+ 'create_migration' => 'Create migration',
+ 'create_model' => 'Create model',
'create_repository' => 'Create repository',
'create_controller' => 'Create controller',
- 'run_migrate' => 'Run migrate',
- 'create_lang' => 'Create lang',
- 'field' => 'field',
- 'translation' => 'translation',
- 'comment' => 'comment',
- 'default' => 'default',
- 'field_name' => 'field name',
- 'type' => 'type',
- 'nullable' => 'nullable',
- 'key' => 'key',
- 'translate_title' => 'Translate Title',
+ 'run_migrate' => 'Run migrate',
+ 'create_lang' => 'Create lang',
+ 'field' => 'field',
+ 'translation' => 'translation',
+ 'comment' => 'comment',
+ 'default' => 'default',
+ 'field_name' => 'field name',
+ 'type' => 'type',
+ 'nullable' => 'nullable',
+ 'key' => 'key',
+ 'translate_title' => 'Translate Title',
'sync_translation_with_comment' => 'Sync translation and comment',
],
'client' => [
- 'delete_confirm' => 'Are you sure to delete this item ?',
- 'confirm' => 'Confirm',
- 'cancel' => 'Cancel',
+ 'delete_confirm' => 'Are you sure to delete this item ?',
+ 'confirm' => 'Confirm',
+ 'cancel' => 'Cancel',
'refresh_succeeded' => 'Refresh succeeded !',
- 'close' => 'Close',
- 'selected_options' => ':num options selected',
- 'exceed_max_item' => 'Maximum items exceeded.',
- 'no_preview' => 'No preview available.',
+ 'close' => 'Close',
+ 'selected_options' => ':num options selected',
+ 'exceed_max_item' => 'Maximum items exceeded.',
+ 'no_preview' => 'No preview available.',
'500' => 'Internal server error !',
'403' => 'Permission deny !',
'401' => 'Unauthorized !',
'419' => 'Page expired !',
],
- 'online' => 'Online',
- 'login' => 'Login',
- 'logout' => 'Logout',
- 'setting' => 'Setting',
- 'name' => 'Name',
- 'username' => 'Username',
- 'user' => 'User',
- 'alias' => 'Alias',
- 'routes' => 'Routes',
- 'route_action' => 'Route Action',
- 'middleware' => 'Middleware',
- 'method' => 'Method',
- 'old_password' => 'Old password',
- 'password' => 'Password',
+ 'online' => 'Online',
+ 'login' => 'Login',
+ 'logout' => 'Logout',
+ 'setting' => 'Setting',
+ 'name' => 'Name',
+ 'username' => 'Username',
+ 'user' => 'User',
+ 'alias' => 'Alias',
+ 'routes' => 'Routes',
+ 'route_action' => 'Route Action',
+ 'middleware' => 'Middleware',
+ 'method' => 'Method',
+ 'old_password' => 'Old password',
+ 'password' => 'Password',
'password_confirmation' => 'Password confirmation',
- 'old_password_error' => 'Incorrect password',
- 'remember_me' => 'Remember me',
- 'user_setting' => 'User setting',
- 'avatar' => 'Avatar',
- 'list' => 'List',
- 'new' => 'New',
- 'create' => 'Create',
- 'delete' => 'Delete',
- 'remove' => 'Remove',
- 'edit' => 'Edit',
- 'quick_edit' => 'Quick Edit',
- 'view' => 'View',
- 'continue_editing' => 'Continue editing',
- 'continue_creating' => 'Continue creating',
- 'detail' => 'Detail',
- 'browse' => 'Browse',
- 'reset' => 'Reset',
- 'export' => 'Export',
- 'batch_delete' => 'Batch delete',
- 'save' => 'Save',
- 'refresh' => 'Refresh',
- 'order' => 'Order',
- 'expand' => 'Expand',
- 'collapse' => 'Collapse',
- 'filter' => 'Filter',
- 'search' => 'Search',
- 'close' => 'Close',
- 'show' => 'Show',
- 'entries' => 'entries',
- 'captcha' => 'Captcha',
- 'action' => 'Action',
- 'title' => 'Title',
- 'description' => 'Description',
- 'back' => 'Back',
- 'back_to_list' => 'Back to List',
- 'submit' => 'Submit',
- 'menu' => 'Menu',
- 'input' => 'Input',
- 'succeeded' => 'Succeeded',
- 'failed' => 'Failed',
- 'delete_confirm' => 'Are you sure to delete this item ?',
- 'delete_succeeded' => 'Delete succeeded !',
- 'delete_failed' => 'Delete failed !',
- 'update_succeeded' => 'Update succeeded !',
- 'update_failed' => 'Update failed !',
- 'save_succeeded' => 'Save succeeded !',
- 'save_failed' => 'Save failed !',
- 'refresh_succeeded' => 'Refresh succeeded !',
- 'login_successful' => 'Login successful',
- 'choose' => 'Choose',
- 'choose_file' => 'Select file',
- 'choose_image' => 'Select image',
- 'more' => 'More',
- 'deny' => 'Permission denied',
- 'administrator' => 'Administrator',
- 'no_data' => 'No data.',
- 'roles' => 'Roles',
- 'permissions' => 'Permissions',
- 'slug' => 'Slug',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'alert' => 'Alert',
- 'parent_id' => 'Parent',
- 'icon' => 'Icon',
- 'uri' => 'URI',
- 'operation_log' => 'Operation log',
- 'parent_select_error' => 'Parent select error',
- 'tree' => 'Tree',
- 'table' => 'Table',
- 'default' => 'Default',
- 'import' => 'Import',
- 'is_not_import' => 'No',
- 'selected_options' => ':num options selected',
- 'pagination' => [
+ 'old_password_error' => 'Incorrect password',
+ 'remember_me' => 'Remember me',
+ 'user_setting' => 'User setting',
+ 'avatar' => 'Avatar',
+ 'list' => 'List',
+ 'new' => 'New',
+ 'create' => 'Create',
+ 'delete' => 'Delete',
+ 'remove' => 'Remove',
+ 'edit' => 'Edit',
+ 'quick_edit' => 'Quick Edit',
+ 'view' => 'View',
+ 'continue_editing' => 'Continue editing',
+ 'continue_creating' => 'Continue creating',
+ 'detail' => 'Detail',
+ 'browse' => 'Browse',
+ 'reset' => 'Reset',
+ 'export' => 'Export',
+ 'batch_delete' => 'Batch delete',
+ 'save' => 'Save',
+ 'refresh' => 'Refresh',
+ 'order' => 'Order',
+ 'expand' => 'Expand',
+ 'collapse' => 'Collapse',
+ 'filter' => 'Filter',
+ 'search' => 'Search',
+ 'close' => 'Close',
+ 'show' => 'Show',
+ 'entries' => 'entries',
+ 'captcha' => 'Captcha',
+ 'action' => 'Action',
+ 'title' => 'Title',
+ 'description' => 'Description',
+ 'back' => 'Back',
+ 'back_to_list' => 'Back to List',
+ 'submit' => 'Submit',
+ 'menu' => 'Menu',
+ 'input' => 'Input',
+ 'succeeded' => 'Succeeded',
+ 'failed' => 'Failed',
+ 'delete_confirm' => 'Are you sure to delete this item ?',
+ 'delete_succeeded' => 'Delete succeeded !',
+ 'delete_failed' => 'Delete failed !',
+ 'update_succeeded' => 'Update succeeded !',
+ 'update_failed' => 'Update failed !',
+ 'save_succeeded' => 'Save succeeded !',
+ 'save_failed' => 'Save failed !',
+ 'refresh_succeeded' => 'Refresh succeeded !',
+ 'login_successful' => 'Login successful',
+ 'choose' => 'Choose',
+ 'choose_file' => 'Select file',
+ 'choose_image' => 'Select image',
+ 'more' => 'More',
+ 'deny' => 'Permission denied',
+ 'administrator' => 'Administrator',
+ 'no_data' => 'No data.',
+ 'roles' => 'Roles',
+ 'permissions' => 'Permissions',
+ 'slug' => 'Slug',
+ 'created_at' => 'Created At',
+ 'updated_at' => 'Updated At',
+ 'alert' => 'Alert',
+ 'parent_id' => 'Parent',
+ 'icon' => 'Icon',
+ 'uri' => 'URI',
+ 'operation_log' => 'Operation log',
+ 'parent_select_error' => 'Parent select error',
+ 'tree' => 'Tree',
+ 'table' => 'Table',
+ 'default' => 'Default',
+ 'import' => 'Import',
+ 'is_not_import' => 'No',
+ 'selected_options' => ':num options selected',
+ 'pagination' => [
'range' => 'Showing :first to :last of :total entries',
],
- 'role' => 'Role',
- 'permission' => 'Permission',
- 'route' => 'Route',
- 'confirm' => 'Confirm',
- 'cancel' => 'Cancel',
- 'selectall' => 'Select all',
- 'http' => [
+ 'role' => 'Role',
+ 'permission' => 'Permission',
+ 'route' => 'Route',
+ 'confirm' => 'Confirm',
+ 'cancel' => 'Cancel',
+ 'selectall' => 'Select all',
+ 'http' => [
'method' => 'HTTP method',
- 'path' => 'HTTP path',
+ 'path' => 'HTTP path',
],
- 'all_methods_if_empty' => 'All methods if empty',
- 'all' => 'All',
- 'current_page' => 'Current page',
- 'selected_rows' => 'Selected rows',
- 'upload' => 'Upload',
- 'new_folder' => 'New folder',
- 'time' => 'Time',
- 'size' => 'Size',
- 'between_start' => 'Start',
- 'between_end' => 'End',
- 'next_page' => 'Next',
- 'prev_page' => 'Previous',
- 'next_step' => 'Next',
- 'prev_step' => 'Previous',
- 'done' => 'Done',
- 'listbox' => [
- 'text_total' => 'Showing all {0}',
- 'text_empty' => 'Empty list',
- 'filtered' => '{0} / {1}',
- 'filter_clear' => 'Show all',
+ 'all_methods_if_empty' => 'All methods if empty',
+ 'all' => 'All',
+ 'current_page' => 'Current page',
+ 'selected_rows' => 'Selected rows',
+ 'upload' => 'Upload',
+ 'new_folder' => 'New folder',
+ 'time' => 'Time',
+ 'size' => 'Size',
+ 'between_start' => 'Start',
+ 'between_end' => 'End',
+ 'next_page' => 'Next',
+ 'prev_page' => 'Previous',
+ 'next_step' => 'Next',
+ 'prev_step' => 'Previous',
+ 'done' => 'Done',
+ 'listbox' => [
+ 'text_total' => 'Showing all {0}',
+ 'text_empty' => 'Empty list',
+ 'filtered' => '{0} / {1}',
+ 'filter_clear' => 'Show all',
'filter_placeholder' => 'Filter',
],
'responsive' => [
'display_all' => 'Display all',
- 'display' => 'Display',
- 'focus' => 'Focus',
+ 'display' => 'Display',
+ 'focus' => 'Focus',
],
'uploader' => [
- 'add_new_media' => 'Browse',
- 'drag_file' => 'Or drag file here',
- 'max_file_limit' => 'The :attribute may not be greater than :max.',
- 'exceed_size' => 'Exceeds the maximum file-size',
- 'interrupt' => 'Interrupt',
- 'upload_failed' => 'Upload failed! Please try again.',
- 'selected_files' => ':num files selected,size: :size。',
- 'selected_has_failed' => 'Uploaded: :success, failed: :fail, retry or ignore',
- 'selected_success' => ':num(:size) files selected, Uploaded: :success.',
- 'dot' => ', ',
- 'failed_num' => 'failed::fail.',
- 'pause_upload' => 'Pause',
- 'go_on_upload' => 'Go On',
- 'start_upload' => 'Upload',
+ 'add_new_media' => 'Browse',
+ 'drag_file' => 'Or drag file here',
+ 'max_file_limit' => 'The :attribute may not be greater than :max.',
+ 'exceed_size' => 'Exceeds the maximum file-size',
+ 'interrupt' => 'Interrupt',
+ 'upload_failed' => 'Upload failed! Please try again.',
+ 'selected_files' => ':num files selected,size: :size。',
+ 'selected_has_failed' => 'Uploaded: :success, failed: :fail, retry or ignore',
+ 'selected_success' => ':num(:size) files selected, Uploaded: :success.',
+ 'dot' => ', ',
+ 'failed_num' => 'failed::fail.',
+ 'pause_upload' => 'Pause',
+ 'go_on_upload' => 'Go On',
+ 'start_upload' => 'Upload',
'upload_success_message' => ':success files uploaded successfully',
- 'go_on_add' => 'New File',
- 'Q_TYPE_DENIED' => 'Sorry, the type of this file is not allowed!',
- 'Q_EXCEED_NUM_LIMIT' => 'Sorry, maximum number of allowable file uploads has been exceeded!',
- 'F_EXCEED_SIZE' => 'Sorry,the maximum file-size has been exceeded!',
- 'Q_EXCEED_SIZE_LIMIT' => 'Sorry, the maximum file-size has been exceeded!',
- 'F_DUPLICATE' => 'Duplicate file.',
- 'confirm_delete_file' => 'Are you sure delete this file from server?',
- 'dimensions' => 'The image dimensions is invalid.',
+ 'go_on_add' => 'New File',
+ 'Q_TYPE_DENIED' => 'Sorry, the type of this file is not allowed!',
+ 'Q_EXCEED_NUM_LIMIT' => 'Sorry, maximum number of allowable file uploads has been exceeded!',
+ 'F_EXCEED_SIZE' => 'Sorry,the maximum file-size has been exceeded!',
+ 'Q_EXCEED_SIZE_LIMIT' => 'Sorry, the maximum file-size has been exceeded!',
+ 'F_DUPLICATE' => 'Duplicate file.',
+ 'confirm_delete_file' => 'Are you sure delete this file from server?',
+ 'dimensions' => 'The image dimensions is invalid.',
],
- 'import_extension_confirm' => 'Are you sure import the extension?',
- 'quick_create' => 'Quick create',
- 'grid_items_selected' => '{n} items selected',
- 'nothing_updated' => 'Nothing has been updated.',
- 'welcome_back' => 'Welcome back, please login to your account.',
- 'documentation' => 'Documentation',
- 'demo' => 'Demo',
- 'extensions' => 'Extensions',
- 'version' => 'Version',
- 'current_version' => 'Current version',
- 'latest_version' => 'Latest version',
- 'upgrade_to_version' => 'Upgrade to version :version',
- 'enable' => 'Enable',
- 'disable' => 'Disable',
- 'uninstall' => 'Uninstall',
- 'confirm_uninstall' => 'Please confirm that you wish to uninstall this extension. This may result in potential data loss.',
- 'marketplace' => 'Marketplace',
- 'theme' => 'Theme',
- 'application' => 'Application',
- 'install_from_local' => 'Install From Local',
- 'install_succeeded' => 'Install succeeded !',
+ 'import_extension_confirm' => 'Are you sure import the extension?',
+ 'quick_create' => 'Quick create',
+ 'grid_items_selected' => '{n} items selected',
+ 'nothing_updated' => 'Nothing has been updated.',
+ 'welcome_back' => 'Welcome back, please login to your account.',
+ 'documentation' => 'Documentation',
+ 'demo' => 'Demo',
+ 'extensions' => 'Extensions',
+ 'version' => 'Version',
+ 'current_version' => 'Current version',
+ 'latest_version' => 'Latest version',
+ 'upgrade_to_version' => 'Upgrade to version :version',
+ 'enable' => 'Enable',
+ 'disable' => 'Disable',
+ 'uninstall' => 'Uninstall',
+ 'confirm_uninstall' => 'Please confirm that you wish to uninstall this extension. This may result in potential data loss.',
+ 'marketplace' => 'Marketplace',
+ 'theme' => 'Theme',
+ 'application' => 'Application',
+ 'install_from_local' => 'Install From Local',
+ 'install_succeeded' => 'Install succeeded !',
'invalid_extension_package' => 'Invalid extension package !',
- 'copied' => 'Copied',
- 'auth_failed' => 'These credentials do not match our records.',
- 'validation' => [
- 'match' => 'The :attribute and :other must match.',
+ 'copied' => 'Copied',
+ 'auth_failed' => 'These credentials do not match our records.',
+ 'validation' => [
+ 'match' => 'The :attribute and :other must match.',
'minlength' => 'The :attribute must be at least :min characters.',
'maxlength' => 'The :attribute may not be greater than :max characters.',
],
diff --git a/lang/zh_CN/admin.php b/lang/zh_CN/admin.php
index 142a0da..62d3750 100644
--- a/lang/zh_CN/admin.php
+++ b/lang/zh_CN/admin.php
@@ -2,227 +2,227 @@
return [
'scaffold' => [
- 'header' => '代码生成器',
- 'choose' => '选择已有数据表',
- 'table' => '表名',
- 'model' => '模型',
- 'controller' => '控制器',
- 'repository' => '数据仓库',
- 'add_field' => '添加字段',
- 'pk' => '主键',
- 'soft_delete' => '软删除',
- 'create_migration' => '创建表迁移文件',
- 'create_model' => '创建模型',
+ 'header' => '代码生成器',
+ 'choose' => '选择已有数据表',
+ 'table' => '表名',
+ 'model' => '模型',
+ 'controller' => '控制器',
+ 'repository' => '数据仓库',
+ 'add_field' => '添加字段',
+ 'pk' => '主键',
+ 'soft_delete' => '软删除',
+ 'create_migration' => '创建表迁移文件',
+ 'create_model' => '创建模型',
'create_repository' => '创建数据仓库',
'create_controller' => '创建控制器',
- 'run_migrate' => '执行迁移文件',
- 'create_lang' => '创建翻译文件',
- 'field' => '字段',
- 'translation' => '翻译',
- 'comment' => '注释',
- 'default' => '默认值',
- 'field_name' => '字段名',
- 'type' => '类型',
- 'nullable' => '允许空值',
- 'key' => '索引',
- 'translate_title' => '翻译标题',
+ 'run_migrate' => '执行迁移文件',
+ 'create_lang' => '创建翻译文件',
+ 'field' => '字段',
+ 'translation' => '翻译',
+ 'comment' => '注释',
+ 'default' => '默认值',
+ 'field_name' => '字段名',
+ 'type' => '类型',
+ 'nullable' => '允许空值',
+ 'key' => '索引',
+ 'translate_title' => '翻译标题',
'sync_translation_with_comment' => '同步翻译与注释',
],
'client' => [
- 'delete_confirm' => '确认删除?',
- 'confirm' => '确认',
- 'cancel' => '取消',
+ 'delete_confirm' => '确认删除?',
+ 'confirm' => '确认',
+ 'cancel' => '取消',
'refresh_succeeded' => '刷新成功 !',
- 'submit' => '提交',
- 'close' => '关闭',
- 'selected_options' => '已选中:num个选项',
- 'exceed_max_item' => '已超出最大可选数量',
- 'no_preview' => '预览失败',
+ 'submit' => '提交',
+ 'close' => '关闭',
+ 'selected_options' => '已选中:num个选项',
+ 'exceed_max_item' => '已超出最大可选数量',
+ 'no_preview' => '预览失败',
'500' => '系统繁忙,请稍后再试!',
'403' => '对不起,您没有权限访问,请与管理员联系。',
'401' => '请登录!',
'419' => '对不起,当前页面已失效,请刷新浏览器。',
],
- 'home' => '主页',
- 'online' => '在线',
- 'login' => '登录',
- 'logout' => '登出',
- 'setting' => '设置',
- 'name' => '名称',
- 'username' => '用户名',
- 'old_password' => '旧密码',
- 'password' => '密码',
+ 'home' => '主页',
+ 'online' => '在线',
+ 'login' => '登录',
+ 'logout' => '登出',
+ 'setting' => '设置',
+ 'name' => '名称',
+ 'username' => '用户名',
+ 'old_password' => '旧密码',
+ 'password' => '密码',
'password_confirmation' => '确认密码',
- 'old_password_error' => '请输入正确的旧密码',
- 'remember_me' => '记住我',
- 'user_setting' => '用户设置',
- 'avatar' => '头像',
- 'list' => '列表',
- 'new' => '新增',
- 'create' => '创建',
- 'delete' => '删除',
- 'remove' => '移除',
- 'edit' => '编辑',
- 'quick_edit' => '快捷编辑',
- 'continue_editing' => '继续编辑',
- 'continue_creating' => '继续创建',
- 'view' => '查看',
- 'detail' => '详细',
- 'browse' => '浏览',
- 'reset' => '重置',
- 'export' => '导出',
- 'batch_delete' => '批量删除',
- 'save' => '保存',
- 'refresh' => '刷新',
- 'order' => '排序',
- 'expand' => '展开',
- 'collapse' => '收起',
- 'filter' => '筛选',
- 'search' => '搜索',
- 'close' => '关闭',
- 'show' => '显示',
- 'entries' => '条',
- 'captcha' => '验证码',
- 'action' => '操作',
- 'title' => '标题',
- 'description' => '简介',
- 'back' => '返回',
- 'back_to_list' => '返回列表',
- 'submit' => '提交',
- 'menu' => '菜单',
- 'input' => '输入',
- 'succeeded' => '成功',
- 'failed' => '失败',
- 'delete_confirm' => '确认删除?',
- 'delete_succeeded' => '删除成功 !',
- 'delete_failed' => '删除失败 !',
- 'update_succeeded' => '更新成功 !',
- 'update_failed' => '更新失败 !',
- 'save_succeeded' => '保存成功 !',
- 'save_failed' => '保存失败 !',
- 'refresh_succeeded' => '刷新成功 !',
- 'login_successful' => '登录成功 !',
- 'choose' => '选择',
- 'choose_file' => '选择文件',
- 'choose_image' => '选择图片',
- 'more' => '更多',
- 'deny' => '无权访问',
- 'administrator' => '管理员',
- 'roles' => '角色',
- 'permissions' => '权限',
- 'slug' => '标识',
- 'created_at' => '创建时间',
- 'updated_at' => '更新时间',
- 'alert' => '注意',
- 'parent_id' => '父级',
- 'icon' => '图标',
- 'uri' => '路径',
- 'operation_log' => '操作日志',
- 'parent_select_error' => '父级选择错误',
- 'default' => '默认',
- 'table' => '表格',
- 'no_data' => '暂无数据',
- 'routes' => '路由',
- 'alias' => '别名',
- 'route_action' => '处理器',
- 'middleware' => '中间件',
- 'import' => '导入',
- 'is_not_import' => '未导入',
- 'selected_options' => '已选中:num个选项',
- 'method' => '方法',
- 'user' => '用户',
- 'pagination' => [
+ 'old_password_error' => '请输入正确的旧密码',
+ 'remember_me' => '记住我',
+ 'user_setting' => '用户设置',
+ 'avatar' => '头像',
+ 'list' => '列表',
+ 'new' => '新增',
+ 'create' => '创建',
+ 'delete' => '删除',
+ 'remove' => '移除',
+ 'edit' => '编辑',
+ 'quick_edit' => '快捷编辑',
+ 'continue_editing' => '继续编辑',
+ 'continue_creating' => '继续创建',
+ 'view' => '查看',
+ 'detail' => '详细',
+ 'browse' => '浏览',
+ 'reset' => '重置',
+ 'export' => '导出',
+ 'batch_delete' => '批量删除',
+ 'save' => '保存',
+ 'refresh' => '刷新',
+ 'order' => '排序',
+ 'expand' => '展开',
+ 'collapse' => '收起',
+ 'filter' => '筛选',
+ 'search' => '搜索',
+ 'close' => '关闭',
+ 'show' => '显示',
+ 'entries' => '条',
+ 'captcha' => '验证码',
+ 'action' => '操作',
+ 'title' => '标题',
+ 'description' => '简介',
+ 'back' => '返回',
+ 'back_to_list' => '返回列表',
+ 'submit' => '提交',
+ 'menu' => '菜单',
+ 'input' => '输入',
+ 'succeeded' => '成功',
+ 'failed' => '失败',
+ 'delete_confirm' => '确认删除?',
+ 'delete_succeeded' => '删除成功 !',
+ 'delete_failed' => '删除失败 !',
+ 'update_succeeded' => '更新成功 !',
+ 'update_failed' => '更新失败 !',
+ 'save_succeeded' => '保存成功 !',
+ 'save_failed' => '保存失败 !',
+ 'refresh_succeeded' => '刷新成功 !',
+ 'login_successful' => '登录成功 !',
+ 'choose' => '选择',
+ 'choose_file' => '选择文件',
+ 'choose_image' => '选择图片',
+ 'more' => '更多',
+ 'deny' => '无权访问',
+ 'administrator' => '管理员',
+ 'roles' => '角色',
+ 'permissions' => '权限',
+ 'slug' => '标识',
+ 'created_at' => '创建时间',
+ 'updated_at' => '更新时间',
+ 'alert' => '注意',
+ 'parent_id' => '父级',
+ 'icon' => '图标',
+ 'uri' => '路径',
+ 'operation_log' => '操作日志',
+ 'parent_select_error' => '父级选择错误',
+ 'default' => '默认',
+ 'table' => '表格',
+ 'no_data' => '暂无数据',
+ 'routes' => '路由',
+ 'alias' => '别名',
+ 'route_action' => '处理器',
+ 'middleware' => '中间件',
+ 'import' => '导入',
+ 'is_not_import' => '未导入',
+ 'selected_options' => '已选中:num个选项',
+ 'method' => '方法',
+ 'user' => '用户',
+ 'pagination' => [
'range' => '从 :first 到 :last ,总共 :total 条',
],
- 'role' => '角色',
- 'permission' => '权限',
- 'route' => '路由',
- 'confirm' => '确认',
- 'cancel' => '取消',
- 'selectall' => '全选',
- 'http' => [
+ 'role' => '角色',
+ 'permission' => '权限',
+ 'route' => '路由',
+ 'confirm' => '确认',
+ 'cancel' => '取消',
+ 'selectall' => '全选',
+ 'http' => [
'method' => 'HTTP方法',
- 'path' => 'HTTP路径',
+ 'path' => 'HTTP路径',
],
- 'all_methods_if_empty' => '为空默认为所有方法',
- 'all' => '全部',
- 'current_page' => '当前页',
- 'selected_rows' => '选择的行',
- 'upload' => '上传',
- 'new_folder' => '新建文件夹',
- 'time' => '时间',
- 'size' => '大小',
- 'between_start' => '起始',
- 'between_end' => '结束',
- 'next_page' => '下一页',
- 'prev_page' => '上一页',
- 'next_step' => '下一步',
- 'prev_step' => '上一步',
- 'done' => '完成',
- 'listbox' => [
- 'text_total' => '总共 {0} 项',
- 'text_empty' => '空列表',
- 'filtered' => '{0} / {1}',
- 'filter_clear' => '显示全部',
+ 'all_methods_if_empty' => '为空默认为所有方法',
+ 'all' => '全部',
+ 'current_page' => '当前页',
+ 'selected_rows' => '选择的行',
+ 'upload' => '上传',
+ 'new_folder' => '新建文件夹',
+ 'time' => '时间',
+ 'size' => '大小',
+ 'between_start' => '起始',
+ 'between_end' => '结束',
+ 'next_page' => '下一页',
+ 'prev_page' => '上一页',
+ 'next_step' => '下一步',
+ 'prev_step' => '上一步',
+ 'done' => '完成',
+ 'listbox' => [
+ 'text_total' => '总共 {0} 项',
+ 'text_empty' => '空列表',
+ 'filtered' => '{0} / {1}',
+ 'filter_clear' => '显示全部',
'filter_placeholder' => '过滤',
],
- 'responsive' => [
+ 'responsive' => [
'display_all' => '显示全部',
- 'display' => '字段',
- 'focus' => '聚焦',
+ 'display' => '字段',
+ 'focus' => '聚焦',
],
'uploader' => [
- 'add_new_media' => '添加文件',
- 'drag_file' => '或将文件拖到这里',
- 'max_file_limit' => 'The :attribute may not be greater than :max.',
- 'exceed_size' => '文件大小超出',
- 'interrupt' => '上传暂停',
- 'upload_failed' => '上传失败,请重试',
- 'selected_files' => '选中:num个文件,共:size。',
- 'selected_has_failed' => '已成功上传:success个文件,:fail个文件上传失败,重新上传失败文件或忽略',
- 'selected_success' => '共:num个(:size),已上传:success个。',
- 'dot' => ',',
- 'failed_num' => '失败:fail个。',
- 'pause_upload' => '暂停上传',
- 'go_on_upload' => '继续上传',
- 'start_upload' => '开始上传',
+ 'add_new_media' => '添加文件',
+ 'drag_file' => '或将文件拖到这里',
+ 'max_file_limit' => 'The :attribute may not be greater than :max.',
+ 'exceed_size' => '文件大小超出',
+ 'interrupt' => '上传暂停',
+ 'upload_failed' => '上传失败,请重试',
+ 'selected_files' => '选中:num个文件,共:size。',
+ 'selected_has_failed' => '已成功上传:success个文件,:fail个文件上传失败,重新上传失败文件或忽略',
+ 'selected_success' => '共:num个(:size),已上传:success个。',
+ 'dot' => ',',
+ 'failed_num' => '失败:fail个。',
+ 'pause_upload' => '暂停上传',
+ 'go_on_upload' => '继续上传',
+ 'start_upload' => '开始上传',
'upload_success_message' => '已成功上传:success个文件',
- 'go_on_add' => '继续添加',
- 'Q_TYPE_DENIED' => '对不起,不允许上传此类型文件',
- 'Q_EXCEED_NUM_LIMIT' => '对不起,已超出文件上传数量限制,最多只能上传:num个文件',
- 'F_EXCEED_SIZE' => '对不起,当前选择的文件过大',
- 'Q_EXCEED_SIZE_LIMIT' => '对不起,已超出文件大小限制',
- 'F_DUPLICATE' => '文件重复',
- 'confirm_delete_file' => '您确定要删除这个文件吗?',
- 'dimensions' => '图片规格不正确',
+ 'go_on_add' => '继续添加',
+ 'Q_TYPE_DENIED' => '对不起,不允许上传此类型文件',
+ 'Q_EXCEED_NUM_LIMIT' => '对不起,已超出文件上传数量限制,最多只能上传:num个文件',
+ 'F_EXCEED_SIZE' => '对不起,当前选择的文件过大',
+ 'Q_EXCEED_SIZE_LIMIT' => '对不起,已超出文件大小限制',
+ 'F_DUPLICATE' => '文件重复',
+ 'confirm_delete_file' => '您确定要删除这个文件吗?',
+ 'dimensions' => '图片规格不正确',
],
- 'import_extension_confirm' => '确认导入拓展?',
- 'quick_create' => '快速创建',
- 'grid_items_selected' => '已选择 {n} 项',
- 'nothing_updated' => '没有任何数据被更改',
- 'welcome_back' => '欢迎回来,请登录您的账号。',
- 'documentation' => '文档',
- 'demo' => '示例',
- 'extensions' => '扩展',
- 'version' => '版本',
- 'current_version' => '当前版本',
- 'latest_version' => '最新版本',
- 'upgrade_to_version' => '更新至版本 :version',
- 'enable' => '启用',
- 'disable' => '禁用',
- 'uninstall' => '卸载',
- 'confirm_uninstall' => '您确定要卸载当前扩展吗?此操作将会移除扩展数据!',
- 'marketplace' => '应用市场',
- 'theme' => '主题',
- 'application' => '应用',
- 'install_from_local' => '本地安装',
- 'install_succeeded' => '安装成功',
+ 'import_extension_confirm' => '确认导入拓展?',
+ 'quick_create' => '快速创建',
+ 'grid_items_selected' => '已选择 {n} 项',
+ 'nothing_updated' => '没有任何数据被更改',
+ 'welcome_back' => '欢迎回来,请登录您的账号。',
+ 'documentation' => '文档',
+ 'demo' => '示例',
+ 'extensions' => '扩展',
+ 'version' => '版本',
+ 'current_version' => '当前版本',
+ 'latest_version' => '最新版本',
+ 'upgrade_to_version' => '更新至版本 :version',
+ 'enable' => '启用',
+ 'disable' => '禁用',
+ 'uninstall' => '卸载',
+ 'confirm_uninstall' => '您确定要卸载当前扩展吗?此操作将会移除扩展数据!',
+ 'marketplace' => '应用市场',
+ 'theme' => '主题',
+ 'application' => '应用',
+ 'install_from_local' => '本地安装',
+ 'install_succeeded' => '安装成功',
'invalid_extension_package' => '安装包异常',
- 'copied' => '已复制',
- 'auth_failed' => '账号或密码错误',
- 'validation' => [
- 'match' => '与 :attribute 不匹配。',
+ 'copied' => '已复制',
+ 'auth_failed' => '账号或密码错误',
+ 'validation' => [
+ 'match' => '与 :attribute 不匹配。',
'minlength' => ':attribute 字符长度不能少于 :min。',
'maxlength' => ':attribute 字符长度不能超出 :max。',
],
diff --git a/lang/zh_CN/extension.php b/lang/zh_CN/extension.php
index d311ca2..6869017 100644
--- a/lang/zh_CN/extension.php
+++ b/lang/zh_CN/extension.php
@@ -5,17 +5,17 @@ return [
'Extensions' => '扩展',
],
'fields' => [
- 'alias' => '别名',
+ 'alias' => '别名',
'description' => '描述',
- 'authors' => '开发者',
- 'homepage' => '主页',
- 'require' => '依赖',
+ 'authors' => '开发者',
+ 'homepage' => '主页',
+ 'require' => '依赖',
'require_dev' => '开发环境依赖',
- 'name' => '包名',
- 'version' => '版本',
- 'enable' => '启用',
- 'config' => '配置',
- 'imported' => '导入',
+ 'name' => '包名',
+ 'version' => '版本',
+ 'enable' => '启用',
+ 'config' => '配置',
+ 'imported' => '导入',
],
'options' => [
],
diff --git a/lang/zh_CN/global.php b/lang/zh_CN/global.php
index 9f9af97..258c90f 100644
--- a/lang/zh_CN/global.php
+++ b/lang/zh_CN/global.php
@@ -2,33 +2,33 @@
return [
'fields' => [
- 'id' => 'ID',
- 'name' => '名称',
- 'username' => '用户名',
- 'email' => '邮箱',
- 'http_path' => 'HTTP路径',
- 'password' => '密码',
+ 'id' => 'ID',
+ 'name' => '名称',
+ 'username' => '用户名',
+ 'email' => '邮箱',
+ 'http_path' => 'HTTP路径',
+ 'password' => '密码',
'password_confirmation' => '确认密码',
- 'created_at' => '创建时间',
- 'updated_at' => '更新时间',
- 'permissions' => '权限',
- 'slug' => '标识',
- 'user' => '用户',
- 'order' => '排序',
- 'ip' => 'IP',
- 'method' => '方法',
- 'uri' => 'URI',
- 'roles' => '角色',
- 'path' => '路径',
- 'input' => '输入',
- 'type' => '类型',
+ 'created_at' => '创建时间',
+ 'updated_at' => '更新时间',
+ 'permissions' => '权限',
+ 'slug' => '标识',
+ 'user' => '用户',
+ 'order' => '排序',
+ 'ip' => 'IP',
+ 'method' => '方法',
+ 'uri' => 'URI',
+ 'roles' => '角色',
+ 'path' => '路径',
+ 'input' => '输入',
+ 'type' => '类型',
],
'labels' => [
- 'list' => '列表',
- 'edit' => '编辑',
- 'detail' => '详细',
- 'create' => '创建',
- 'root' => '顶级',
+ 'list' => '列表',
+ 'edit' => '编辑',
+ 'detail' => '详细',
+ 'create' => '创建',
+ 'root' => '顶级',
'scaffold' => '代码生成器',
],
'options' => [
diff --git a/lang/zh_CN/menu.php b/lang/zh_CN/menu.php
index acf6627..42715f9 100644
--- a/lang/zh_CN/menu.php
+++ b/lang/zh_CN/menu.php
@@ -2,16 +2,16 @@
return [
'titles' => [
- 'index' => '主页',
- 'admin' => '系统',
- 'users' => '管理员',
- 'roles' => '角色',
- 'permission' => '权限',
- 'menu' => '菜单',
+ 'index' => '主页',
+ 'admin' => '系统',
+ 'users' => '管理员',
+ 'roles' => '角色',
+ 'permission' => '权限',
+ 'menu' => '菜单',
'operation_log' => '操作日志',
- 'helpers' => '开发工具',
- 'extensions' => '扩展',
- 'scaffold' => '代码生成器',
- 'icons' => '图标',
+ 'helpers' => '开发工具',
+ 'extensions' => '扩展',
+ 'scaffold' => '代码生成器',
+ 'icons' => '图标',
],
];
diff --git a/lang/zh_TW/admin.php b/lang/zh_TW/admin.php
index a9f499a..f71c4a0 100644
--- a/lang/zh_TW/admin.php
+++ b/lang/zh_TW/admin.php
@@ -2,227 +2,227 @@
return [
'scaffold' => [
- 'header' => '代碼生成器',
- 'choose' => '選擇已有數據表',
- 'table' => '表名',
- 'model' => '模型',
- 'controller' => '控制器',
- 'repository' => '數據倉庫',
- 'add_field' => '添加欄位',
- 'pk' => '主鍵',
- 'soft_delete' => '軟刪除',
- 'create_migration' => '創建表遷移文件',
- 'create_model' => '創建模型',
+ 'header' => '代碼生成器',
+ 'choose' => '選擇已有數據表',
+ 'table' => '表名',
+ 'model' => '模型',
+ 'controller' => '控制器',
+ 'repository' => '數據倉庫',
+ 'add_field' => '添加欄位',
+ 'pk' => '主鍵',
+ 'soft_delete' => '軟刪除',
+ 'create_migration' => '創建表遷移文件',
+ 'create_model' => '創建模型',
'create_repository' => '創建數據倉庫',
'create_controller' => '創建控制器',
- 'run_migrate' => '執行遷移文件',
- 'create_lang' => '創建翻譯文件',
- 'field' => '欄位',
- 'translation' => '翻譯',
- 'comment' => '註解',
- 'default' => '預設值',
- 'field_name' => '欄位名',
- 'type' => '類型',
- 'nullable' => '允許null',
- 'key' => '索引',
- 'translate_title' => '翻譯標題',
+ 'run_migrate' => '執行遷移文件',
+ 'create_lang' => '創建翻譯文件',
+ 'field' => '欄位',
+ 'translation' => '翻譯',
+ 'comment' => '註解',
+ 'default' => '預設值',
+ 'field_name' => '欄位名',
+ 'type' => '類型',
+ 'nullable' => '允許null',
+ 'key' => '索引',
+ 'translate_title' => '翻譯標題',
'sync_translation_with_comment' => '同步翻譯與註釋',
],
'client' => [
- 'delete_confirm' => '確認刪除?',
- 'confirm' => '確認',
- 'cancel' => '取消',
+ 'delete_confirm' => '確認刪除?',
+ 'confirm' => '確認',
+ 'cancel' => '取消',
'refresh_succeeded' => '刷新成功!',
- 'close' => '關閉',
- 'submit' => '提交',
- 'selected_options' => '已選中:num個選項',
- 'exceed_max_item' => '已超出最大可選數量',
- 'no_preview' => '預覽失敗',
+ 'close' => '關閉',
+ 'submit' => '提交',
+ 'selected_options' => '已選中:num個選項',
+ 'exceed_max_item' => '已超出最大可選數量',
+ 'no_preview' => '預覽失敗',
'500' => '系統繁忙,請稍後再試!',
'403' => '對不起,您無訪問權限,請聯繫管理員。',
'401' => '請先登入!',
'419' => '對不起,當前頁面已失效,請刷新瀏覽器。',
],
- 'home' => '首頁',
- 'online' => '在線',
- 'login' => '登入',
- 'logout' => '登出',
- 'setting' => '設置',
- 'name' => '名稱',
- 'username' => '用戶名',
- 'old_password' => '舊密碼',
- 'password' => '密碼',
+ 'home' => '首頁',
+ 'online' => '在線',
+ 'login' => '登入',
+ 'logout' => '登出',
+ 'setting' => '設置',
+ 'name' => '名稱',
+ 'username' => '用戶名',
+ 'old_password' => '舊密碼',
+ 'password' => '密碼',
'password_confirmation' => '確認密碼',
- 'old_password_error' => '舊密碼輸入錯誤',
- 'remember_me' => '記住我',
- 'user_setting' => '用戶設置',
- 'avatar' => '頭像',
- 'list' => '列表',
- 'new' => '新增',
- 'create' => '創建',
- 'delete' => '刪除',
- 'remove' => '移除',
- 'edit' => '編輯',
- 'quick_edit' => '快速編輯',
- 'continue_editing' => '繼續編輯',
- 'continue_creating' => '繼續新增',
- 'view' => '查看',
- 'detail' => '詳細',
- 'browse' => '瀏覽',
- 'reset' => '重置',
- 'export' => '匯出',
- 'batch_delete' => '批次刪除',
- 'save' => '儲存',
- 'refresh' => '重新整理',
- 'order' => '排序',
- 'expand' => '展開',
- 'collapse' => '收起',
- 'filter' => '篩選',
- 'search' => '搜索',
- 'close' => '關閉',
- 'show' => '詳情',
- 'entries' => '條',
- 'captcha' => '驗證碼',
- 'action' => '操作',
- 'title' => '標題',
- 'description' => '簡介',
- 'back' => '返回',
- 'back_to_list' => '返回列表',
- 'submit' => '送出',
- 'menu' => '目錄',
- 'input' => '輸入',
- 'succeeded' => '成功',
- 'failed' => '失敗',
- 'delete_confirm' => '確認刪除?',
- 'delete_succeeded' => '刪除成功!',
- 'delete_failed' => '刪除失敗!',
- 'update_succeeded' => '更新成功!',
- 'update_failed' => '更新失敗 !',
- 'save_succeeded' => '儲存成功!',
- 'save_failed' => '儲存失敗 !',
- 'refresh_succeeded' => '刷新成功!',
- 'login_successful' => '登入成功!',
- 'choose' => '選擇',
- 'choose_file' => '選擇檔案',
- 'choose_image' => '選擇圖片',
- 'more' => '更多',
- 'deny' => '權限不足',
- 'administrator' => '管理員',
- 'roles' => '角色',
- 'permissions' => '權限',
- 'slug' => '標誌',
- 'created_at' => '建立時間',
- 'updated_at' => '更新時間',
- 'alert' => '警告',
- 'parent_id' => '父級',
- 'icon' => '圖示',
- 'uri' => '路徑',
- 'operation_log' => '操作記錄',
- 'parent_select_error' => '父級選擇錯誤',
- 'default' => '預設',
- 'table' => '表格',
- 'no_data' => '暫無數據',
- 'routes' => '路由',
- 'alias' => '別名',
- 'route_action' => '處理器',
- 'middleware' => '中間件',
- 'import' => '導入',
- 'is_not_import' => '未導入',
- 'selected_options' => '已選中:num個選項',
- 'method' => '方法',
- 'user' => '用戶',
- 'pagination' => [
+ 'old_password_error' => '舊密碼輸入錯誤',
+ 'remember_me' => '記住我',
+ 'user_setting' => '用戶設置',
+ 'avatar' => '頭像',
+ 'list' => '列表',
+ 'new' => '新增',
+ 'create' => '創建',
+ 'delete' => '刪除',
+ 'remove' => '移除',
+ 'edit' => '編輯',
+ 'quick_edit' => '快速編輯',
+ 'continue_editing' => '繼續編輯',
+ 'continue_creating' => '繼續新增',
+ 'view' => '查看',
+ 'detail' => '詳細',
+ 'browse' => '瀏覽',
+ 'reset' => '重置',
+ 'export' => '匯出',
+ 'batch_delete' => '批次刪除',
+ 'save' => '儲存',
+ 'refresh' => '重新整理',
+ 'order' => '排序',
+ 'expand' => '展開',
+ 'collapse' => '收起',
+ 'filter' => '篩選',
+ 'search' => '搜索',
+ 'close' => '關閉',
+ 'show' => '詳情',
+ 'entries' => '條',
+ 'captcha' => '驗證碼',
+ 'action' => '操作',
+ 'title' => '標題',
+ 'description' => '簡介',
+ 'back' => '返回',
+ 'back_to_list' => '返回列表',
+ 'submit' => '送出',
+ 'menu' => '目錄',
+ 'input' => '輸入',
+ 'succeeded' => '成功',
+ 'failed' => '失敗',
+ 'delete_confirm' => '確認刪除?',
+ 'delete_succeeded' => '刪除成功!',
+ 'delete_failed' => '刪除失敗!',
+ 'update_succeeded' => '更新成功!',
+ 'update_failed' => '更新失敗 !',
+ 'save_succeeded' => '儲存成功!',
+ 'save_failed' => '儲存失敗 !',
+ 'refresh_succeeded' => '刷新成功!',
+ 'login_successful' => '登入成功!',
+ 'choose' => '選擇',
+ 'choose_file' => '選擇檔案',
+ 'choose_image' => '選擇圖片',
+ 'more' => '更多',
+ 'deny' => '權限不足',
+ 'administrator' => '管理員',
+ 'roles' => '角色',
+ 'permissions' => '權限',
+ 'slug' => '標誌',
+ 'created_at' => '建立時間',
+ 'updated_at' => '更新時間',
+ 'alert' => '警告',
+ 'parent_id' => '父級',
+ 'icon' => '圖示',
+ 'uri' => '路徑',
+ 'operation_log' => '操作記錄',
+ 'parent_select_error' => '父級選擇錯誤',
+ 'default' => '預設',
+ 'table' => '表格',
+ 'no_data' => '暫無數據',
+ 'routes' => '路由',
+ 'alias' => '別名',
+ 'route_action' => '處理器',
+ 'middleware' => '中間件',
+ 'import' => '導入',
+ 'is_not_import' => '未導入',
+ 'selected_options' => '已選中:num個選項',
+ 'method' => '方法',
+ 'user' => '用戶',
+ 'pagination' => [
'range' => '從 :first 到 :last ,總共 :total 條',
],
- 'role' => '角色',
- 'permission' => '權限',
- 'route' => '路由',
- 'confirm' => '確認',
- 'cancel' => '取消',
- 'selectall' => '全選',
- 'http' => [
+ 'role' => '角色',
+ 'permission' => '權限',
+ 'route' => '路由',
+ 'confirm' => '確認',
+ 'cancel' => '取消',
+ 'selectall' => '全選',
+ 'http' => [
'method' => 'HTTP方法',
- 'path' => 'HTTP路徑',
+ 'path' => 'HTTP路徑',
],
- 'all_methods_if_empty' => '所有方法預設為空',
- 'all' => '全部',
- 'current_page' => '現在頁面',
- 'selected_rows' => '選擇的行',
- 'upload' => '上傳',
- 'new_folder' => '新建資料夾',
- 'time' => '時間',
- 'size' => '大小',
- 'between_start' => '起始',
- 'between_end' => '結束',
- 'next_page' => '下一頁',
- 'prev_page' => '上一頁',
- 'next_step' => '下一步',
- 'prev_step' => '上一步',
- 'done' => '完成',
- 'listbox' => [
- 'text_total' => '總共 {0} 項',
- 'text_empty' => '空列表',
- 'filtered' => '{0} / {1}',
- 'filter_clear' => '顯示全部',
+ 'all_methods_if_empty' => '所有方法預設為空',
+ 'all' => '全部',
+ 'current_page' => '現在頁面',
+ 'selected_rows' => '選擇的行',
+ 'upload' => '上傳',
+ 'new_folder' => '新建資料夾',
+ 'time' => '時間',
+ 'size' => '大小',
+ 'between_start' => '起始',
+ 'between_end' => '結束',
+ 'next_page' => '下一頁',
+ 'prev_page' => '上一頁',
+ 'next_step' => '下一步',
+ 'prev_step' => '上一步',
+ 'done' => '完成',
+ 'listbox' => [
+ 'text_total' => '總共 {0} 項',
+ 'text_empty' => '空列表',
+ 'filtered' => '{0} / {1}',
+ 'filter_clear' => '顯示全部',
'filter_placeholder' => '過濾',
],
- 'responsive' => [
+ 'responsive' => [
'display_all' => '顯示全部',
- 'display' => '欄位',
- 'focus' => '聚焦',
+ 'display' => '欄位',
+ 'focus' => '聚焦',
],
'uploader' => [
- 'add_new_media' => '添加檔案',
- 'drag_file' => '或將檔案拖移到這裡',
- 'max_file_limit' => ':attribute不能超過:max.',
- 'exceed_size' => '檔案大小過大',
- 'interrupt' => '暫停上傳',
- 'upload_failed' => '上傳失敗,請再試一次',
- 'selected_files' => '選中:num個檔案,共:size。',
- 'selected_has_failed' => '已成功上傳:success個檔案,:fail個檔案上傳失敗,重新上傳失敗檔案或忽略',
- 'selected_success' => '共:num个(:size),已上傳:success個。',
- 'dot' => ',',
- 'failed_num' => '失敗:fail個。',
- 'pause_upload' => '暫停上傳',
- 'go_on_upload' => '繼續上傳',
- 'start_upload' => '開始上傳',
+ 'add_new_media' => '添加檔案',
+ 'drag_file' => '或將檔案拖移到這裡',
+ 'max_file_limit' => ':attribute不能超過:max.',
+ 'exceed_size' => '檔案大小過大',
+ 'interrupt' => '暫停上傳',
+ 'upload_failed' => '上傳失敗,請再試一次',
+ 'selected_files' => '選中:num個檔案,共:size。',
+ 'selected_has_failed' => '已成功上傳:success個檔案,:fail個檔案上傳失敗,重新上傳失敗檔案或忽略',
+ 'selected_success' => '共:num个(:size),已上傳:success個。',
+ 'dot' => ',',
+ 'failed_num' => '失敗:fail個。',
+ 'pause_upload' => '暫停上傳',
+ 'go_on_upload' => '繼續上傳',
+ 'start_upload' => '開始上傳',
'upload_success_message' => '已成功上傳:success個檔案',
- 'go_on_add' => '繼續添加',
- 'Q_TYPE_DENIED' => '對不起,無法上傳該類型檔案',
- 'Q_EXCEED_NUM_LIMIT' => '对不起,超出上傳數量限制,最多只能上傳:num個檔案',
- 'F_EXCEED_SIZE' => '对不起,當前選擇的檔案過大',
- 'Q_EXCEED_SIZE_LIMIT' => '对不起,檔案大小超出限制',
- 'F_DUPLICATE' => '檔案重複',
- 'confirm_delete_file' => '您確定要刪除該檔案嗎?',
- 'dimensions' => '圖片規格不正確',
+ 'go_on_add' => '繼續添加',
+ 'Q_TYPE_DENIED' => '對不起,無法上傳該類型檔案',
+ 'Q_EXCEED_NUM_LIMIT' => '对不起,超出上傳數量限制,最多只能上傳:num個檔案',
+ 'F_EXCEED_SIZE' => '对不起,當前選擇的檔案過大',
+ 'Q_EXCEED_SIZE_LIMIT' => '对不起,檔案大小超出限制',
+ 'F_DUPLICATE' => '檔案重複',
+ 'confirm_delete_file' => '您確定要刪除該檔案嗎?',
+ 'dimensions' => '圖片規格不正確',
],
- 'import_extension_confirm' => '確認導入擴展?',
- 'quick_create' => '快速新增',
- 'grid_items_selected' => '已選擇 {n} 項',
- 'nothing_updated' => '沒有任何資料被更改',
- 'welcome_back' => '歡迎回來,請登入帳號',
- 'documentation' => '文檔',
- 'demo' => '範例',
- 'extensions' => '擴展',
- 'version' => '版本',
- 'current_version' => '当前版本',
- 'latest_version' => '當前版本',
- 'upgrade_to_version' => '更新至版本 :version',
- 'enable' => '啟用',
- 'disable' => '禁用',
- 'uninstall' => '卸載',
- 'confirm_uninstall' => '您確定要卸載當前擴展嗎?此操作將會移除擴展數據!',
- 'marketplace' => '應用市場',
- 'theme' => '主題',
- 'application' => '應用',
- 'install_from_local' => '本地安装',
- 'install_succeeded' => '本地安裝',
+ 'import_extension_confirm' => '確認導入擴展?',
+ 'quick_create' => '快速新增',
+ 'grid_items_selected' => '已選擇 {n} 項',
+ 'nothing_updated' => '沒有任何資料被更改',
+ 'welcome_back' => '歡迎回來,請登入帳號',
+ 'documentation' => '文檔',
+ 'demo' => '範例',
+ 'extensions' => '擴展',
+ 'version' => '版本',
+ 'current_version' => '当前版本',
+ 'latest_version' => '當前版本',
+ 'upgrade_to_version' => '更新至版本 :version',
+ 'enable' => '啟用',
+ 'disable' => '禁用',
+ 'uninstall' => '卸載',
+ 'confirm_uninstall' => '您確定要卸載當前擴展嗎?此操作將會移除擴展數據!',
+ 'marketplace' => '應用市場',
+ 'theme' => '主題',
+ 'application' => '應用',
+ 'install_from_local' => '本地安装',
+ 'install_succeeded' => '本地安裝',
'invalid_extension_package' => '安裝包異常',
- 'copied' => '已複製',
- 'auth_failed' => '帳號或密碼錯誤',
- 'validation' => [
- 'match' => '與 :attribute 不匹配。',
+ 'copied' => '已複製',
+ 'auth_failed' => '帳號或密碼錯誤',
+ 'validation' => [
+ 'match' => '與 :attribute 不匹配。',
'minlength' => ':attribute 長度不能少於 :min。',
'maxlength' => ':attribute 長度不能超過 :max。',
],
diff --git a/lang/zh_TW/extension.php b/lang/zh_TW/extension.php
index bd1ae2d..8019ba0 100644
--- a/lang/zh_TW/extension.php
+++ b/lang/zh_TW/extension.php
@@ -5,17 +5,17 @@ return [
'Extensions' => '擴展',
],
'fields' => [
- 'alias' => '別名',
+ 'alias' => '別名',
'description' => '說明',
- 'authors' => '作者',
- 'homepage' => '首頁',
- 'require' => '依賴',
+ 'authors' => '作者',
+ 'homepage' => '首頁',
+ 'require' => '依賴',
'require_dev' => '開發環境依賴',
- 'name' => '名稱',
- 'version' => '版本',
- 'enable' => '啟用',
- 'config' => '設定',
- 'imported' => '導入',
+ 'name' => '名稱',
+ 'version' => '版本',
+ 'enable' => '啟用',
+ 'config' => '設定',
+ 'imported' => '導入',
],
'options' => [
],
diff --git a/lang/zh_TW/global.php b/lang/zh_TW/global.php
index 991ffd4..937eda8 100644
--- a/lang/zh_TW/global.php
+++ b/lang/zh_TW/global.php
@@ -2,33 +2,33 @@
return [
'fields' => [
- 'id' => 'ID',
- 'name' => '名稱',
- 'username' => '用戶名',
- 'email' => '信箱',
- 'http_path' => 'HTTP路徑',
- 'password' => '密碼',
+ 'id' => 'ID',
+ 'name' => '名稱',
+ 'username' => '用戶名',
+ 'email' => '信箱',
+ 'http_path' => 'HTTP路徑',
+ 'password' => '密碼',
'password_confirmation' => '確認密碼',
- 'created_at' => '建立時間',
- 'updated_at' => '更新時間',
- 'permissions' => '權限',
- 'slug' => '標示',
- 'user' => '用戶',
- 'order' => '排序',
- 'ip' => 'IP',
- 'method' => '方法',
- 'uri' => 'URI',
- 'roles' => '角色',
- 'path' => '路徑',
- 'input' => '輸入',
- 'type' => '类型',
+ 'created_at' => '建立時間',
+ 'updated_at' => '更新時間',
+ 'permissions' => '權限',
+ 'slug' => '標示',
+ 'user' => '用戶',
+ 'order' => '排序',
+ 'ip' => 'IP',
+ 'method' => '方法',
+ 'uri' => 'URI',
+ 'roles' => '角色',
+ 'path' => '路徑',
+ 'input' => '輸入',
+ 'type' => '类型',
],
'labels' => [
- 'list' => '列表',
- 'edit' => '編輯',
- 'detail' => '詳細',
- 'create' => '創建',
- 'root' => 'root',
+ 'list' => '列表',
+ 'edit' => '編輯',
+ 'detail' => '詳細',
+ 'create' => '創建',
+ 'root' => 'root',
'scaffold' => '代碼生成器',
],
diff --git a/lang/zh_TW/menu.php b/lang/zh_TW/menu.php
index 1e3a49d..47b0e54 100644
--- a/lang/zh_TW/menu.php
+++ b/lang/zh_TW/menu.php
@@ -2,16 +2,16 @@
return [
'titles' => [
- 'index' => '首頁',
- 'admin' => '系統',
- 'users' => '管理員',
- 'roles' => '角色',
- 'permission' => '權限',
- 'menu' => '菜單',
+ 'index' => '首頁',
+ 'admin' => '系統',
+ 'users' => '管理員',
+ 'roles' => '角色',
+ 'permission' => '權限',
+ 'menu' => '菜單',
'operation_log' => '操作日誌',
- 'helpers' => '開發工具',
- 'extensions' => '擴展',
- 'scaffold' => '代碼生成器',
- 'icons' => '圖示',
+ 'helpers' => '開發工具',
+ 'extensions' => '擴展',
+ 'scaffold' => '代碼生成器',
+ 'icons' => '圖示',
],
];
diff --git a/routes/api.php b/routes/api.php
index ebd7bb6..df0d368 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -2,7 +2,6 @@
namespace App\Http\Controllers;
-use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
/*
@@ -19,8 +18,8 @@ use Illuminate\Support\Facades\Route;
Route::post('auth/login', [AuthController::class, 'login']);
Route::group(['middleware' => 'auth:sanctum'], function () {
- Route::get('keywords-crops', [KeywordController::class, 'crops']);//农作物
- Route::get('keywords-crops-cate', [KeywordController::class, 'cropsCate']);//农作物产业分类
+ Route::get('keywords-crops', [KeywordController::class, 'crops']); //农作物
+ Route::get('keywords-crops-cate', [KeywordController::class, 'cropsCate']); //农作物产业分类
//全市基础数据
Route::get('citydata-statistics', [CityDataController::class, 'statistics']);