Skip to content

chore: remove unnecessary spaces#22

Merged
mhduiy merged 1 commit intolinuxdeepin:masterfrom
mhduiy:space
Jun 24, 2025
Merged

chore: remove unnecessary spaces#22
mhduiy merged 1 commit intolinuxdeepin:masterfrom
mhduiy:space

Conversation

@mhduiy
Copy link
Contributor

@mhduiy mhduiy commented Jun 24, 2025

The deepin-manual uses the icon name 'dde' to obtain the icon

pms: BUG-321611

Summary by Sourcery

Update localized deepin-manual headings to remove extra spaces and match the lowercase 'dde' icon name for correct icon retrieval

Bug Fixes:

  • Fix icon lookup issue in manuals by aligning the heading format to the expected icon name

Documentation:

  • Remove spaces around '|' and change 'DDE' to 'dde' in English, Traditional Chinese (HK), and Traditional Chinese (TW) manuals

The deepin-manual uses the icon name 'dde' to obtain the icon

pms: BUG-321611
@sourcery-ai
Copy link

sourcery-ai bot commented Jun 24, 2025

Reviewer's Guide

Removed unnecessary spaces around pipe separators in Markdown headings and standardized the icon name to lowercase 'dde' across English and Chinese localized documentation.

File-Level Changes

Change Details Files
Standardize header formatting and icon casing
  • Removed spaces around pipe separators in Markdown headings
  • Lowercased icon name from 'DDE' to 'dde'
src/assets/dde/en_US/p_dde.md
src/assets/dde/zh_HK/p_dde.md
src/assets/dde/zh_TW/p_dde.md

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 @mhduiy - I've reviewed your changes and they look great!


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.

@deepin-ci-robot
Copy link

deepin pr auto review

代码审查意见:

  1. 格式一致性

    • 在修改的文件中,# Desktop Environment | DDE | 被改为 # Desktop Environment|dde|,这可能会导致在不同语言文件中格式不一致。建议保持一致的格式,例如使用空格分隔标签和内容。
  2. 语言一致性

    • 在修改的文件中,dde 的大小写不一致,原文件中是全大写,修改后是小写。建议保持语言标签的一致性,如果需要保持全大写,则所有文件中的 dde 都应保持大写。
  3. 翻译一致性

    • 检查其他语言文件中是否有类似的格式或大小写不一致的问题,确保整个项目的翻译和格式保持一致。
  4. 注释和文档

    • 确保文档和注释的格式和风格与项目中的其他文档和注释保持一致,以提高代码的可读性和维护性。
  5. 本地化

    • 如果项目支持多语言,确保所有语言文件都经过本地化,并且翻译准确无误。
  6. 版本控制

    • 在进行文件修改时,确保提交信息清晰描述了修改的内容,以便其他开发者理解变更的目的。

综上所述,建议在修改文件时,保持格式和语言的一致性,并确保文档和注释的准确性和一致性。同时,注意版本控制中的提交信息,以便于团队协作和代码维护。

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fly602, mhduiy

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

@mhduiy mhduiy merged commit 8c33abf into linuxdeepin:master Jun 24, 2025
13 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