From 43243d3e0c7b3e9af8a45475f747263390ac33c1 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Wed, 1 Apr 2020 16:43:40 +0200 Subject: [PATCH] Add current language in the translations macro --- templates/widgets.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/widgets.html b/templates/widgets.html index 6343e59..0ba8ca9 100644 --- a/templates/widgets.html +++ b/templates/widgets.html @@ -56,7 +56,7 @@ a submenu. A submenu is an actual list {%- endmacro i18n_url -%} {% macro translations(translations) %} -{% for t in translations %}{{ t.lang }}{% endfor %} +({{ lang }}) {% for t in translations %}{{ t.lang }}{% endfor %} {% endmacro translations %} {% macro bubble(content, v="bottom", h="right") %}