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 10) #14684

Merged
merged 4 commits into from
Jul 30, 2023
Merged

Conversation

queengooborg
Copy link
Collaborator

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

@queengooborg queengooborg requested a review from a team as a code owner July 28, 2023 11:38
@queengooborg queengooborg requested review from yin1999 and removed request for a team July 28, 2023 11:38
@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 (105 pages)
Flaws (575)

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

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

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

URL: /zh-CN/docs/Web/API/Touch_events
Title: 触摸事件
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla/Firefox/Multiprocess_Firefox
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Touch_events/Multi-touch_interaction
Title: 多点触控交互
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

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

  • macros:
    • /zh-CN/docs/Web/CSS/:host() redirects to /zh-CN/docs/Web/CSS/:host_function
    • /zh-CN/docs/Web/API/HTMLSlotElement/slotchange_event does not exist but fell back to /en-US/docs/Web/API/HTMLSlotElement/slotchange_event
  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/API/Web_components/Using_templates_and_slots
Title: 使用 templates and slots
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/Web_components/Using_custom_elements
Title: 使用 custom elements
Flaw count: 2

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

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

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

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

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • 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/Using_files_from_web_applications
    • Can't resolve /zh-CN/docs/DOM/File
    • Can't resolve /zh-CN/docs/DOM/FileReader
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

  • broken_links:
    • No need for the pathname in anchor links if it's the same page
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/SVGAElement
Title: SVGAElement
Flaw count: 21

  • macros:
    • /zh-CN/docs/Web/API/SVGURIReference does not exist but fell back to /en-US/docs/Web/SVG/Attribute/href
    • /zh-CN/docs/Web/API/SVGTests does not exist
    • /zh-CN/docs/Web/API/SVGLangSpace does not exist
    • /zh-CN/docs/Web/API/SVGExternalResourcesRequired does not exist
    • /zh-CN/docs/Web/API/SVGStylable does not exist but fell back to /en-US/docs/Web/API/SVGElement
    • and 16 more flaws omitted

URL: /zh-CN/docs/Web/API/Web_Workers_API/Using_web_workers
Title: 使用 Web Workers
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/SharedWorkerGlobalScope does not exist but fell back to /en-US/docs/Web/API/SharedWorkerGlobalScope
    • /zh-CN/docs/Web/API/Worker/onmessage redirects to /zh-CN/docs/Web/API/Worker/message_event
    • /zh-CN/docs/Web/API/MessageEvent/data does not exist but fell back to /en-US/docs/Web/API/MessageEvent/data
    • /zh-CN/docs/Web/API/DedicatedWorkerGlobalScope/postMessage does not exist but fell back to /en-US/docs/Web/API/DedicatedWorkerGlobalScope/postMessage
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Guide/API/DOM/The_structured_clone_algorithm
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback

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

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

