Form label multilingual issue solved..
This commit is contained in:
parent
e7ea84f62f
commit
80b6b19b52
@ -60,7 +60,7 @@
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="body">
|
||||
<x-form.group.select name="landing_page" label="{!! trans('auth.landing_page') !!}" :options="$landing_pages" />
|
||||
<x-form.group.select name="landing_page" label="{{ trans('auth.landing_page') }}" :options="$landing_pages" />
|
||||
|
||||
<x-form.group.locale />
|
||||
</x-slot>
|
||||
|
@ -7,7 +7,7 @@
|
||||
path="{{ $path }}"
|
||||
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.categories', 1) }}"
|
||||
label="{!! trans_choice('general.categories', 1) !!}"
|
||||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
@ -27,7 +27,7 @@
|
||||
path="{{ $path }}"
|
||||
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.categories', 1) }}"
|
||||
label="{!! trans_choice('general.categories', 1) !!}"
|
||||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
@ -47,7 +47,7 @@
|
||||
remote_action="{{ $remoteAction }}"
|
||||
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.categories', 1) }}"
|
||||
label="{!! trans_choice('general.categories', 1) !!}"
|
||||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
@ -64,7 +64,7 @@
|
||||
@else
|
||||
<x-form.group.select
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.categories', 1) }}"
|
||||
label="{!! trans_choice('general.categories', 1) !!}"
|
||||
:options="$categories"
|
||||
:selected="$selected"
|
||||
sort-options="false"
|
||||
|
@ -26,7 +26,7 @@
|
||||
<x-form.icon icon="{{ $icon }}" />
|
||||
@endif
|
||||
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
|
||||
@if (isset($attributes['placeholder']))
|
||||
placeholder="{{ $attributes['placeholder'] }}"
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
add-new
|
||||
name="{{ $name }}"
|
||||
label="{{ $label }}"
|
||||
label="{!! $label !!}"
|
||||
:options="$contacts"
|
||||
:selected="$selected"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
add-new
|
||||
name="{{ $name }}"
|
||||
label="{{ $label }}"
|
||||
label="{!! $label !!}"
|
||||
:options="$contacts"
|
||||
:selected="$selected"
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
add-new
|
||||
name="{{ $name }}"
|
||||
label="{{ $label }}"
|
||||
label="{!! $label !!}"
|
||||
:options="$contacts"
|
||||
:selected="$selected"
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
<x-form.group.select
|
||||
add-new
|
||||
name="{{ $name }}"
|
||||
label="{{ $label }}"
|
||||
label="{!! $label !!}"
|
||||
:options="$contacts"
|
||||
:selected="$selected"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<x-form.group.select
|
||||
name="country"
|
||||
label="{{ trans_choice('general.countries', 1) }}"
|
||||
label="{!! trans_choice('general.countries', 1) !!}"
|
||||
:options="trans('countries')"
|
||||
:selected="setting('company.country')"
|
||||
not-required
|
||||
|
@ -5,7 +5,7 @@
|
||||
:path="$path"
|
||||
:field="$field"
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.currencies', 1) }}"
|
||||
label="{!! trans_choice('general.currencies', 1) !!}"
|
||||
:options="$currencies"
|
||||
:selected="$selected"
|
||||
change="onChangeCurrency"
|
||||
@ -22,7 +22,7 @@
|
||||
@else
|
||||
<x-form.group.select
|
||||
name="{{ $name }}"
|
||||
label="{{ trans_choice('general.currencies', 1) }}"
|
||||
label="{!! trans_choice('general.currencies', 1) !!}"
|
||||
:options="$currencies"
|
||||
:selected="$selected"
|
||||
change="onChangeCurrency"
|
||||
|
@ -39,7 +39,7 @@
|
||||
icon="{{ $icon }}"
|
||||
@endif
|
||||
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
|
||||
placeholder="{{ $placeholder }}"
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
icon="{{ $icon }}"
|
||||
@endif
|
||||
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
|
||||
placeholder="{{ $placeholder }}"
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
<x-form.icon icon="{{ $icon }}" />
|
||||
@endif
|
||||
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
|
||||
@if (isset($attributes['placeholder']))
|
||||
placeholder="{{ $attributes['placeholder'] }}"
|
||||
|
@ -1,6 +1,6 @@
|
||||
<x-form.group.select
|
||||
name="locale"
|
||||
label="{{ trans_choice('general.languages', 1) }}"
|
||||
label="{!! trans_choice('general.languages', 1) !!}"
|
||||
:options="language()->allowed()"
|
||||
:selected="$selected"
|
||||
/>
|
||||
|
@ -39,7 +39,7 @@
|
||||
{{-- :error="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }}" --}}
|
||||
|
||||
name="{{ $name }}"
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
:group_class="'{{ $formGroupClass }}'"
|
||||
|
||||
@if (! empty($icon))
|
||||
|
@ -1,6 +1,6 @@
|
||||
<x-form.group.select
|
||||
name="payment_method"
|
||||
label="{{ trans_choice('general.payment_methods', 1) }}"
|
||||
label="{!! trans_choice('general.payment_methods', 1) !!}"
|
||||
:options="$payment_methods"
|
||||
:selected="$selected"
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
<akaunting-recurring
|
||||
start-text="{{ trans('recurring.limit_date', ['type' => \Str::replace('-recurring', '', $type)]) }}"
|
||||
start-text="{!! trans('recurring.limit_date', ['type' => \Str::replace('-recurring', '', $type)]) !!}"
|
||||
:date-range-text="{{ json_encode(trans('general.date_range')) }}"
|
||||
middleText="{{ trans('recurring.limit_middle') }}"
|
||||
middleText="{!! trans('recurring.limit_middle') !!}"
|
||||
endText="{{ Str::plural($type) }}"
|
||||
|
||||
:frequencies="{{ json_encode($frequencies) }}"
|
||||
frequency-text="{{ trans('recurring.frequency_type', ['type' => \Str::replace('-recurring', '', $type)]) }}"
|
||||
frequency-every-text="{{ trans('recurring.every') }}"
|
||||
frequency-text="{!! trans('recurring.frequency_type', ['type' => \Str::replace('-recurring', '', $type)]) !!}"
|
||||
frequency-every-text="{!! trans('recurring.every') !!}"
|
||||
frequency-value="{{ $frequency }}"
|
||||
:frequency-error="form.errors.get('recurring_frequency')"
|
||||
@if ($attributes->has('@frequency'))
|
||||
|
@ -31,7 +31,7 @@
|
||||
<x-form.icon icon="{{ $icon }}" />
|
||||
@endif
|
||||
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
|
||||
@if (isset($attributes['placeholder']))
|
||||
placeholder="{{ $attributes['placeholder'] }}"
|
||||
|
@ -35,7 +35,7 @@
|
||||
icon="{{ $icon }}"
|
||||
@endif
|
||||
|
||||
title="{{ $label }}"
|
||||
title="{!! $label !!}"
|
||||
|
||||
placeholder="{{ $placeholder }}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user