mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update language view
This commit is contained in:
parent
ca1814091a
commit
63ba74fcee
1 changed files with 7 additions and 5 deletions
|
@ -3,14 +3,16 @@
|
||||||
@section('section')
|
@section('section')
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3 class="font-weight-bold">Language</h3>
|
<h3 class="font-weight-bold">{{__('site.language')}}</h3>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="alert alert-info font-weight-bold">We’re still working on localization support!</div>
|
<div class="alert alert-info font-weight-bold">{{__('site.l10nWip')}}!</div>
|
||||||
<p class="lead">Current Locale: <span class="font-weight-bold">{{App::getLocale()}}</span></p>
|
<p class="font-weight-light">{{__('site.currentLocale')}}: <span class="font-weight-bold">{{App::getLocale()}}</span></p>
|
||||||
<p class="lead">Select from one of the supported languages:</p>
|
<p class="font-weight-light">{{__('site.selectLocale')}}:</p>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
<a class="list-group-item font-weight-bold" href="/i/lang/en">English</a>
|
@foreach(App\Util\Localization\Localization::languages() as $lang)
|
||||||
|
<a class="list-group-item font-weight-bold" href="/i/lang/{{$lang}}">{{locale_get_display_language($lang)}}</a>
|
||||||
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue