1
0
mirror of https://github.com/flarum/core.git synced 2025-08-27 18:10:34 +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

@@ -20,10 +20,10 @@ $postsCount = count($discussion->relationships->posts->data);
</div>
@if ($page > 1)
<a href="{{ $url(['page' => $page - 1]) }}">&laquo; {{ $translator->trans('core.basic.previous_page_button') }}</a>
<a href="{{ $url(['page' => $page - 1]) }}">&laquo; {{ $translator->trans('core.views.discussion.previous_page_button') }}</a>
@endif
@if ($page < $postsCount / 20)
<a href="{{ $url(['page' => $page + 1]) }}">{{ $translator->trans('core.basic.next_page_button') }} &raquo;</a>
<a href="{{ $url(['page' => $page + 1]) }}">{{ $translator->trans('core.views.discussion.next_page_button') }} &raquo;</a>
@endif
</div>