feat: localize Shopee GUI wording
This commit is contained in:
+4
-4
@@ -806,7 +806,7 @@ class ApplyWorker(BaseWorker):
|
||||
task=task,
|
||||
)
|
||||
self._write_diagnostic_log(
|
||||
"Shopee更新任务失败",
|
||||
"蝦皮更新任务失败",
|
||||
level="ERROR",
|
||||
step=failed_step,
|
||||
task=task,
|
||||
@@ -829,7 +829,7 @@ class ApplyWorker(BaseWorker):
|
||||
level="error",
|
||||
)
|
||||
self._write_diagnostic_log(
|
||||
"Shopee更新任务异常",
|
||||
"蝦皮更新任务异常",
|
||||
level="ERROR",
|
||||
step=current_step,
|
||||
task=task,
|
||||
@@ -1001,7 +1001,7 @@ class ApplyWorker(BaseWorker):
|
||||
)
|
||||
for item in blocked.get("logged_out") or []:
|
||||
self._log_run_event(
|
||||
"step=login_check result=blocked detail=账号 {alias} 未登录 Shopee: {reason}".format(
|
||||
"step=login_check result=blocked detail=账号 {alias} 未登录蝦皮: {reason}".format(
|
||||
alias=item.get("alias") or "",
|
||||
reason=item.get("reason") or "",
|
||||
),
|
||||
@@ -1460,7 +1460,7 @@ class CollectWorker(BaseWorker):
|
||||
)
|
||||
for item in blocked.get("logged_out") or []:
|
||||
self._log_run_event(
|
||||
"step=preflight result=blocked detail=账号 {alias} 未登录 Shopee: {reason}".format(
|
||||
"step=preflight result=blocked detail=账号 {alias} 未登录蝦皮: {reason}".format(
|
||||
alias=item.get("alias") or "",
|
||||
reason=item.get("reason") or "",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user