From 748bc43df971a5c3e9601b14bd962a1cd1a31c79 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Fri, 26 Aug 2022 18:11:42 +0800 Subject: [PATCH] =?UTF-8?q?Brand=20=E5=A4=9A=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/views/pages/brands/index.blade.php | 22 +++++++++---------- .../views/pages/categories/index.blade.php | 8 +++---- resources/lang/en/brand.php | 16 ++++++++++++++ resources/lang/zh_cn/brand.php | 16 ++++++++++++++ 4 files changed, 47 insertions(+), 15 deletions(-) create mode 100644 resources/lang/en/brand.php create mode 100644 resources/lang/zh_cn/brand.php diff --git a/resources/beike/admin/views/pages/brands/index.blade.php b/resources/beike/admin/views/pages/brands/index.blade.php index da26b4ee..d76f9bf5 100644 --- a/resources/beike/admin/views/pages/brands/index.blade.php +++ b/resources/beike/admin/views/pages/brands/index.blade.php @@ -1,23 +1,23 @@ @extends('admin::layouts.master') -@section('title', '品牌管理') +@section('title', __('admin/common.brand')) @section('content')
- +
- - - - - - - + + + + + + + @@ -31,8 +31,8 @@ @{{ brand.status ? '启用' : '禁用' }} diff --git a/resources/beike/admin/views/pages/categories/index.blade.php b/resources/beike/admin/views/pages/categories/index.blade.php index 76078a0b..5bb7ed50 100644 --- a/resources/beike/admin/views/pages/categories/index.blade.php +++ b/resources/beike/admin/views/pages/categories/index.blade.php @@ -1,13 +1,13 @@ @extends('admin::layouts.master') -@section('title', '分类管理') +@section('title', __('admin/common.category')) @section('body-class', 'page-categories') @section('content')
- 创建分类 + {{ __('admin/category.categories_create') }}
@@ -15,8 +15,8 @@
@{{ data.active ? '启用' : '禁用' }}
diff --git a/resources/lang/en/brand.php b/resources/lang/en/brand.php new file mode 100644 index 00000000..22ed0929 --- /dev/null +++ b/resources/lang/en/brand.php @@ -0,0 +1,16 @@ + + * @created 2022-08-26 17:33:32 + * @modified 2022-08-26 17:33:32 + */ + +return [ + 'name' => 'Name', + 'icon' => 'Logo', + 'first_letter' => 'First Letter', +]; diff --git a/resources/lang/zh_cn/brand.php b/resources/lang/zh_cn/brand.php new file mode 100644 index 00000000..7019c855 --- /dev/null +++ b/resources/lang/zh_cn/brand.php @@ -0,0 +1,16 @@ + + * @created 2022-08-26 17:33:32 + * @modified 2022-08-26 17:33:32 + */ + +return [ + 'name' => '品牌名称', + 'icon' => '图标', + 'first_letter' => '首字母', +];
ID名称图标排序首字母状态操作{{ __('common.id') }}{{ __('brand.name') }}{{ __('brand.icon') }}{{ __('common.sort_order') }}{{ __('brand.first_letter') }}{{ __('common.status') }}{{ __('common.action') }}
- - + +