固定运费插件多语言
This commit is contained in:
parent
6319408298
commit
491c82be52
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* dd.php
|
||||||
|
*
|
||||||
|
* @copyright 2022 opencart.cn - All Rights Reserved
|
||||||
|
* @link http://www.guangdawangluo.com
|
||||||
|
* @author Edward Yang <yangjin@opencart.cn>
|
||||||
|
* @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',
|
||||||
|
];
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* dd.php
|
||||||
|
*
|
||||||
|
* @copyright 2022 opencart.cn - All Rights Reserved
|
||||||
|
* @link http://www.guangdawangluo.com
|
||||||
|
* @author Edward Yang <yangjin@opencart.cn>
|
||||||
|
* @created 2022-07-28 16:19:06
|
||||||
|
* @modified 2022-07-28 16:19:06
|
||||||
|
*/
|
||||||
|
|
||||||
|
return [
|
||||||
|
'way' => '方式',
|
||||||
|
'flat_shipping' => '固定运费',
|
||||||
|
'percentage' => '百分比',
|
||||||
|
'shipping_value' => '运费值',
|
||||||
|
];
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
'name' => 'type',
|
'name' => 'type',
|
||||||
'label' => '方式',
|
'label' => trans('FlatShipping::common.flat_shipping'),
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'options' => [
|
'options' => [
|
||||||
['value' => 'fixed', 'label' => '固定运费'],
|
['value' => 'fixed', 'label' => '固定运费'],
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
@extends('admin::layouts.master')
|
@extends('admin::layouts.master')
|
||||||
|
|
||||||
@section('title', '插件编辑')
|
@section('title', __('admin/plugin.plugins_show'))
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h6 class="border-bottom pb-3 mb-4">{{ $plugin->name }} - 配置</h6>
|
<h6 class="border-bottom pb-3 mb-4">{{ $plugin->name }}</h6>
|
||||||
|
|
||||||
@if (session('success'))
|
@if (session('success'))
|
||||||
<x-admin-alert type="success" msg="{{ session('success') }}" class="mt-4"/>
|
<x-admin-alert type="success" msg="{{ session('success') }}" class="mt-4"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue