Translated strings

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-03-08 13:47:56 -08:00
parent 65c2d75c04
commit b8887bd3e3

View file

@ -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');
}