Skip to content
Permalink
Browse files

Added Italian in available web interface languages list

  • Loading branch information...
luccioman committed Jun 12, 2018
1 parent 378fe3f commit eb94986f959024174b9d9bbc77dee98874be6c88
Showing with 5 additions and 1 deletion.
  1. +2 −1 htroot/ConfigBasic.html
  2. +3 −0 htroot/ConfigBasic.java
@@ -43,7 +43,8 @@ <h2>Basic Configuration</h2>
<input type="radio" name="language" value="uk" id="lang_uk" onchange="this.form.submit()" #(lang_uk)#::checked="checked"#(/lang_uk)# /><label for="lang_uk" #(active_uk)#::title="Click to generate translated pages"::class="label-success" title="Active : translated pages are available"#(/active_uk)#>&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;</label>
<input type="radio" name="language" value="hi" id="lang_hi" onchange="this.form.submit()" #(lang_hi)#::checked="checked"#(/lang_hi)# /><label for="lang_hi" #(active_hi)#::title="Click to generate translated pages"::class="label-success" title="Active : translated pages are available"#(/active_hi)#>&#2361;&#2367;&#2344;&#2381;&#2342;&#2368;</label>
<input type="radio" name="language" value="ja" id="lang_ja" onchange="this.form.submit()" #(lang_ja)#::checked="checked"#(/lang_ja)# /><label for="lang_ja" #(active_ja)#::title="Click to generate translated pages"::class="label-success" title="Active : translated pages are available"#(/active_ja)#>&#26085;&#26412;&#35486;</label>
<input type="radio" name="language" value="el" id="lang_el" onchange="this.form.submit()" #(lang_el)#::checked="checked"#(/lang_el)# /><label for="lang_el" #(active_el)#::title="Click to generate translated pages"::class="label-success" title="Active : translated pages are available"#(/active_el)#>Greek</label>
<input type="radio" name="language" value="el" id="lang_el" onchange="this.form.submit()" #(lang_el)#::checked="checked"#(/lang_el)# /><label for="lang_el" #(active_el)#::title="Click to generate translated pages"::class="label-success" title="Active : translated pages are available"#(/active_el)#>Greek</label>
<input type="radio" name="language" value="it" id="lang_it" onchange="this.form.submit()" #(lang_it)#::checked="checked"#(/lang_it)# /><label for="lang_it" #(active_el)#::title="Click to generate translated pages"::class="label-success" title="Active : translated pages are available"#(/active_el)#>Italiano</label>
</fieldset>
</li>
<!-- take care that no other items are changed, but also change the former if no js is enabled -->
@@ -317,6 +317,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.put("lang_en", "0");
prop.put("lang_ja", "0");
prop.put("lang_el", "0");
prop.put("lang_it", "0");
if ("default".equals(lang)) {
prop.put("lang_en", "1");
} else {
@@ -331,6 +332,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.put("active_hi", l.contains("hi") ? "2" : "1");
prop.put("active_ja", l.contains("ja") ? "2" : "1");
prop.put("active_el", l.contains("el") ? "2" : "1");
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_en", "2");
@@ -345,6 +347,7 @@ public static serverObjects respond(final RequestHeader header, final serverObje
prop.put("active_en", "0");
prop.put("active_ja", "0");
prop.put("active_el", "0");
prop.put("active_it", "0");
}
return prop;
}

0 comments on commit eb94986

Please sign in to comment.
You can’t perform that action at this time.