URL: /zh-CN/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
Title: 使用 Web Storage API
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/Basic_2D_animation_example
Title: 一个 2D WebGL 动画的基础示例
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/WebGLRenderingContext/getShaderInfoLog does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/getShaderInfoLog
    • /zh-CN/docs/Web/API/WebGLRenderingContext/getUniformLocation does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/getUniformLocation
    • /zh-CN/docs/Web/API/WebGLRenderingContext/uniform2fv does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/uniform
    • /zh-CN/docs/Web/API/WebGLRenderingContext/uniform4fv does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/uniform
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context
Title: 使用 WebGL 创建 2D 内容
Flaw count: 6

  • macros:
    • /zh-CN/docs/Glossary/texel does not exist but fell back to /en-US/docs/Glossary/Texel
    • /zh-CN/docs/Web/API/WebGLRenderingContext/getShaderInfoLog does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/getShaderInfoLog
  • broken_links:
    • Is currently http:// but can become https://
    • Anchor not lowercase
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL
Title: 使用着色器将颜色应用于 WebGL
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/WebGL_API/Matrix_math_for_the_web
Title: Matrix math for the web
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Guide/CSS/Using_CSS_transforms
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Scissor_animation
Title: Scissor animation
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Canvas_size_and_WebGL
Title: Canvas size and WebGL
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Simple_color_animation
Title: Simple color animation
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Boilerplate_1
Title: Boilerplate 1
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Hello_GLSL
Title: Hello GLSL
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Basic_scissoring
Title: Basic scissoring
Flaw count: 3

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Color_masking
Title: Color masking
Flaw count: 3

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Clearing_with_colors
Title: 清除画布
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Clearing_by_clicking
Title: Clearing by clicking
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/By_example/Detect_WebGL
Title: 检测 WebGL
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/WebGL_API/Constants
Title: WebGL 相关常量
Flaw count: 51

  • macros:
    • /zh-CN/docs/Web/API/GLenum does not exist but fell back to /en-US/docs/Web/API/WebGL_API/Types
    • /zh-CN/docs/Web/API/WebGLRenderingContext/blendFuncSeparate does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/blendFuncSeparate
    • /zh-CN/docs/Web/API/WebGLRenderingContext/bufferSubData does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/bufferSubData
    • /zh-CN/docs/Web/API/WebGLRenderingContext/getBufferParameter does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/getBufferParameter
    • /zh-CN/docs/Web/API/WebGLRenderingContext/getVertexAttrib does not exist but fell back to /en-US/docs/Web/API/WebGLRenderingContext/getVertexAttrib
    • and 25 more flaws omitted
  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Anchor not lowercase
    • Anchor not lowercase
  • heading_links:
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • h3 heading contains an <a> tag
    • and 12 more flaws omitted

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

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

URL: /zh-CN/docs/Web/API/Web_Authentication_API
Title: Web Authentication API
Flaw count: 38

  • macros:
    • /zh-CN/docs/Web/API/PublicKeyCredentialCreationOptions does not exist but fell back to /en-US/docs/Web/API/CredentialsContainer/create
    • /zh-CN/docs/Web/API/PublicKeyCredential does not exist but fell back to /en-US/docs/Web/API/PublicKeyCredential
    • /zh-CN/docs/Web/API/PublicKeyCredential/response does not exist but fell back to /en-US/docs/Web/API/PublicKeyCredential/response
    • /zh-CN/docs/Web/API/AuthenticatorAttestationResponse does not exist but fell back to /en-US/docs/Web/API/AuthenticatorAttestationResponse
    • /zh-CN/docs/Web/API/AuthenticatorAttestationResponse does not exist but fell back to /en-US/docs/Web/API/AuthenticatorAttestationResponse
    • and 17 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
    • Can't resolve /zh-CN/docs/User:maybe/webidl_mdn/XMLHttpRequest_API
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • and 10 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/SVGPathElement
Title: SVGPathElement
Flaw count: 67

  • macros:
    • /zh-CN/docs/Web/API/SVGTests does not exist
    • /zh-CN/docs/Web/API/SVGLangSpace does not exist
    • /zh-CN/docs/Web/API/SVGExternalResourcesRequired does not exist
    • /zh-CN/docs/Web/API/SVGStylable does not exist but fell back to /en-US/docs/Web/API/SVGElement
    • /zh-CN/docs/Web/API/SVGTransformable does not exist
    • and 62 more flaws omitted

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

  • broken_links:
    • Can't resolve /zh-CN/docs/DOM/Node.normalize
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/Text/wholeText
Title: Text.wholeText
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/Text/replaceWholeText redirects to /zh-CN/docs/Web/API/Text

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

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

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

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

