feat: 修改翻译:认证方式

pull/5224/head
Bai 4 years ago committed by Jiangjie.Bai
parent 8ced6f1168
commit 2db9c90a74

@ -105,7 +105,7 @@ class UserLoginLog(models.Model):
reason = models.CharField(default='', max_length=128, blank=True, verbose_name=_('Reason'))
status = models.BooleanField(max_length=2, default=True, choices=STATUS_CHOICE, verbose_name=_('Status'))
datetime = models.DateTimeField(default=timezone.now, verbose_name=_('Date login'))
backend = models.CharField(max_length=32, default='', verbose_name=_('Login backend'))
backend = models.CharField(max_length=32, default='', verbose_name=_('Authentication backend'))
@classmethod
def get_login_logs(cls, date_from=None, date_to=None, user=None, keyword=None):

@ -1162,8 +1162,8 @@ msgid "Date login"
msgstr "登录日期"
#: audits/models.py:108
msgid "Login backend"
msgstr "登录引擎"
msgid "Authentication backend"
msgstr "认证方式"
#: audits/serializers.py:15
msgid "Operate for display"

Loading…
Cancel
Save