Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Resurgamz The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideThe PR updates both translation catalogs with the two user-facing strings introduced by asynchronous PDF print conversion, adding Simplified Chinese translations while preserving the English source entries in the base catalog. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Add the zh_CN translation for the string introduced by the asynchronous
PDF print conversion ("Preparing the content for printing. This may
take a while. Please wait…").
Log: 补充打印等待提示文案的中文翻译
Bug: https://pms.uniontech.com/bug-view-379067.html
bace031 to
7587df2
Compare
deepin pr auto review🤖 AI 代码审查报告📊 总体评价
🔍 详细分析1. 语法逻辑 ✅评价: 优秀 ✅ 通过 潜在问题: 建议: XML 结构正确,message 块遵循 Qt .ts 文件格式规范,location/source/translation 元素完整,两个文件的 location 引用一致(DocSheet.cpp line 2176)。 2. 代码质量 ✅评价: 优秀 ✅ 通过 潜在问题:
建议: 确认 PR #421 是否同时引入了两条待翻译字符串。如确实引入了两条,请补充 'Failed to prepare the content for printing. Please try again.' 的 zh_CN 翻译(建议译为'准备打印内容失败,请重试。');若仅引入了一条,请更新 PR 描述以保持一致。 3. 代码性能 ✅评价: 优秀 ✅ 通过 潜在问题: 建议: 翻译文件变更无性能影响,仅增加静态文本条目,无需优化。 4. 代码安全 🔒评价: 优秀 ✅ 通过
安全漏洞详情: 建议: 翻译文件仅包含静态文本内容,无安全风险,无需安全加固。 💡 改进建议代码示例<!-- 建议在 translations/deepin-reader.ts 中补充缺失的第二条字符串 -->
<message>
<location filename="../reader/uiframe/DocSheet.cpp" line="XXXX"/>
<source>Failed to prepare the content for printing. Please try again.</source>
<translation>Failed to prepare the content for printing. Please try again.</translation>
</message>
<!-- 对应在 translations/deepin-reader_zh_CN.ts 中补充中文翻译 -->
<message>
<location filename="../reader/uiframe/DocSheet.cpp" line="XXXX" />
<source>Failed to prepare the content for printing. Please try again.</source>
<translation>准备打印内容失败,请重试。</translation>
</message>本报告由 AI 代码审查工具自动生成 |
|
/retest |
Translations only.
Adds the zh_CN translation for the user-facing string introduced by the asynchronous PDF print conversion in #421:
Preparing the content for printing. This may take a while. Please wait…Related to #421 (the source string is added there).