deepin-calculator icon indicating copy to clipboard operation
deepin-calculator copied to clipboard

Automatic Translation: Update .desktop files

Open deepin-ci-robot opened this issue 2 months ago • 6 comments
trafficstars

This PR was automatically generated to update translations for modified .desktop files.

Summary by Sourcery

Chores:

  • Regenerate and update translations in .desktop files

deepin-ci-robot avatar Aug 27 '25 07:08 deepin-ci-robot

TAG Bot

New tag: 6.5.25 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #169

deepin-bot[bot] avatar Aug 27 '25 07:08 deepin-bot[bot]

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: deepin-ci-robot

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

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

deepin-ci-robot avatar Aug 27 '25 07:08 deepin-ci-robot

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This pull request refreshes the translated sections in .desktop files to align with recent source text changes, ensuring all localized labels and descriptions are up to date across supported languages.

File-Level Changes

Change Details Files
Updated translation entries in desktop files
  • synchronized translation strings with updated source texts
  • added missing localized labels where new keys were introduced
  • removed obsolete translation entries no longer present in the source
deepin-calculator.desktop

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an issue from a review comment by replying to it. You can also reply to a review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in the pull request body to generate a PR summary at any time exactly where you want it. You can also comment @sourcery-ai summary on the pull request to (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the pull request to resolve all Sourcery comments. Useful if you've already addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull request to dismiss all existing Sourcery reviews. Especially useful if you want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

  • Contact our support team for questions or feedback.
  • Visit our documentation for detailed guides and information.
  • Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.

sourcery-ai[bot] avatar Aug 27 '25 07:08 sourcery-ai[bot]

deepin pr auto review

这是一个对 deepin-calculator.desktop 文件的修改,主要增加了多种语言的翻译支持。以下是我的审查意见:

  1. 语法逻辑:
  • 所有新增的翻译条目格式正确,遵循了已有的 Comment、GenericName 和 Name 字段的格式规范
  • 语言代码使用标准格式(如 ady、af、eo 等),符合国际化标准
  • 没有发现语法错误或格式不一致的问题
  1. 代码质量:
  • 新增翻译保持了与原有翻译相同的质量和风格
  • 翻译内容准确,符合各语言的计算器/计算相关术语
  • 注释 "# Translations: # Do not manually modify!" 保留,提醒开发者不要手动修改这部分内容
  1. 代码性能:
  • 作为桌面文件(.desktop),这些翻译条目的性能影响可以忽略不计
  • 文件大小略有增加,但这是必要的本地化内容
  1. 代码安全:
  • 所有翻译内容都是纯文本,不存在注入风险
  • 语言代码使用标准格式,不存在安全隐患

改进建议:

  1. 建议添加语言代码的注释,说明这些代码遵循 ISO 639-1 或 ISO 639-2 标准,方便维护者理解
  2. 可以考虑添加一个校验机制,确保新增的语言代码是有效的 ISO 语言代码
  3. 对于 lo (老挝语) 的翻译,从 "ເຄື່ອງຄິດໄລ່" 改为 "ເຄົາລະເຄີລເຕີ",这是一个改进,因为后者更准确地表达"计算器"的含义
  4. 建议在文件头部添加一个版本号或更新日期字段,方便追踪翻译更新的历史

总体而言,这是一个良好的本地化更新,增加了对多种语言的支持,有助于提升软件的国际可用性。

deepin-ci-robot avatar Aug 27 '25 07:08 deepin-ci-robot

TAG Bot

New tag: 6.5.26 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #171

deepin-bot[bot] avatar Sep 17 '25 03:09 deepin-bot[bot]

TAG Bot

New tag: 6.5.27 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #174

deepin-bot[bot] avatar Oct 16 '25 11:10 deepin-bot[bot]

TAG Bot

New tag: 6.5.29 DISTRIBUTION: unstable Suggest: synchronizing this PR through rebase #183

deepin-bot[bot] avatar Nov 21 '25 02:11 deepin-bot[bot]