mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): sort interface languages by locale code (#2040)
This commit is contained in:
1 parent
509562e6da
commit
a800430997
1 file changed
+1
-1
@@ -314,5 +314,5 @@ export function getSortedLocales(): Array<TranslatedLocaleInfo> {
|
|||||||
...locale,
|
...locale,
|
||||||
name: i18n._(locale.name),
|
name: i18n._(locale.name),
|
||||||
}))
|
}))
|
||||||
.sort((a, b) => a.nativeName.localeCompare(b.nativeName));
|
.sort((a, b) => a.code.localeCompare(b.code));
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user