aboutsummaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js')
-rwxr-xr-xext/js/pages/settings/languages-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/pages/settings/languages-controller.js b/ext/js/pages/settings/languages-controller.js
index 7c795150..707230be 100755
--- a/ext/js/pages/settings/languages-controller.js
+++ b/ext/js/pages/settings/languages-controller.js
@@ -30,7 +30,7 @@ export class LanguagesController {
/** */
async prepare() {
const languages = await this._settingsController.application.api.getLanguageSummaries();
- languages.sort((a, b) => a.iso.localeCompare(b.iso, 'en'));
+ languages.sort((a, b) => a.name.localeCompare(b.name, 'en'));
this._fillSelect(languages);
}