From 3cb2078821d6551b3cf936230ba97d102bf36a62 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 1 Nov 2021 22:46:56 +0100 Subject: [PATCH] fix spelling --- InvenTree/common/models.py | 2 +- InvenTree/templates/InvenTree/settings/user.html | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index 631e2f5686..ade2c4a439 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -855,7 +855,7 @@ class InvenTreeSetting(BaseInvenTreeSetting): }, 'LOGIN_ENFORCE_MFA': { 'name': _('Enforce MFA'), - 'description': _('Users must use multifaktor security.'), + 'description': _('Users must use multifactor security.'), 'default': False, 'validator': bool, }, diff --git a/InvenTree/templates/InvenTree/settings/user.html b/InvenTree/templates/InvenTree/settings/user.html index dd7b4c896a..04829394a2 100644 --- a/InvenTree/templates/InvenTree/settings/user.html +++ b/InvenTree/templates/InvenTree/settings/user.html @@ -157,12 +157,12 @@
-

{% trans "Multifaktor" %}

+

{% trans "Multifactor" %}

{% if user.staticdevice_set.all or user.totpdevice_set.all %} -

{% trans 'You have these faktors available:' %}

+

{% trans 'You have these factors available:' %}

@@ -187,17 +187,17 @@ {% else %}

{% trans 'Warning:'%} - {% trans "You currently do not have any faktors set up." %} + {% trans "You currently do not have any factors set up." %}

{% endif %}
-
{% trans "Change faktors" %}
- {% trans "Setup multifaktor" %} +
{% trans "Change factors" %}
+ {% trans "Setup multifactor" %} {% if user.staticdevice_set.all or user.totpdevice_set.all %} - {% trans "Remove multifaktor" %} + {% trans "Remove multifactor" %} {% endif %}