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

remove event macro from zh-CN (Part 5) #9813

Merged
merged 1 commit into from
Nov 9, 2022
Merged

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Nov 9, 2022

Description

remove event macro from zh-CN (Part 5). It's the final part of {{event}} macro removal for l10n-zh.

Related issues and pull requests

continue #9791

@yin1999 yin1999 requested a review from a team as a code owner November 9, 2022 12:16
@yin1999 yin1999 requested review from t7yang and removed request for a team November 9, 2022 12:16
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Nov 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

Preview URLs (19 pages)
Flaws (528)

URL: /zh-CN/docs/Web/API/WorkerGlobalScope
Title: WorkerGlobalScope
Flaw count: 46

  • macros:
    • /zh-CN/docs/Web/API/WorkerNavigator does not exist but fell back to /en-US/docs/Web/API/WorkerNavigator
    • /zh-CN/docs/Web/API/SharedWorkerGlobalScope does not exist but fell back to /en-US/docs/Web/API/SharedWorkerGlobalScope
    • /zh-CN/docs/Web/API/WindowTimers does not exist
    • /zh-CN/docs/Web/API/WindowBase64 does not exist
    • /zh-CN/docs/Web/API/WindowEventHandlers does not exist
    • and 37 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/Web/Guide/Performance/Using_web_workers
  • bad_bcd_links:
    • no explanation!

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

  • 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

URL: /zh-CN/docs/Web/API/RTCPeerConnection/createOffer
Title: RTCPeerConnection.createOffer()
Flaw count: 11

  • macros:
    • /zh-CN/docs/Web/API/Promise does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
    • /zh-CN/docs/Web/API/RTCSessionDescriptionCallback does not exist
    • /zh-CN/docs/Web/API/RTCPeerConnectionErrorCallback does not exist
    • /zh-CN/docs/Web/API/RTCSessionDescriptionInit does not exist
    • /zh-CN/docs/Web/API/RTCPeerConnection/negotiationneeded_event does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnection/negotiationneeded_event
    • and 2 more flaws omitted
  • broken_links:
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback

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

  • macros:
    • /zh-CN/docs/Web/API/RTCPeerConnection/negotiationneeded_event does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnection/negotiationneeded_event
    • /zh-CN/docs/Web/API/RTCRtpSender does not exist but fell back to /en-US/docs/Web/API/RTCRtpSender
    • /zh-CN/docs/Web/API/RTCRtpReceiver does not exist but fell back to /en-US/docs/Web/API/RTCRtpReceiver
    • /zh-CN/docs/Web/API/RTCPeerConnection/ontrack redirects to /zh-CN/docs/Web/API/RTCPeerConnection/track_event
    • /zh-CN/docs/Web/API/RTCPeerConnection/removeTrack does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnection/removeTrack
    • and 9 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback

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

  • macros:
    • /zh-CN/docs/Web/API/RTCPeerConnection/negotiationneeded_event does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnection/negotiationneeded_event
    • /zh-CN/docs/Web/API/RTCDataChannelEvent does not exist but fell back to /en-US/docs/Web/API/RTCDataChannelEvent
    • /zh-CN/docs/Web/API/RTCDataChannel/open_event does not exist but fell back to /en-US/docs/Web/API/RTCDataChannel/open_event
  • broken_links:
    • Anchor not lowercase
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/RTCPeerConnection/datachannel_event
Title: RTCPeerConnection.ondatachannel
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/API/RTCDataChannelEvent does not exist but fell back to /en-US/docs/Web/API/RTCDataChannelEvent
    • /zh-CN/docs/Web/API/RTCDataChannelEvent does not exist but fell back to /en-US/docs/Web/API/RTCDataChannelEvent
    • /zh-CN/docs/Web/API/RTCDataChannelEvent does not exist but fell back to /en-US/docs/Web/API/RTCDataChannelEvent
  • 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/RTCPeerConnection/track_event
Title: RTCPeerConnection.ontrack
Flaw count: 3

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

