mirror of https://github.com/jumpserver/jumpserver
fix: 修改文案 切换用户 -> 用户切换
parent
07c60ca75d
commit
f9e970f4ed
|
@ -14,7 +14,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name='systemuser',
|
||||
name='su_enabled',
|
||||
field=models.BooleanField(default=False, verbose_name='Switch user'),
|
||||
field=models.BooleanField(default=False, verbose_name='User switch'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='systemuser',
|
||||
|
|
|
@ -209,7 +209,7 @@ class SystemUser(ProtocolMixin, AuthMixin, BaseUser):
|
|||
system_groups = models.CharField(default='', max_length=4096, verbose_name=_('System groups'), blank=True)
|
||||
ad_domain = models.CharField(default='', max_length=256)
|
||||
# linux su 命令 (switch user)
|
||||
su_enabled = models.BooleanField(default=False, verbose_name=_('Switch user'))
|
||||
su_enabled = models.BooleanField(default=False, verbose_name=_('User switch'))
|
||||
su_from = models.ForeignKey('self', on_delete=models.SET_NULL, related_name='su_to', null=True, verbose_name=_("Switch from"))
|
||||
|
||||
def __str__(self):
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed378b8e141b884f9b6d82135b37446c02d6621b46f282461e733d610b36030d
|
||||
oid sha256:3cb74767fc92b67608deb32d27bf945b7fd4ad46fc02f0cc5ef4cf4a42ebcd10
|
||||
size 91465
|
||||
|
|
|
@ -837,8 +837,8 @@ msgid "System groups"
|
|||
msgstr "用户组"
|
||||
|
||||
#: assets/models/user.py:212
|
||||
msgid "Switch user"
|
||||
msgstr "切换用户"
|
||||
msgid "User switch"
|
||||
msgstr "用户切换"
|
||||
|
||||
#: assets/models/user.py:213
|
||||
msgid "Switch from"
|
||||
|
|
Loading…
Reference in New Issue