mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 12:55:57 +03:00
[GH-ISSUE #517] [bug] 模板范围(Scope)选项未被翻译 #373
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ozp on GitHub (Aug 3, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/517
Originally assigned to: @codexu on GitHub.
详细描述这个 Bug
Bug 详细描述
在“模板”设置页面(
/core/setting/template)存在一个翻译问题。即使用户将应用语言设置为英文,在创建或编辑模板时的“范围”(Scope)下拉菜单中的选项依然显示为中文。重现步骤
预期行为
范围选项(Scope options)应根据所选的应用语言(如英文)正确显示。
实际行为
范围选项始终显示为中文字符(全部, 今天, 近一周, 等)。
给开发者的技术提示
我推测问题根源在于
src/stores/setting.ts文件。GenTemplateRange枚举直接硬编码了中文字符串,而没有使用国际化(i18n)的键值。翻译建议
以下是对应的翻译建议,供参考:
全部All今天Today近一周Last week近一月Last month近三个月Last 3 months近一年Last year感谢你们开发了这么棒的工具!
此 Issue 由资深软件工程师 AI 助理根据用户报告翻译为中文。
This issue was translated into Chinese by a senior software engineer AI assistant based on the user's report.
NoteGen 版本
notegen
操作系统
Linux
报错日志
Bug 详细描述
在“模板”设置页面(
/core/setting/template)存在一个翻译问题。即使用户将应用语言设置为英文,在创建或编辑模板时的“范围”(Scope)下拉菜单中的选项依然显示为中文。重现步骤
预期行为
范围选项(Scope options)应根据所选的应用语言(如英文)正确显示。
实际行为
范围选项始终显示为中文字符(全部, 今天, 近一周, 等)。
给开发者的技术提示
我推测问题根源在于
src/stores/setting.ts文件。GenTemplateRange枚举直接硬编码了中文字符串,而没有使用国际化(i18n)的键值。翻译建议
以下是对应的翻译建议,供参考:
全部All今天Today近一周Last week近一月Last month近三个月Last 3 months近一年Last year感谢你们开发了这么棒的工具!
此 Issue 由资深软件工程师 AI 助理根据用户报告翻译为中文。
This issue was translated into Chinese by a senior software engineer AI assistant based on the user's report.