1
0
mirror of https://github.com/flarum/core.git synced 2025-08-20 07:11:31 +02:00

Extract translations from core blade files.

- Extracts translations from `reset.blade.php`.
- Adjusts namespacing of translations in other files.
- Fixes one direct reference to a `core.ref` key.
This commit is contained in:
dcsjapan
2016-04-07 17:45:58 +09:00
parent e30f8f261b
commit 6d5582e4ac
4 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
$url = app('Flarum\Forum\UrlGenerator');
?>
<div class="container">
<h2>{{ $translator->trans('core.ref.all_discussions') }}</h2>
<h2>{{ $translator->trans('core.views.index.all_discussions_heading') }}</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 }}">{{ $translator->trans('core.basic.next_page_button') }} &raquo;</a>
<a href="{{ $url->toRoute('index') }}?page={{ $page + 1 }}">{{ $translator->trans('core.views.index.next_page_button') }} &raquo;</a>
</div>