footer.html 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% block content %}
  2. <body>
  3. <div class="footer">
  4. <h6>{{ gettext('&copy; 2017 Uruk GNU/Linux &bull; Website Code distributed under the AGPLv3+ &bull; Website media licensed under CC BY-SA 4.') }}</h6>
  5. <form action='/change_language' method='POST'>
  6. <select name='lang' onchange="this.form.submit()">
  7. {% if current_lang == 'ar' %}
  8. <option selected>{{ gettext('Arabic') }}</option>
  9. <option>{{ gettext('Dutch') }}</option>
  10. <option>{{ gettext('English') }}</option>
  11. <option>{{ gettext('French') }}</option>
  12. <option>{{ gettext('Italian') }}</option>
  13. <option>{{ gettext('Spanish') }}</option>
  14. {% elif current_lang == 'en' %}
  15. <option selected>{{ gettext('English') }}</option>
  16. <option>{{ gettext('Arabic') }}</option>
  17. <option>{{ gettext('Dutch') }}</option>
  18. <option>{{ gettext('French') }}</option>
  19. <option>{{ gettext('Italian') }}</option>
  20. <option>{{ gettext('Spanish') }}</option>
  21. {% elif current_lang == 'es' %}
  22. <option selected>{{ gettext('Spanish') }}</option>
  23. <option>{{ gettext('Arabic') }}</option>
  24. <option>{{ gettext('Dutch') }}</option>
  25. <option>{{ gettext('English') }}</option>
  26. <option>{{ gettext('French') }}</option>
  27. <option>{{ gettext('Italian') }}</option>
  28. {% elif current_lang == 'fr' %}
  29. <option selected>{{ gettext('French') }}</option>
  30. <option>{{ gettext('Arabic') }}</option>
  31. <option>{{ gettext('Dutch') }}</option>
  32. <option>{{ gettext('English') }}</option>
  33. <option>{{ gettext('Italian') }}</option>
  34. <option>{{ gettext('Spanish') }}</option>
  35. {% elif current_lang == 'nl' %}
  36. <option selected>{{ gettext('Dutch') }}</option>
  37. <option>{{ gettext('Arabic') }}</option>
  38. <option>{{ gettext('English') }}</option>
  39. <option>{{ gettext('French') }}</option>
  40. <option>{{ gettext('Italian') }}</option>
  41. <option>{{ gettext('Spanish') }}</option>
  42. {% elif current_lang == 'it' %}
  43. <option selected>{{ gettext('Italian') }}</option>
  44. <option>{{ gettext('Arabic') }}</option>
  45. <option>{{ gettext('Dutch') }}</option>
  46. <option>{{ gettext('English') }}</option>
  47. <option>{{ gettext('French') }}</option>
  48. <option>{{ gettext('Spanish') }}</option>
  49. {% else %}
  50. <option selected>{{ gettext('English') }}</option>
  51. <option>{{ gettext('Arabic') }}</option>
  52. <option>{{ gettext('Dutch') }}</option>
  53. <option>{{ gettext('French') }}</option>
  54. <option>{{ gettext('Italian') }}</option>
  55. <option>{{ gettext('Spanish') }}</option>
  56. {% endif %}
  57. </select>
  58. </form>
  59. </div>
  60. </body>
  61. {% endblock %}