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 4) #14678

Merged
merged 6 commits into from
Jul 30, 2023

Conversation

queengooborg
Copy link
Collaborator

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

@queengooborg queengooborg requested a review from a team as a code owner July 28, 2023 10:28
@queengooborg queengooborg requested review from irvin and removed request for a team July 28, 2023 10:28
@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 (320)

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

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

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

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

  • macros:
    • /zh-CN/docs/Web/API/FetchEvent/FetchEvent does not exist but fell back to /en-US/docs/Web/API/FetchEvent/FetchEvent
    • /zh-CN/docs/Web/API/FetchEvent/preloadResponse does not exist but fell back to /en-US/docs/Web/API/FetchEvent/preloadResponse
    • /zh-CN/docs/Web/API/FetchEvent/replacesClientId does not exist but fell back to /en-US/docs/Web/API/FetchEvent/replacesClientId
    • /zh-CN/docs/Web/API/FetchEvent/resultingClientId does not exist but fell back to /en-US/docs/Web/API/FetchEvent/resultingClientId
  • broken_links:
    • Can use the English (en-US) link as a fallback

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

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

URL: /zh-CN/docs/Web/API/FetchEvent/request
Title: FetchEvent.request
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/FetchEvent/FetchEvent does not exist but fell back to /en-US/docs/Web/API/FetchEvent/FetchEvent
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/fetch_event does not exist but fell back to /en-US/docs/Web/API/ServiceWorkerGlobalScope/fetch_event

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

  • macros:
    • /zh-CN/docs/Web/API/ExtendableEvent/ExtendableEvent does not exist but fell back to /en-US/docs/Web/API/ExtendableEvent/ExtendableEvent
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/oninstall does not exist
    • /zh-CN/docs/Web/API/ServiceWorkerRegistration/installing does not exist but fell back to /en-US/docs/Web/API/ServiceWorkerRegistration/installing
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

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

URL: /zh-CN/docs/Web/API/EventSource/open_event
Title: EventSource.onopen
Flaw count: 1

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

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/EventSource/error_event
Title: EventSource.onerror
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/Element/error_event
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
  • translation_differences:
    • Differences in the important macros (3 in common of 15 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener

URL: /zh-CN/docs/Web/API/File/lastModified
Title: File.lastModified
Flaw count: 3

  • macros:
    • 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 6 possible)

