Skip to content

Conversation

@dengzhongyuan365-dev
Copy link
Contributor

@dengzhongyuan365-dev dengzhongyuan365-dev commented Aug 7, 2025

chore: Add new Lao translation file

  • Add new Lao translation file

Log: Improve language support by adding Lao translation

Summary by Sourcery

Add Lao language support by including new translation files for the application UI and desktop entry.

New Features:

  • Add deepin-compressor_lo.ts to provide Lao translations for the application interface
  • Add desktop_lo.ts to provide Lao translations for the desktop entry

- Add new Lao translation file

Log: Improve language support by adding Lao translation
 - update version to 6.5.13

 log: update version to 6.5.13
@github-actions
Copy link

github-actions bot commented Aug 7, 2025

TAG Bot

TAG: 6.5.13
EXISTED: no
DISTRIBUTION: unstable

@sourcery-ai
Copy link

sourcery-ai bot commented Aug 7, 2025

Reviewer's Guide

This PR enhances localization by introducing Lao language support, adding two new translation files for the application UI and desktop entry, and updating the packaging changelog accordingly.

File-Level Changes

Change Details Files
Add Lao translations for application UI
  • Create a new translation file with contexts and messages for dialogs, pages, tree views, and progress indicators
  • Provide localized Lao text for button labels, status messages, and user prompts across the app
translations/deepin-compressor_lo.ts
Add Lao translations for desktop entry
  • Create a new desktop translation file defining app name, generic name, comment, and keywords
  • Localize metadata used by desktop environments for the Archive Manager
translations/desktop/desktop_lo.ts
Update packaging metadata
  • Record the addition of Lao translation in the Debian changelog
debian/changelog

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

Copy link

@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.

Hey @dengzhongyuan365-dev - I've reviewed your changes and they look great!

Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments

### Comment 1
<location> `translations/deepin-compressor_lo.ts:87` </location>
<code_context>
+    <message>
+        <location filename="../src/source/page/compresssettingpage.cpp" line="232"/>
+        <source>CPU threads</source>
+        <translation>ເສັ້ນທາງ CPU</translation>
+    </message>
+    <message>
</code_context>

<issue_to_address>
Translation for 'CPU threads' may be misleading.

'ເສັ້ນທາງ CPU' may be misunderstood as 'CPU path.' Please use a term that clearly refers to processing threads or cores in Lao, if available.
</issue_to_address>

<suggested_fix>
<<<<<<< SEARCH
        <source>CPU threads</source>
        <translation>ເສັ້ນທາງ CPU</translation>
=======
        <source>CPU threads</source>
        <translation>ຫົວຂໍ້ການປະມວນຜົນ CPU</translation>
>>>>>>> REPLACE

</suggested_fix>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment on lines +86 to +87
<source>CPU threads</source>
<translation>ເສັ້ນທາງ CPU</translation>
Copy link

Choose a reason for hiding this comment

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

suggestion: Translation for 'CPU threads' may be misleading.

'ເສັ້ນທາງ CPU' may be misunderstood as 'CPU path.' Please use a term that clearly refers to processing threads or cores in Lao, if available.

Suggested change
<source>CPU threads</source>
<translation>ເສັ້ນທາງ CPU</translation>
<source>CPU threads</source>
<translation>ຫົວຂໍ້ການປະມວນຜົນ CPU</translation>

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dengzhongyuan365-dev, 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

@lzwind lzwind merged commit a0f088b into linuxdeepin:develop/snipe Aug 7, 2025
15 of 16 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