Now config field label will be tranlate

This commit is contained in:
jitendra 2019-01-16 20:07:48 +05:30
parent fc130dbcaa
commit fb6a16596a
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
<label for="{{ $name }}" {{ !isset($field['validation']) || strpos('required', $field['validation']) < 0 ? '' : 'class=required' }}>
{{ $field['title'] }}
{{ trans($field['title']) }}
@if (count($channel_locale))
<span class="locale">[{{ implode(' - ', $channel_locale) }}]</span>
@ -63,7 +63,7 @@
@if (isset($field['repository']))
@foreach ($value as $option)
<option value="{{ $option['name'] }}" {{ $option['name'] == $selectedOption ? 'selected' : ''}}
{{ $option['name'] }}
{{ trans($option['name']) }}
</option>
@endforeach
@else
@ -79,7 +79,7 @@
?>
<option value="{{ $value }}" {{ $value == $selectedOption ? 'selected' : ''}}>
{{ $option['title'] }}
{{ trans($option['title']) }}
</option>
@endforeach
@endif