From f80f9609231a4542be1cc8429983e61f9ae29724 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 28 Feb 2022 00:34:28 +0100 Subject: [PATCH] translate error message --- InvenTree/plugin/apps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/InvenTree/plugin/apps.py b/InvenTree/plugin/apps.py index d46721962b..a10618e2be 100644 --- a/InvenTree/plugin/apps.py +++ b/InvenTree/plugin/apps.py @@ -5,6 +5,7 @@ import logging from django.apps import AppConfig from django.conf import settings +from django.utils.translation import ugettext_lazy as _ from maintenance_mode.core import set_maintenance_mode @@ -39,4 +40,4 @@ class PluginAppConfig(AppConfig): # check git version registry.git_is_modern = check_git_version() if not registry.git_is_modern: - log_error('Your enviroment has an outdated git version. This prevents InvenTree from loading plugin details.', 'load') + log_error(_('Your enviroment has an outdated git version. This prevents InvenTree from loading plugin details.'), 'load')