Sort languages in settings lists

This commit is contained in:
Julien Wadel 2021-10-14 12:19:13 +02:00
parent 744798dc4a
commit cafd3a37df

View file

@ -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;
}))
}