Skip to content

Update links to point to localized documentation - #131

Merged
eee555 merged 6 commits into
eee555:masterfrom
putianyi889:patch-1
Nov 13, 2026
Merged

eee555 merged 6 commits into
eee555:masterfrom
putianyi889:patch-1

Conversation

@putianyi889

Copy link
Copy Markdown
Contributor

No description provided.

@putianyi889
putianyi889 marked this pull request as ready for review November 12, 2026 11:15

@ljzloser ljzloser left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

当前修改不会更新关于窗口里的链接。 四个 .ts 文件改的是翻译查找键 <source>,而 uiFiles/ui_about.ui 和生成的 src/ui/ui_about.py 仍传入包含 /docs/zh/guide/... 的完整 HTML;新键因此匹配不到,且对应 <translation type="unfinished"> 为空。即使重新生成 .qm,外语界面仍会回退到原来的中文链接。

建议保留与 UI 完全一致的 <source>,在各语言 <translation> 中填写包含目标 href 和显示文本的完整 HTML,然后重新生成翻译并验证两个链接。网站的无语言前缀地址会按浏览器语言跳转,请同时确认该行为符合预期。


本地补测:从本 PR 的四份 TS 重新编译 QM,并在 Qt 离屏真实关于窗口验证;四种语言的两个链接显示文本及实际点击目标均仍含 /zh/。现有相关 UI 测试 55 项通过;新增的临时目标地址验证 8 项均失败。

@eee555
eee555 merged commit 15a511e into eee555:master Nov 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants