Skip to content

docs(editor): add Portuguese help manual - #696

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:release/snipefrom
re2zero:docs/editor-manual-pt-br
Oct 27, 2026
Merged

deepin-bot[bot] merged 1 commit into
linuxdeepin:release/snipefrom
re2zero:docs/editor-manual-pt-br

Conversation

@re2zero

@re2zero re2zero commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add the Brazilian Portuguese (pt_BR) translation of the Text Editor help manual.

Changes

  • Add src/assets/deepin-editor/editor/pt_BR/ (p_editor.md + 12 referenced screenshots).
  • Mirror the same directory into src/assets/loongarch64/deepin-editor/editor/pt_BR/, because the existing CMake install rule uses that copy for sw_64 builds.

No existing language directory or common asset is modified.

Notes

  • 目标分支为 release/snipe,pt_BR 内容与该分支现有手册基线一致。
  • Verified that every image reference resolves against the existing common/ and fig/ assets.

Multica issue: V-6727

@deepin-ci-robot

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Reviewer's Guide

Introduces the Brazilian Portuguese Text Editor help documentation as a new locale, including its referenced screenshots, and mirrors the complete asset set under the LoongArch-specific path required by the existing build installation rules. The translation is based on the pre-cfbe2363 manual and intentionally does not include the later “Changing View Mode” section.

File-Level Changes

Change Details Files
Adds the Brazilian Portuguese Text Editor help manual and its localized screenshots.
  • Adds a 331-line Portuguese Markdown manual covering editor usage, editing operations, settings, shortcuts, and menus.
  • Adds 12 referenced Portuguese documentation screenshots.
  • Uses existing shared common assets through relative references.
src/assets/deepin-editor/editor/pt_BR/p_editor.md
src/assets/deepin-editor/editor/pt_BR/fig/*.png
Mirrors the Portuguese manual and screenshots for the LoongArch build asset layout.
  • Duplicates the manual and all screenshots under the architecture-specific asset directory to satisfy the existing sw_64 CMake install path.
  • Keeps the architecture-specific copy synchronized with the primary translation.
src/assets/loongarch64/deepin-editor/editor/pt_BR/p_editor.md
src/assets/loongarch64/deepin-editor/editor/pt_BR/fig/*.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

@re2zero
re2zero force-pushed the docs/editor-manual-pt-br branch from 51d01d3 to 0108e58 Compare October 27, 2026 08:36
1. Add the Brazilian Portuguese (pt_BR) manual for Text Editor.
2. Mirror the same pt_BR assets into the loongarch64/sw_64 install tree.

Log: Add the pt_BR help manual for Text Editor.

Influence:
1. Verify the new manual is installed under /usr/share/deepin-manual/manual-assets/application/deepin-editor/editor/pt_BR.
2. Check that all image references resolve from both asset trees.
3. Confirm no existing language directory is modified.

docs(editor): 新增葡萄牙语帮助手册

1. 添加文本编辑器的巴西葡萄牙语(pt_BR)帮助手册。
2. 将同一份 pt_BR 资源同步到 loongarch64/sw_64 安装目录。

Log: 新增文本编辑器的 pt_BR 帮助手册。

Influence:
1. 验证新手册安装到 /usr/share/deepin-manual/manual-assets/application/deepin-editor/editor/pt_BR。
2. 检查两个资源目录中的图片引用都可解析。
3. 确认没有修改任何已有语言目录。

PMS:Task-396575   Multica: V-6727
@re2zero
re2zero force-pushed the docs/editor-manual-pt-br branch from 0108e58 to bcc83bc Compare October 27, 2026 09:00
@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 6.5.64
EXISTED: no
DISTRIBUTION: unstable

@re2zero
re2zero changed the base branch from master to release/snipe October 27, 2026 09:00
@re2zero
re2zero marked this pull request as ready for review October 27, 2026 11:00
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Sorry @re2zero, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 21 hours and 13 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@deepin-ci-robot

Copy link
Copy Markdown

deepin pr auto review

🤖 AI 代码审查报告

总体评分: 100 分 (通过阈值: 70分)

Pass


📊 总体评价

项目 结果
审查结论 代码审查通过
评分详情 本次提交为 deepin-editor 添加葡萄牙语(pt_BR)帮助手册文档,两个 Markdown 文件内容完整、结构清晰,无代码逻辑变更,无安全漏洞,四维度均通过。

🔍 详细分析

1. 语法逻辑 ✅

评价: 语法正确,逻辑清晰 ✅ 通过

潜在问题:
✅ 未发现明显问题

建议: []


2. 代码质量 ✅

评价: 代码结构清晰,注释完整 ✅ 通过

潜在问题:
✅ 未发现明显问题

建议: []


3. 代码性能 ✅

评价: 性能良好,资源使用合理 ✅ 通过

潜在问题:
✅ 未发现明显问题

建议: []


4. 代码安全 🔒

评价: 存在0个安全漏洞 ✅ 通过

🔐 发现 0 个安全漏洞

安全漏洞详情:
✅ 未发现安全漏洞

建议: []


💡 改进建议代码示例


本报告由 AI 代码审查工具自动生成

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

@re2zero

re2zero commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
deepin-bot Bot merged commit 99cdcbd into linuxdeepin:release/snipe Oct 27, 2026
18 checks passed
@re2zero
re2zero deleted the docs/editor-manual-pt-br branch October 27, 2026 11:17
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