[Update] 更改翻译

This commit is contained in:
ibuler
2019-11-19 10:30:32 +08:00
parent 4dc5d7d70e
commit 0c349f9350
3 changed files with 157 additions and 149 deletions

View File

@@ -415,7 +415,7 @@ class User(AuthMixin, TokenMixin, RoleMixin, MFAMixin, AbstractUser):
SOURCE_OPENID = 'openid'
SOURCE_RADIUS = 'radius'
SOURCE_CHOICES = (
(SOURCE_LOCAL, 'Local'),
(SOURCE_LOCAL, _('Local')),
(SOURCE_LDAP, 'LDAP/AD'),
(SOURCE_OPENID, 'OpenID'),
(SOURCE_RADIUS, 'Radius'),