Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn]: update the translation of CanvasRenderingContext2D.drawFocusIfNeeded() method #21995

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

tianyeeT
Copy link
Contributor

…sIfNeeded()` method

Description

Motivation

Additional details

Related issues and pull requests

@tianyeeT tianyeeT requested a review from a team as a code owner June 27, 2024 11:49
@tianyeeT tianyeeT requested review from irvin and removed request for a team June 27, 2024 11:49
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jun 27, 2024
Copy link
Contributor

github-actions bot commented Jun 27, 2024

Preview URLs

Flaws (1)

URL: /zh-CN/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded
Title: CanvasRenderingContext2D:drawFocusIfNeeded() 方法
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

(comment last updated: 2024-06-28 06:30:20)

Copy link
Member

@yin1999 yin1999 left a comment

Choose a reason for hiding this comment

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

请注意一下翻译的质量,至少在翻译完成后与英文文档大概对照一下或读一遍翻译后的内容。

---

{{APIRef}}

**`CanvasRenderingContext2D.drawFocusIfNeeded()`** 是 Canvas 2D API 用来给当前路径或特定路径绘制焦点的方法,如果给定的元素获取了焦点
Canvas 2D API 的 **`CanvasRenderingContext2D.drawFocusIfNeeded()`** 方法用于给定的元素获取了焦点时给当前路径或特定路径绘制焦点
Copy link
Member

Choose a reason for hiding this comment

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

请读一遍,我不是很喜欢现在的翻译

- element
- : 是否需要设置焦点的元素
- `element`
- : 一个确认是否需要设置焦点的元素
Copy link
Member

Choose a reason for hiding this comment

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

对吗

@yin1999 yin1999 merged commit ee19842 into mdn:main Jun 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants