AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
fix(i18n): give editor themes original four-character names
tianma-if4b4b5df8c17e
diff --git a/README.md b/README.mdindex e5aafc1b..505a69d2 100644--- a/README.md+++ b/README.md@@ -271,9 +271,9 @@ Web, PWA, and desktop upload memo edits after 30 seconds of inactivity and check- EdgeEver's note-taking product design was also informed by the publicly available product experiences of mature note-taking tools such as [Evernote](https://evernote.com/). The related features were independently designed and implemented by EdgeEver.- The product design of mind-map and visual-diagram notes was informed by the publicly available product experiences of [XMind](https://xmind.com/) and [ProcessOn](https://www.processon.com/). These features were independently designed and implemented by EdgeEver.-- The "Minimal Green" theme typography layout is inspired by [obsidian-minimal](https://github.com/kepano/obsidian-minimal).-- The "Ruled Green" theme typography layout is inspired by [Outline](https://github.com/outline/outline).-- Paper editor themes (Letter, Guide, Blueprint, Journal, Stance, Stub, Brief, Outline, Whitespace, and Grove) take editorial cues from the public typography presets on [墨格](https://moyufang.cn/editor). The implementations, assets, and copy are original to EdgeEver.+- The "Minimal Jade" theme typography layout is inspired by [obsidian-minimal](https://github.com/kepano/obsidian-minimal).+- The "Lined Jade" theme typography layout is inspired by [Outline](https://github.com/outline/outline).+- Editor themes such as Warm Page, Lesson Page, Navy Draft, Lead Issue, Clay Review, Amber Notes, Teal Aside, Violet Index, Mist Page, and Forest Notes take heading hierarchy, chapter numerals, and quote structure cues from the public typography presets on [墨格](https://moyufang.cn/editor). Names, assets, and implementations are original to EdgeEver.## Trademark and Brand Usediff --git a/README.zh-CN.md b/README.zh-CN.mdindex ac619420..0704322d 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -268,9 +268,9 @@ Web、PWA 与桌面端会在停止编辑 30 秒后上传笔记,并在页面可- EdgeEver 的笔记产品设计也参考了 [Evernote(印象笔记)](https://evernote.com/) 等成熟笔记工具的公开产品体验。相关功能由 EdgeEver 独立设计与实现。- 思维导图与可视化图表笔记的产品设计参考了 [XMind](https://xmind.com/) 和 [ProcessOn](https://www.processon.com/) 等图表工具的公开产品体验。相关功能由 EdgeEver 独立设计与实现。-- “极简绿”主题排版架构借鉴于 [obsidian-minimal](https://github.com/kepano/obsidian-minimal)。-- “描边绿”主题排版架构借鉴于 [Outline](https://github.com/outline/outline)。-- 暖笺、教程、蓝图、刊物、立场、存根、内参、纲要、留白、草木等纸稿编辑器主题,参考了 [墨格](https://moyufang.cn/editor) 公开排版方案的标题层级、章节数字与引言结构。实现、素材与文案均由 EdgeEver 独立完成。+- “极简青翠”主题排版架构借鉴于 [obsidian-minimal](https://github.com/kepano/obsidian-minimal)。+- “线描翠绿”主题排版架构借鉴于 [Outline](https://github.com/outline/outline)。+- 日暖素笺、青页讲义、夜蓝制图、铅字期刊、陶色时评、琥珀田记、青玉编按、堇色目录、雾色静页、林间手记等编辑器主题,标题层级、章节数字与引言结构参考了 [墨格](https://moyufang.cn/editor) 的公开排版方案。名称、素材与实现均由 EdgeEver 独立完成。## 商标与品牌使用diff --git a/apps/api/src/demo-seed-data.ts b/apps/api/src/demo-seed-data.tsindex 15c6f965..523ce226 100644--- a/apps/api/src/demo-seed-data.ts+++ b/apps/api/src/demo-seed-data.ts@@ -94,7 +94,7 @@ EdgeEver 将高效与优雅融入每一处交互细节,助你专注于思考- **阅读保护模式 (Reading Protection)**:日常翻阅或查阅笔记时,按下 \`Cmd/Ctrl + E\` 即可一键开启只读保护,锁定当前编辑状态,避免沉浸阅读时误触键盘或意外改动笔记内容;再次按下即可随手切回编辑。### 🎭 精选排版主题与一键自媒体发布-- **内置排版主题**:支持一键切换 \`微信绿\`、\`薄荷绿\`、\`极简绿\`、\`描边绿\`,以及暖笺、教程、蓝图等纸稿风格。+- **内置排版主题**:支持一键切换 \`微信新绿\`、\`薄荷清新\`、\`极简青翠\`、\`线描翠绿\`,以及日暖素笺、青页讲义、夜蓝制图等排版风格。- **一键排版复制**:专为内容创作者设计。点击顶部工具栏的**微信公众号图标**,系统自动将当前笔记转为内联 CSS 样式的优雅富文本,直接粘贴至微信公众号后台、Substack 或 WordPress,排版与代码高亮完美保真。### 🖼️ 8 套精美社交分享海报 (Poster Cards)@@ -313,7 +313,7 @@ EdgeEver is engineered to provide a distraction-free, elegant writing experience- **Reading Protection Mode**: When reading or reviewing notes, press \`Cmd/Ctrl + E\` to toggle read-only protection, locking the editor to prevent accidental edits while browsing; press it again to seamlessly resume editing.### 🎭 Curated Typography Themes & Publishing Export-- **Preset Editor Themes**: Switch effortlessly between \`WeChat Green\`, \`Mint Green\`, \`Minimal Green\`, \`Ruled Green\`, and paper styles such as Letter, Guide, and Blueprint.+- **Preset Editor Themes**: Switch effortlessly between \`WeChat Green\`, \`Fresh Mint\`, \`Minimal Jade\`, \`Lined Jade\`, and styles such as Warm Page, Lesson Page, and Navy Draft.- **One-Click Publishing Export**: Built for publishers and bloggers. Click the **WeChat Icon** in the top bar to format your note with inline CSS. Paste directly into WeChat Official Account editor, Substack, Medium, or WordPress while preserving layout and syntax highlighting.### 🖼️ 8 Exquisite Social Poster Themesdiff --git a/apps/web/src/lib/custom-editor-theme.test.mjs b/apps/web/src/lib/custom-editor-theme.test.mjsindex 1d56e704..791bace4 100644--- a/apps/web/src/lib/custom-editor-theme.test.mjs+++ b/apps/web/src/lib/custom-editor-theme.test.mjs@@ -110,8 +110,8 @@ describe("custom editor theme files", () => {});test("localizes factory custom theme names without rewriting user names", () => {- const copy = { defaultName: "自定义主题", newName: (index) => `新主题 ${index}` };- expect(localizeStoredCustomThemeName(DEFAULT_CUSTOM_EDITOR_THEME_NAME, copy)).toBe("自定义主题");+ const copy = { defaultName: "自定主题", newName: (index) => `新主题 ${index}` };+ expect(localizeStoredCustomThemeName(DEFAULT_CUSTOM_EDITOR_THEME_NAME, copy)).toBe("自定主题");expect(localizeStoredCustomThemeName("New theme 2", copy)).toBe("新主题 2");expect(localizeStoredCustomThemeName("Calm / Green", copy)).toBe("Calm / Green");});diff --git a/docs/demo-sample-note.md b/docs/demo-sample-note.mdindex d4795acf..4d09c3fa 100644--- a/docs/demo-sample-note.md+++ b/docs/demo-sample-note.md@@ -67,7 +67,7 @@ EdgeEver is engineered to provide a distraction-free, elegant writing experience- **Reading Protection Mode**: When reading or reviewing notes, press `Cmd/Ctrl + E` to toggle read-only protection, locking the editor to prevent accidental edits while browsing; press it again to seamlessly resume editing.### 🎭 Curated Typography Themes & Publishing Export-- **Preset Editor Themes**: Switch effortlessly between `WeChat Green`, `Mint Green`, `Minimal Green`, `Ruled Green`, and paper styles such as Letter, Guide, and Blueprint.+- **Preset Editor Themes**: Switch effortlessly between `WeChat Green`, `Fresh Mint`, `Minimal Jade`, `Lined Jade`, and styles such as Warm Page, Lesson Page, and Navy Draft.- **One-Click Publishing Export**: Built for publishers and bloggers. Click the **WeChat Icon** in the top bar to format your note with inline CSS. Paste directly into WeChat Official Account editor, Substack, Medium, or WordPress while preserving layout and syntax highlighting.### 🖼️ 8 Exquisite Social Poster Themesdiff --git a/docs/demo-sample-note.zh-CN.md b/docs/demo-sample-note.zh-CN.mdindex 8de150d8..d435c2b6 100644--- a/docs/demo-sample-note.zh-CN.md+++ b/docs/demo-sample-note.zh-CN.md@@ -67,7 +67,7 @@ EdgeEver 将高效与优雅融入每一处交互细节,助你专注于思考- **阅读保护模式 (Reading Protection)**:日常翻阅或查阅笔记时,按下 `Cmd/Ctrl + E` 即可一键开启只读保护,锁定当前编辑状态,避免沉浸阅读时误触键盘或意外改动笔记内容;再次按下即可随手切回编辑。### 🎭 精选排版主题与一键自媒体发布-- **内置排版主题**:支持一键切换 `微信绿`、`薄荷绿`、`极简绿`、`描边绿`,以及暖笺、教程、蓝图等纸稿风格。+- **内置排版主题**:支持一键切换 `微信新绿`、`薄荷清新`、`极简青翠`、`线描翠绿`,以及日暖素笺、青页讲义、夜蓝制图等排版风格。- **一键排版复制**:专为内容创作者设计。点击顶部工具栏的**微信公众号图标**,系统自动将当前笔记转为内联 CSS 样式的优雅富文本,直接粘贴至微信公众号后台、Substack 或 WordPress,排版与代码高亮完美保真。### 🖼️ 8 套精美社交分享海报 (Poster Cards)diff --git a/packages/shared/src/i18n/editor-themes.test.mjs b/packages/shared/src/i18n/editor-themes.test.mjsnew file mode 100644index 00000000..fb1014a6--- /dev/null+++ b/packages/shared/src/i18n/editor-themes.test.mjs@@ -0,0 +1,11 @@+import { describe, expect, test } from "bun:test";+import { zhCN } from "./zh-CN.ts";++describe("editor theme labels", () => {+ test("keeps Chinese preset names at four characters", () => {+ for (const [id, label] of Object.entries(zhCN.settings.editorThemes)) {+ expect(label, id).toHaveLength(4);+ }+ expect(zhCN.settings.customEditorTheme.defaultName).toHaveLength(4);+ });+});diff --git a/packages/shared/src/i18n/en-US.ts b/packages/shared/src/i18n/en-US.tsindex f2f40a7f..e8cf8f38 100644--- a/packages/shared/src/i18n/en-US.ts+++ b/packages/shared/src/i18n/en-US.ts@@ -603,20 +603,20 @@ export const enUS = {},editorThemes: {default: "Native theme",- letter: "Letter",- guide: "Guide",- blueprint: "Blueprint",- journal: "Journal",- stance: "Stance",- stub: "Stub",- brief: "Brief",- outline: "Outline",- zen: "Whitespace",- grove: "Grove",- "minimal-emerald": "Minimal Green",- "outline-emerald": "Ruled Green",+ letter: "Warm Page",+ guide: "Lesson Page",+ blueprint: "Navy Draft",+ journal: "Lead Issue",+ stance: "Clay Review",+ stub: "Amber Notes",+ brief: "Teal Aside",+ outline: "Violet Index",+ zen: "Mist Page",+ grove: "Forest Notes",+ "minimal-emerald": "Minimal Jade",+ "outline-emerald": "Lined Jade","wechat-green": "WeChat Green",- "modern-mint": "Mint Green",+ "modern-mint": "Fresh Mint",custom: "Custom",},customEditorTheme: {diff --git a/packages/shared/src/i18n/zh-CN.ts b/packages/shared/src/i18n/zh-CN.tsindex 0c233f21..dde01f1a 100644--- a/packages/shared/src/i18n/zh-CN.ts+++ b/packages/shared/src/i18n/zh-CN.ts@@ -603,28 +603,28 @@ export const zhCN = {},editorThemes: {default: "原生主题",- letter: "暖笺",- guide: "教程",- blueprint: "蓝图",- journal: "刊物",- stance: "立场",- stub: "存根",- brief: "内参",- outline: "纲要",- zen: "留白",- grove: "草木",- "minimal-emerald": "极简绿",- "outline-emerald": "描边绿",- "wechat-green": "微信绿",- "modern-mint": "薄荷绿",- custom: "自定义",+ letter: "日暖素笺",+ guide: "青页讲义",+ blueprint: "夜蓝制图",+ journal: "铅字期刊",+ stance: "陶色时评",+ stub: "琥珀田记",+ brief: "青玉编按",+ outline: "堇色目录",+ zen: "雾色静页",+ grove: "林间手记",+ "minimal-emerald": "极简青翠",+ "outline-emerald": "线描翠绿",+ "wechat-green": "微信新绿",+ "modern-mint": "薄荷清新",+ custom: "自定主题",},customEditorTheme: {title: "自定义编辑器主题",description: "调整正文编辑区的颜色,设置仅保存在当前浏览器中。",settingsTitle: "自定义主题",settingsDescription: "全部排版主题在编辑器工具栏切换。这里只管理保存在当前浏览器中的自定义配色。",- defaultName: "自定义主题",+ defaultName: "自定主题",newName: "新主题 {{n}}",create: "新建主题…",edit: "编辑配色",