|
@@ -8,8 +8,7 @@ use Dcat\Admin\Grid\BatchAction;
|
|
|
|
|
|
class DistProductImportForm extends BatchAction
|
|
|
{
|
|
|
- protected $title = '倒入产品';
|
|
|
-
|
|
|
+ protected $title = 'import';
|
|
|
|
|
|
|
|
|
public function render()
|
|
@@ -52,9 +51,11 @@ class DistProductImportForm extends BatchAction
|
|
|
|
|
|
protected function getButtonHTML()
|
|
|
{
|
|
|
+ $title = admin_trans('admin.import');
|
|
|
+
|
|
|
return <<<HTML
|
|
|
<button class="btn btn-danger">
|
|
|
- <i class="feather"></i> {$this->title}
|
|
|
+ <i class="feather"></i> {$title}
|
|
|
</button>
|
|
|
HTML;
|
|
|
}
|