From b8887bd3e3382fbed2c882b6bae37e97e4218ef1 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 8 Mar 2023 13:47:56 -0800 Subject: [PATCH] Translated strings Signed-off-by: snipe --- app/Http/Livewire/ImporterFile.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Http/Livewire/ImporterFile.php b/app/Http/Livewire/ImporterFile.php index da0c723fd..b2e5c6c8d 100644 --- a/app/Http/Livewire/ImporterFile.php +++ b/app/Http/Livewire/ImporterFile.php @@ -214,12 +214,12 @@ class ImporterFile extends Component public function mount() { $this->importTypes = [ - 'asset' => 'Assets', // TODO - translate! - 'accessory' => 'Accessories', - 'consumable' => 'Consumables', - 'component' => 'Components', - 'license' => 'Licenses', - 'user' => 'Users' + 'asset' => trans('general.assets'), + 'accessory' => trans('general.accessories'), + 'consumable' => trans('general.consumables'), + 'component' => trans('general.components'), + 'license' => trans('general.licenses'), + 'user' => trans('general.users'), ]; $this->columnOptions[''] = $this->getColumns(''); //blank mode? I don't know what this is supposed to mean @@ -238,7 +238,7 @@ class ImporterFile extends Component return false; } $this->statusType = 'pending'; - $this->statusText = "Processing..."; + $this->statusText = trans('admin/hardware/form.processing_spinner'); }