-
Notifications
You must be signed in to change notification settings - Fork 8k
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: translate for CookieStoreManager #20346
Conversation
Preview URLs Flaws (8)URL:
(comment last updated: 2024-05-14 03:48:57) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
关于“Service Worker registration”的翻译还有待商榷,可以请问一下“注册器”这一翻译的来源吗。
|
||
{{securecontext_header}}{{APIRef("Cookie Store API")}}{{AvailableInWorkers("window_and_service")}} | ||
|
||
{{domxref("Cookie Store API", "", "", "nocode")}} 的 **`CookieStoreManager`** 接口允许 Service Worker 订阅 cookie 变更事件。调用特定的 Service Worker 注册器的 {{domxref("CookieStoreManager.subscribe()","subscribe()")}} 方法接收变更事件。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
见 #20146。后面参数可能都会改成“1”,就先统一用“1”吧
{{domxref("Cookie Store API", "", "", "nocode")}} 的 **`CookieStoreManager`** 接口允许 Service Worker 订阅 cookie 变更事件。调用特定的 Service Worker 注册器的 {{domxref("CookieStoreManager.subscribe()","subscribe()")}} 方法接收变更事件。 | |
{{domxref("Cookie Store API", "", "", 1)}} 的 **`CookieStoreManager`** 接口允许 Service Worker 订阅 cookie 变更事件。调用特定的 Service Worker 注册器的 {{domxref("CookieStoreManager.subscribe()","subscribe()")}} 方法接收变更事件。 |
抱歉,我把上次讨论的结果记混了。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Service Worker 注册器" -> “Service Worker Registration”
Description
translate for CookieStoreManager intro
Motivation
learning and translating
Additional details
None.
Related issues and pull requests
None.