URL: /zh-CN/docs/Web/API/UIEvent/which
Title: KeyboardEvent.which
Flaw count: 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • macros:
    • /zh-CN/docs/Web/API/TextMetrics/actualBoundingBoxLeft does not exist but fell back to /en-US/docs/Web/API/TextMetrics/actualBoundingBoxLeft
    • /zh-CN/docs/Web/API/TextMetrics/actualBoundingBoxRight does not exist but fell back to /en-US/docs/Web/API/TextMetrics/actualBoundingBoxRight
    • /zh-CN/docs/Web/API/TextMetrics/fontBoundingBoxAscent does not exist but fell back to /en-US/docs/Web/API/TextMetrics/fontBoundingBoxAscent
    • /zh-CN/docs/Web/API/TextMetrics/fontBoundingBoxDescent does not exist but fell back to /en-US/docs/Web/API/TextMetrics/fontBoundingBoxDescent
    • /zh-CN/docs/Web/API/TextMetrics/actualBoundingBoxAscent does not exist but fell back to /en-US/docs/Web/API/TextMetrics/actualBoundingBoxAscent
    • and 6 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/URL/toString
Title: URL.toString()
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/URL/hash
Title: URL.hash
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /zh-CN/docs/Glossary/percent-encoding

URL: /zh-CN/docs/Web/API/URL/href
Title: URL.href
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/URL/protocol
Title: URL.protocol
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/URL/port
Title: URL.port
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/URL/search
Title: URL.search
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/URL/hostname
Title: URL.hostname
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/URL/password
Title: URL:password 属性
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/URL/host
Title: URL.host
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/URL/URL
Title: URL()
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/URL/username
Title: URL.username
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/URL/pathname
Title: URL.pathname
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/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/VideoPlaybackQuality/totalVideoFrames
Title: VideoPlaybackQuality.totalVideoFrames
Flaw count: 2

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

URL: /zh-CN/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API
Title: 使用 Web Speech API
Flaw count: 38

  • broken_links:
    • Can't resolve /zh-CN/docs/Tools/WebIDE
    • Can't resolve /zh-CN/docs/Web/Apps/Build/Manifest
    • 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 32 more flaws omitted
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

URL: /zh-CN/docs/Web/API/Web_Animations_API/Keyframe_Formats
Title: 关键帧格式
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/KeyframeEffect/setKeyframes does not exist but fell back to /en-US/docs/Web/API/KeyframeEffect/setKeyframes
    • /zh-CN/docs/Web/API/KeyframeEffect/getKeyframes does not exist but fell back to /en-US/docs/Web/API/KeyframeEffect/getKeyframes
    • /zh-CN/docs/Web/API/KeyframeEffect/composite does not exist but fell back to /en-US/docs/Web/API/KeyframeEffect/composite
    • /zh-CN/docs/Web/API/KeyframeEffect/setKeyframes does not exist but fell back to /en-US/docs/Web/API/KeyframeEffect/setKeyframes
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API
Title: Using the Web Animations API
Flaw count: 20

  • macros:
    • /zh-CN/docs/Web/API/AnimationEffectTimingProperties does not exist but fell back to /en-US/docs/Web/API/KeyframeEffect/KeyframeEffect
    • /zh-CN/docs/Web/API/WindowTimers/setTimeout does not exist but fell back to /en-US/docs/Web/API/setTimeout
    • /zh-CN/docs/Web/API/Animation/pause does not exist but fell back to /en-US/docs/Web/API/Animation/pause
    • /zh-CN/docs/Web/API/Animation/reverse does not exist but fell back to /en-US/docs/Web/API/Animation/reverse
    • /zh-CN/docs/Web/API/Animation/playbackRate does not exist but fell back to /en-US/docs/Web/API/Animation/playbackRate
    • and 3 more flaws omitted
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • and 7 more flaws omitted

