aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/index.html.jinja
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-31 22:19:18 +0100
committerWojtek Kosior <koszko@koszko.org>2022-10-31 22:19:18 +0100
commit9b01180ec981d6d0ffd7b0e84a3ddbb0a2cf1ecc (patch)
tree66ec7089fca89fcaa4f769cc74cf12e783968ea9 /src/hydrilla/proxy/web_ui/templates/index.html.jinja
parentf1638c63de7c27c2fdccb55f4b540c8fb79d3762 (diff)
downloadhaketilo-hydrilla-9b01180ec981d6d0ffd7b0e84a3ddbb0a2cf1ecc.tar.gz
haketilo-hydrilla-9b01180ec981d6d0ffd7b0e84a3ddbb0a2cf1ecc.zip
[builder][server][proxy] complete internationalization and add polish translationHEADmaster
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/index.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/index.html.jinja19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/index.html.jinja b/src/hydrilla/proxy/web_ui/templates/index.html.jinja
index 1e498a3..fe9c5d5 100644
--- a/src/hydrilla/proxy/web_ui/templates/index.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/index.html.jinja
@@ -73,6 +73,25 @@ code in a proprietary work, I am not going to enforce this in court.
{{ _('web_ui.home.heading.options') }}
</h4>
+ {{ label(_('web_ui.home.choose_language_label')) }}
+
+ {% call unordered_list() %}
+ {%
+ for lang_name, lang_code in [
+ ('english', 'en_US'),
+ ('polski', 'pl_PL')
+ ]
+ %}
+ {% call list_entry() %}
+ <form method="POST" class="inline">
+ <input type="hidden" name="action" value="set_lang">
+ <input type="hidden" name="locale" value="{{ lang_code }}">
+ <button>{{ lang_name }}</button>
+ </form>
+ {% endcall %}
+ {% endfor %}
+ {% endcall %}
+
{% call label(_('web_ui.home.mapping_usage_mode_label')) %}
{{ hkt_doc_link('packages') }}
{% endcall %}