Repository navigation
Update links to point to localized documentation - #131
Merged
Merged
Conversation
Updated links in the German translation to point to the correct documentation.
putianyi889
marked this pull request as ready for review
November 12, 2026 11:15
ljzloser
reviewed
Nov 12, 2026
Collaborator
There was a problem hiding this comment.
当前修改不会更新关于窗口里的链接。 四个 .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 项均失败。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.