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 Document Object Model #20400

Merged
merged 6 commits into from
May 19, 2024

Conversation

T34-active
Copy link
Contributor

Description

Motivation

Additional details

Related issues and pull requests

@T34-active T34-active requested a review from a team as a code owner May 15, 2024 03:53
@T34-active T34-active requested review from JasonLamv-t and removed request for a team May 15, 2024 03:53
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label May 15, 2024
Copy link
Contributor

github-actions bot commented May 15, 2024

Preview URLs

Flaws (3)

URL: /zh-CN/docs/Web/API/Document_Object_Model
Title: 文档对象模型(DOM)
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/AbstractRange does not exist but fell back to /en-US/docs/Web/API/AbstractRange
    • /zh-CN/docs/Web/API/DOMPointReadOnly does not exist but fell back to /en-US/docs/Web/API/DOMPointReadOnly
    • /zh-CN/docs/Web/API/StaticRange does not exist but fell back to /en-US/docs/Web/API/StaticRange

(comment last updated: 2024-05-19 02:54:17)

Copy link
Contributor

@PassionPenguin PassionPenguin left a comment

Choose a reason for hiding this comment

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

improvements :)

@@ -53,7 +58,7 @@ slug: Web/API/Document_Object_Model

### 过时的 DOM 接口

DOM 模型已经被高度简化了。为此,以下出现在 DOM level 3 或更早的规范里的接口已经被移除了。现在不是非常确定是否有一些会被重新引进,但是当前应该把它们看作废弃的,应当避免使用:
文档对象模型已被高度简化。为了实现这一目标,已在不同 DOM 3 级或更早规范中移除了以下接口。它们不再对 Web 开发者可用。
Copy link
Contributor

Choose a reason for hiding this comment

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

不同修饰的应该是spec叭,这样可能会更符合中文习惯

Suggested change
文档对象模型已被高度简化。为了实现这一目标,已在不同 DOM 第 3 级或更早规范中移除了以下接口。它们不再对 Web 开发者可用。
文档对象模型已被高度简化。为了实现这一目标,已在 DOM 第三版或更早的各种规范中移除了以下接口。它们不再对 Web 开发者可用。

Copy link
Member

@yin1999 yin1999 May 18, 2024

Choose a reason for hiding this comment

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

DOM 第三版,请修改一下

Copy link
Contributor

Choose a reason for hiding this comment

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

@T34-active 你可能需要自己去patch这个outdated suggestion

files/zh-cn/web/api/document_object_model/index.md Outdated Show resolved Hide resolved
files/zh-cn/web/api/document_object_model/index.md Outdated Show resolved Hide resolved
T34-active and others added 2 commits May 15, 2024 14:58
Co-authored-by: Hoarfroster <hoarfroster@outlook.com>
Copy link
Contributor Author

@T34-active T34-active left a comment

Choose a reason for hiding this comment

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

fix content

files/zh-cn/web/api/document_object_model/index.md Outdated Show resolved Hide resolved
files/zh-cn/web/api/document_object_model/index.md Outdated Show resolved Hide resolved
Copy link
Contributor

@PassionPenguin PassionPenguin left a comment

Choose a reason for hiding this comment

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

(///▽///)

@T34-active T34-active requested a review from yin1999 May 17, 2024 06:00
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.

👍

@yin1999 yin1999 merged commit 6ebef7d into mdn:main May 19, 2024
7 checks passed
@T34-active T34-active deleted the Document_Object_Model_20240515 branch May 20, 2024 03:56
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants