Skip to content

docs: add pt_BR help manual & update version to 6.6.12 - #758

Merged
lzwind merged 2 commits into
linuxdeepin:masterfrom
pengfeixx:master
Nov 30, 2026
Merged

lzwind merged 2 commits into
linuxdeepin:masterfrom
pengfeixx:master

Conversation

@pengfeixx

@pengfeixx pengfeixx commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add Brazilian Portuguese (pt_BR) help manual
  • Bump version to 6.6.12

Changes

  • docs: add pt_BR help manual for deepin-editor (PMS: TASK-396575)
    • New src/assets/deepin-editor/editor/pt_BR/ with p_editor.md and 12 localized figures
    • Installed automatically via existing deepin-manual assets install rule
  • chore: update version to 6.6.12 (debian/changelog + linglong.yaml)

Included since 6.6.11

  • docs: add pt_BR help manual for deepin-editor
  • fix(encodes): fix heap buffer overflow read in detectCharset (already on master)

Test suggestions

  1. Open the help manual with system language set to pt_BR (Brazilian Portuguese)
  2. Verify all figures render correctly in pt_BR manual pages
  3. Confirm manuals of other languages are unchanged

Log: add Brazilian Portuguese help manual
PMS: TASK-396575

Summary by Sourcery

Add Brazilian Portuguese documentation and release deepin-editor version 6.6.12.

Documentation:

  • Add a complete Brazilian Portuguese help manual for deepin-editor, including localized illustrations.

Chores:

  • Update the application package version to 6.6.12.

@sourcery-ai

sourcery-ai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Bump the package version to 6.6.12.1 and record the release in the Debian changelog.

  • debian/changelog L1-7
  • linglong.yaml L10

Documentation

Add the Brazilian Portuguese help manual and its localized figures so users can read the editor documentation in pt_BR.

  • src/assets/deepin-editor/editor/pt_BR/p_editor.md L1-331
  • src/assets/deepin-editor/editor/pt_BR/fig/colortag.png
  • src/assets/deepin-editor/editor/pt_BR/fig/column_mode.png
  • src/assets/deepin-editor/editor/pt_BR/fig/highlight.png
  • src/assets/deepin-editor/editor/pt_BR/fig/hotkey.png
  • src/assets/deepin-editor/editor/pt_BR/fig/listen.png
  • src/assets/deepin-editor/editor/pt_BR/fig/overview.png
  • src/assets/deepin-editor/editor/pt_BR/fig/printer.png
  • src/assets/deepin-editor/editor/pt_BR/fig/printer_setting.png
  • src/assets/deepin-editor/editor/pt_BR/fig/read_only.png
  • src/assets/deepin-editor/editor/pt_BR/fig/read_only_02.png
  • src/assets/deepin-editor/editor/pt_BR/fig/reading.png
  • src/assets/deepin-editor/editor/pt_BR/fig/togglecase.png

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

@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 6.6.12
EXISTED: no
DISTRIBUTION: unstable

@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 4 issues

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

## Individual Comments

### Comment 1
<location path="src/assets/deepin-editor/editor/pt_BR/p_editor.md" line_range="1" />
<code_context>
+# Editor de Textos|deepin-editor|
+
+## Visão Geral
</code_context>
<issue_to_address>
**Desktop help falls back from Portuguese**

When the help viewer requests the `d_editor` variant for a pt_BR user, the locale contains only `p_editor.md`, so the requested desktop page is missing and the viewer shows a fallback language or no manual.

Add a Portuguese `d_editor.md` page for the desktop manual.
</issue_to_address>

### Comment 2
<location path="src/assets/deepin-editor/editor/pt_BR/p_editor.md" line_range="1" />
<code_context>
+# Editor de Textos|deepin-editor|
+
+## Visão Geral
</code_context>
<issue_to_address>
**pt_BR manual is missing on sw_64**

When the package is built for `sw_64`, cMake's `sw_64` install branch copies only `src/assets/loongarch64/deepin-editor`, which has no pt_BR directory, so users on that architecture cannot access the Portuguese manual.

Include the pt_BR manual and its figures in the assets installed by the `sw_64` branch.
</issue_to_address>

### Comment 3
<location path="src/assets/deepin-editor/editor/pt_BR/p_editor.md" line_range="180" />
<code_context>
+
+### Ativar/Desativar o Modo Somente Leitura
+
+1. Abra um documento no Editor de Textos, clique com o botão direito e selecione **Ativar Modo Somente Leitura**.
+2. No modo somente leitura, clique com o botão direito e selecione **Desativar Modo Somente Leitura**.
+
</code_context>
<issue_to_address>
**Readers cannot switch read-only mode**

When a pt_BR reader follows the read-only instructions in the current application UI, the instructions name context-menu actions that are absent; the current menu uses a View Mode submenu with Read View and Edit Mode, so readers cannot switch modes as described.

Rewrite the steps to use the current View Mode submenu and its actual options.
</issue_to_address>

### Comment 4
<location path="src/assets/deepin-editor/editor/pt_BR/p_editor.md" line_range="179" />
<code_context>
+deepin-editor (6.6.12) unstable; urgency=medium
+
+  * docs: add pt_BR help manual for deepin-editor
+  * fix(encodes): fix heap buffer overflow read in detectCharset
</code_context>
<issue_to_address>
**Markdown preview instructions are missing**

When a pt_BR user wants to use Markdown Live Preview or change view modes, the manual omits instructions for the available Edit, Read-Only, and Markdown Live Preview modes, so readers cannot learn how to preview Markdown while editing or change view modes.

Document how to use the Edit, Read-Only, and Markdown Live Preview modes.
</issue_to_address>

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

@@ -0,0 +1,331 @@
# Editor de Textos|deepin-editor|

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 · Desktop help falls back from Portuguese

When the help viewer requests the d_editor variant for a pt_BR user, the locale contains only p_editor.md, so the requested desktop page is missing and the viewer shows a fallback language or no manual.

Add a Portuguese d_editor.md page for the desktop manual.

Prompt for AI agents
In `src/assets/deepin-editor/editor/pt_BR/p_editor.md` at line 1:

**Desktop help falls back from Portuguese**

When the help viewer requests the `d_editor` variant for a pt_BR user, the locale contains only `p_editor.md`, so the requested desktop page is missing and the viewer shows a fallback language or no manual.

Add a Portuguese `d_editor.md` page for the desktop manual.

@@ -0,0 +1,331 @@
# Editor de Textos|deepin-editor|

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 · pt_BR manual is missing on sw_64

When the package is built for sw_64, cMake's sw_64 install branch copies only src/assets/loongarch64/deepin-editor, which has no pt_BR directory, so users on that architecture cannot access the Portuguese manual.

Include the pt_BR manual and its figures in the assets installed by the sw_64 branch.

Prompt for AI agents
In `src/assets/deepin-editor/editor/pt_BR/p_editor.md` at line 1:

**pt_BR manual is missing on sw_64**

When the package is built for `sw_64`, cMake's `sw_64` install branch copies only `src/assets/loongarch64/deepin-editor`, which has no pt_BR directory, so users on that architecture cannot access the Portuguese manual.

Include the pt_BR manual and its figures in the assets installed by the `sw_64` branch.


### Ativar/Desativar o Modo Somente Leitura

1. Abra um documento no Editor de Textos, clique com o botão direito e selecione **Ativar Modo Somente Leitura**.

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 · Readers cannot switch read-only mode

When a pt_BR reader follows the read-only instructions in the current application UI, the instructions name context-menu actions that are absent; the current menu uses a View Mode submenu with Read View and Edit Mode, so readers cannot switch modes as described.

Rewrite the steps to use the current View Mode submenu and its actual options.

Prompt for AI agents
In `src/assets/deepin-editor/editor/pt_BR/p_editor.md` at line 180:

**Readers cannot switch read-only mode**

When a pt_BR reader follows the read-only instructions in the current application UI, the instructions name context-menu actions that are absent; the current menu uses a View Mode submenu with Read View and Edit Mode, so readers cannot switch modes as described.

Rewrite the steps to use the current View Mode submenu and its actual options.

| Mesclar linhas | Ctrl + J |

### Ativar/Desativar o Modo Somente Leitura

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 · Markdown preview instructions are missing

When a pt_BR user wants to use Markdown Live Preview or change view modes, the manual omits instructions for the available Edit, Read-Only, and Markdown Live Preview modes, so readers cannot learn how to preview Markdown while editing or change view modes.

Document how to use the Edit, Read-Only, and Markdown Live Preview modes.

Prompt for AI agents
In `src/assets/deepin-editor/editor/pt_BR/p_editor.md` at line 179:

**Markdown preview instructions are missing**

When a pt_BR user wants to use Markdown Live Preview or change view modes, the manual omits instructions for the available Edit, Read-Only, and Markdown Live Preview modes, so readers cannot learn how to preview Markdown while editing or change view modes.

Document how to use the Edit, Read-Only, and Markdown Live Preview modes.

1. Add Brazilian Portuguese (pt_BR) help manual pages
2. Include p_editor.md and 12 localized figures
3. Installed via existing deepin-manual assets rule

Log: add Brazilian Portuguese help manual

Influence:
1. Open help manual with system language set to pt_BR
2. Check figures render correctly in pt_BR manual pages
3. Verify other languages' manuals are unchanged

docs: 新增巴西葡萄牙语帮助手册

1. 新增巴西葡萄牙语(pt_BR)帮助手册页面
2. 包含 p_editor.md 及 12 张本地化配图
3. 通过现有 deepin-manual 资源安装规则自动安装

Log: 新增巴西葡萄牙语帮助手册

Influence:
1. 系统语言切换为 pt_BR 后打开帮助手册验证
2. 检查 pt_BR 手册配图显示正常
3. 验证其他语言手册内容未受影响

Log: add pt_BR help manual for deepin-editor
PMS: TASK-396575
- bump version to 6.6.12

Log: bump version to 6.6.12
PMS: TASK-396575
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lzwind, pengfeixx

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 c81d3ac into linuxdeepin:master Nov 30, 2026
21 checks passed
@deepin-bot

deepin-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

TAG Bot

✅ Tag created successfully

📋 Tag Details
  • Tag Name: 6.6.12
  • Tag SHA: df2f4532715ac65444d2a4c7b93797ab4623e599
  • Commit SHA: c81d3ac877ac54904167ec85efe5b030b9ee4292
  • Tag Message:
    Release deepin-editor 6.6.12
    
    
  • Tagger:
    • Name: pengfeixx
  • Distribution: unstable

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