URL: /zh-CN/docs/Web/API/File/name
Title: File.name
Flaw count: 3

  • macros:
    • 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 (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/File/lastModifiedDate
Title: File.lastModifiedDate
Flaw count: 3

  • macros:
    • 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 (1 in common of 2 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • 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)
    • /zh-CN/docs/Web/API/FederatedCredential does not exist but fell back to /en-US/docs/Web/API/FederatedCredential
    • and 3 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • 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
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

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

URL: /zh-CN/docs/Web/API/Fetch_API/Using_Fetch
Title: 使用 Fetch
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Response/error redirects to /zh-CN/docs/Web/API/Response/error_static
    • /zh-CN/docs/Web/API/Response/redirect redirects to /zh-CN/docs/Web/API/Response/redirect_static
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Anchor not lowercase

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

  • macros:
    • /zh-CN/docs/Web/API/FullscreenOptions does not exist but fell back to /en-US/docs/Web/API/Element/requestFullscreen
    • /zh-CN/docs/Web/API/FullscreenOptions/navigationUI does not exist but fell back to /en-US/docs/Web/API/Element/requestFullscreen

URL: /zh-CN/docs/Web/API/Element/mouseenter_event
Title: Element:mouseenter 事件
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/MouseEvent/layerX does not exist but fell back to /en-US/docs/Web/API/MouseEvent/layerX
    • /zh-CN/docs/Web/API/MouseEvent/layerY does not exist but fell back to /en-US/docs/Web/API/MouseEvent/layerY
    • /zh-CN/docs/Web/API/MouseEvent/webkitForce does not exist but fell back to /en-US/docs/Web/API/MouseEvent/webkitForce

URL: /zh-CN/docs/Web/API/Element/namespaceURI
Title: Element.namespaceURI
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/LocalName does not exist
    • /zh-CN/docs/Web/API/Node/namespaceURI does not exist but fell back to /en-US/docs/Web/API/Element/namespaceURI
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/Element/shadowRoot
Title: Element.shadowRoot
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Element/setCapture
Title: element.setCapture
Flaw count: 2

  • broken_links:
    • Can't resolve /samples/domref/mousecapture.html
  • translation_differences:
    • Differences in the important macros (0 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Element/scrollLeft
Title: Element.scrollLeft
Flaw count: 1

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

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

  • macros:
    • /zh-CN/docs/Web/API/ChildNode does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/compositionupdate_event
Title: compositionupdate
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/WindowProxy does not exist
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Link points to the page it's already on
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/compositionend_event
Title: compositionend
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/WindowProxy does not exist
    • 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 4 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/Div does not exist
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/DOM/Element.querySelectorAll
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/DOM/Document.querySelectorAll
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/prepend
Title: Element.prepend()
Flaw count: 6

  • 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)
    • /zh-CN/docs/Web/API/HierarchyRequestError does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
    • and 1 more flaws omitted

URL: /zh-CN/docs/Web/API/Element/DOMActivate_event
Title: Element: DOMActivate event
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Element/querySelectorAll
Title: Element.querySelectorAll()
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/ParentNode does not exist
  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/element
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Web/API/Document.querySelectorAll
    • Can't resolve /zh-CN/docs/Web/API/Document.querySelector
    • Can't resolve /zh-CN/docs/Code_snippets/QuerySelector
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/keypress_event
Title: 元素:keypress 事件
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/Keyboard/getLayoutMap does not exist but fell back to /en-US/docs/Web/API/Keyboard/getLayoutMap
    • /zh-CN/docs/Web/API/KeyboardEvent/locale does not exist
  • broken_links:
    • Can't resolve /zh-cn/docs/Web/API/HTMLElement/input_event
    • Can't resolve /zh-cn/docs/Web/API/Element/keydown_event
    • Can't resolve /zh-cn/docs/Web/API/Element/keyup_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/mouseout_event
Title: Element:mouseout 事件
Flaw count: 4

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

URL: /zh-CN/docs/Web/API/Element/slot
Title: Element.slot
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

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

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

URL: /zh-CN/docs/Web/API/Element/wheel_event
Title: Element:滚轮事件
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/WheelEvent/wheelDelta does not exist
    • /zh-CN/docs/Web/API/WheelEvent/wheelDeltaX does not exist
    • /zh-CN/docs/Web/API/WheelEvent/wheelDeltaY 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/Element/scrollHeight
Title: Element.scrollHeight
Flaw count: 3

  • macros:
    • Unknown macro domref
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onscroll redirects to /zh-CN/docs/Web/API/Element/scroll_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/keyup_event
Title: Element: keyup event
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onkeyup redirects to /zh-CN/docs/Web/API/Element/keyup_event
  • 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/Element/scrollBy
Title: Element.scrollBy()
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/ScrollToOptions redirects to /zh-CN/docs/Web/API/Window/scroll

URL: /zh-CN/docs/Web/API/Element/replaceWith
Title: Element.replaceWith()
Flaw count: 7

  • 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)
    • /zh-CN/docs/Web/API/HierarchyRequestError does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/contextmenu_event
Title: Element: contextmenu event
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/oncontextmenu redirects to /zh-CN/docs/Web/API/Element/contextmenu_event
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/HierarchyRequestError does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/touchmove_event
Title: Element:touchmove 事件
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/TouchEvent/altKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/altKey
    • /zh-CN/docs/Web/API/TouchEvent/ctrlKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/ctrlKey
    • /zh-CN/docs/Web/API/TouchEvent/metaKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/metaKey
    • /zh-CN/docs/Web/API/TouchEvent/shiftKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/shiftKey
    • /zh-CN/docs/Web/API/TouchEvent/rotation does not exist
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/Element/setPointerCapture
Title: Element.setPointerCapture()
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/Element/releasePointerCapture does not exist but fell back to /en-US/docs/Web/API/Element/releasePointerCapture
    • /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/Element/releasePointerCapture does not exist but fell back to /en-US/docs/Web/API/Element/releasePointerCapture
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/compositionstart_event
Title: compositionstart
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Element/closest
Title: Element.closest()
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/Element/insertAdjacentElement
Title: Element.insertAdjacentElement()
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/Element/fullscreenchange_event
Title: Element.onfullscreenchange
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Events/fullscreenchange
    • Can't resolve /zh-CN/docs/Web/API/Element/onfullscreenerror
    • Can't resolve /zh-CN/docs/Web/API/Document/onfullscreenchange
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Element/children
Title: Element.children
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/ChildNode does not exist

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

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

