Fix "Component" lang being plural
This commit is contained in:
@@ -39,7 +39,7 @@ return [
|
||||
|
||||
// Components
|
||||
'components' => [
|
||||
'components' => 'Component|Components',
|
||||
'components' => 'Components',
|
||||
'component_statuses' => 'Component Statuses',
|
||||
'add' => [
|
||||
'title' => 'Add a component',
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<i class="icon ion-navicon"></i>
|
||||
</div>
|
||||
<span class="uppercase">
|
||||
<i class="icons ion-outlet"></i> {{ trans_choice('dashboard.components.components', 2) }}
|
||||
<i class="icons ion-outlet"></i> {{ trans('dashboard.components.components') }}
|
||||
</span>
|
||||
> <small>{{ trans('dashboard.components.add.title') }}</small>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<i class="icon ion-navicon"></i>
|
||||
</div>
|
||||
<span class="uppercase">
|
||||
<i class="icons ion-outlet"></i> {{ trans_choice('dashboard.components.components', 2) }}
|
||||
<i class="icons ion-outlet"></i> {{ trans('dashboard.components.components') }}
|
||||
</span>
|
||||
> <small>{{ trans('dashboard.components.edit.title') }}</small>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="content-wrapper">
|
||||
<div class="header sub-header">
|
||||
<span class="uppercase">
|
||||
<i class="icons ion-outlet"></i> {{ trans_choice('dashboard.components.components', 2) }}
|
||||
<i class="icons ion-outlet"></i> {{ trans('dashboard.components.components') }}
|
||||
</span>
|
||||
<a class="btn btn-sm btn-success pull-right" href="{{ route('dashboard.components.add') }}">
|
||||
{{ trans('dashboard.components.add.title') }}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<li {{ set_active('dashboard/components*') }}>
|
||||
<a href="{{ route('dashboard.components') }}">
|
||||
<i class="icons ion-outlet"></i>
|
||||
<span>{{ trans_choice('dashboard.components.components', 2) }}</span>
|
||||
<span>{{ trans('dashboard.components.components') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li {{ set_active('dashboard/team*') }}>
|
||||
|
||||
@@ -20,7 +20,7 @@ class DashComponentController extends Controller
|
||||
'components' => [
|
||||
'title' => trans_choice('dashboard.components.components', 2),
|
||||
'url' => route('dashboard.components'),
|
||||
'icon' => 'ion-ios-keypad',
|
||||
'icon' => 'ion-outlet',
|
||||
'active' => false,
|
||||
],
|
||||
'groups' => [
|
||||
|
||||
Reference in New Issue
Block a user