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

chore(zh-cn): batch replace '相关链接' to ‘参见' part 2 & minor fixes #16781

Merged
merged 4 commits into from
Oct 31, 2023

Conversation

jasonren0403
Copy link
Contributor

Description

enforce translation guide

Motivation

Additional details

Related issues and pull requests

@jasonren0403 jasonren0403 requested a review from a team as a code owner October 31, 2023 03:48
@jasonren0403 jasonren0403 requested review from t7yang and removed request for a team October 31, 2023 03:48
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Oct 31, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 31, 2023

Preview URLs (59 pages)
Flaws (208)

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

URL: /zh-CN/docs/Web/API/Worker
Title: Worker
Flaw count: 16

  • macros:
    • /zh-CN/docs/Web/API/ChromeWorker does not exist
    • /zh-CN/docs/Web/API/AbstractWorker does not exist but fell back to /en-US/docs/Web/API/Worker
    • /zh-CN/docs/Web/API/AbstractWorker/onerror does not exist but fell back to /en-US/docs/Web/API/Worker/error_event
    • /zh-CN/docs/Web/API/EventListener redirects to /zh-CN/docs/Web/API/EventTarget/addEventListener
    • /zh-CN/docs/Web/API/AbstractWorker does not exist but fell back to /en-US/docs/Web/API/Worker
    • and 6 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/DOM/XMLHttpRequest
    • Can't resolve /zh-CN/docs/Mozilla/js-ctypes
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Web/API/Element/error_event

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

  • macros:
    • /zh-CN/docs/Web/API/Window/URL does not exist but fell back to /en-US/docs/Web/API/URL
    • 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 13 more flaws omitted

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

  • 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/URL/revokeObjectURL redirects to /zh-CN/docs/Web/API/URL/revokeObjectURL_static
    • /zh-CN/docs/Web/API/URL/createObjectURL redirects to /zh-CN/docs/Web/API/URL/createObjectURL_static
  • broken_links:
    • Can't resolve /zh-CN/docs/Using_files_from_web_applications#Example.3A_Using_object_URLs_to_display_images
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/API/XMLHttpRequest/timeout_event
Title: timeout
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/XMLHttpRequest/responseType
Title: XMLHttpRequest.responseType
Flaw count: 1

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

URL: /zh-CN/docs/Web/API/XMLHttpRequest/progress_event
Title: progress event
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/API/XMLHttpRequestEventTarget/onprogress redirects to /zh-CN/docs/Web/API/XMLHttpRequest/progress_event

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

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

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

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

URL: /zh-CN/docs/Web/API/FileSystem
Title: FileSystem
Flaw count: 10

  • macros:
    • /zh-CN/docs/Web/API/FileSystemEntry does not exist but fell back to /en-US/docs/Web/API/FileSystemEntry
  • broken_links:
    • Can't resolve /zh-CN/DOM/File_API/File_System_API
    • Can't resolve /zh-CN/DOM/File_API/File_System_API/FileSystem
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Response
Title: Response
Flaw count: 18

  • macros:
    • /zh-CN/docs/Web/API/GlobalFetch/fetch redirects to /zh-CN/docs/Web/API/fetch
    • /zh-CN/docs/Web/API/Response/statusText does not exist but fell back to /en-US/docs/Web/API/Response/statusText
    • /zh-CN/docs/Web/API/Response/useFinalURL does not exist
    • /zh-CN/docs/Web/API/Body does not exist
    • /zh-CN/docs/Web/API/Boolean does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean
    • and 13 more flaws omitted

URL: /zh-CN/docs/Web/API/Response/redirected
Title: Response.redirected
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/API/GlobalFetch/fetch redirects to /zh-CN/docs/Web/API/fetch
    • /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/GlobalFetch/fetch redirects to /zh-CN/docs/Web/API/fetch
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/JSON
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/API/Response/ok
Title: Response.ok
Flaw count: 6

  • 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/GlobalFetch/fetch redirects to /zh-CN/docs/Web/API/fetch
    • /zh-CN/docs/Web/API/Body/blob does not exist but fell back to /en-US/docs/Web/API/Response/blob
    • /zh-CN/docs/Web/API/URL/createObjectURL redirects to /zh-CN/docs/Web/API/URL/createObjectURL_static
  • 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/Headers
