frontend translation + other stuff
This commit is contained in:
committed by
Nabeel Shahzad
parent
ba8a819c7d
commit
a346b0df2e
@@ -1,15 +1,15 @@
|
||||
@extends('app')
|
||||
@section('title', __trans_choice('Download', 2))
|
||||
@section('title', trans_choice('frontend.global.download', 2))
|
||||
|
||||
@section('content')
|
||||
@include('flash::message')
|
||||
<div class="row">
|
||||
<div class="row-sm-12">
|
||||
<h2>{{ __trans_choice('Download', 2) }}</h2>
|
||||
<h2>{{ trans_choice('frontend.global.download', 2) }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
@if(!$grouped_files || \count($grouped_files) === 0)
|
||||
<div class="jumbotron text-center">{{ __('There are no downloads!') }}</div>
|
||||
<div class="jumbotron text-center">@lang('frontend.downloads.nodownloads')</div>
|
||||
@else
|
||||
@foreach($grouped_files as $group => $files)
|
||||
<div class="row" style="margin-bottom: 40px;">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
@if($file->description)
|
||||
- {{$file->description}}
|
||||
@endif
|
||||
<span style="margin-left: 20px">{{ $file->download_count.' '.__trans_choice('Download', $file->download_count) }}</span>
|
||||
<span style="margin-left: 20px">{{ $file->download_count.' '.trans_choice('frontend.global.download', $file->download_count) }}</span>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user