perf: modify task log i18n

This commit is contained in:
wangruidong
2024-05-22 18:18:56 +08:00
committed by w940853815
parent b179770dbf
commit 33b688b021
5 changed files with 1868 additions and 1317 deletions

View File

@@ -98,9 +98,11 @@ class ChangeSecretManager(AccountBasePlaybookManager):
accounts = self.get_accounts(account)
if not accounts:
print('没有发现待处理的账号: %s 用户ID: %s 类型: %s' % (
asset.name, self.account_ids, self.secret_type
))
print(
_("No pending accounts found: {name} User ID: {account_ids} Type: {secret_type}").format(
name=asset.name,
account_ids=self.account_ids,
secret_type=self.secret_type))
return []
records = []