URL: /zh-CN/docs/Web/API/ServiceWorkerGlobalScope
Title: ServiceWorkerGlobalScope
Flaw count: 33

  • macros:
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/onfetch does not exist
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/onmessage does not exist but fell back to /en-US/docs/Web/API/ServiceWorkerGlobalScope/message_event
    • /zh-CN/docs/Web/API/GlobalFetch/fetch redirects to /zh-CN/docs/Web/API/fetch
    • /zh-CN/docs/Web/API/WindowTimers does not exist
    • /zh-CN/docs/Web/API/WindowBase64 does not exist
    • and 24 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/Web/Guide/Performance/Using_web_workers
  • bad_bcd_links:
    • no explanation!

URL: /zh-CN/docs/Web/API/Window
Title: Window
Flaw count: 195

  • macros:
    • /zh-CN/docs/Web/API/Window/GeckoActiveXObject does not exist
    • Unknown macro todo
    • /zh-CN/docs/Web/API/Image does not exist but fell back to /en-US/docs/Web/API/HTMLImageElement/Image
    • /zh-CN/docs/Web/API/Option does not exist but fell back to /en-US/docs/Web/API/HTMLOptionElement/Option
    • /zh-CN/docs/Web/API/Window/QueryInterface does not exist
    • and 120 more flaws omitted
  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/JavaScript/Reference
    • 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/document
    • and 61 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)
  • bad_bcd_links:
    • no explanation!
    • no explanation!
    • no explanation!

URL: /zh-CN/docs/Web/API/VideoTrackList
Title: VideoTrackList
Flaw count: 19

  • macros:
    • /zh-CN/docs/Web/API/VideoTrack does not exist but fell back to /en-US/docs/Web/API/VideoTrack
    • /zh-CN/docs/Web/API/VideoTrackList/length does not exist but fell back to /en-US/docs/Web/API/VideoTrackList/length
    • /zh-CN/docs/Web/API/VideoTrackList/selectedIndex does not exist but fell back to /en-US/docs/Web/API/VideoTrackList/selectedIndex
    • /zh-CN/docs/Web/API/VideoTrackList/addtrack_event does not exist but fell back to /en-US/docs/Web/API/VideoTrackList/addtrack_event
    • /zh-CN/docs/Web/API/VideoTrackList/change_event does not exist but fell back to /en-US/docs/Web/API/VideoTrackList/change_event
    • and 8 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 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

URL: /zh-CN/docs/Web/API/XMLHttpRequest
Title: XMLHttpRequest
Flaw count: 26

  • macros:
    • /zh-CN/docs/Web/API/XMLHttpRequest/onreadystatechange redirects to /zh-CN/docs/Web/API/XMLHttpRequest/readystatechange_event
    • 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 16 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIXMLHttpRequest
    • Can't resolve /zh-cn/nsIXMLHttpRequest#open()
    • Can't resolve /zh-CN/docs/AJAX/Getting_Started
    • 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/Web_Speech_API
Title: Web Speech API
Flaw count: 19

  • macros:
    • /zh-CN/docs/Web/API/SpeechSynthesisVoice does not exist but fell back to /en-US/docs/Web/API/SpeechSynthesisVoice
    • /zh-CN/docs/Web/API/SpeechSynthesis/speak does not exist but fell back to /en-US/docs/Web/API/SpeechSynthesis/speak
    • /zh-CN/docs/Web/API/SpeechRecognitionEvent does not exist but fell back to /en-US/docs/Web/API/SpeechRecognitionEvent
    • /zh-CN/docs/Web/API/SpeechRecognitionAlternative does not exist but fell back to /en-US/docs/Web/API/SpeechRecognitionAlternative
    • /zh-CN/docs/Web/API/SpeechRecognitionError does not exist but fell back to /en-US/docs/Web/API/SpeechRecognitionErrorEvent
    • and 10 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://
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/API/WebRTC_API/Signaling_and_video_calling
Title: 信令与视频通话
Flaw count: 35

  • macros:
    • /zh-CN/docs/Web/API/RTCIceCandidate does not exist but fell back to /en-US/docs/Web/API/RTCIceCandidate
    • /zh-CN/docs/Web/API/RTCPeerConnectionIceEvent does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnectionIceEvent
    • /zh-CN/docs/Web/API/RTCPeerConnection/onicecandidate redirects to /zh-CN/docs/Web/API/RTCPeerConnection/icecandidate_event
    • /zh-CN/docs/Web/API/Navigator/mediaDevices/getUserMedia does not exist but fell back to /en-US/docs/Web/API/MediaDevices/getUserMedia
    • /zh-CN/docs/Web/API/MediaTrackConstraints/deviceId does not exist but fell back to /en-US/docs/Web/API/MediaTrackConstraints/deviceId
    • and 27 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/MDN/Doc_status/API/WebSockets

