Skip to content

fix: update translations#663

Merged
lzwind merged 2 commits intolinuxdeepin:masterfrom
JWWTSL:master
Aug 8, 2025
Merged

fix: update translations#663
lzwind merged 2 commits intolinuxdeepin:masterfrom
JWWTSL:master

Conversation

@JWWTSL
Copy link
Contributor

@JWWTSL JWWTSL commented Aug 8, 2025

log:

Summary by Sourcery

Add Lao locale translations across multiple Deepin components

Enhancements:

  • Add Lao translations for dde-cooperation core, GUI widgets, and file manager plugins
  • Add Lao translations for deepin-data-transfer core, GUI widgets, and backup utilities
  • Add Lao translations for cooperation-deliver plugin and desktop entry files for cooperation and data transfer

@sourcery-ai
Copy link

sourcery-ai bot commented Aug 8, 2025

Reviewer's Guide

This pull request adds comprehensive Lao language translation files for the Cooperation and Data Transfer applications, their file-manager plugins, and associated desktop entries to enable lo locale support.

File-Level Changes

Change Details Files
Add Lao translations for the Cooperation application
  • Translate all UI contexts (core, dialogs, widgets, utils) into Lao
  • Include file‐manager plugin, search/edit, transfer dialogs, settings, tips, and tooltips
translations/dde-cooperation/dde-cooperation_lo.ts
Add Lao translations for the Deepin Data Transfer application
  • Translate main app descriptions, prompts, widgets, upload/download flows
  • Mark several entries as unfinished for later review
translations/deepin-data-transfer/deepin-data-transfer_lo.ts
Add Lao translations for the file‐manager cooperation plugin
  • Translate menu items and settings dialog labels
  • Ensure button texts and options are localized
translations/dfmplugin-deliver/cooperation-transfer_lo.ts
Add Lao desktop entry translations
  • Localize GenericName, Comment, and Name fields for cooperation and data transfer desktops
translations/dde-cooperation-desktop/desktop_lo.ts
translations/deepin-data-transfer-desktop/desktop_lo.ts

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 @JWWTSL - I've reviewed your changes - here's some feedback:

  • Consider splitting this massive translation update into separate PRs per component (e.g., dde-cooperation, data-transfer, desktop entries) to make reviews more manageable.
  • Double-check that all new strings have been correctly translated or marked as “unfinished”—I spotted several entries still blank or flagged as unfinished.
  • Verify that placeholders (like %1, %2) and XML entities are preserved exactly in each translation to avoid runtime formatting errors.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider splitting this massive translation update into separate PRs per component (e.g., dde-cooperation, data-transfer, desktop entries) to make reviews more manageable.
- Double-check that all new strings have been correctly translated or marked as “unfinished”—I spotted several entries still blank or flagged as unfinished.
- Verify that placeholders (like %1, %2) and XML entities are preserved exactly in each translation to avoid runtime formatting errors.

## Individual Comments

### Comment 1
<location> `translations/deepin-data-transfer/deepin-data-transfer_lo.ts:358` </location>
<code_context>
+    <message>
+        <location filename="../../src/plugins/data-transfer/core/gui/select/fileselectwidget.cpp" line="71"/>
+        <source>Cancel</source>
+        <translation>Batalkan</translation>
+    </message>
+    <message>
</code_context>

<issue_to_address>
Inconsistent language for 'Cancel' translation.

'Batalkan' is Indonesian. Please update the translation to match the file's target language.
</issue_to_address>

### Comment 2
<location> `translations/deepin-data-transfer/deepin-data-transfer_lo.ts:445` </location>
<code_context>
+    <message>
+        <location filename="../../src/plugins/data-transfer/core/gui/connect/readywidget.cpp" line="59"/>
+        <source>Please input the IP of UOS</source>
+        <translation>ກະລົດປ້ອມກະລົນ IP ຂອງ UOS</translation>
+    </message>
+    <message>
</code_context>

<issue_to_address>
Inconsistent use of 'ກະລົດປ້ອມກະລົນ' in multiple translations.

Please check if this phrase is accurate and appropriate in each translation context.
</issue_to_address>

<suggested_fix>
<<<<<<< SEARCH
        <location filename="../../src/plugins/data-transfer/core/gui/connect/readywidget.cpp" line="59"/>
        <source>Please input the IP of UOS</source>
        <translation>ກະລົດປ້ອມກະລົນ IP ຂອງ UOS</translation>
=======
        <location filename="../../src/plugins/data-transfer/core/gui/connect/readywidget.cpp" line="59"/>
        <source>Please input the IP of UOS</source>
        <translation>ກະລຸນາປ້ອນ IP ຂອງ UOS</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.

<message>
<location filename="../../src/plugins/data-transfer/core/gui/select/fileselectwidget.cpp" line="71"/>
<source>Cancel</source>
<translation>Batalkan</translation>
Copy link

Choose a reason for hiding this comment

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

issue: Inconsistent language for 'Cancel' translation.

'Batalkan' is Indonesian. Please update the translation to match the file's target language.

Comment on lines +443 to +445
<location filename="../../src/plugins/data-transfer/core/gui/connect/readywidget.cpp" line="59"/>
<source>Please input the IP of UOS</source>
<translation>ກະລົດປ້ອມກະລົນ IP ຂອງ UOS</translation>
Copy link

Choose a reason for hiding this comment

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

suggestion: Inconsistent use of 'ກະລົດປ້ອມກະລົນ' in multiple translations.

Please check if this phrase is accurate and appropriate in each translation context.

Suggested change
<location filename="../../src/plugins/data-transfer/core/gui/connect/readywidget.cpp" line="59"/>
<source>Please input the IP of UOS</source>
<translation>ກະລົດປ້ອມກະລົນ IP ຂອງ UOS</translation>
<location filename="../../src/plugins/data-transfer/core/gui/connect/readywidget.cpp" line="59"/>
<source>Please input the IP of UOS</source>
<translation>ກະລຸນາປ້ອນ IP ຂອງ UOS</translation>

@github-actions
Copy link

github-actions bot commented Aug 8, 2025

TAG Bot

TAG: 1.1.15
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: JWWTSL, 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 d4aa110 into linuxdeepin:master Aug 8, 2025
15 of 18 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