From 04fec144a0e93c4e5bdf928dd137a2912fb9a699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C3=A4chtler=2C=20Yannick?= Date: Fri, 19 Nov 2021 12:12:11 +0100 Subject: [PATCH] Added localization strings for partials, added file structure --- resources/lang/en/button.php | 2 +- resources/lang/en/general.php | 1 + resources/lang/en/partials/forms/general.php | 6 ++++++ resources/views/custom_fields/fieldsets/view.blade.php | 4 +++- resources/views/partials/bootstrap-table.blade.php | 3 ++- .../views/partials/forms/edit/category-select.blade.php | 2 +- resources/views/partials/forms/edit/image-upload.blade.php | 2 +- resources/views/partials/forms/edit/kit-select.blade.php | 6 +++--- .../views/partials/forms/edit/location-select.blade.php | 2 +- .../views/partials/forms/edit/manufacturer-select.blade.php | 2 +- resources/views/partials/forms/edit/model-select.blade.php | 2 +- resources/views/partials/forms/edit/status.blade.php | 2 +- .../views/partials/forms/edit/supplier-select.blade.php | 2 +- resources/views/partials/forms/edit/supplier.blade.php | 2 +- resources/views/partials/forms/edit/user-select.blade.php | 2 +- resources/views/partials/more-info.blade.php | 2 +- 16 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 resources/lang/en/partials/forms/general.php diff --git a/resources/lang/en/button.php b/resources/lang/en/button.php index 438dac3cac..1e44af7d1a 100644 --- a/resources/lang/en/button.php +++ b/resources/lang/en/button.php @@ -20,5 +20,5 @@ return [ 'bulk_actions' => 'Bulk Actions', 'add_maintenance' => 'Add Maintenance', 'append' => 'Append', - 'remove' => 'Remove', + 'new' => 'New', ]; diff --git a/resources/lang/en/general.php b/resources/lang/en/general.php index e2d1c44361..f831f363a6 100644 --- a/resources/lang/en/general.php +++ b/resources/lang/en/general.php @@ -148,6 +148,7 @@ 'licenses' => 'Licenses', 'list_all' => 'List All', 'loading' => 'Loading', + 'loading_wait' => 'Loading... please wait....', 'lock_passwords' => 'This field value will not be saved in a demo installation.', 'feature_disabled' => 'This feature has been disabled for the demo installation.', 'location' => 'Location', diff --git a/resources/lang/en/partials/forms/general.php b/resources/lang/en/partials/forms/general.php new file mode 100644 index 0000000000..c7f2bbfb47 --- /dev/null +++ b/resources/lang/en/partials/forms/general.php @@ -0,0 +1,6 @@ + 'Uploaded image thumbnail', + 'placeholder_kit' => 'Select a kit', +]; \ No newline at end of file diff --git a/resources/views/custom_fields/fieldsets/view.blade.php b/resources/views/custom_fields/fieldsets/view.blade.php index f4c5f1b682..2f19a1f400 100644 --- a/resources/views/custom_fields/fieldsets/view.blade.php +++ b/resources/views/custom_fields/fieldsets/view.blade.php @@ -77,7 +77,9 @@ @can('update', $custom_fieldset)
@csrf - @endcan + +
+ @endcan @endforeach diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index b0562fefeb..b847154b89 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -4,6 +4,7 @@ @endpush @push('js') +