From dc87b990e367a76f9d6c7317618f3130fe917ac8 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Mon, 13 May 2024 14:57:51 +0100 Subject: [PATCH] Replace trans tags with separate trans files --- dc_utils/templates/dc_base.html | 32 ++++++++++------------ dc_utils/templates/includes/cy-footer.html | 17 ++++++++++++ dc_utils/templates/includes/en-footer.html | 15 ++++++++++ 3 files changed, 46 insertions(+), 18 deletions(-) create mode 100644 dc_utils/templates/includes/cy-footer.html create mode 100644 dc_utils/templates/includes/en-footer.html diff --git a/dc_utils/templates/dc_base.html b/dc_utils/templates/dc_base.html index 840a064..b87c0d2 100644 --- a/dc_utils/templates/dc_base.html +++ b/dc_utils/templates/dc_base.html @@ -6,7 +6,6 @@ {% stylesheet 'styles' %} {% endblock extra_site_css %} - {% block body_raw %}
@@ -44,35 +43,32 @@ {% endblock main_base %} + + {% if USE_I18N %} + {% get_current_language as LANGUAGE_CODE %} + {% endif %} {% block footer_base %}