Skip to content

Commit

Permalink
language sorting by name
Browse files Browse the repository at this point in the history
<rikaitan.link>MDE2NWFmZjQ1ZGRkYjk2MjM1MzVlZjFhNmI4ZDI2MWVkZWUxZDcxNgo=</rikaitan.link>
  • Loading branch information
tiberiuiurco authored and louisv20 committed Jun 12, 2024
1 parent 8182416 commit 11f793a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/js/pages/settings/languages-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 11f793a

Please sign in to comment.