forked from mirror/pixelfed
Merge pull request #910 from Aditoo17/langlist
Show language names in their language
This commit is contained in:
commit
eb04e595a8
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
<p class="font-weight-light">{{__('site.selectLocale')}}:</p>
|
<p class="font-weight-light">{{__('site.selectLocale')}}:</p>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
@foreach(App\Util\Localization\Localization::languages() as $lang)
|
@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>
|
<a class="list-group-item font-weight-bold" href="/i/lang/{{$lang}}">{{locale_get_display_language($lang, $lang)}}</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in a new issue