Title: Headers
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • /zh-CN/docs/Web/API/Headers/getAll redirects to /zh-CN/docs/Web/API/Headers/get
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

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

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

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

  • 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/FileReader/onabort redirects to /zh-CN/docs/Web/API/FileReader/abort_event
    • /zh-CN/docs/Web/API/FileReader/onerror does not exist but fell back to /en-US/docs/Web/API/FileReader/error_event
    • /zh-CN/docs/Web/API/FileReader/onload redirects to /zh-CN/docs/Web/API/FileReader/load_event
    • and 4 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/Using_files_from_web_applications
    • Can't resolve /zh-CN/docs/Web/API/Element/error_event

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

  • 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)

URL: /zh-CN/docs/Web/API/FileReader/error
Title: FileReader.error
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/FileReader/readAsBinaryString
Title: FileReader.readAsBinaryString()
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 3 possible)

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

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/API/File/Using_files_from_web_applications
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /zh-CN/docs/Web/API/FileReader/abort
Title: FileReader.abort()
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/FormData/Using_FormData_Objects
Title: FormData 对象的使用
Flaw count: 3

  • broken_links:
    • Can't resolve /zh-CN/docs/AJAX
    • Anchor not lowercase
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

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

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

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

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

URL: /zh-CN/docs/Web/API/FormData/entries
Title: FormData.entries()
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/FormData/keys
Title: FormData.keys()
Flaw count: 1

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

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

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

URL: /zh-CN/docs/Web/API/FormData/set
Title: FormData.set()
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/FormData/has
Title: FormData.has()
Flaw count: 2

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

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

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

URL: /zh-CN/docs/Web/API/FormData/append
Title: FormData.append()
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/FileReaderSync
Title: FileReaderSync
Flaw count: 11

  • 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/DOM/Worker
    • Can't resolve /zh-CN/DOM/Worker/Functions_available_to_workers
    • Can't resolve /zh-CN/DOM/DOMString
    • Can't resolve /zh-CN/DOM/DOMString
    • Can't resolve /zh-CN/DOM/DOMString
    • and 3 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

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

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Strict_mode
Title: 严格模式
Flaw count: 9

  • macros:
    • /zh-CN/docs/Web/API/WindowTimers/setTimeout does not exist but fell back to /en-US/docs/Web/API/setTimeout
  • broken_links:
    • Can't resolve /docs/Glossary/Sloppy_mode
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode
    • Can't resolve /zh-CN/JavaScript/Reference/Global_Objects/Object/preventExtensions
    • Is currently http:// but can become https://
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/for-await...of
Title: for await...of
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/Empty
Title: empty
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/do...while
Title: do...while
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/for...of
Title: for...of
Flaw count: 11

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/arguments does not exist
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
    • /zh-CN/docs/Web/JavaScript/Reference/Array/prototype does not exist
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/JavaScript/Guide/iterable
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Functions_and_function_scope/arguments
  • 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 1 more flaws omitted

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/block
Title: block
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/break
Title: break
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/for...in
Title: for...in
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/throw
Title: throw
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/const
Title: const
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/import
Title: import
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/function
Title: function
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/JavaScript/Reference/Global_Objects/Function
    • Can't resolve /zh-CN/JavaScript/Reference/Operators/function
    • Can't resolve /zh-CN/JavaScript/Reference/Statements/return
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/switch
Title: switch
Flaw count: 3

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/function*
Title: function* 表达式
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/in
Title: in
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Operators/delete
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Operators/delete

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/yield*
Title: yield*
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/JavaScript/Guide/The_Iterator_protocol
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/Spread_syntax
Title: 展开语法
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Functions/Rest_parameters
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Functions/Rest_parameters

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/instanceof
Title: instanceof
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Operators/typeof

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/this
Title: this
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Glossary/undefined
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/function
Title: 函数表达式
Flaw count: 5

  • broken_links:
    • Can't resolve /zh-CN/docs/
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Functions_and_function_scope
    • Can't resolve /zh-CN/docs/Web/JavaScript/Reference/Functions_and_function_scope/arguments/callee
    • Can't resolve /zh-CN/docs/Mozilla/js-ctypes/Using_js-ctypes/Declaring_and_Using_Callbacks
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/new.target
Title: new.target
Flaw count: 1

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

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


URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/function*
Title: function*


URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/import
Title: import

(comment last updated: 2023-10-31 07:35:30)

…/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Almost looks good to me. Just some nits

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.

LGTM. Thanks @jasonren0403

@yin1999 yin1999 merged commit bb2c629 into main Oct 31, 2023
8 checks passed
@yin1999 yin1999 deleted the see-also-zhcn branch October 31, 2023 07:41
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