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: Format /web/api using Prettier (part 8) #14682

Merged
merged 3 commits into from
Jul 29, 2023
Merged

Conversation

queengooborg
Copy link
Collaborator

This PR formats the /web/api folder of the Simplified Chinese locale using Prettier. This is the eighth part.

@queengooborg queengooborg requested a review from a team as a code owner July 28, 2023 11:15
@queengooborg queengooborg requested review from irvin and removed request for a team July 28, 2023 11:15
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jul 28, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2023

Preview URLs (100 pages)
Flaws (327)

Note! 22 documents with no flaws that don't need to be listed. 🎉

URL: /zh-CN/docs/Web/API/PushManager
Title: PushManager
Flaw count: 11

  • macros:
    • /zh-CN/docs/Web/API/PushRegistrationManager does not exist
    • /zh-CN/docs/Web/API/PushSubscription does not exist but fell back to /en-US/docs/Web/API/PushSubscription
    • /zh-CN/docs/Web/API/PushManager/permissionState does not exist but fell back to /en-US/docs/Web/API/PushManager/permissionState
    • /zh-CN/docs/Web/API/PushSubscription does not exist but fell back to /en-US/docs/Web/API/PushSubscription
    • /zh-CN/docs/Web/API/PushManager/hasPermission does not exist but fell back to /en-US/docs/Web/API/PushManager/hasPermission
    • and 5 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/PushManager/getSubscription
Title: PushManager.getSubscription()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/PushSubscription does not exist but fell back to /en-US/docs/Web/API/PushSubscription
    • /zh-CN/docs/Web/API/PushSubscription does not exist but fell back to /en-US/docs/Web/API/PushSubscription
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Permissions_API/Using_the_Permissions_API
Title: Using the Permissions API
Flaw count: 11

  • macros:
    • /zh-CN/docs/Web/API/Permissions/query does not exist but fell back to /en-US/docs/Web/API/Permissions/query
    • /zh-CN/docs/Web/API/Permissions/query does not exist but fell back to /en-US/docs/Web/API/Permissions/query
    • /zh-CN/docs/Web/API/Permissions/query does not exist but fell back to /en-US/docs/Web/API/Permissions/query
    • /zh-CN/docs/Web/API/PermissionStatus does not exist but fell back to /en-US/docs/Web/API/PermissionStatus
    • /zh-CN/docs/Web/API/PermissionStatus/state does not exist but fell back to /en-US/docs/Web/API/PermissionStatus/state
    • and 4 more flaws omitted
  • broken_links:
    • Anchor not lowercase
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /zh-CN/docs/Web/API/PerformanceLongTaskTiming
Title: Long Tasks API
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/%E5%8F%AF%E4%BA%A4%E4%BA%92%E6%97%B6%E9%97%B4 does not exist
    • /zh-CN/docs/Web/API/TaskAttributionTiming does not exist but fell back to /en-US/docs/Web/API/TaskAttributionTiming
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Permissions
Title: Permissions
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/Permissions/query does not exist but fell back to /en-US/docs/Web/API/Permissions/query
    • /zh-CN/docs/Web/API/Permissions/request does not exist
    • /zh-CN/docs/Web/API/Permissions/requestAll does not exist
    • /zh-CN/docs/Web/API/Permissions/revoke does not exist but fell back to /en-US/docs/Web/API/Permissions/revoke
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Path2D/addPath
Title: Path2D.addPath()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Path2D/Path2D
Title: Path2D()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (3 in common of 8 possible)

