frontend translation + other stuff

This commit is contained in:
lordwilbur
2018-05-21 09:54:18 -05:00
committed by Nabeel Shahzad
parent ba8a819c7d
commit a346b0df2e
54 changed files with 966 additions and 771 deletions
@@ -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>