URL: /zh-CN/docs/Web/API/Element/innerHTML
Title: element.innerHTML
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Node/innerText redirects to /zh-CN/docs/Web/API/HTMLElement/innerText
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Element/focus_event
Title: 元素:focus 事件
Flaw count: 5

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

URL: /zh-CN/docs/Web/API/Element/clientTop
Title: Element.clientTop
Flaw count: 3

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/en/Gecko
    • Can't resolve /zh-CN/docs/Web/API/en/Firefox_3
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/lastElementChild
Title: Element.lastElementChild
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/ElementTraversal does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist

URL: /zh-CN/docs/Web/API/Element/firstElementChild
Title: Element.firstElementChild
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/%E5%85%83%E7%B4%A0 does not exist
    • /zh-CN/docs/Web/API/Element_%E9%81%8D%E5%8E%86 does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist

URL: /zh-CN/docs/Web/API/Element/childElementCount
Title: Element.childElementCount
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/ElementTraversal does not exist
    • /zh-CN/docs/Web/API/ChildNode does not exist
  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/DOM/Element.children
    • Can't resolve /zh-CN/DOM/Element.firstElementChild
    • Can't resolve /zh-CN/DOM/Element.lastElementChild
    • Can't resolve /zh-CN/DOM/Element.nextElementSibling
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Element/dblclick_event
Title: dblclick
Flaw count: 7

  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Web/API/DOMString
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/API/WindowProxy
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/mouseover_event
Title: Element:mouseover 事件
Flaw count: 4

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

URL: /zh-CN/docs/Web/API/Element/hasAttributes
Title: Node.hasAttributes
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/Element/transitionstart_event
Title: HTMLElement: transitionstart 事件
Flaw count: 11

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ontransitionstart does not exist
    • /zh-CN/docs/Web/API/HTMLElement/transitionstart_event redirects to /zh-CN/docs/Web/API/Element/transitionstart_event
    • /zh-CN/docs/Web/API/HTMLElement/transitionrun_event does not exist but fell back to /en-US/docs/Web/API/Element/transitionrun_event
    • /zh-CN/docs/Web/API/GlobalEventHandlers/ontransitionstart does not exist
    • /zh-CN/docs/Web/API/HTMLElement/transitionend_event redirects to /zh-CN/docs/Web/API/Element/transitionend_event
    • and 4 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/GlobalEventHandlers/ontransitionstart
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/touchstart_event
Title: Element:touchstart 事件
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/TouchEvent/altKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/altKey
    • /zh-CN/docs/Web/API/TouchEvent/ctrlKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/ctrlKey
    • /zh-CN/docs/Web/API/TouchEvent/metaKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/metaKey
    • /zh-CN/docs/Web/API/TouchEvent/shiftKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/shiftKey
    • /zh-CN/docs/Web/API/TouchEvent/rotation does not exist
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/Element/mousewheel_event
Title: mousewheel
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/WheelEvent/wheelDelta does not exist
    • /zh-CN/docs/Web/API/WheelEvent/wheelDeltaX does not exist
    • /zh-CN/docs/Web/API/WheelEvent/wheelDeltaY does not exist

URL: /zh-CN/docs/Web/API/Element/click_event
Title: 元素:click 事件
Flaw count: 4

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

