From 0011023b02356d719b27fe26333dea98081c2bc2 Mon Sep 17 00:00:00 2001 From: Florian Dupret <34862846+sephrat@users.noreply.github.com> Date: Tue, 8 Jun 2021 09:18:46 +0200 Subject: [PATCH] Sort language list alphabetically Except English which stays on top --- frontend/src/store/modules/language.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/store/modules/language.js b/frontend/src/store/modules/language.js index 955ee2be3..3d784d027 100644 --- a/frontend/src/store/modules/language.js +++ b/frontend/src/store/modules/language.js @@ -9,6 +9,10 @@ const state = { name: "Dansk (Danish)", value: "da-DK", }, + { + name: "Deutsch (German)", + value: "de-DE", + }, { name: "Français (French)", value: "fr-FR", @@ -21,6 +25,10 @@ const state = { name: "Polski (Polish)", value: "pl-PL", }, + { + name: "Português (Portuguese)", + value: "pt-PT", + }, { name: "Svenska (Swedish)", value: "sv-SE", @@ -33,14 +41,6 @@ const state = { name: "繁體中文 (Chinese traditional)", value: "zh-TW", }, - { - name: "Deutsch (German)", - value: "de-DE", - }, - { - name: "Português (Portuguese)", - value: "pt-PT", - }, ], };