{current.title}
- {current.summary}
-
+
+ {isMac ? current.summary.replace(/\bCtrl /g, "⌘ ") : current.summary}
+
+
s.id)} titles={sections} />
diff --git a/apps/web/src/i18n/en.ts b/apps/web/src/i18n/en.ts
index d9caff8..a00bcc5 100644
--- a/apps/web/src/i18n/en.ts
+++ b/apps/web/src/i18n/en.ts
@@ -738,7 +738,7 @@ export const en: Messages = {
htmlSampleTitle: "Title",
htmlSampleBody:
"Write HTML here. Theme variables such as var(--card-accent) work for colors; scripts don't run.",
- htmlEditing: "HTML (Ctrl + Enter to finish)",
+ htmlEditing: "HTML ({{mod}} + Enter to finish)",
editHtml: "Edit HTML",
lang_en: "English",
lang_zh: "Chinese",
@@ -1298,7 +1298,7 @@ export const en: Messages = {
pastePlain: "Paste as plain text",
selectAll: "Select all",
copyFailed: "Couldn't copy",
- pasteBlocked: "The browser didn't allow reading the clipboard — press Ctrl+V to paste",
+ pasteBlocked: "The browser didn't allow reading the clipboard — press {{mod}}+V to paste",
explainPrompt: "Explain this passage.",
askSource: "Ask about this source only",
useSource: "Use in answers",
diff --git a/apps/web/src/i18n/zh.ts b/apps/web/src/i18n/zh.ts
index e46693e..f29159e 100644
--- a/apps/web/src/i18n/zh.ts
+++ b/apps/web/src/i18n/zh.ts
@@ -689,7 +689,7 @@ export const zh = {
captionPlaceholder: "说明(可选)",
htmlSampleTitle: "标题",
htmlSampleBody: "在这里写 HTML。可以用 var(--card-accent) 等主题变量取色,脚本不会执行。",
- htmlEditing: "HTML(Ctrl + Enter 完成)",
+ htmlEditing: "HTML({{mod}} + Enter 完成)",
editHtml: "编辑 HTML",
lang_en: "英文",
lang_zh: "中文",
@@ -1213,7 +1213,7 @@ export const zh = {
pastePlain: "粘贴为纯文本",
selectAll: "全选",
copyFailed: "复制失败",
- pasteBlocked: "浏览器没有允许读取剪贴板,请用 Ctrl+V 粘贴",
+ pasteBlocked: "浏览器没有允许读取剪贴板,请用 {{mod}}+V 粘贴",
explainPrompt: "解释这段话。",
askSource: "只针对这份资料提问",
useSource: "用于回答",
diff --git a/apps/web/src/lib/api.ts b/apps/web/src/lib/api.ts
index 5eafb97..1fe4951 100644
--- a/apps/web/src/lib/api.ts
+++ b/apps/web/src/lib/api.ts
@@ -53,6 +53,20 @@ function langHeaders(): Record