mirror of https://github.com/jumpserver/jumpserver
perf: translate
parent
e4d169cabe
commit
0a6757946a
|
@ -1,6 +1,6 @@
|
||||||
|
import time
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
||||||
import time
|
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from accounts.const import AutomationTypes
|
from accounts.const import AutomationTypes
|
||||||
|
@ -378,7 +378,7 @@ class GatherAccountsManager(AccountBasePlaybookManager):
|
||||||
if not self.is_sync_account:
|
if not self.is_sync_account:
|
||||||
continue
|
continue
|
||||||
gathered_accounts = GatheredAccount.objects.filter(asset=asset)
|
gathered_accounts = GatheredAccount.objects.filter(asset=asset)
|
||||||
GatheredAccount.sync_accounts(gathered_accounts, self.is_sync_account)
|
GatheredAccount.sync_accounts(gathered_accounts)
|
||||||
GatheredAccount.objects.filter(
|
GatheredAccount.objects.filter(
|
||||||
asset=asset, username__in=ori_users, present=False
|
asset=asset, username__in=ori_users, present=False
|
||||||
).update(
|
).update(
|
||||||
|
|
|
@ -813,7 +813,7 @@
|
||||||
"NeedReLogin": "需要重新登录",
|
"NeedReLogin": "需要重新登录",
|
||||||
"NeverLogin": "永不登录",
|
"NeverLogin": "永不登录",
|
||||||
"New": "新建",
|
"New": "新建",
|
||||||
"NewAccountsFound": "新增账号",
|
"NewAccountsFound": "新发现",
|
||||||
"NewChat": "新聊天",
|
"NewChat": "新聊天",
|
||||||
"NewCount": "新增",
|
"NewCount": "新增",
|
||||||
"NewCron": "生成 Cron",
|
"NewCron": "生成 Cron",
|
||||||
|
|
Loading…
Reference in New Issue