mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fix: Corrected path in translation function
Updated the translation function to use the correct path, ensuring that instead of displaying the translation path as plain text, the appropriate translation is now shown as intended.
This commit is contained in:
parent
6f3fb47e4a
commit
6c17d7d732
|
@ -207,7 +207,7 @@
|
|||
{{ Form::select('label2_2d_target', [
|
||||
'hardware_id' => '/hardware/{id} ('.trans('admin/settings/general.default').')',
|
||||
'ht_tag' => '/ht/{asset_tag}',
|
||||
'plain_asset_tag' => trans('admin/settings/general.asset_tag'),
|
||||
'plain_asset_tag' => trans('general.asset_tag'),
|
||||
], old('label2_2d_target', $setting->label2_2d_target), [ 'class'=>'select2 col-md-4', 'aria-label'=>'label2_2d_target' ]) }}
|
||||
{!! $errors->first('label2_2d_target', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||
<p class="help-block">{{ trans('admin/settings/general.label2_2d_target_help') }}</p>
|
||||
|
|
Loading…
Reference in a new issue