diff --git a/templates/base.twig b/templates/base.twig
index 851f2f5436130c5a73a30f8608dc0c9bfe14eb81..29228797c37b932ecba2ae862f9a17ad32818f41 100644
--- a/templates/base.twig
+++ b/templates/base.twig
@@ -24,12 +24,12 @@
         <div class="wrap">
           {%- if not isProduction %}
 
-          <div class="message-box warning">{{ (
-"You are now accessing a pre-production system. This authentication setup " ~
-"is for testing and pre-production verification only. If someone sent you " ~
-"a link that pointed you here, and you are not <i>a tester</i> you " ~
-"probably got the wrong link, and should <b>not be here</b>."
-) | trans | raw }}</div>
+          <div class="message-box warning">
+            {% trans %}You are now accessing a pre-production system. This authentication setup
+            {#- #} is for testing and pre-production verification only. If someone sent you
+            {#- #} a link that pointed you here, and you are not <i>a tester</i> you
+            {#- #} probably got the wrong link, and should <b>not be here</b>.{% endtrans %}
+          </div>
           {% endif -%}
           {%- block contentwrapper %}
             {%- block content %}{% endblock %}