1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +01:00

Show only native languages in the language dropdown

This commit is contained in:
FreeScout 2020-03-05 01:44:27 -08:00
parent e1e3ccc599
commit cb139b11ca

View File

@ -15,5 +15,5 @@
@php
$data = \Helper::getLocaleData($locale);
@endphp
<option value="{{ $locale }}" @if ($selected == $locale)selected="selected"@endif>{{ $data['name_en'] }}@if ($data['name'] != $data['name_en']) ({{ $data['name'] }})@endif</option>
<option value="{{ $locale }}" @if ($selected == $locale)selected="selected"@endif>{{ $data['name'] }}</option>
@endforeach