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]: create the translation of Permission-Policy.bluetooth directive #22054

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

tianyeeT
Copy link
Contributor

…ctive

Description

Motivation

Additional details

Related issues and pull requests

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

URL: /zh-CN/docs/Web/HTTP/Headers/Permissions-Policy/bluetooth
Title: Permissions-Policy: bluetooth
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Bluetooth/getAvailability does not exist but fell back to /en-US/docs/Web/API/Bluetooth/getAvailability
    • /zh-CN/docs/Web/API/Bluetooth/getDevices does not exist but fell back to /en-US/docs/Web/API/Bluetooth/getDevices

(comment last updated: 2024-07-08 05:06:00)


HTTP {{HTTPHeader("Permissions-Policy")}} 标头的 `bluetooth` 指令控制当前文档是否被允许使用 [Web Bluetooth API](/zh-CN/docs/Web/API/Web_Bluetooth_API)。

具体来说,如果定义的策略不允许使用此功能,则由 {{domxref('Navigator.bluetooth')}} 返回的 {{domxref('Bluetooth')}} 对象的方法将会阻止访问:
Copy link
Member

Choose a reason for hiding this comment

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

feature => 特性。其他的几个 PR 也请麻烦改一下

Copy link
Contributor Author

Choose a reason for hiding this comment

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

收到

@yin1999 yin1999 marked this pull request as draft June 28, 2024 07: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.

Co-authored-by: Hoarfroster <hoarfroster@outlook.com>
Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
@tianyeeT tianyeeT marked this pull request as ready for review July 7, 2024 15:50
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.

nits:

Co-authored-by: A1lo <yin199909@aliyun.com>
@yin1999 yin1999 merged commit 6ebffd8 into mdn:main Jul 8, 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.
4 participants