Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🌐 chore: translate non-English comments to English in src (#14654)

LobeHub Bot9da8ed0a6cea
diff --git a/packages/builtin-tool-local-system/src/ExecutionRuntime/index.ts b/packages/builtin-tool-local-system/src/ExecutionRuntime/index.ts
index 84a339aeb1e..c23988d588d 100644
--- a/packages/builtin-tool-local-system/src/ExecutionRuntime/index.ts
+++ b/packages/builtin-tool-local-system/src/ExecutionRuntime/index.ts
@@ -219,7 +219,7 @@ export class LocalSystemExecutionRuntime extends ComputerRuntime {
// to render instead of `JSON.stringify(undefined)` → undefined content.
// Without this, a fast-glob throw (e.g. EACCES traversing a protected
// dir under the wrong cwd) leaves the tool message with state set but
- // content stuck at "" — see "Glob search files Response 空" report.
+ // content stuck at "" — see "Glob search files Response Empty" report.
error: raw.error ? { message: String(raw.error) } : undefined,
result: {
files: raw.files,
diff --git a/src/features/AgentTasks/AgentTaskDetail/scheduler/helpers.ts b/src/features/AgentTasks/AgentTaskDetail/scheduler/helpers.ts
index 8e97869372d..16e4dfbd2db 100644
--- a/src/features/AgentTasks/AgentTaskDetail/scheduler/helpers.ts
+++ b/src/features/AgentTasks/AgentTaskDetail/scheduler/helpers.ts
@@ -24,7 +24,7 @@ export const formatIntervalLabel = (seconds: number, t: TFunction<'chat'>): stri
};
/**
- * Localized timezone display name (e.g. "中国标准时间", "Pacific Daylight Time").
+ * Localized timezone display name (e.g. "China Standard Time", "Pacific Daylight Time").
* Falls back to the IANA id when the runtime can't resolve a long name.
*/
export const formatTimezoneName = (tz: string, locale: string): string => {
@@ -40,7 +40,7 @@ export const formatTimezoneName = (tz: string, locale: string): string => {
};
/**
- * Human description of a cron pattern like "每天 09:00" or "Every 2 hours :30".
+ * Human description of a cron pattern like "Every day 09:00" or "Every 2 hours :30".
*/
export const formatScheduleDescription = (pattern: string, t: TFunction<'chat'>): string => {
const parsed = parseCronPattern(pattern);
diff --git a/src/server/services/bot/platforms/const.ts b/src/server/services/bot/platforms/const.ts
index 41da4007def..0727555d3f4 100644
--- a/src/server/services/bot/platforms/const.ts
+++ b/src/server/services/bot/platforms/const.ts
@@ -233,7 +233,7 @@ export function makeDmPolicyField(defaults: { policy: DmPolicy }): FieldSchema {
* field's actual semantics.
*
* Stored as `Array<{ id, name? }>` so the operator can label each entry
- * (e.g. `name: '产品同事 Ada'`) and recognise IDs months later. The runtime
+ * (e.g. `name: 'Product colleague Ada'`) and recognise IDs months later. The runtime
* only consults `id` — see {@link parseIdList} for the back-compat parser
* that still accepts the legacy comma-separated string and bare string[].
*/
diff --git a/src/server/services/bot/platforms/slack/api.ts b/src/server/services/bot/platforms/slack/api.ts
index fe9ec59d004..b738c873619 100644
--- a/src/server/services/bot/platforms/slack/api.ts
+++ b/src/server/services/bot/platforms/slack/api.ts
@@ -75,7 +75,7 @@ export class SlackApi {
/**
* Post a message that combines a Block Kit URL button AND the same URL
- * rendered as a plain inline link below it (邮件式 fallback). Mirrors how
+ * rendered as a plain inline link below it (email-style fallback). Mirrors how
* email templates render "Click [Verify] / Or copy this link: …" so users
* have a path through every Slack client (mobile, screen reader, copy-to-
* other-device, future Block Kit regressions).