mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-28 17:23:17 +00:00
Update language view
This commit is contained in:
parent
0e611d006f
commit
ebb998d296
1 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,10 @@
|
||||||
<div class="card-body row pl-md-5 ml-md-5">
|
<div class="card-body row pl-md-5 ml-md-5">
|
||||||
@foreach(App\Util\Localization\Localization::languages() as $lang)
|
@foreach(App\Util\Localization\Localization::languages() as $lang)
|
||||||
<div class="col-12 col-md-4 mb-2">
|
<div class="col-12 col-md-4 mb-2">
|
||||||
<a href="/i/lang/{{$lang}}" class="{{$current == $lang ? 'font-weight-bold text-primary' : 'text-muted'}} pr-3 b-3">{{locale_get_display_language($lang, $lang)}}</a>
|
<a href="/i/lang/{{$lang}}" class="{{$current == $lang ? 'font-weight-bold text-primary' : 'text-muted'}} pr-3 b-3">
|
||||||
|
{{locale_get_display_language($lang, $lang)}}
|
||||||
|
<span class="small text-lighter">({{locale_get_display_language($lang, 'en')}})</span>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue