Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: Unify the use of "其他" instead of "其它"

Jeffrey Chen9aa936d12958
diff --git a/app/changelogs/v0.1.0-v2.8.3/v0.1.0-v2.8.3.md b/app/changelogs/v0.1.0-v2.8.3/v0.1.0-v2.8.3.md
index 4af56e5db2..394fb7080e 100644
--- a/app/changelogs/v0.1.0-v2.8.3/v0.1.0-v2.8.3.md
+++ b/app/changelogs/v0.1.0-v2.8.3/v0.1.0-v2.8.3.md
@@ -7387,7 +7387,7 @@ In addition, we have divided the language of the community:
* [资源附件本地打开问题](https://github.com/siyuan-note/siyuan/issues/515)
* [使用 MathJax 引擎编辑公式时白屏的问题](https://github.com/siyuan-note/siyuan/issues/537)
* [大纲只能折叠根节点下第一层的问题](https://github.com/siyuan-note/siyuan/issues/542)
-* [输入 HTML 实体之后无法继续再输入其它字符](https://github.com/siyuan-note/siyuan/issues/548)
+* [输入 HTML 实体之后无法继续再输入其他字符](https://github.com/siyuan-note/siyuan/issues/548)
* [标签无法显示](https://github.com/siyuan-note/siyuan/issues/550)
* [引用计数的气泡被侧边栏遮住了](https://github.com/siyuan-note/siyuan/issues/553)
diff --git a/app/electron/windowMessaging.js b/app/electron/windowMessaging.js
index bae64d85b5..4138cf022e 100644
--- a/app/electron/windowMessaging.js
+++ b/app/electron/windowMessaging.js
@@ -13,7 +13,7 @@ const isRendererWindowCommand = (data) => {
};
// 仅允许同工作区窗口之间投递:发送方必须是已登记的窗口,收件方必须与发送方指向同一内核目标。
-// 这样远端内核窗口无法影响其它工作区,本地发送方也无法影响另一个工作区
+// 这样远端内核窗口无法影响其他工作区,本地发送方也无法影响另一个工作区
const dispatchWindowMessage = (data, options) => {
const {senderWebContentsId, getKernelTarget, getAllWindows} = options;
if (!isRendererWindowCommand(data)) {
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e/20260804171000-aiagt01.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e/20260804171000-aiagt01.sy
index 7e3e6b2589..dfdaaf461e 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e/20260804171000-aiagt01.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20230303235619-ex5l63e/20260804171000-aiagt01.sy
@@ -265,7 +265,7 @@
"Children": [
{
"Type": "NodeText",
- "Data": "文件读取失败、编码错误或内容超限时,会显示错误并停止本轮请求,原文件不会被覆盖或截断。如果保存时发现文件已被其它窗口或同步修改,请先复制未保存的内容,重新打开编辑器并合并修改后再保存。"
+ "Data": "文件读取失败、编码错误或内容超限时,会显示错误并停止本轮请求,原文件不会被覆盖或截断。如果保存时发现文件已被其他窗口或同步修改,请先复制未保存的内容,重新打开编辑器并合并修改后再保存。"
}
]
},
diff --git a/app/src/ai/skills/page.ts b/app/src/ai/skills/page.ts
index f7244e0d98..95f8ef07ef 100644
--- a/app/src/ai/skills/page.ts
+++ b/app/src/ai/skills/page.ts
@@ -40,7 +40,7 @@ export const createSkillManagerPage = (settingRoot: HTMLElement, content: string
previousFocus.focus({preventScroll: true});
}
};
- // 设置页被其它导航销毁时同步释放页面监听器。
+ // 设置页被其他导航销毁时同步释放页面监听器。
const observer = new MutationObserver(() => {
if (!view.isConnected) {
destroy();
diff --git a/app/src/boot/globalEvent/keydown.ts b/app/src/boot/globalEvent/keydown.ts
index 948d9e9f0b..6672d5508d 100644
--- a/app/src/boot/globalEvent/keydown.ts
+++ b/app/src/boot/globalEvent/keydown.ts
@@ -357,7 +357,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
!hasClosestByClassName(eventTarget, "protyle", true)) {
return false;
}
- // 优先使用事件所属编辑器,避免只读正文获得焦点后仍命中其它编辑器的选区。
+ // 优先使用事件所属编辑器,避免只读正文获得焦点后仍命中其他编辑器的选区。
let protyle = getAllEditor().find(item => item.protyle.element.contains(eventTarget))?.protyle;
let range: Range;
if (getSelection().rangeCount > 0) {
@@ -462,7 +462,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
window.siyuan.config.keymap.editor.general.undo,
window.siyuan.config.keymap.editor.general.redo,
].some(keymap => matchHotKey(keymap, event))) {
- // 内容修改在编辑快捷键入口拦截,不阻断搜索、导航和其它全局操作。
+ // 内容修改在编辑快捷键入口拦截,不阻断搜索、导航和其他全局操作。
event.preventDefault();
return true;
}
diff --git a/app/src/config/tabs/ai/aiInstructions.ts b/app/src/config/tabs/ai/aiInstructions.ts
index b6409eda06..71a86aff54 100644
--- a/app/src/config/tabs/ai/aiInstructions.ts
+++ b/app/src/config/tabs/ai/aiInstructions.ts
@@ -26,7 +26,7 @@ export const openAgentInstructions = () => {
const input = currentDialog.element.querySelector<HTMLTextAreaElement>("textarea");
button.disabled = true;
input.disabled = true;
- // 失败时保留编辑内容和原修订,禁止静默覆盖其它窗口或同步产生的新版本。
+ // 失败时保留编辑内容和原修订,禁止静默覆盖其他窗口或同步产生的新版本。
fetchPost("/api/ai/agent/setInstructions", {content, revision}, () => {
currentDialog.destroy();
}).finally(() => {
diff --git a/app/src/config/tabs/keymapUi.ts b/app/src/config/tabs/keymapUi.ts
index 9ebf0d7897..34aad7652f 100644
--- a/app/src/config/tabs/keymapUi.ts
+++ b/app/src/config/tabs/keymapUi.ts
@@ -361,7 +361,7 @@ const bindKeymapList = (root: HTMLElement) => {
searchKeymapElement.addEventListener("blur", () => {
sendGlobalShortcut(window.siyuan.ws.app);
});
- // 捕获阶段优先于其它监听,确保 keydown 在 IME/全局逻辑之前处理
+ // 捕获阶段优先于其他监听,确保 keydown 在 IME/全局逻辑之前处理
// 按键搜索框只录物理键位,不接收文本输入;readonly 可避免 IME 抢占 keydown
searchKeymapElement.addEventListener("keydown", (event: KeyboardEvent) => {
event.stopPropagation();
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index ca15309857..f34b189e36 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -1180,7 +1180,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
ignoreRows: true,
}, (response) => {
const avData = response.data as IAV;
- // 该字段还没有筛选条件时,创建它的默认筛选条件(其它字段的筛选不影响);
+ // 该字段还没有筛选条件时,创建它的默认筛选条件(其他字段的筛选不影响);
// 已有该字段筛选时直接打开总筛选配置面板,避免每次重复新建
if (!hasFilterForColumn(avData.view.filters, colId)) {
const filter: IAVFilter = {
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts
index 419fd8d690..472e87ed28 100644
--- a/app/src/protyle/render/av/filter.ts
+++ b/app/src/protyle/render/av/filter.ts
@@ -1179,7 +1179,7 @@ export const bindInlineFilterEvents = (panelElement: HTMLElement, data: IAV, pro
// 下拉面板已移到行外(fixed 定位),用 path 全局查找
const dropdown = menuElement.querySelector(`[data-type="selectDropdown"][data-path="${path}"]`) as HTMLElement;
if (dropdown) {
- // 收起其它已展开的下拉
+ // 收起其他已展开的下拉
menuElement.querySelectorAll('[data-type="selectDropdown"]').forEach((el: HTMLElement) => {
if (el !== dropdown) el.style.display = "none";
});
@@ -1206,7 +1206,7 @@ export const bindInlineFilterEvents = (panelElement: HTMLElement, data: IAV, pro
if (!useEl) return;
const isCheck = useEl.getAttribute("xlink:href") === "#iconCheck";
if (isSingle && !isCheck) {
- // 单选:点击新选项时,先取消该下拉内所有其它已选项
+ // 单选:点击新选项时,先取消该下拉内所有其他已选项
dropdown.querySelectorAll('[data-type="selectOption"]').forEach((item: HTMLElement) => {
if (item !== option) {
const itemUseElement = item.querySelector(".av__select-option-check use");
diff --git a/app/src/protyle/render/av/lunarCalendar.ts b/app/src/protyle/render/av/lunarCalendar.ts
index 77dadc04fa..ae59e4273a 100644
--- a/app/src/protyle/render/av/lunarCalendar.ts
+++ b/app/src/protyle/render/av/lunarCalendar.ts
@@ -50,7 +50,7 @@ export const lunarToSolar = (lunar: ILunarDate, hours = 0, minutes = 0): number
return undefined;
}
const result = new Date(civil.getUTCFullYear(), civil.getUTCMonth(), civil.getUTCDate(), hours, minutes);
- // 夏令时造成不存在的本地时间时返回错误,不把输入静默调整为其它时间。
+ // 夏令时造成不存在的本地时间时返回错误,不把输入静默调整为其他时间。
if (result.getFullYear() !== civil.getUTCFullYear() || result.getMonth() !== civil.getUTCMonth() ||
result.getDate() !== civil.getUTCDate() || result.getHours() !== hours || result.getMinutes() !== minutes) {
return undefined;
diff --git a/app/src/protyle/undo/globalUndo.ts b/app/src/protyle/undo/globalUndo.ts
index 4efe3b29a4..9c9095fecd 100644
--- a/app/src/protyle/undo/globalUndo.ts
+++ b/app/src/protyle/undo/globalUndo.ts
@@ -186,7 +186,7 @@ const resolveRootNames = async (rootIDs: string[]): Promise<string[]> => {
};
const focusRootIDs = (rootIDs: string[], focusBlockId?: string) => {
- // 只滚动发起窗口的焦点 protyle 到变更块;其它文档不强制重开(撤销物理结果在发起文档)
+ // 只滚动发起窗口的焦点 protyle 到变更块;其他文档不强制重开(撤销物理结果在发起文档)
const protyle = getActiveProtyle();
if (protyle && rootIDs.includes(protyle.block?.rootID) && focusBlockId) {
const targets = Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${focusBlockId}"]`));
diff --git a/app/tests/avPanelEscape.test.js b/app/tests/avPanelEscape.test.js
index 6e8c8e59eb..452c9406c2 100644
--- a/app/tests/avPanelEscape.test.js
+++ b/app/tests/avPanelEscape.test.js
@@ -143,7 +143,7 @@ const runCases = async (compiled, mobile) => {
escape();
check.equal(refreshedPanel.isConnected, false);
check.deepEqual(focusCalls, [refreshed.block]);
- // 配置面板和已隐藏或移除的来源不得借用其它文档的选中单元格。
+ // 配置面板和已隐藏或移除的来源不得借用其他文档的选中单元格。
for (const condition of ["config", "hidden", "removed", "attribute"]) {
const state = setup();
const element = open(state, condition === "config" ? "config" : "relation",
diff --git a/kernel/api/transaction.go b/kernel/api/transaction.go
index 0d09295b1c..ba800e3328 100644
--- a/kernel/api/transaction.go
+++ b/kernel/api/transaction.go
@@ -258,7 +258,7 @@ var undoState = contractHandler(apicontract.UndoState, func(c *gin.Context, requ
})
// performUndo 撤销指定文档最近一次操作。
-// 弹出 rootID 撤销栈顶,同步执行其逆操作,广播给其它窗口/端。
+// 弹出 rootID 撤销栈顶,同步执行其逆操作,广播给其他窗口/端。
// 单文档撤销:发起窗口靠响应数据本地乐观应用,广播排除发起方(ExcludeSelf)。
// 跨文档撤销:发起窗口无法本地乐观应用(锚点分散),广播含发起方(Broadcast)刷新其 DOM。
// 逆操作失败时回滚栈状态(UndoRollback)并返回 data.failed=true,前端镜像不动。
@@ -289,7 +289,7 @@ var performUndo = contractHandler(apicontract.PerformUndo, func(c *gin.Context,
return apicontract.Success(apicontract.FailedTransactionHistory("undo failed: " + err.Error()))
}
- // 成功:联动从其它关联栈移除该 entry
+ // 成功:联动从其他关联栈移除该 entry
model.GlobalUndoLog.UndoCommit(entry, request.RootID)
crossDoc := len(entry.MutatedRootIDs()) > 1
@@ -336,7 +336,7 @@ var performRedo = contractHandler(apicontract.PerformRedo, func(c *gin.Context,
return apicontract.Success(apicontract.FailedTransactionHistory("redo failed: " + err.Error()))
}
- // 成功:联动把 entry 重新挂到其它关联栈
+ // 成功:联动把 entry 重新挂到其他关联栈
model.GlobalUndoLog.RedoCommit(entry, request.RootID)
crossDoc := len(entry.MutatedRootIDs()) > 1
@@ -357,7 +357,7 @@ var performRedo = contractHandler(apicontract.PerformRedo, func(c *gin.Context,
}))
})
-// clearHistory 清理撤销日志。rootID 非空时清该文档栈并联动移除其它栈相关条目;为空时清空全部。
+// clearHistory 清理撤销日志。rootID 非空时清该文档栈并联动移除其他栈相关条目;为空时清空全部。
var clearHistory = contractHandler(apicontract.ClearHistory, func(c *gin.Context, request apicontract.TransactionClearHistoryRequest) apicontract.Response[apicontract.Null] {
model.GlobalUndoLog.Clear(request.RootID)
return apicontract.Success(apicontract.Null{})
diff --git a/kernel/model/attribute_view_items.go b/kernel/model/attribute_view_items.go
index 9a0b156c0e..7ccbeb4723 100644
--- a/kernel/model/attribute_view_items.go
+++ b/kernel/model/attribute_view_items.go
@@ -233,7 +233,7 @@ func (tx *Transaction) readAttributeViewItems(state *attributeViewItemsSnapshot)
return tx.readAttributeViewForMutation(state.AvID, state.BlockID, state.BoxID)
}
-// 只把索引、文件或认证后文档中的源块缺失视为缺失;其它读取失败均保留错误。
+// 只把索引、文件或认证后文档中的源块缺失视为缺失;其他读取失败均保留错误。
func (tx *Transaction) attributeViewItemSourceMissing(state *attributeViewItemsSnapshot, blockID string) (bool, error) {
bt := attributeViewBindingBlockTree(blockID, state.BoxID)
if bt == nil {
diff --git a/kernel/model/import.go b/kernel/model/import.go
index a1b7b9672e..dda14fb6ad 100644
--- a/kernel/model/import.go
+++ b/kernel/model/import.go
@@ -650,7 +650,7 @@ func importSY0(zipPath, boxID, toPath string, createNotebook, autoDetect bool, s
return
}
// 兜底校验:禁止跨加密边界块引。包内文档尚未入库,块树查不到,因此把本次导入的全部块 ID
- // 一并放行,既拦住包外引用(普通笔记本或其它加密笔记本的块),又不误伤包内跨文档引用。
+ // 一并放行,既拦住包外引用(普通笔记本或其他加密笔记本的块),又不误伤包内跨文档引用。
importedBlockIDs := make(map[string]bool, len(blockIDs))
for _, newID := range blockIDs {
importedBlockIDs[newID] = true
diff --git a/kernel/model/undolog.go b/kernel/model/undolog.go
index c66a3bcdc2..388dd9c06c 100644
--- a/kernel/model/undolog.go
+++ b/kernel/model/undolog.go
@@ -33,7 +33,7 @@ import (
)
// UndoEntry 是撤销栈中的一条记录。跨文档操作(MutatedRootIDs 含多个 rootID)的 entry
-// 会以同一指针同时挂在这些 rootID 的栈上,撤销任一端时联动其它端移除引用。
+// 会以同一指针同时挂在这些 rootID 的栈上,撤销任一端时联动其他端移除引用。
type UndoEntry struct {
id string
doOperations []*Operation
@@ -180,7 +180,7 @@ func (l *UndoLog) Undo(rootID string) *UndoEntry {
return entry
}
-// UndoCommit 在逆操作成功执行后,联动从其它关联栈移除该 entry(按 id 匹配)。
+// UndoCommit 在逆操作成功执行后,联动从其他关联栈移除该 entry(按 id 匹配)。
func (l *UndoLog) UndoCommit(entry *UndoEntry, rootID string) {
if nil == entry {
return
@@ -235,7 +235,7 @@ func (l *UndoLog) Redo(rootID string) *UndoEntry {
return entry
}
-// RedoCommit 在重做成功执行后,联动把 entry 重新挂到其它关联栈顶。
+// RedoCommit 在重做成功执行后,联动把 entry 重新挂到其他关联栈顶。
func (l *UndoLog) RedoCommit(entry *UndoEntry, rootID string) {
if nil == entry {
return
@@ -298,7 +298,7 @@ func (l *UndoLog) State(rootID string) (canUndo, canRedo bool, peekMutatedRootID
return
}
-// Clear 清理撤销日志。rootID 非空时清该文档栈并联动移除其它栈中相关条目;为空时清空全部。
+// Clear 清理撤销日志。rootID 非空时清该文档栈并联动移除其他栈中相关条目;为空时清空全部。
func (l *UndoLog) Clear(rootID string) {
l.clear(rootID)
}
@@ -321,7 +321,7 @@ func (l *UndoLog) clear(rootID string) (rootIDs []string) {
if nil == s {
return
}
- // 收集该栈中所有跨文档条目的 id,联动从其它栈移除
+ // 收集该栈中所有跨文档条目的 id,联动从其他栈移除
linkedIDs := map[string]bool{}
for _, e := range s.undoStack {
for _, r := range e.mutatedRootIDs {
diff --git a/kernel/plugin/abort/controller.go b/kernel/plugin/abort/controller.go
index 0fad4cfd5e..9f1a8a34cf 100644
--- a/kernel/plugin/abort/controller.go
+++ b/kernel/plugin/abort/controller.go
@@ -42,7 +42,7 @@ var controllerStateType = reflect.TypeFor[*controllerState]()
// Enable 把 AbortController 与 AbortSignal 挂到 runtime 的 globalThis,调用方式与
// url、buffer、console、encoding 一致,失败时 panic。
//
-// 与规范的已知差异(与本沙箱其它构造函数一致):实例不是 AbortController/AbortSignal 的真正
+// 与规范的已知差异(与本沙箱其他构造函数一致):实例不是 AbortController/AbortSignal 的真正
// ECMAScript 类,不用 new 直接调用 AbortController 也不会抛错(goja 的原生构造函数无法区分两种调用);
// AbortSignal 与规范一致,无论是否使用 new 都抛出 TypeError: Illegal constructor。
// addEventListener 的 options 只支持 {once},capture/passive/signal 会被静默忽略。
diff --git a/kernel/plugin/api_client.go b/kernel/plugin/api_client.go
index 318abeb6cc..65036d60ec 100644
--- a/kernel/plugin/api_client.go
+++ b/kernel/plugin/api_client.go
@@ -90,7 +90,7 @@ const fetchStreamChunkSize = 32 * 1024
// fetchResponseBody 管理一次 fetch 响应体的消费:response.body 的 ReadableStream 与 text()/json()/buffer()/
// arrayBuffer()/bytes()/blob() 共享同一个只能读一次的底层字节源(resp.Body),哪个先开始读就"认领"它,
-// 其余路径都会得到"响应体已经被读取"的错误——与真实 fetch 的 bodyUsed 语义一致,而不是像本沙箱其它数据对象
+// 其余路径都会得到"响应体已经被读取"的错误——与真实 fetch 的 bodyUsed 语义一致,而不是像本沙箱其他数据对象
// 那样允许反复调用:响应体现在是真正流式到达、边读边释放的,不会先整体缓存一份供多次读取。claimed 只在
// 事件循环线程上读写,不需要加锁。
type fetchResponseBody struct {
@@ -151,7 +151,7 @@ func setFetchResponseBodyMethods(p *KernelPlugin, rt *goja.Runtime, response *go
}
// 复用既有数据对象的六个方法实现,避免在这里重复一遍 text/json/buffer/arrayBuffer/bytes/blob
- // 各自的转换逻辑;data 已经是这次响应体专属的切片,不会被其它调用方共享或改写。
+ // 各自的转换逻辑;data 已经是这次响应体专属的切片,不会被其他调用方共享或改写。
inner, innerErr := NewDataObject(p, rt, data, contentType)
if innerErr != nil {
if rejectErr := reject(rt.NewGoError(innerErr)); rejectErr != nil {
@@ -246,7 +246,7 @@ func newFetchResponseBodyStream(p *KernelPlugin, rt *goja.Runtime, body *fetchRe
}, 0, nil)
}
-// uint8ArrayOf 把 data 包装为 Uint8Array:data 已经是不会再被其它调用方共享或改写的独立切片,直接作为
+// uint8ArrayOf 把 data 包装为 Uint8Array:data 已经是不会再被其他调用方共享或改写的独立切片,直接作为
// ArrayBuffer 的底层存储,不需要再复制一次。
func uint8ArrayOf(p *KernelPlugin, rt *goja.Runtime, data []byte) goja.Value {
value, err := p.formDataHost.NewUint8Array(rt, data)
diff --git a/kernel/plugin/server.go b/kernel/plugin/server.go
index a0705b53d7..b46b778ff5 100644
--- a/kernel/plugin/server.go
+++ b/kernel/plugin/server.go
@@ -322,7 +322,7 @@ type streamChunk struct {
// HttpResponse.statusCode 中指定的状态码(而不是固定 200):写入循环每写完一块、Flush 之后才向事件循环请求
// 下一块,不提前拉取——这是背压的关键,避免插件在没有人消费数据的情况下把响应体生产得远远超前;一块数据的
// 请求与到达都经由 p.worker.Run 异步完成,不占用事件循环线程等待任何 I/O,不会因为写入循环暂时写不出数据
-// (例如客户端读取缓慢)而卡住插件的其它脚本任务。chunk 必须是 BufferSource(ArrayBuffer 或其视图,如
+// (例如客户端读取缓慢)而卡住插件的其他脚本任务。chunk 必须是 BufferSource(ArrayBuffer 或其视图,如
// Uint8Array)或字符串(按 UTF-8 写入),和 siyuan.client.fetch 的 response.body 用同一套鸭子类型。客户端
// 提前断开连接时取消 reader,不再继续向一个没有人读的响应体生产数据。
func (p *KernelPlugin) writeStreamResponse(c *gin.Context, statusCode int, response *ResponseStream) {
diff --git a/kernel/plugin/streams/module.go b/kernel/plugin/streams/module.go
index b8dc700097..6aa982e6f6 100644
--- a/kernel/plugin/streams/module.go
+++ b/kernel/plugin/streams/module.go
@@ -41,7 +41,7 @@ type Host struct {
}
// Enable 把 ReadableStream、WritableStream、TransformStream 及其默认 controller/reader/writer,以及
-// CountQueuingStrategy、ByteLengthQueuingStrategy 挂到 runtime 的 globalThis,调用方式与本沙箱其它 Web API
+// CountQueuingStrategy、ByteLengthQueuingStrategy 挂到 runtime 的 globalThis,调用方式与本沙箱其他 Web API
// 一致,失败时 panic。返回的 Host 供同一 runtime 内的 Go 桥接代码使用(见 bridge.go),调用方应保留它。
func Enable(rt *goja.Runtime) (h *Host) {
defer func() {
diff --git a/kernel/util/skill.go b/kernel/util/skill.go
index 4b049c6a0d..4f8c2e5c7c 100644
--- a/kernel/util/skill.go
+++ b/kernel/util/skill.go
@@ -610,10 +610,10 @@ func normalizeSkillURL(raw string) (normalizedSkillSource, error) {
case "github.com":
return normalizeGitHubURL(u)
case "raw.githubusercontent.com":
- // 直接 GET 单个 SKILL.md(或其它文本文件)
+ // 直接 GET 单个 SKILL.md(或其他文本文件)
return normalizedSkillSource{downloadURL: u.String()}, nil
default:
- // 其它直链(release zip、自建站点等):直接 GET,是否 zip 交由 Content-Type 判定
+ // 其他直链(release zip、自建站点等):直接 GET,是否 zip 交由 Content-Type 判定
return normalizedSkillSource{downloadURL: u.String()}, nil
}
}