36,6 → 36,12 |
<option value="pt">Brazilian Portuguese - Português do Brasil</option> |
<option value="sv">Swedish - Svenska</option> |
<option value="nl">Dutch - Nederlands</option> |
<option value="es">Spanish - Español</option> |
<option value="fr">French - Français</option> |
<option value="pl">Polish - Polski</option> |
<option value="ru">Russian - Русский</option> |
<option value="tr">Turkish - Türkçe</option> |
<option value="uk">Ukrainian - Türkçe</option> |
</select> |
<input name="btn" type="submit" value="Translate!" /> |
</form> |
81,10 → 87,10 |
if("{{ lang }}" == "de"){ |
document.getElementById("lang").selectedIndex = 2 |
} |
if("{{ lang }}" == "est"){ |
if("{{ lang }}" == "et"){ |
document.getElementById("lang").selectedIndex = 3 |
} |
if("{{ lang }}" == "ptbr"){ |
if("{{ lang }}" == "pt"){ |
document.getElementById("lang").selectedIndex = 4 |
} |
if("{{ lang }}" == "sv"){ |
93,6 → 99,21 |
if("{{ lang }}" == "nl"){ |
document.getElementById("lang").selectedIndex = 6 |
} |
if("{{ lang }}" == "fr"){ |
document.getElementById("lang").selectedIndex = 7 |
} |
if("{{ lang }}" == "pl"){ |
document.getElementById("lang").selectedIndex = 8 |
} |
if("{{ lang }}" == "ru"){ |
document.getElementById("lang").selectedIndex = 9 |
} |
if("{{ lang }}" == "tr"){ |
document.getElementById("lang").selectedIndex = 10 |
} |
if("{{ lang }}" == "uk"){ |
document.getElementById("lang").selectedIndex = 11 |
} |
</script> |
{% end %} |
{% end %} |