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
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@
|
||||||
{{ Form::select('label2_2d_target', [
|
{{ Form::select('label2_2d_target', [
|
||||||
'hardware_id' => '/hardware/{id} ('.trans('admin/settings/general.default').')',
|
'hardware_id' => '/hardware/{id} ('.trans('admin/settings/general.default').')',
|
||||||
'ht_tag' => '/ht/{asset_tag}',
|
'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' ]) }}
|
], 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>') !!}
|
{!! $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>
|
<p class="help-block">{{ trans('admin/settings/general.label2_2d_target_help') }}</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue