From 510e7d80c65a07ecc5f38462e8cd52fcee7a714f Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sun, 30 Oct 2022 18:37:07 +0100 Subject: [PATCH 01/12] Attempt to add language selector --- templates/header.html | 1 + templates/lang-selector.html | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 templates/lang-selector.html diff --git a/templates/header.html b/templates/header.html index f6e7026..3304ef5 100644 --- a/templates/header.html +++ b/templates/header.html @@ -5,5 +5,6 @@ {{ _("Menu") }} #} + {% include 'lang-selector.html' %} diff --git a/templates/lang-selector.html b/templates/lang-selector.html new file mode 100644 index 0000000..2995a22 --- /dev/null +++ b/templates/lang-selector.html @@ -0,0 +1,13 @@ +{% set alts = get_alts() %} + From 1227a793cde105376e0aeb26bb4a2c2ab9284d7d Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sun, 30 Oct 2022 18:51:24 +0100 Subject: [PATCH 02/12] testing --- templates/lang-selector.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/lang-selector.html b/templates/lang-selector.html index 2995a22..b913427 100644 --- a/templates/lang-selector.html +++ b/templates/lang-selector.html @@ -1,12 +1,14 @@ {% set alts = get_alts() %} From d9b29adf6b29efe8aecfece2db34967a609457b2 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sun, 30 Oct 2022 18:53:46 +0100 Subject: [PATCH 04/12] testing --- templates/lang-selector.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/lang-selector.html b/templates/lang-selector.html index 245e3dd..6de7eff 100644 --- a/templates/lang-selector.html +++ b/templates/lang-selector.html @@ -6,9 +6,7 @@ From 7201ebbf5f8106ac91183db96b86caa540b137d4 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sun, 30 Oct 2022 18:59:23 +0100 Subject: [PATCH 05/12] testing --- templates/lang-selector.html | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/templates/lang-selector.html b/templates/lang-selector.html index 6de7eff..0442ae8 100644 --- a/templates/lang-selector.html +++ b/templates/lang-selector.html @@ -1,13 +1,16 @@ {% set alts = get_alts() %} -