diff --git a/lms/templates/wiki/includes/article_menu.html b/lms/templates/wiki/includes/article_menu.html index d2ca563793..5e2cbaeb05 100644 --- a/lms/templates/wiki/includes/article_menu.html +++ b/lms/templates/wiki/includes/article_menu.html @@ -9,7 +9,7 @@ View - ${"(active)" if selected_tab == "view" else ""} + ${_("{span_start}active{span_end}").format(span_start="(", span_end=")") if selected_tab == "view" else ""} @@ -18,7 +18,7 @@ Edit - ${"(active)" if selected_tab == "edit" else ""} + ${_("{span_start}active{span_end}").format(span_start="(", span_end=")") if selected_tab == "edit" else ""} %endif @@ -27,7 +27,7 @@ Changes - ${"(active)" if selected_tab == "history" else ""} + ${_("{span_start}active{span_end}").format(span_start="(", span_end=")") if selected_tab == "history" else ""} @@ -37,7 +37,7 @@ ${plugin.article_tab[0]} - ${"(active)" if selected_tab == plugin.slug else ""} + ${_("{span_start}active{span_end}").format(span_start="(", span_end=")") if selected_tab == plugin.slug else ""} %endif @@ -53,7 +53,7 @@ ${_("This should be enabled for all non-anonymous users once the notifications a ${_("Settings")} - ${"(active)" if selected_tab == "settings" else ""} + ${_("{span_start}active{span_end}").format(span_start="(", span_end=")") if selected_tab == "settings" else ""} %endif