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.exitFullscreen() method #22048

Merged
merged 3 commits into from
Jul 13, 2024

Conversation

tianyeeT
Copy link
Contributor

Description

Motivation

Additional details

Related issues and pull requests

@tianyeeT tianyeeT requested a review from a team as a code owner June 28, 2024 05:02
@tianyeeT tianyeeT requested review from yin1999 and removed request for a team June 28, 2024 05:02
@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

(comment last updated: 2024-07-13 12:36:48)


### 返回值

一个 {{jsxref("Promise")}},在 {{Glossary("user agent")}} 完成退出全屏模式后解决。如果在尝试退出全屏模式时发生错误,promise 的 `catch()` 处理程序将被调用。
Copy link
Contributor

@PassionPenguin PassionPenguin Jun 28, 2024

Choose a reason for hiding this comment

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

Suggested change
一个 {{jsxref("Promise")}},在 {{Glossary("user agent")}} 完成退出全屏模式后解决。如果在尝试退出全屏模式时发生错误,promise`catch()` 处理程序将被调用
一个 {{jsxref("Promise")}},在{{Glossary("user agent", "用户代理")}}完成退出全屏模式后被兑现。如果在尝试退出全屏模式时发生错误,Promise`catch()` 处理器将被调用
Copy link
Member

Choose a reason for hiding this comment

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

handler => 处理器

- {{ domxref("Document.fullscreenElement") }}
- {{ cssxref(":fullscreen") }}
- [`allowfullscreen`](/zh-CN/docs/Web/HTML/Element/iframe#allowfullscreen)
- {{ cssxref(":fullscreen") }} and {{cssxref("::backdrop")}}
Copy link
Member

Choose a reason for hiding this comment

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

and

@yin1999 yin1999 marked this pull request as draft June 28, 2024 07:07
@tianyeeT tianyeeT marked this pull request as ready for review July 7, 2024 15:53
@yin1999 yin1999 merged commit 347d32f into mdn:main Jul 13, 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.
3 participants