From 3ff8d2571be306a8a72e5ad2b9f963b285e8db26 Mon Sep 17 00:00:00 2001 From: Rene Date: Thu, 22 Jun 2023 18:27:41 +0200 Subject: [PATCH] feat: Sort available languages alphabetically --- src/renderer/components/ModalSettings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ModalSettings.vue b/src/renderer/components/ModalSettings.vue index fa3c4230..8f33731a 100644 --- a/src/renderer/components/ModalSettings.vue +++ b/src/renderer/components/ModalSettings.vue @@ -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(() => [