From a59dcde688e030b06235ebb0fe6ee1c6ba0ff127 Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 28 Oct 2019 08:58:24 +0300 Subject: [PATCH] errors_block: add i18n translate --- templates/errors_block.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/errors_block.html b/templates/errors_block.html index 5c9c5fd..ed2f6da 100644 --- a/templates/errors_block.html +++ b/templates/errors_block.html @@ -1,3 +1,4 @@ +{% load i18n %} {% if error_messages %} {% for error in error_messages %} @@ -5,7 +6,7 @@
- Error: {{ error }} + {% trans 'Error' %}: {{ error }}