URL: /zh-CN/docs/Web/API/Pointer_events
Title: Pointer events 指针事件
Flaw count: 18

  • macros:
    • /zh-CN/docs/Web/API/PointerEvent/pointerType does not exist but fell back to /en-US/docs/Web/API/PointerEvent/pointerType
    • /zh-CN/docs/Web/API/PointerEvent/PointerEvent does not exist but fell back to /en-US/docs/Web/API/PointerEvent/PointerEvent
    • /zh-CN/docs/Web/API/PointerEvent/pointerId does not exist but fell back to /en-US/docs/Web/API/PointerEvent/pointerId
    • /zh-CN/docs/Web/API/PointerEvent/width does not exist but fell back to /en-US/docs/Web/API/PointerEvent/width
    • /zh-CN/docs/Web/API/PointerEvent/height does not exist but fell back to /en-US/docs/Web/API/PointerEvent/height
    • and 10 more flaws omitted
  • broken_links:
    • No need for the pathname in anchor links if it's the same page
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/OffscreenCanvas
Title: OffscreenCanvas
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/OffscreenCanvas/width does not exist but fell back to /en-US/docs/Web/API/OffscreenCanvas/width
    • /zh-CN/docs/Web/API/OffscreenCanvas/getContext does not exist but fell back to /en-US/docs/Web/API/OffscreenCanvas/getContext
    • /zh-CN/docs/Web/API/OffscreenCanvas/toBlob does not exist but fell back to /en-US/docs/Web/API/OffscreenCanvas/convertToBlob
    • /zh-CN/docs/Web/API/RenderingContext does not exist
    • /zh-CN/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap does not exist but fell back to /en-US/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap
    • and 2 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/RenderingContext
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/origin
Title: origin
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Notification/Notification
Title: Notification.Notification()
Flaw count: 15

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • and 6 more flaws omitted
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/Picture-in-Picture_API
Title: 画中画(Picture-in-Picture)API
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/PictureInPictureWindow/width does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/width
    • /zh-CN/docs/Web/API/PictureInPictureWindow/height does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/height
    • /zh-CN/docs/Web/API/PictureInPictureWindow/onresize does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/resize_event
    • /zh-CN/docs/Web/API/ShadowRoot/pictureInPictureElement does not exist but fell back to /en-US/docs/Web/API/ShadowRoot/pictureInPictureElement
    • /zh-CN/docs/Web/API/PictureInPictureWindow/resize_event does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/resize_event
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTTP/Feature_Policy
    • Can't resolve /zh-CN/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy

URL: /zh-CN/docs/Web/API/PerformanceObserver
Title: 性能监测对象
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/PerformanceObserver/observe
Title: PerformanceObserver.observe()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PerformanceObserver/PerformanceObserver
Title: PerformanceObserver()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/PerformanceObserverEntryList does not exist but fell back to /en-US/docs/Web/API/PerformanceObserverEntryList
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PerformanceObserver/takeRecords
Title: PerformanceObserver.takeRecords()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PerformanceObserver/disconnect
Title: PerformanceObserver.disconnect()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Payment_Request_API/Concepts
Title: 交易过程的基本概念
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/BasicCardRequest does not exist
    • /zh-CN/docs/Web/API/MerchantValidationEvent/complete does not exist but fell back to /en-US/docs/Web/API/MerchantValidationEvent/complete
    • /zh-CN/docs/Web/API/PaymentRequest/merchantvalidation_event does not exist but fell back to /en-US/docs/Web/API/PaymentRequest/merchantvalidation_event
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Link points to the page it's already on

URL: /zh-CN/docs/Web/API/OfflineAudioContext
Title: OfflineAudioContext
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/OfflineAudioContext/oncomplete does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext/complete_event
    • /zh-CN/docs/Web/API/OfflineAudioContext/startRendering does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext/startRendering
    • /zh-CN/docs/Web/API/OfflineAudioCompletionEvent does not exist but fell back to /en-US/docs/Web/API/OfflineAudioCompletionEvent
    • /zh-CN/docs/Web/API/OfflineAudioContext/resume does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext/resume
    • /zh-CN/docs/Web/API/OfflineAudioContext/startRendering does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext/startRendering
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/OfflineAudioContext/OfflineAudioContext
Title: OfflineAudioContext.OfflineAudioContext()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/AudioContext/createBuffer redirects to /zh-CN/docs/Web/API/BaseAudioContext/createBuffer
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/OfflineAudioContext/complete_event
Title: OfflineAudioContext: complete event
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/OfflineAudioCompletionEvent does not exist but fell back to /en-US/docs/Web/API/OfflineAudioCompletionEvent
    • /zh-CN/docs/Web/API/OfflineAudioContext/oncomplete does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext/complete_event
    • /zh-CN/docs/Web/API/OfflineAudioContext/oncomplete does not exist but fell back to /en-US/docs/Web/API/OfflineAudioContext/complete_event
    • /zh-CN/docs/Web/API/%E7%A6%BB%E7%BA%BF%E9%9F%B3%E9%A2%91%E4%B8%8A%E4%B8%8B%E6%96%87/oncomplete does not exist
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Plugin
Title: Plugin
Flaw count: 12

  • macros:
    • /zh-CN/docs/Web/API/Plugin/description does not exist
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Plugin/filename does not exist
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Plugin/name does not exist
    • and 5 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla/Add-ons/Plugins
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Pointer_Lock_API
Title: Pointer Lock API
Flaw count: 5

  • broken_links:
    • Can't resolve /zh-CN/DOM/element.setCapture
    • Can't resolve /zh-CN/DOM/MouseEvent
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/DOM/MouseEvent
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PromiseRejectionEvent
Title: PromiseRejectionEvent
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/PromiseRejectionEvent/reason does not exist but fell back to /en-US/docs/Web/API/PromiseRejectionEvent/reason

