1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #910 from Aditoo17/langlist

Show language names in their language
This commit is contained in:
daniel 2019-02-28 13:08:18 -07:00 committed by GitHub
commit eb04e595a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
<p class="font-weight-light">{{__('site.selectLocale')}}:</p>
<ul class="list-group">
@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
</ul>
@endsection