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

Translate basic HTML views

app('view') call to set translator is temporary. See #189
This commit is contained in:
Toby Zerner
2015-10-21 11:36:49 +10:30
parent a7c2a7a2d3
commit fc7db914db
4 changed files with 9 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
<div class="Alert">
<div class="container">
@if ($noJs)
Something went wrong while trying to load the full version of this site.
{{ $translator->trans('core.basic.load_error_message') }}
@else
This site is best viewed in a modern browser with JavaScript enabled.
{{ $translator->trans('core.basic.javascript_disabled_message') }}
@endif
</div>
</div>