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

Improve Chinese translation #24192

Closed
wants to merge 4 commits into from
Closed

Improve Chinese translation #24192

wants to merge 4 commits into from

Conversation

cnbilinyj
Copy link
Contributor

Description

Motivation

Additional details

Related issues and pull requests

@cnbilinyj cnbilinyj requested a review from a team as a code owner October 22, 2024 09:25
@cnbilinyj cnbilinyj requested review from jasonren0403 and removed request for a team October 22, 2024 09:25
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Oct 22, 2024
Copy link
Contributor

@jasonren0403 jasonren0403 left a comment

Choose a reason for hiding this comment

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

请先应用mdn-linter对格式进行的自动修复

@jasonren0403 jasonren0403 changed the title Increase Chinese translation Improve Chinese translation Oct 23, 2024
Apply MDN-linter format correction

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

@jasonren0403 jasonren0403 left a comment

Choose a reason for hiding this comment

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

一些建议

@@ -0,0 +1,36 @@
---
title: 文档:lastElementChild 属性
Copy link
Contributor

Choose a reason for hiding this comment

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

接口名不译

Suggested change
title: 文档:lastElementChild 属性
title: Document:lastElementChild 属性

@@ -0,0 +1,36 @@
---
title: 文档:lastElementChild 属性
short-title: lastElementChild
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
short-title: lastElementChild

---
title: 文档:lastElementChild 属性
short-title: lastElementChild
slug: Web/API/Document/lastElementChild
Copy link
Contributor

Choose a reason for hiding this comment

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

当前文档对应英语文档提交的 SHA 值,可以在这里拿到 https://github.com/mdn/content/commits/main/files/en-us/web/api/document/lastelementchild/index.md

Suggested change
slug: Web/API/Document/lastElementChild
slug: Web/API/Document/lastElementChild
l10n:
sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b


{{ APIRef("DOM") }}

**`Document.lastElementChild`** 只读属性返回文档的最后一个子元素 {{domxref("Element")}},如果没有子元素,则返回 `null`。
Copy link
Contributor

@jasonren0403 jasonren0403 Oct 24, 2024

Choose a reason for hiding this comment

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

Suggested change
**`Document.lastElementChild`** 只读属性返回文档的最后一个子元素 {{domxref("Element")}},如果没有子元素,则返回 `null`
**`Document.lastElementChild`** 只读属性返回文档的最后一个子{{domxref("Element", "元素", "", "nocode")}},如果没有子元素,则返回 `null`

@cnbilinyj
Copy link
Contributor Author

cnbilinyj commented Oct 24, 2024 via email

@jasonren0403
Copy link
Contributor

@yin1999
Copy link
Member

yin1999 commented Nov 25, 2024

As the author has not made any changes on this PR. I've created another PR to replace it: #24748.

@yin1999 yin1999 closed this Nov 25, 2024
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
Status: Archive/Closed
Development

Successfully merging this pull request may close these issues.

3 participants