From b2a7e7194a8deda08679863c14440ada5d8929c5 Mon Sep 17 00:00:00 2001
From: Ildar Kamalov <i.kamalov@adguard.com>
Date: Fri, 18 Oct 2019 14:15:06 +0300
Subject: [PATCH] - client: set the default language first in the list

---
 client/src/helpers/constants.js | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js
index 99d147b9..d4a415a8 100644
--- a/client/src/helpers/constants.js
+++ b/client/src/helpers/constants.js
@@ -30,6 +30,10 @@ export const REPOSITORY = {
 export const PRIVACY_POLICY_LINK = 'https://adguard.com/privacy/home.html';
 
 export const LANGUAGES = [
+    {
+        key: 'en',
+        name: 'English',
+    },
     {
         key: 'da',
         name: 'Dansk',
@@ -42,10 +46,6 @@ export const LANGUAGES = [
         key: 'nl',
         name: 'Dutch',
     },
-    {
-        key: 'en',
-        name: 'English',
-    },
     {
         key: 'es',
         name: 'EspaƱol',
@@ -377,3 +377,5 @@ export const DEFAULT_LOGS_FILTER = {
     filter_question_type: '',
     filter_response_status: '',
 };
+
+export const DEFAULT_LANGUAGE = 'en';