URL: /zh-CN/docs/Web/API/WebRTC_API/Simple_RTCDataChannel_sample
Title: RTCDataChannel 简单示例
Flaw count: 10

  • macros:
    • /zh-CN/docs/Web/API/RTCIceCandidate does not exist but fell back to /en-US/docs/Web/API/RTCIceCandidate
    • /zh-CN/docs/Web/API/RTCPeerConnectionIceEvent does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnectionIceEvent
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
    • /zh-CN/docs/Web/API/RTCPeerConnection/setLocalDescription does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnection/setLocalDescription
    • /zh-CN/docs/Web/API/RTCPeerConnection/createAnswer does not exist but fell back to /en-US/docs/Web/API/RTCPeerConnection/createAnswer
    • and 3 more flaws omitted
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla

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

  • macros:
    • /zh-CN/docs/Web/API/WebGLContextEvent/statusMessage does not exist but fell back to /en-US/docs/Web/API/WebGLContextEvent/statusMessage
    • /zh-CN/docs/Web/API/HTMLCanvasElement/webglcontextrestored_event does not exist but fell back to /en-US/docs/Web/API/HTMLCanvasElement/webglcontextrestored_event
  • 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/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/HTML/Element/Input/search
Title: <input type="search">
Flaw count: 52

  • macros:
    • /zh-CN/docs/Web/HTML/Attributes/accept does not exist but fell back to /en-US/docs/Web/HTML/Attributes/accept
    • /zh-CN/docs/Web/HTML/Attributes/capture does not exist but fell back to /en-US/docs/Web/HTML/Attributes/capture
    • /zh-CN/docs/Web/HTML/Attributes/disabled does not exist but fell back to /en-US/docs/Web/HTML/Attributes/disabled
    • /zh-CN/docs/Web/HTML/Attributes/elementtiming does not exist but fell back to /en-US/docs/Web/HTML/Attributes/elementtiming
    • /zh-CN/docs/Web/HTML/Attributes/for does not exist but fell back to /en-US/docs/Web/HTML/Attributes/for
    • and 37 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTML/Element/input/text
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • Anchor not lowercase
    • Can use the English (en-US) link as a fallback
    • and 4 more flaws omitted
  • translation_differences:
    • Differences in the important macros (11 in common of 19 possible)

URL: /zh-CN/docs/Web/HTML/Element/audio
Title: <audio>
Flaw count: 43

  • macros:
    • /zh-CN/docs/Web/HTML/Attributes/accept does not exist but fell back to /en-US/docs/Web/HTML/Attributes/accept
    • /zh-CN/docs/Web/HTML/Attributes/capture does not exist but fell back to /en-US/docs/Web/HTML/Attributes/capture
    • /zh-CN/docs/Web/HTML/Attributes/disabled does not exist but fell back to /en-US/docs/Web/HTML/Attributes/disabled
    • /zh-CN/docs/Web/HTML/Attributes/elementtiming does not exist but fell back to /en-US/docs/Web/HTML/Attributes/elementtiming
    • /zh-CN/docs/Web/HTML/Attributes/for does not exist but fell back to /en-US/docs/Web/HTML/Attributes/for
    • and 26 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/CORS_Enabled_Image
    • 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 7 more flaws omitted

URL: /zh-CN/docs/Web/Progressive_web_apps/Re-engageable_Notifications_Push
Title: 通过通知推送让 PWA 可重用
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/push_event does not exist but fell back to /en-US/docs/Web/API/ServiceWorkerGlobalScope/push_event
    • /zh-CN/docs/Web/API/ServiceWorkerGlobalScope/push_event does not exist but fell back to /en-US/docs/Web/API/ServiceWorkerGlobalScope/push_event
  • broken_links:
    • Can use the English (en-US) link as a fallback
External URLs (3)

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


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

@irvin irvin merged commit 1018ce3 into mdn:main Nov 9, 2022
@yin1999 yin1999 deleted the remove-event-macro branch November 9, 2022 15:33
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