From de8589923bd5ae592e49bf024d1bb11baffb43b4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 14 Feb 2021 13:11:18 +0100 Subject: [PATCH] Make more titles translatable --- snikket_web/templates/about.html | 2 +- snikket_web/templates/user_logout.html | 3 --- snikket_web/templates/user_passwd.html | 3 --- snikket_web/templates/user_profile.html | 3 --- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/snikket_web/templates/about.html b/snikket_web/templates/about.html index 3d94a88..001eb50 100644 --- a/snikket_web/templates/about.html +++ b/snikket_web/templates/about.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% from "library.j2" import standard_button %} {% block head_lead %} -About Snikket +{% trans %}About Snikket{% endtrans %} {% endblock %} {% block body %}
diff --git a/snikket_web/templates/user_logout.html b/snikket_web/templates/user_logout.html index ba4ee5a..a0e3dbd 100644 --- a/snikket_web/templates/user_logout.html +++ b/snikket_web/templates/user_logout.html @@ -1,8 +1,5 @@ {% extends "app.html" %} {% from "library.j2" import standard_button, form_button %} -{% block head_lead %} -Snikket Web Portal -{% endblock %} {% block content %}

{% trans %}Sign out of the Snikket Web Portal{% endtrans %}

diff --git a/snikket_web/templates/user_passwd.html b/snikket_web/templates/user_passwd.html index 35b698a..c000495 100644 --- a/snikket_web/templates/user_passwd.html +++ b/snikket_web/templates/user_passwd.html @@ -1,8 +1,5 @@ {% extends "app.html" %} {% from "library.j2" import standard_button, custom_form_button, render_errors %} -{% block head_lead %} -Snikket Web Portal -{% endblock %} {% block content %}

{% trans %}Change your password{% endtrans %}

diff --git a/snikket_web/templates/user_profile.html b/snikket_web/templates/user_profile.html index 2942b64..99730d5 100644 --- a/snikket_web/templates/user_profile.html +++ b/snikket_web/templates/user_profile.html @@ -1,8 +1,5 @@ {% extends "app.html" %} {% from "library.j2" import standard_button, form_button, avatar with context %} -{% block head_lead %} -Snikket Web Portal -{% endblock %} {% block content %}

{% trans %}Update your profile{% endtrans %}