URL: /zh-CN/docs/Web/API/TreeWalker
Title: TreeWalker
Flaw count: 14

  • macros:
    • /zh-CN/docs/Web/API/TreeWalker/root does not exist but fell back to /en-US/docs/Web/API/TreeWalker/root
    • /zh-CN/docs/Web/API/TreeWalker/whatToShow does not exist but fell back to /en-US/docs/Web/API/TreeWalker/whatToShow
    • /zh-CN/docs/Web/API/ProcessingInstruction does not exist but fell back to /en-US/docs/Web/API/ProcessingInstruction
    • /zh-CN/docs/Web/API/TreeWalker/filter does not exist but fell back to /en-US/docs/Web/API/TreeWalker/filter
    • /zh-CN/docs/Web/API/NodeFilter redirects to /zh-CN/docs/Web/API/Document/createNodeIterator
    • and 9 more flaws omitted

URL: /zh-CN/docs/Web/API/SubtleCrypto/wrapKey
Title: SubtleCrypto:wrapKey() 方法
Flaw count: 5

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

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

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

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

  • 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
    • Can use the English (en-US) link as a fallback
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/API/WebGL2RenderingContext
Title: WebGL2RenderingContext
Flaw count: 69

  • macros:
    • /zh-CN/docs/Web/API/WebGL2RenderingContext/getIndexedParameter does not exist but fell back to /en-US/docs/Web/API/WebGL2RenderingContext/getIndexedParameter
    • /zh-CN/docs/Web/API/WebGL2RenderingContext/copyBufferSubData does not exist but fell back to /en-US/docs/Web/API/WebGL2RenderingContext/copyBufferSubData
    • /zh-CN/docs/Web/API/WebGL2RenderingContext/getBufferSubData does not exist but fell back to /en-US/docs/Web/API/WebGL2RenderingContext/getBufferSubData
    • /zh-CN/docs/Web/API/WebGL2RenderingContext/blitFramebuffer does not exist but fell back to /en-US/docs/Web/API/WebGL2RenderingContext/blitFramebuffer
    • /zh-CN/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer does not exist but fell back to /en-US/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer
    • and 63 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

  • macros:
    • /zh-CN/docs/Web/API/GLenum does not exist but fell back to /en-US/docs/Web/API/WebGL_API/Types
    • /zh-CN/docs/Web/API/GLint does not exist but fell back to /en-US/docs/Web/API/WebGL_API/Types
    • /zh-CN/docs/Web/API/GLint does not exist but fell back to /en-US/docs/Web/API/WebGL_API/Types
    • /zh-CN/docs/Web/API/GLsizei does not exist but fell back to /en-US/docs/Web/API/WebGL_API/Types
    • /zh-CN/docs/Web/API/GLsizei does not exist but fell back to /en-US/docs/Web/API/WebGL_API/Types
    • and 9 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

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

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

  • macros:
    • /zh-CN/docs/Web/API/SVGTests does not exist
    • /zh-CN/docs/Web/API/SVGLangSpace does not exist
    • /zh-CN/docs/Web/API/SVGExternalResourcesRequired does not exist
    • /zh-CN/docs/Web/API/SVGStylable does not exist but fell back to /en-US/docs/Web/API/SVGElement
    • /zh-CN/docs/Web/API/SVGTransformable does not exist
    • and 6 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

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

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

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

URL: /zh-CN/docs/Web/API/Web_Audio_API
Title: Web Audio API
Flaw count: 27

  • macros:
    • /zh-CN/docs/Web/API/AudioContext/destination redirects to /zh-CN/docs/Web/API/BaseAudioContext/destination
    • /zh-CN/docs/Web/API/AudioContext/decodeAudioData redirects to /zh-CN/docs/Web/API/BaseAudioContext/decodeAudioData
    • /zh-CN/docs/Web/API/AudioContext/createBuffer redirects to /zh-CN/docs/Web/API/BaseAudioContext/createBuffer
    • /zh-CN/docs/Web/API/DelayNode does not exist but fell back to /en-US/docs/Web/API/DelayNode
    • /zh-CN/docs/Web/API/StereoPannerNode does not exist but fell back to /en-US/docs/Web/API/StereoPannerNode
    • and 12 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
    • 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://
    • and 5 more flaws omitted

