Skip to content

fix:update translations#169

Closed
JWWTSL wants to merge 2 commits into
linuxdeepin:masterfrom
JWWTSL:master
Closed

fix:update translations#169
JWWTSL wants to merge 2 commits into
linuxdeepin:masterfrom
JWWTSL:master

Conversation

@JWWTSL
Copy link
Copy Markdown
Contributor

@JWWTSL JWWTSL commented Aug 8, 2025

Summary by Sourcery

Update and correct translation files across multiple TS modules

New Features:

  • Add Lao translations for desktop entry and policy files

Bug Fixes:

  • Fix non-breaking space usage and apostrophe escaping in French translations

Enhancements:

  • Update TS source location line numbers after code refactoring
  • Refresh Azerbaijani translations to align with updated UI strings

JWWTSL added 2 commits August 7, 2025 21:17
log: Handling compilation errors
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 8, 2025

TAG Bot

TAG: 6.0.13
EXISTED: yes
DISTRIBUTION: unstable

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented Aug 8, 2025

Reviewer's Guide

This PR updates translation files to align with recent source code changes, cleans up formatting in the French translations, refines Azerbaijani entries, and adds initial Lao translation support.

File-Level Changes

Change Details Files
Realign translation tags to updated source code
  • Increment line numbers in French translation entries
  • Increment line numbers in Azerbaijani translation entries
application/translations/deepin-diskmanager_fr.ts
application/translations/deepin-diskmanager.ts
Standardize formatting and entity encoding in French translations
  • Replace regular spaces with non-breaking-space entities
  • Escape apostrophes as '
  • Fix punctuation spacing
application/translations/deepin-diskmanager_fr.ts
Refine Azerbaijani translation entries
  • Adjust line-number references to match source changes
  • Correct a few translation strings for clarity
application/translations/deepin-diskmanager.ts
Add Lao translations
  • Introduce desktop entry translations for Lao
  • Introduce policy action translations for Lao
application/translations/desktop_lo.ts
application/translations/policy_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
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.

Hey @JWWTSL - 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> `application/translations/deepin-diskmanager_fr.ts:1661` </location>
<code_context>
+        <location filename="../widgets/infoshowwidget.cpp" line="541"/>
         <source>LV count:</source>
-        <translation>Compte VG :</translation>
+        <translation>Compte VG&#xa0;:</translation>
     </message>
     <message>
</code_context>

<issue_to_address>
Potential translation mismatch for 'LV count'.

The translation uses 'VG' (Volume Group) instead of 'LV' (Logical Volume). Please confirm if this matches the intended terminology, or update the translation to refer to 'LV' for consistency.
</issue_to_address>

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.

<source>LV count:</source>
<translation>Compte VG :</translation>
<translation>Compte VG&#xa0;:</translation>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

question: Potential translation mismatch for 'LV count'.

The translation uses 'VG' (Volume Group) instead of 'LV' (Logical Volume). Please confirm if this matches the intended terminology, or update the translation to refer to 'LV' for consistency.

@deepin-ci-robot
Copy link
Copy Markdown

[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

@JWWTSL JWWTSL closed this Aug 8, 2025
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