A free open source IT asset/license management system
Added translations
snipead7b291062ee
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.phpindex 542e41ec35..7e0c0bdea3 100644--- a/resources/lang/en-US/general.php+++ b/resources/lang/en-US/general.php@@ -241,6 +241,7 @@ return ['requested_assets' => 'Requested Assets','requested_assets_menu' => 'Requested Assets','request_canceled' => 'Request Canceled',+ 'request_item' => 'Request this item','save' => 'Save','select_var' => 'Select :thing... ', // this will eventually replace all of our other selects'select' => 'Select',@@ -400,6 +401,7 @@ return ['checkout_tooltip' => 'Check this item out','checkin_tooltip' => 'Check this item in so that it is available for re-issue, re-imaging, etc','checkout_user_tooltip' => 'Check this item out to a user',+ 'checkin_to_diff_location' => 'You can choose to check this asset in to a location other than this asset\'s default location of :default_location if one is set','maintenance_mode' => 'The service is temporarily unavailable for system updates. Please check back later.','maintenance_mode_title' => 'System Temporarily Unavailable','ldap_import' => 'User password should not be managed by LDAP. (This allows you to send forgotten password requests.)',diff --git a/resources/views/hardware/checkin.blade.php b/resources/views/hardware/checkin.blade.phpindex dd6237b1bd..c41ef474db 100755--- a/resources/views/hardware/checkin.blade.php+++ b/resources/views/hardware/checkin.blade.php@@ -73,7 +73,7 @@</div></div>- @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id', 'help_text' => ($asset->defaultLoc) ? 'You can choose to check this asset in to a location other than the default location of '.$asset->defaultLoc->name.' if one is set.' : null, 'hide_location_radio' => true])+ @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id', 'help_text' => ($asset->defaultLoc) ? trans('general.checkin_to_diff_location', ['default_location' => $asset->defaultLoc->name]) : null, 'hide_location_radio' => true])<!-- Checkout/Checkin Date --><div class="form-group{{ $errors->has('checkin_at') ? ' has-error' : '' }}">diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 151aaee3a4..046c6a2a4b 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -461,7 +461,7 @@if (row.assigned_to) {return '<a href="{{ config('app.url') }}/' + destination + '/' + row.id + '/checkin" class="btn btn-sm bg-purple" data-tooltip="true" title="{{ trans('general.checkin_tooltip') }}">{{ trans('general.checkin') }}</a>';} else if (row.assigned_pivot_id) {- return '<a href="{{ config('app.url') }}/' + destination + '/' + row.assigned_pivot_id + '/checkin" class="btn btn-sm bg-purple" data-tooltip="true" title="Check this item in so it is available for re-imaging, re-issue, etc.">{{ trans('general.checkin') }}</a>';+ return '<a href="{{ config('app.url') }}/' + destination + '/' + row.assigned_pivot_id + '/checkin" class="btn btn-sm bg-purple" data-tooltip="true" title="{{ trans('general.checkin_tooltip') }}">{{ trans('general.checkin') }}</a>';}}@@ -479,7 +479,7 @@} else if (value.available_actions.cancel == true) {return '<form action="{{ config('app.url') }}/account/request-asset/'+ value.id + '" method="POST">@csrf<button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans('button.cancel') }}</button></form>';} else if (value.available_actions.request == true) {- return '<form action="{{ config('app.url') }}/account/request-asset/'+ value.id + '" method="POST">@csrf<button class="btn btn-primary btn-sm" data-tooltip="true" title="Request this item">{{ trans('button.request') }}</button></form>';+ return '<form action="{{ config('app.url') }}/account/request-asset/'+ value.id + '" method="POST">@csrf<button class="btn btn-primary btn-sm" data-tooltip="true" title="{{ trans('general.request_item') }}">{{ trans('button.request') }}</button></form>';}}