URL: /zh-CN/docs/Web/API/Element/insertAdjacentHTML
Title: element.insertAdjacentHTML
Flaw count: 4

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • 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/Element/getElementsByTagNameNS
Title: Element.getElementsByTagNameNS()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Node/namespaceURI does not exist but fell back to /en-US/docs/Web/API/Element/namespaceURI
    • /zh-CN/docs/Web/API/Node/localName does not exist but fell back to /en-US/docs/Web/API/Element/localName

URL: /zh-CN/docs/Web/API/Element/scroll_event
Title: GlobalEventHandlers.onscroll
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onwheel redirects to /zh-CN/docs/Web/API/Element/wheel_event
  • translation_differences:
    • Differences in the important macros (1 in common of 8 possible)

URL: /zh-CN/docs/Web/API/Element/touchcancel_event
Title: Element:touchcancel 事件
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/API/TouchEvent/altKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/altKey
    • /zh-CN/docs/Web/API/TouchEvent/ctrlKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/ctrlKey
    • /zh-CN/docs/Web/API/TouchEvent/metaKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/metaKey
    • /zh-CN/docs/Web/API/TouchEvent/shiftKey does not exist but fell back to /en-US/docs/Web/API/TouchEvent/shiftKey
    • /zh-CN/docs/Web/API/TouchEvent/rotation does not exist
    • and 1 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/Document/touchcancel_event
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Element/transitionend_event
Title: GlobalEventHandlers.ontransitionend
Flaw count: 12

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers does not exist
    • /zh-CN/docs/Web/API/TransitionEvent/elapsedTime does not exist but fell back to /en-US/docs/Web/API/TransitionEvent/elapsedTime
    • /zh-CN/docs/Web/API/Element/transitionrun_event does not exist but fell back to /en-US/docs/Web/API/Element/transitionrun_event
    • /zh-CN/docs/Web/API/Document/transitionend_event does not exist but fell back to /en-US/docs/Web/API/Element/transitionend_event
    • /zh-CN/docs/Web/API/Window/transitionend_event does not exist but fell back to /en-US/docs/Web/API/Element/transitionend_event
  • broken_links:
    • Link points to the page it's already on
    • Can use the English (en-US) link as a fallback
    • Link points to the page it's already on
    • Link points to the page it's already on
    • 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 6 possible)

URL: /zh-CN/docs/Web/API/Element/mouseleave_event
Title: 元素:mouseleave 事件
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/MouseEvent/layerX does not exist but fell back to /en-US/docs/Web/API/MouseEvent/layerX
    • /zh-CN/docs/Web/API/MouseEvent/layerY does not exist but fell back to /en-US/docs/Web/API/MouseEvent/layerY
    • /zh-CN/docs/Web/API/MouseEvent/webkitForce does not exist but fell back to /en-US/docs/Web/API/MouseEvent/webkitForce

URL: /zh-CN/docs/Web/API/Element/focusout_event
Title: focusout
Flaw count: 6

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Events/blur
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback
    • Link points to the page it's already on
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/transitioncancel_event
Title: Element:transitioncancel 事件
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/TransitionEvent/elapsedTime does not exist but fell back to /en-US/docs/Web/API/TransitionEvent/elapsedTime
    • /zh-CN/docs/Web/API/Element/transitionrun_event does not exist but fell back to /en-US/docs/Web/API/Element/transitionrun_event
    • /zh-CN/docs/Web/API/Document/transitioncancel_event does not exist but fell back to /en-US/docs/Web/API/Element/transitioncancel_event
    • /zh-CN/docs/Web/API/Window/transitioncancel_event does not exist but fell back to /en-US/docs/Web/API/Element/transitioncancel_event
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Element/previousElementSibling
Title: NonDocumentTypeChildNode.previousElementSibling
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Element/keydown_event
Title: Element: 键盘按下事件
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/GlobalEventHandlers/onkeydown redirects to /zh-CN/docs/Web/API/Element/keydown_event
  • 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/Element/getElementsByClassName
Title: Element.getElementsByClassName()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Array/prototype does not exist
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Element/touchend_event
Title: touchend
Flaw count: 7

  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/DOM/Touch
    • Can't resolve /zh-CN/DOM/Touch
    • Can't resolve /zh-CN/docs/DOM/Touch
    • Can't resolve /zh-CN/docs/DOM/Touch_events
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/Event/type
Title: event.type
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla_event_reference
  • translation_differences:
    • Differences in the important macros (1 in common of 6 possible)

