fixed rma languages

This commit is contained in:
Edward Yang 2022-08-22 19:29:17 +08:00
parent 3a2a7cf49f
commit 7866d0adc0
4 changed files with 42 additions and 6 deletions

View File

@ -31,7 +31,7 @@ class ForgottenRequest extends FormRequest
public function attributes()
{
return [
'password' => '密码'
'password' => trans('shop/forgotten.password'),
];
}
}

View File

@ -45,11 +45,11 @@ class RmaRequest extends FormRequest
public function attributes()
{
return [
'order_product_id' => '订单商品',
'quantity' => '数量',
'opened' => '已拆包装',
'rma_reason_id' => '退换货原因',
'type' => '售后服务类型',
'order_product_id' => trans('rma.order_product_id'),
'quantity' => trans('rma.quantity'),
'opened' => trans('rma.opened'),
'rma_reason_id' => trans('rma.rma_reason_id'),
'type' => trans('rma.type'),
];
}
}

18
resources/lang/en/rma.php Normal file
View File

@ -0,0 +1,18 @@
<?php
/**
* rma.php
*
* @copyright 2022 opencart.cn - All Rights Reserved
* @link http://www.guangdawangluo.com
* @author Edward Yang <yangjin@opencart.cn>
* @created 2022-08-22 19:27:35
* @modified 2022-08-22 19:27:35
*/
return [
'order_product_id' => 'Order Product ID',
'quantity' => 'Quantity',
'opened' => 'Opened',
'rma_reason_id' => 'Reason ID',
'type' => 'Type',
];

View File

@ -0,0 +1,18 @@
<?php
/**
* rma.php
*
* @copyright 2022 opencart.cn - All Rights Reserved
* @link http://www.guangdawangluo.com
* @author Edward Yang <yangjin@opencart.cn>
* @created 2022-08-22 19:27:35
* @modified 2022-08-22 19:27:35
*/
return [
'order_product_id' => '订单商品',
'quantity' => '数量',
'opened' => '已拆包装',
'rma_reason_id' => '退换货原因',
'type' => '售后服务类型',
];