URL: /zh-CN/docs/Web/API/PromiseRejectionEvent/promise
Title: PromiseRejectionEvent.promise
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/PromiseRejectionEvent/reason does not exist but fell back to /en-US/docs/Web/API/PromiseRejectionEvent/reason
    • /zh-CN/docs/Web/API/PromiseRejectionEvent/reason does not exist but fell back to /en-US/docs/Web/API/PromiseRejectionEvent/reason

URL: /zh-CN/docs/Web/API/Page_Visibility_API
Title: 页面可见性 API
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onblur redirects to /zh-CN/docs/Web/API/Window/blur_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onfocus redirects to /zh-CN/docs/Web/API/Window/focus_event
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Document/onvisibilitychange redirects to /zh-CN/docs/Web/API/Document/visibilitychange_event
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PageTransitionEvent
Title: PageTransitionEvent
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/NotificationEvent
Title: NotificationEvent
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/onnotificationclick does not exist
    • /zh-CN/docs/Web/API/NotificationEvent/NotificationEvent does not exist but fell back to /en-US/docs/Web/API/NotificationEvent/NotificationEvent
    • /zh-CN/docs/Web/API/NotificationEvent/notification does not exist but fell back to /en-US/docs/Web/API/NotificationEvent/notification
    • /zh-CN/docs/Web/API/NotificationEvent/action does not exist but fell back to /en-US/docs/Web/API/NotificationEvent/action

URL: /zh-CN/docs/Web/API/Notifications_API/Using_the_Notifications_API
Title: 使用 Web Notifications
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/Notification/permission redirects to /zh-CN/docs/Web/API/Notification/permission_static
    • /zh-CN/docs/Web/API/Notification/requestPermission redirects to /zh-CN/docs/Web/API/Notification/requestPermission_static
    • /zh-CN/docs/Web/API/Notification/requestPermission redirects to /zh-CN/docs/Web/API/Notification/requestPermission_static
    • /zh-CN/docs/Glossary/privileged does not exist but fell back to /en-US/docs/Glossary/Privileged
    • /zh-CN/docs/Web/API/Notification/onshow redirects to /zh-CN/docs/Web/API/Notification/show_event
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 7 possible)

URL: /zh-CN/docs/Web/API/PictureInPictureWindow
Title: PictureInPictureWindow
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/PictureInPictureWindow/width does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/width
    • /zh-CN/docs/Web/API/PictureInPictureWindow/height does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/height
    • /zh-CN/docs/Web/API/PictureInPictureWindow/resize_event does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/resize_event
    • /zh-CN/docs/Web/API/PictureInPictureWindow/onresize does not exist but fell back to /en-US/docs/Web/API/PictureInPictureWindow/resize_event

URL: /zh-CN/docs/Web/API/ProgressEvent
Title: ProgressEvent
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
    • /zh-CN/docs/Web/API/ProgressEvent/initProgressEvent does not exist but fell back to /en-US/docs/Web/API/ProgressEvent
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Range/collapsed
Title: Range.collapsed
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Range/endContainer
Title: Range.endContainer
Flaw count: 1

  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Range/startContainer
Title: Range.startContainer
Flaw count: 2

  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Range/endOffset
Title: Range.endOffset
Flaw count: 1

  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Range/getBoundingClientRect