URL: /zh-CN/docs/Web/API/Event/preventDefault
Title: event.preventDefault
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Learn/HTML/Forms/Data_form_validation
  • translation_differences:
    • Differences in the important macros (3 in common of 7 possible)

URL: /zh-CN/docs/Web/API/Event/defaultPrevented
Title: event.defaultPrevented
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/Event/eventPhase
Title: Event.eventPhase
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Event/timeStamp
Title: event.timeStamp
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/Event/target
Title: Event.target
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-CN/DOM/event/Comparison_of_Event_Targets

URL: /zh-CN/docs/Web/API/Event/cancelable
Title: Event.cancelable
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/Document/wheel_event does not exist but fell back to /en-US/docs/Web/API/Element/wheel_event
    • /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/Document/wheel_event does not exist but fell back to /en-US/docs/Web/API/Element/wheel_event

URL: /zh-CN/docs/Web/API/Event/cancelBubble
Title: Event.cancelBubble
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/UIEvent/cancelBubble does not exist but fell back to /en-US/docs/Web/API/Event/cancelBubble
  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /zh-CN/docs/Web/API/Event/Comparison_of_Event_Targets
Title: Comparison of Event Targets
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/DOM/event.target
    • Can't resolve /zh-CN/DOM/event.relatedTarget

URL: /zh-CN/docs/Web/API/Event/bubbles
Title: event.bubbles
Flaw count: 2

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

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

  • macros:
    • /zh-CN/docs/Web/API/WEBGL_color_buffer_float does not exist but fell back to /en-US/docs/Web/API/WEBGL_color_buffer_float
    • /zh-CN/docs/Web/API/EXT_color_buffer_float does not exist but fell back to /en-US/docs/Web/API/EXT_color_buffer_float
    • /zh-CN/docs/Web/API/EXT_color_buffer_float does not exist but fell back to /en-US/docs/Web/API/EXT_color_buffer_float
    • /zh-CN/docs/Web/API/OES_texture_float does not exist but fell back to /en-US/docs/Web/API/OES_texture_float
    • /zh-CN/docs/Web/API/WEBGL_color_buffer_float does not exist but fell back to /en-US/docs/Web/API/WEBGL_color_buffer_float
    • and 2 more flaws omitted
External URLs (3)

URL: /zh-CN/docs/Web/API/ExtendableEvent
Title: ExtendableEvent


URL: /zh-CN/docs/Web/API/Element/getBoundingClientRect
Title: Element.getBoundingClientRect()

(comment last updated: 2023-07-30 02:44:28)

@yin1999 yin1999 requested review from jasonren0403 and removed request for irvin July 29, 2023 03:13
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.

I'm sad that /web/api part has too many codeblocks that should have 'nolint' on it :(

files/zh-cn/web/api/element/getboundingclientrect/index.md Outdated Show resolved Hide resolved
files/zh-cn/web/api/element/lastelementchild/index.md Outdated Show resolved Hide resolved
files/zh-cn/web/api/eventtarget/addeventlistener/index.md Outdated Show resolved Hide resolved
files/zh-cn/web/api/eventtarget/addeventlistener/index.md Outdated Show resolved Hide resolved
@@ -16,7 +16,7 @@ slug: Web/API/EventTarget/dispatchEvent
## 语法

```js
dispatchEvent(event)
dispatchEvent(event);
Copy link
Contributor

Choose a reason for hiding this comment

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

nolint again :(

@@ -32,7 +32,7 @@ slug: Web/API/FetchEvent/respondWith
## 语法

```js
respondWith(response)
respondWith(response);
Copy link
Contributor

Choose a reason for hiding this comment

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

nolint

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.

👍

@queengooborg queengooborg merged commit 2748fdf into main Jul 30, 2023
9 checks passed
@queengooborg queengooborg deleted the zh-cn/prettier/web/api/4 branch July 30, 2023 02:54
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