mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Sort languages in settings lists
This commit is contained in:
parent
744798dc4a
commit
cafd3a37df
1 changed files with 3 additions and 1 deletions
|
|
@ -51,7 +51,9 @@ function getAvailableLocales () {
|
|||
key: qsTr('systemLocale'),
|
||||
value: ''
|
||||
}].concat(locales.sort(function (a, b) {
|
||||
return a > b
|
||||
if( a.key < b.key ) return -1;
|
||||
if( a.key > b.key ) return 1;
|
||||
return 0;
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue