Skip to content

[2500u2] fix: avoid Wi-Fi terms in pt_BR - #667

Merged
robertkill merged 1 commit into
linuxdeepin:release/2500u2from
robertkill:fix/bug-383655-pt-br-wireless-2500u2
Nov 20, 2026
Merged

robertkill merged 1 commit into
linuxdeepin:release/2500u2from
robertkill:fix/bug-383655-pt-br-wireless-2500u2

Conversation

@robertkill

@robertkill robertkill commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

修改范围

将 BUG-383655 的巴西葡语网络文案修复单独迁移到 release/2500u2。

  • 仅控制中心、任务栏网络插件及共享库的三份 pt_BR TS,共21条译文。
  • 无线网络标题统一为 Rede sem fio;句内按语境采用通用无线术语。
  • 保留本分支已有版本、依赖及构建配置,不夹带其他主干或U3改动。
  • 不改英文源文、其他语种、用户SSID、占位符、context或HTML链接。

主干原修复:#665
U3 版本:#666

验证

  • U2三份原始TS与已验修复的原基线逐字节相同;迁移后与既有获审/获测TS逐字节一致。
  • 相同翻译回归先RED三项失败,再GREEN 3/3通过。
  • 三份TS均经Qt6 lrelease实际编译;QM与此前10.20.51.104实测资源逐字节相同,原生QTranslator查找7/7通过。
  • 完整Git差集仅三份TS、21条translation文本,源文、语法、占位符、富文本标签和链接保持不变。
  • 使用当前CI实际复用的提交检查器,按本次明确许可保留必需的Log与最终PMS: BUG-383655。

边界

本次仅改独立翻译资源,不涉及网络逻辑或系统组件。验收覆盖TS结构、批准差集、QM编译及原生翻译查找,并确认资源与此前已验控制中心/任务栏版本逐字节相同,无需整套U2镜像回归。

提交后等待人工审核,不自动批准或合入,不操作CRP。

1. Use generic wireless-network wording in the Brazilian Portuguese
   translations of Control Center, the dock plugin and the shared library.
2. Port only the 21 approved translation changes to release/2500u2.

Influence:
1. Keep source strings, other languages, placeholders and HTML links intact.
2. Verify translation structure, compiled catalogs and native lookup results.

fix: 巴西葡语网络界面使用通用无线网络文案

1. 控制中心、任务栏插件及共享库的巴西葡语译文使用通用无线网络术语。
2. 仅迁移已确认的21条译文到 release/2500u2。

Influence:
1. 保留英文源文、其他语种、占位符及HTML链接。
2. 验证翻译结构、编译后资源和原生翻译查找结果。

Log: Replace Wi-Fi UI labels with generic wireless terms in pt_BR.
PMS: BUG-383655
@sourcery-ai

sourcery-ai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Reviewer's Guide

UI

Replace Wi-Fi-specific wording with generic wireless terminology in the Brazilian Portuguese network translations across the control center, dock plugin, and shared library.

  • dcc-network/translations/network_pt_BR.ts L308-316, L526-538 (+5 small edits)
  • dock-network-plugin/translations/dock-network-plugin_pt_BR.ts L162-166 (+5 small edits)
  • src/translations/dde-network-core_pt_BR.ts L234-238

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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 1 issue

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

## Individual Comments

### Comment 1
<location path="dock-network-plugin/translations/dock-network-plugin_pt_BR.ts" line_range="242" />
<code_context>
     <message>
         <source>Wireless Network</source>
-        <translation>Rede Wi-Fi</translation>
+        <translation>Rede sem fio</translation>
     </message>
 </context>
</code_context>
<issue_to_address>
**Session-shell panel retains Wi-Fi wording**

When the DSS session-shell network plugin is used, `dss-network-plugin` builds its own Portuguese catalog, whose matching “Wireless Network” translation remains `Rede Wi-Fi`; users of that panel still see the term this change removes from the dock panel.

Update the corresponding pt_BR entries in the DSS plugin catalog as well, if this terminology change is intended to cover that network panel.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

<message>
<source>Wireless Network</source>
<translation>Rede Wi-Fi</translation>
<translation>Rede sem fio</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.

🟡 Medium · Session-shell panel retains Wi-Fi wording

When the DSS session-shell network plugin is used, dss-network-plugin builds its own Portuguese catalog, whose matching “Wireless Network” translation remains Rede Wi-Fi; users of that panel still see the term this change removes from the dock panel.

Update the corresponding pt_BR entries in the DSS plugin catalog as well, if this terminology change is intended to cover that network panel.

Prompt for AI agents
In `dock-network-plugin/translations/dock-network-plugin_pt_BR.ts` at line 242:

**Session-shell panel retains Wi-Fi wording**

When the DSS session-shell network plugin is used, `dss-network-plugin` builds its own Portuguese catalog, whose matching “Wireless Network” translation remains `Rede Wi-Fi`; users of that panel still see the term this change removes from the dock panel.

Update the corresponding pt_BR entries in the DSS plugin catalog as well, if this terminology change is intended to cover that network panel.

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, robertkill

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

@robertkill
robertkill merged commit fc1d8da into linuxdeepin:release/2500u2 Nov 20, 2026
18 of 22 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