diff --git a/plugins/FlatShipping/Lang/en/common.php b/plugins/FlatShipping/Lang/en/common.php new file mode 100644 index 00000000..5a7b0a19 --- /dev/null +++ b/plugins/FlatShipping/Lang/en/common.php @@ -0,0 +1,17 @@ + + * @created 2022-07-28 16:19:06 + * @modified 2022-07-28 16:19:06 + */ + +return [ + 'way' => 'Way', + 'flat_shipping' => 'Flat Shipping', + 'percentage' => 'Percentage', + 'shipping_value' => 'Shipping Value', +]; diff --git a/plugins/FlatShipping/Lang/zh_cn/common.php b/plugins/FlatShipping/Lang/zh_cn/common.php new file mode 100644 index 00000000..4db64656 --- /dev/null +++ b/plugins/FlatShipping/Lang/zh_cn/common.php @@ -0,0 +1,17 @@ + + * @created 2022-07-28 16:19:06 + * @modified 2022-07-28 16:19:06 + */ + +return [ + 'way' => '方式', + 'flat_shipping' => '固定运费', + 'percentage' => '百分比', + 'shipping_value' => '运费值', +]; diff --git a/plugins/FlatShipping/columns.php b/plugins/FlatShipping/columns.php index f0da6e5d..a700ce2c 100644 --- a/plugins/FlatShipping/columns.php +++ b/plugins/FlatShipping/columns.php @@ -12,7 +12,7 @@ return [ [ 'name' => 'type', - 'label' => '方式', + 'label' => trans('FlatShipping::common.flat_shipping'), 'type' => 'select', 'options' => [ ['value' => 'fixed', 'label' => '固定运费'], diff --git a/resources/beike/admin/views/pages/plugins/form.blade.php b/resources/beike/admin/views/pages/plugins/form.blade.php index 6c478628..694f903d 100644 --- a/resources/beike/admin/views/pages/plugins/form.blade.php +++ b/resources/beike/admin/views/pages/plugins/form.blade.php @@ -1,11 +1,11 @@ @extends('admin::layouts.master') -@section('title', '插件编辑') +@section('title', __('admin/plugin.plugins_show')) @section('content')