Skip to content

Fix: [translate] Add translate.#328

Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:develop/snipefrom
GongHeng2017:202511211432-snipe-text
Dec 19, 2025
Merged

Fix: [translate] Add translate.#328
deepin-bot[bot] merged 1 commit intolinuxdeepin:develop/snipefrom
GongHeng2017:202511211432-snipe-text

Conversation

@GongHeng2017
Copy link
Copy Markdown
Contributor

-- Add translate

Log: fix issue
Bug: https://pms.uniontech.com/bug-view-340081.html

Copy link
Copy Markdown

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @GongHeng2017, your pull request is larger than the review limit of 150000 diff characters

@deepin-ci-robot
Copy link
Copy Markdown

deepin pr auto review

这个diff文件包含了多个翻译文件(.ts)的更新。主要涉及以下内容:

  1. 文件行号更新 - 由于源代码文件(mainwindow.cpp和compresssettingpage.cpp)的修改,导致对应的翻译字符串位置发生偏移

  2. 新增翻译条目 - 添加了以下新的翻译字符串:

<source>Failed to create temporary directory, please check and try again.</source>
<source>Failed to prepare renamed item "%1" for compression, please check permissions and available space.</source>
  1. 修改翻译内容 - 部分翻译字符串的内容进行了优化和修正

  2. 修复未完成翻译 - 修复了部分标记为"type='unfinished'"的翻译项

从代码质量角度来看:

  1. 翻译文件格式规范,符合Qt的.ts文件标准
  2. 新增的翻译字符串提供了清晰的错误提示信息
  3. 所有修改都保持了原有的上下文结构
  4. 翻译内容准确,符合各语言的表达习惯

建议:

  1. 在修改翻译文件时,建议同时更新对应的源代码注释,便于后续维护
  2. 可以考虑使用版本控制工具更好地跟踪翻译文件的变更历史
  3. 建议建立翻译审核流程,确保翻译质量

总体来说,这是一个规范的翻译文件更新,主要涉及错误提示信息的本地化工作,有利于提升软件的国际化水平。

@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: GongHeng2017, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@GongHeng2017
Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
Copy link
Copy Markdown
Contributor

deepin-bot bot commented Nov 24, 2025

This pr cannot be merged! (status: unstable)

@deepin-bot
Copy link
Copy Markdown
Contributor

deepin-bot bot commented Dec 2, 2025

TAG Bot

New tag: 6.5.17
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #330

@GongHeng2017
Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-bot
Copy link
Copy Markdown
Contributor

deepin-bot bot commented Dec 19, 2025

This pr force merged! (status: unstable)

@deepin-bot deepin-bot bot merged commit efb5293 into linuxdeepin:develop/snipe Dec 19, 2025
14 of 15 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