Title: Range.getBoundingClientRect()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Range/Range
Title: Range()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/Range/setEndAfter does not exist but fell back to /en-US/docs/Web/API/Range/setEndAfter
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Range/setStart
Title: Range.setStart()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/StartNode does not exist
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Range/commonAncestorContainer
Title: Range.commonAncestorContainer
Flaw count: 2

  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Range/startOffset
Title: Range.startOffset
Flaw count: 2

  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/NodeList
Title: NodeList
Flaw count: 4

  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/JavaScript/Reference/Statements/for...in
    • Can't resolve /zh-CN/JavaScript/Reference/Statements/for_each...in
    • Can't resolve /zh-CN/JavaScript/Reference/Statements/for...of

URL: /zh-CN/docs/Web/API/NodeList/length
Title: NodeList.length
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/NodeList/values
Title: NodeList.values()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /zh-CN/docs/Web/API/OES_vertex_array_object
Title: OES_vertex_array_object
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/OES_vertex_array_object/createVertexArrayOES does not exist but fell back to /en-US/docs/Web/API/OES_vertex_array_object/createVertexArrayOES
    • /zh-CN/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES does not exist but fell back to /en-US/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES
    • /zh-CN/docs/Web/API/OES_vertex_array_object/isVertexArrayOES does not exist but fell back to /en-US/docs/Web/API/OES_vertex_array_object/isVertexArrayOES
    • /zh-CN/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES does not exist but fell back to /en-US/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES
    • /zh-CN/docs/Web/API/WebGL2RenderingContext/deleteVertexArray does not exist but fell back to /en-US/docs/Web/API/WebGL2RenderingContext/deleteVertexArray
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/PerformancePaintTiming
Title: PerformancePaintTiming
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/PerformanceEntry
Title: PerformanceEntry
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/PerformanceMark does not exist but fell back to /en-US/docs/Web/API/PerformanceMark
    • /zh-CN/docs/Web/API/PerformanceMeasure does not exist but fell back to /en-US/docs/Web/API/PerformanceMeasure
    • /zh-CN/docs/Web/API/PerformanceMark does not exist but fell back to /en-US/docs/Web/API/PerformanceMark
    • /zh-CN/docs/Web/API/PerformanceMeasure does not exist but fell back to /en-US/docs/Web/API/PerformanceMeasure
    • /zh-CN/docs/Web/API/PerformanceFrameTiming does not exist
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/PerformanceEntry/entryType
Title: PerformanceEntry.entryType
Flaw count: 8

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/PerformanceFrameTiming does not exist
    • /zh-CN/docs/Web/API/PerformanceMark does not exist but fell back to /en-US/docs/Web/API/PerformanceMark
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/PerformanceMeasure does not exist but fell back to /en-US/docs/Web/API/PerformanceMeasure
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/PerformanceEntry/name
Title: PerformanceEntry.name
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/PerformanceFrameTiming does not exist
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/PerformanceMark does not exist but fell back to /en-US/docs/Web/API/PerformanceMark
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/PerformanceMeasure does not exist but fell back to /en-US/docs/Web/API/PerformanceMeasure
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/PerformanceEntry/duration
Title: PerformanceEntry.duration
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/PerformanceEntry/loadEventEnd does not exist
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
    • /zh-CN/docs/Web/API/PerformanceEntry/responseEnd does not exist but fell back to /en-US/docs/Web/API/PerformanceResourceTiming/responseEnd
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
    • /zh-CN/docs/Web/API/PerformanceEntry/responseEnd does not exist but fell back to /en-US/docs/Web/API/PerformanceResourceTiming/responseEnd
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PerformanceEntry/toJSON
Title: PerformanceEntry.toJSON()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/arrayBuffer
Title: Request.arrayBuffer()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/formData
Title: Request.formData()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/credentials
Title: Request.credentials
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/RequestCredentials does not exist
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/cache
Title: Request.cache
Flaw count: 4

  • broken_links:
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/mode
Title: Request.mode
Flaw count: 5

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
    • Can't resolve /zh-CN/docs/Web/HTML/CORS_settings_attributes
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/text
Title: Request.text()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/bodyUsed
Title: Request.bodyUsed
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/url
Title: Request.url
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Request/blob
Title: Request.blob()
Flaw count: 1

  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/Request
Title: Request()
Flaw count: 15

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Request/referrer does not exist but fell back to /en-US/docs/Web/API/Request/referrer
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/BufferSource does not exist
    • wrong xref macro used (consider changing which macro you use)
    • and 3 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Request/method
