From 41684ba559306b978f004c683c195a8c513e7d74 Mon Sep 17 00:00:00 2001 From: ivanhercaz Date: Sun, 30 Sep 2018 02:10:42 +0100 Subject: [PATCH] adding Spanish to the interface language list --- htroot/ConfigBasic.html | 5 +++-- htroot/ConfigBasic.java | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/htroot/ConfigBasic.html b/htroot/ConfigBasic.html index c14741eb6..3bf40772a 100644 --- a/htroot/ConfigBasic.html +++ b/htroot/ConfigBasic.html @@ -44,8 +44,9 @@ - - + + + diff --git a/htroot/ConfigBasic.java b/htroot/ConfigBasic.java index 69f0ce6bc..1773c8450 100644 --- a/htroot/ConfigBasic.java +++ b/htroot/ConfigBasic.java @@ -318,6 +318,7 @@ public class ConfigBasic { prop.put("lang_ja", "0"); prop.put("lang_el", "0"); prop.put("lang_it", "0"); + prop.put("lang_es", "0"); if ("default".equals(lang)) { prop.put("lang_en", "1"); } else { @@ -335,6 +336,7 @@ public class ConfigBasic { prop.put("active_it", l.contains("it") ? "2" : "1"); prop.put("active_ru", l.contains("ru") ? "2" : "1"); prop.put("active_uk", l.contains("uk") ? "2" : "1"); + prop.put("active_es", l.contains("es") ? "2" : "1"); prop.put("active_en", "2"); } else { @@ -348,6 +350,7 @@ public class ConfigBasic { prop.put("active_ja", "0"); prop.put("active_el", "0"); prop.put("active_it", "0"); + prop.put("active_es", "0"); } return prop; }