URL: /zh-CN/docs/Web/API/Web_Audio_API/Web_audio_spatialization_basics
Title: Web audio 空间化基础
Flaw count: 13

  • macros:
    • /zh-CN/docs/Web/API/PannerNode does not exist but fell back to /en-US/docs/Web/API/PannerNode
    • /zh-CN/docs/Web/API/StereoPannerNode does not exist but fell back to /en-US/docs/Web/API/StereoPannerNode
    • /zh-CN/docs/Web/API/PannerNode does not exist but fell back to /en-US/docs/Web/API/PannerNode
    • /zh-CN/docs/Web/API/PannerNode does not exist but fell back to /en-US/docs/Web/API/PannerNode
  • 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
    • Can use the English (en-US) link as a fallback
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

URL: /zh-CN/docs/Web/API/Web_Audio_API/Best_practices
Title: Web Audio API 最佳实践
Flaw count: 7

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/API/Media_Streams_API
    • 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
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (0 in common of 2 possible)

URL: /zh-CN/docs/Web/API/Web_Audio_API/Using_Web_Audio_API
Title: Web Audio API 的运用
Flaw count: 16

  • macros:
    • /zh-CN/docs/Web/API/StereoPannerNode does not exist but fell back to /en-US/docs/Web/API/StereoPannerNode
    • /zh-CN/docs/Web/API/PannerNode does not exist but fell back to /en-US/docs/Web/API/PannerNode
    • /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/createBuffer redirects to /zh-CN/docs/Web/API/BaseAudioContext/createBuffer
    • /zh-CN/docs/Web/API/AudioContext/createBufferSource redirects to /zh-CN/docs/Web/API/BaseAudioContext/createBufferSource
    • and 4 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Tools/Web_Audio_Editor
    • Is currently http:// but can become https://
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Tools/Web_Audio_Editor
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

URL: /zh-CN/docs/Web/API/Web_Audio_API/Visualizations_with_Web_Audio_API
Title: 基于 Web Audio API 实现音频可视化效果
Flaw count: 12

  • macros:
    • /zh-CN/docs/Web/API/AudioContext/createAnalyser redirects to /zh-CN/docs/Web/API/BaseAudioContext/createAnalyser
    • /zh-CN/docs/Web/API/AnalyserNode/minDecibels does not exist but fell back to /en-US/docs/Web/API/AnalyserNode/minDecibels
    • /zh-CN/docs/Web/API/AnalyserNode/maxDecibels does not exist but fell back to /en-US/docs/Web/API/AnalyserNode/maxDecibels
    • /zh-CN/docs/Web/API/AnalyserNode/getFloatTimeDomainData does not exist but fell back to /en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData
    • /zh-CN/docs/Web/API/Float32Array does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array
    • and 2 more flaws omitted
  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

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

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

URL: /zh-CN/docs/Web/API/TextDecoder/encoding
Title: TextDecoder.encoding


URL: /zh-CN/docs/Web/API/Web_Authentication_API
Title: Web Authentication API

(comment last updated: 2023-07-30 04:41:29)

0, 0, 0, 1]

[4, 3, 2, 1]
[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1][(4, 3, 2, 1)];
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should revert this change. Also in mdn/content

Copy link
Member

Choose a reason for hiding this comment

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

0, 0, 1, 0,
0, 0, 0, 1
];
var identityMatrix = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
Copy link
Member

Choose a reason for hiding this comment

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

The same here?

@github-actions github-actions bot added the system Infrastructure and configuration for the project label Jul 30, 2023
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.

Thank you @queengooborg

@yin1999 yin1999 merged commit 25ba236 into main Jul 30, 2023
9 checks passed
@yin1999 yin1999 deleted the zh-cn/prettier/web/api/10 branch July 30, 2023 04:40
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. system Infrastructure and configuration for the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants