- client: set i18n language only from available languages

This commit is contained in:
Ildar Kamalov
2019-10-21 13:09:52 +03:00
parent 67a3d44b8c
commit bd1ee48a4f
2 changed files with 18 additions and 10 deletions

View File

@@ -30,10 +30,6 @@ 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',
@@ -46,6 +42,10 @@ export const LANGUAGES = [
key: 'nl',
name: 'Dutch',
},
{
key: 'en',
name: 'English',
},
{
key: 'es',
name: 'Español',