diff --git a/resources/beike/admin/views/pages/products/index.blade.php b/resources/beike/admin/views/pages/products/index.blade.php index af6eea66..7fdd29c5 100644 --- a/resources/beike/admin/views/pages/products/index.blade.php +++ b/resources/beike/admin/views/pages/products/index.blade.php @@ -1,6 +1,6 @@ @extends('admin::layouts.master') -@section('title', '商品管理') +@section('title', __('admin/common.product')) @push('header') @@ -34,7 +34,7 @@
- ID - 图片 - 商品名称 - 价格 + {{ __('common.id') }} + {{ __('product.image') }} + {{ __('product.name') }} + {{ __('product.price') }}
- 创建时间 + {{ __('common.created_at') }}
@@ -96,7 +95,7 @@
- 排序 + {{ __('common.sort_order') }}
@@ -104,9 +103,9 @@
@if ($type != 'trashed') - 状态 + {{ __('common.status') }} @endif - 操作 + {{ __('common.action') }} diff --git a/resources/lang/en/admin/product.php b/resources/lang/en/admin/product.php index d757c4bd..5d5f9953 100644 --- a/resources/lang/en/admin/product.php +++ b/resources/lang/en/admin/product.php @@ -17,4 +17,8 @@ return [ 'products_delete' => 'Delete', 'products_trashed' => 'Trashed', 'products_restore' => 'restore', + + 'batch_delete' => 'Batch Delete', + 'batch_active' => 'Batch Active', + 'batch_inactive' => 'Batch Inactive', ]; diff --git a/resources/lang/en/common.php b/resources/lang/en/common.php index eea6ccde..48cb352d 100644 --- a/resources/lang/en/common.php +++ b/resources/lang/en/common.php @@ -36,14 +36,17 @@ return [ 'sign_out' => 'Sign Out', 'contact_us' => 'Contact us', 'input' => 'Type your search here', - 'created_at' => 'Created At', - 'updated_at' => 'Updated At', 'edit' => 'Edit', 'action' => 'Action', 'add' => 'Add', 'please_choose' => 'Please Choose', 'recommend_size' => 'Recommend Size', + 'id' => 'ID', + 'created_at' => 'Created At', + 'updated_at' => 'Updated At', + 'sort_order' => 'Sort By', + 'order' => [ 'unpaid' => 'Unpaid', 'paid' => 'Paid', diff --git a/resources/lang/en/product.php b/resources/lang/en/product.php index 5d660750..1961c91f 100644 --- a/resources/lang/en/product.php +++ b/resources/lang/en/product.php @@ -17,6 +17,7 @@ return [ 'category' => 'Category', 'model' => 'Model', 'quantity' => 'Quantity', + 'image' => 'Image', 'active' => 'Active', 'inactive' => 'Inactive', diff --git a/resources/lang/zh_cn/admin/product.php b/resources/lang/zh_cn/admin/product.php index f64d7efc..d776ba17 100644 --- a/resources/lang/zh_cn/admin/product.php +++ b/resources/lang/zh_cn/admin/product.php @@ -17,4 +17,9 @@ return [ 'products_delete' => '删除商品', 'products_trashed' => '回收站', 'products_restore' => '恢复回收站', + + + 'batch_delete' => '批量删除', + 'batch_active' => '批量上架', + 'batch_inactive' => '批量下架', ]; diff --git a/resources/lang/zh_cn/common.php b/resources/lang/zh_cn/common.php index a3e0a589..520504f1 100644 --- a/resources/lang/zh_cn/common.php +++ b/resources/lang/zh_cn/common.php @@ -35,14 +35,17 @@ return [ 'sign_out' => '退出登录', 'contact_us' => '联系我们', 'input' => '在此处输入您的搜索', - 'created_at' => '创建时间', - 'updated_at' => '修改时间', 'edit' => '编辑', 'action' => '操作', 'add' => '添加', 'please_choose' => '请选择', 'recommend_size' => '建议尺寸', + 'id' => 'ID', + 'created_at' => '创建时间', + 'updated_at' => '修改时间', + 'sort_order' => '排序', + 'order' => [ 'unpaid' => '待支付', 'paid' => '已支付', diff --git a/resources/lang/zh_cn/product.php b/resources/lang/zh_cn/product.php index 68ac2a88..f75c9772 100644 --- a/resources/lang/zh_cn/product.php +++ b/resources/lang/zh_cn/product.php @@ -17,6 +17,7 @@ return [ 'category' => '分类', 'model' => '型号', 'quantity' => '库存', + 'image' => '图片', 'active' => '上架', 'inactive' => '下架',