2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

translate error message

This commit is contained in:
Matthias
2022-02-28 00:34:28 +01:00
parent f3f010c4be
commit f80f960923

View File

@ -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')