Skip to content

fix: correct Chinese translation for "Clear All"#1248

Closed
18202781743 wants to merge 1 commit into
linuxdeepin:masterfrom
18202781743:master
Closed

fix: correct Chinese translation for "Clear All"#1248
18202781743 wants to merge 1 commit into
linuxdeepin:masterfrom
18202781743:master

Conversation

@18202781743

@18202781743 18202781743 commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Changed the Chinese translation of "Clear All" from "全部清除" to "清除
全部" in notification center translations. The new translation "清除全
部" is more natural and commonly used in Chinese UI contexts, providing
better linguistic accuracy and user experience.

Log: Improved Chinese translation for "Clear All" button in notification
center

Influence:

  1. Verify the "Clear All" button text appears as "清除全部" in Chinese
    locale
  2. Test notification clearing functionality remains unchanged
  3. Check UI layout to ensure text fits properly with new translation
  4. Verify consistency across all instances of "Clear All" in
    notification center

fix: 修正"Clear All"的中文翻译

将通知中心中"Clear All"的中文翻译从"全部清除"改为"清除全部"。新的翻译"清
除全部"在中文UI环境中更加自然和常用,提供了更好的语言准确性和用户体验。

Log: 改进了通知中心"Clear All"按钮的中文翻译

Influence:

  1. 验证中文环境下"Clear All"按钮显示为"清除全部"
  2. 测试通知清除功能保持不变
  3. 检查UI布局确保新翻译文本适配良好
  4. 验证通知中心所有"Clear All"实例的翻译一致性

PMS: BUG-283617

Summary by Sourcery

Bug Fixes:

  • Correct Chinese translation of "Clear All" to "清除全部" in notification center

Changed the Chinese translation of "Clear All" from "全部清除" to "清除
全部" in notification center translations. The new translation "清除全
部" is more natural and commonly used in Chinese UI contexts, providing
better linguistic accuracy and user experience.

Log: Improved Chinese translation for "Clear All" button in notification
center

Influence:
1. Verify the "Clear All" button text appears as "清除全部" in Chinese
locale
2. Test notification clearing functionality remains unchanged
3. Check UI layout to ensure text fits properly with new translation
4. Verify consistency across all instances of "Clear All" in
notification center

fix: 修正"Clear All"的中文翻译

将通知中心中"Clear All"的中文翻译从"全部清除"改为"清除全部"。新的翻译"清
除全部"在中文UI环境中更加自然和常用,提供了更好的语言准确性和用户体验。

Log: 改进了通知中心"Clear All"按钮的中文翻译

Influence:
1. 验证中文环境下"Clear All"按钮显示为"清除全部"
2. 测试通知清除功能保持不变
3. 检查UI布局确保新翻译文本适配良好
4. 验证通知中心所有"Clear All"实例的翻译一致性

PMS: BUG-283617
@deepin-ci-robot

Copy link
Copy Markdown

deepin pr auto review

这是一份翻译文件的差异对比,主要修改了"Clear All"的中文翻译,从"全部清除"改为"清除全部"。我来对这次修改进行分析:

  1. 语法和逻辑:

    • 翻译本身语法正确,没有逻辑问题
    • "清除全部"比"全部清除"更符合中文表达习惯,更自然
  2. 代码质量:

    • 作为翻译文件,格式保持一致
    • 修改保持了原有的XML结构完整性
    • 统一了所有"Clear All"的翻译,保持了一致性
  3. 代码性能:

    • 翻译文件不涉及性能问题
    • 文件大小变化极小,对系统性能无影响
  4. 代码安全:

    • 翻译修改不涉及任何安全风险
    • 没有引入新的外部依赖或潜在漏洞

改进建议:

  1. 考虑是否需要统一其他类似表达,如"Clear"的翻译,保持整个应用翻译的一致性
  2. 建议建立翻译审查流程,确保所有翻译符合目标语言的表达习惯
  3. 可以考虑添加翻译注释,说明特定术语的翻译选择理由,方便后续维护

总体而言,这是一个合理的翻译优化,使表达更符合中文习惯,且保持了文件结构的一致性。

@sourcery-ai

sourcery-ai Bot commented Sep 17, 2025

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR refines the Chinese translation for the "Clear All" button in the notification center by updating two translation entries to the more natural phrase "清除全部", ensuring linguistic accuracy and UI consistency without altering functionality.

File-Level Changes

Change Details Files
Refined Chinese translation of "Clear All" for better linguistic accuracy
  • Replaced translation in the first message block from "全部清除" to "清除全部"
  • Replaced translation in the second message block from "全部清除" to "清除全部"
panels/notification/center/translations/org.deepin.ds.notificationcenter_zh_CN.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

@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 there - 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.

@BLumia BLumia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

别合这个吧。

直接在你的 dde-shell 根目录下执行:

tx push -t -l zh_CN -r deepin-desktop-environment.370fb988834b680145c35e741cfc2ef6

然后等待五分钟,会自动同步到 #1247 里,然后合那个就行。

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743

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

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