feat: Sort available languages alphabetically

This commit is contained in:
Rene 2023-06-22 18:27:41 +02:00
parent 3ad1e51f42
commit 3ff8d2571b
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ const locales = computed(() => {
for (const locale of Object.keys(localesNames))
locales.push({ code: locale, name: localesNames[locale] });
return locales;
return locales.sort((a, b) => (a.name.localeCompare(b.name)));
});
const copyTypes = computed(() => [