mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Translate basic HTML views
app('view') call to set translator is temporary. See #189
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
$url = app('Flarum\Forum\UrlGenerator');
|
||||
?>
|
||||
<div class="container">
|
||||
<h2>All Discussions</h2>
|
||||
<h2>{{ $translator->trans('core.ref.all_discussions') }}</h2>
|
||||
|
||||
<ul>
|
||||
@foreach ($document->data as $discussion)
|
||||
@@ -16,5 +16,5 @@ $url = app('Flarum\Forum\UrlGenerator');
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<a href="{{ $url->toRoute('index') }}?page={{ $page + 1 }}">Next Page »</a>
|
||||
<a href="{{ $url->toRoute('index') }}?page={{ $page + 1 }}">{{ $translator->trans('core.basic.next_page_button') }} »</a>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user