From fe470b32fcab3607fd3da1ab9c9161b200c8f60e Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 8 Mar 2023 16:33:40 -0800 Subject: [PATCH] Added icon and import type to header, more translations Signed-off-by: snipe --- resources/views/livewire/importer-file.blade.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/livewire/importer-file.blade.php b/resources/views/livewire/importer-file.blade.php index 3d62e11645..a61daf2d4b 100644 --- a/resources/views/livewire/importer-file.blade.php +++ b/resources/views/livewire/importer-file.blade.php @@ -12,7 +12,7 @@ 'id' => 'import_type', 'class' => 'livewire-select2', 'style' => 'min-width: 350px', - 'data-placeholder' => 'Select an import type...', /* TODO: translate me */ + 'data-placeholder' => trans('general.select_var', ['thing' => trans('general.import_type')]), /* TODO: translate me */ 'placeholder' => '', //needed so that the form-helper will put an empty option first 'data-minimum-results-for-search' => '-1', // Remove this if the list gets long enough that we need to search 'data-livewire-component' => $_instance->id @@ -54,12 +54,12 @@ @if ($activeFile->import_type)

-

Map Import Fields

+

Map {{ ucwords($activeFile->import_type) }} Import Fields


- Header Field + CSV Header Field
Import Field @@ -133,8 +133,8 @@ $(function () { @this.statusText= "An import type is required... "; //TODO: translate? return; } - @this.statusType='pending'; - @this.statusText = "Processing..."; + @this.statusType ='pending'; + @this.statusText = "{{ trans('admin/hardware/form.processing_spinner') }}"; @this.generate_field_map().then(function (mappings_raw) { var mappings = JSON.parse(mappings_raw) // console.warn("Here is the mappings:")