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.setLineDash() method #22027

Merged
merged 3 commits into from
Jul 7, 2024

Conversation

tianyeeT
Copy link
Contributor

…ash()` method

Description

Motivation

Additional details

Related issues and pull requests

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

github-actions bot commented Jun 28, 2024

Preview URLs

Flaws (1)

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

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

(comment last updated: 2024-07-07 12:56:29)

```

### 参数

- `segments`
- : 一个{{jsxref("Array")}}数组。一组描述交替绘制线段和间距(坐标空间单位)长度的数字。如果数组元素的数量是奇数,数组的元素会被复制并重复。例如, `[5, 15, 25]` 会变成 `[5, 15, 25, 5, 15, 25]`。
- : 一个 {{jsxref("Array")}} 数组。一组描述交替绘制线段和间距(坐标空间单位)长度的数字。如果数组元素的数量是奇数,数组的元素会被复制并重复。例如, `[5, 15, 25]` 会变成 `[5, 15, 25, 5, 15, 25]`。如果数组为空,则虚线列表会被清空,线条描边将恢复为实线
Copy link
Member

Choose a reason for hiding this comment

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

一个 array 数组(array 难道不就是数组吗)?

我之前提过,MDN 原来的翻译不一定正确,在 kuma 时代有太多文档都是在没有审核的情况下就被修改了。所以烦请认真翻译文档的内容,并仔细校对一下。这一处错误是我扫一眼就看出来的。还请再仔细检查一下其他的翻译是否正确。请注重翻译质量而非数量

@yin1999 yin1999 merged commit 5305ff5 into mdn:main Jul 7, 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.
2 participants