A couple hardcoded strings replaced in according with #6406 (#6412)

Hardcoded strings was replaced with corresponding placeholders.
Log statuses mentioned in #6406 wasn't translated cause it needs more separate complicated development
This commit is contained in:
Evgeny 2018-11-09 02:20:44 +03:00 committed by snipe
parent b6daad7573
commit dd7db95135
2 changed files with 5 additions and 3 deletions

View file

@ -30,6 +30,7 @@
'bulkaudit' => 'Bulk Audit',
'bulkaudit_status' => 'Audit Status',
'bulk_checkout' => 'Bulk Checkout',
'bystatus' => 'by Status',
'cancel' => 'Cancel',
'categories' => 'Categories',
'category' => 'Category',
@ -214,6 +215,7 @@
'declined' => 'declined',
'unaccepted_asset_report' => 'Unaccepted Assets',
'users' => 'Users',
'viewall' => 'View All',
'viewassets' => 'View Assigned Assets',
'website' => 'Website',
'welcome' => 'Welcome, :name',

View file

@ -200,7 +200,7 @@
</div><!-- /.responsive -->
</div><!-- /.col -->
<div class="col-md-12 text-center" style="padding-top: 10px;">
<a href="{{ route('reports.activity') }}" class="btn btn-primary btn-sm" style="width: 100%">View All</a>
<a href="{{ route('reports.activity') }}" class="btn btn-primary btn-sm" style="width: 100%">{{ trans('general.viewall') }}</a>
</div>
</div><!-- /.row -->
</div><!-- ./box-body -->
@ -212,7 +212,7 @@
<div class="col-md-6">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('general.assets') }} by Status</h3>
<h3 class="box-title">{{ trans('general.assets') }} {{ trans('general.bystatus') }} </h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
</button>
@ -272,7 +272,7 @@
</div>
</div> <!-- /.col -->
<div class="col-md-12 text-center" style="padding-top: 10px;">
<a href="{{ route('categories.index') }}" class="btn btn-primary btn-sm" style="width: 100%">View All</a>
<a href="{{ route('categories.index') }}" class="btn btn-primary btn-sm" style="width: 100%">{{ trans('general.viewall') }}</a>
</div>
</div> <!-- /.row -->