Title: Request.method
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Request/clone
Title: Request.clone()
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/Body does not exist
    • /zh-CN/docs/Web/API/Body does not exist
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Request/headers
Title: Request.headers
Flaw count: 3

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/HTTP/Access_control_CORS
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Performance/clearResourceTimings
Title: Performance.clearResourceTimings()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Performance/setResourceTimingBufferSize does not exist but fell back to /en-US/docs/Web/API/Performance/setResourceTimingBufferSize
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Performance/getEntriesByName
Title: performance.getEntriesByName()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Performance/getEntries
Title: Performance.getEntries()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/PerformanceResourceTiming/initiatorType does not exist but fell back to /en-US/docs/Web/API/PerformanceResourceTiming/initiatorType
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Performance/now
Title: Performance.now()
Flaw count: 3

  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Global_Objects/Date/now
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Performance/getEntriesByType
Title: performance.getEntriesByType()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Performance/measure
Title: Performance.measure()
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/PerformanceEntry/startTime does not exist but fell back to /en-US/docs/Web/API/PerformanceEntry/startTime
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/PushMessageData
Title: PushMessageData
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/PushMessageData/arrayBuffer does not exist but fell back to /en-US/docs/Web/API/PushMessageData/arrayBuffer
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/PushMessageData/blob does not exist but fell back to /en-US/docs/Web/API/PushMessageData/blob
    • /zh-CN/docs/Web/API/PushMessageData/text does not exist but fell back to /en-US/docs/Web/API/PushMessageData/text
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/PushMessageData/json
Title: PushMessageData.json()
Flaw count: 2

  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/OscillatorNode
Title: OscillatorNode
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/AudioContext/createOscillator does not exist but fell back to /en-US/docs/Web/API/BaseAudioContext/createOscillator
    • /zh-CN/docs/Web/API/AudioContext/createOscillator does not exist but fell back to /en-US/docs/Web/API/BaseAudioContext/createOscillator
    • /zh-CN/docs/Web/API/OscillatorNode/type does not exist but fell back to /en-US/docs/Web/API/OscillatorNode/type
    • /zh-CN/docs/Web/API/OscillatorNode/setWaveTable does not exist
  • broken_links:
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/OscillatorNode/detune
Title: OscillatorNode.detune
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/OscillatorNode/frequency
Title: OscillatorNode.frequency
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/ReadableStream
Title: ReadableStream
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/Body/body does not exist but fell back to /en-US/docs/Web/API/Response/body
    • /zh-CN/docs/Web/API/Uint8Array does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/ReadableStream/tee
Title: ReadableStream.tee()
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/ReadableByteStreamController/desiredSize does not exist but fell back to /en-US/docs/Web/API/ReadableByteStreamController/desiredSize

URL: /zh-CN/docs/Web/API/ReadableStream/getReader
Title: ReadableStream.getReader()
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/ReadableStreamBYOBReader does not exist but fell back to /en-US/docs/Web/API/ReadableStreamBYOBReader
    • /zh-CN/docs/Web/API/ReadableStreamBYOBReader does not exist but fell back to /en-US/docs/Web/API/ReadableStreamBYOBReader
    • /zh-CN/docs/Web/API/ReadableStreamBYOBReader does not exist but fell back to /en-US/docs/Web/API/ReadableStreamBYOBReader
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/ReadableStream/ReadableStream
Title: ReadableStream.ReadableStream()
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/API/ReadableByteStreamController does not exist but fell back to /en-US/docs/Web/API/ReadableByteStreamController
    • /zh-CN/docs/Web/API/ReadableByteStreamController does not exist but fell back to /en-US/docs/Web/API/ReadableByteStreamController
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/ReadableByteStreamController does not exist but fell back to /en-US/docs/Web/API/ReadableByteStreamController
    • wrong xref macro used (consider changing which macro you use)
    • and 3 more flaws omitted

(comment last updated: 2023-07-29 13:17:26)

@yin1999 yin1999 merged commit 8ce4bfe into main Jul 29, 2023
9 checks passed
@yin1999 yin1999 deleted the zh-cn/prettier/web/api/8 branch July 29, 2023 13:16
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.

2 participants