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/javascript using Prettier (part 2) #14698

Merged
merged 2 commits into from
Jul 29, 2023

Conversation

queengooborg
Copy link
Collaborator

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

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

github-actions bot commented Jul 29, 2023

Preview URLs (100 pages)
Flaws (165)

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Int32Array
Title: Int32Array
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/TypedArray/move does not exist
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Int8Array
Title: Int8Array
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/TypedArray/move does not exist
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView
Title: ArrayBuffer.isView()
Flaw count: 2

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
Title: FinalizationRegistry
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry/FinalizationRegistry does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry/FinalizationRegistry
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry/register does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry/register
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry/unregister does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry/unregister
  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Atomics/and
Title: Atomics.and()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/JSON
Title: JSON
Flaw count: 5

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • 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://

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Error/stack
Title: Error.prototype.stack
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/docs/Tools/Debugger
    • Can use the English (en-US) link as a fallback
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Components.stack

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Error/columnNumber
Title: Error.prototype.columnNumber
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Error/fileName
Title: Error.prototype.fileName
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/encodeURI
Title: encodeURI()
Flaw count: 2

  • 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/JavaScript/Reference/Global_Objects/isNaN
Title: isNaN()
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigInt64Array
Title: BigInt64Array
Flaw count: 2

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator
Title: AsyncGenerator
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/next does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/next
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/return does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/return
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/throw does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator/throw

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
Title: Intl.RelativeTimeFormat
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules
Title: Intl.PluralRules
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/PluralRules does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/PluralRules
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/supportedLocalesOf
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/resolvedOptions does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/resolvedOptions
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/select does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/select
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/selectRange does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/selectRange

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
Title: Intl.NumberFormat
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/supportedLocalesOf
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatToParts does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatToParts
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatRange does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatRange
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatRangeToParts does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/formatRangeToParts
    • and 1 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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/format
Title: Intl.NumberFormat.prototype.format
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter
Title: Intl.Segmenter
Flaw count: 4

  • 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/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales
Title: Intl.getCanonicalLocales()
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/supportedLocalesOf
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/supportedLocalesOf
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Collator/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator/supportedLocalesOf

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat
Title: Intl.ListFormat
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/ListFormat/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/ListFormat/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf
  • broken_links:
    • Anchor not lowercase
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale
Title: Intl.Locale
Flaw count: 16

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Locale/Locale does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Locale/Locale does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale
  • 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 9 more flaws omitted

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
Title: Intl.DateTimeFormat
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/supportedLocalesOf does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/supportedLocalesOf
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatToParts does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatToParts
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent
Title: decodeURIComponent()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/DataView
Title: DataView
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Float32Array
Title: Float32Array
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/TypedArray/move does not exist
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval
Title: eval()
Flaw count: 4

  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Downloading_JSON_and_JavaScript_in_extensions
    • Can't resolve /zh-CN/docs/Components.utils.evalInSandbox
    • Can't resolve /zh-CN/Add-ons/WebExtensions/Content_scripts#在_content_script_中使用_eval

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/globalThis
Title: globalThis
Flaw count: 1

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/eval redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/eval

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Float64Array
Title: Float64Array
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/TypedArray/move does not exist
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigInt
Title: BigInt
Flaw count: 3

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toLocaleString
Title: BigInt.prototype.toLocaleString()
Flaw count: 4

  • 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/JavaScript/Reference/Global_Objects/GeneratorFunction
Title: GeneratorFunction
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Boolean
Title: Boolean
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/JavaScript/Reference/Global_Objects/BigUint64Array
Title: BigUint64Array
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype
Title: Function.prototype.prototype
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/bind
Title: Function.prototype.bind()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/API/Window/setTimeout redirects to /zh-CN/docs/Web/API/setTimeout
    • /zh-CN/docs/Web/JavaScript/Reference/Array/prototype does not exist

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/call
Title: Function.prototype.call()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
Title: Function.prototype.apply()
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/JavaScript/Reference/Global_Objects/Function/caller
Title: Function.caller
Flaw count: 3

  • broken_links:
    • Can't resolve /zh-CN/SpiderMonkey
    • Can't resolve /zh-CN/JavaScript/Reference/Functions_and_function_scope/arguments/caller
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Int16Array
Title: Int16Array
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
    • /zh-CN/docs/Web/JavaScript/Reference/TypedArray/move does not exist
  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date
Title: Date
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
    • /zh-CN/docs/Web/API/Window/performance redirects to /zh-CN/docs/Web/API/performance_property
  • 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 (2 in common of 3 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/toString
Title: Date.prototype.toString()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth
Title: Date.prototype.getMonth()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay
Title: Date.prototype.getDay()
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getSeconds
Title: Date.prototype.getSeconds()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getHours
Title: Date.prototype.getHours()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate
Title: Date.prototype.getDate()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds
Title: Date.prototype.getMilliseconds()
Flaw count: 1

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/parse
Title: Date.parse()
Flaw count: 5

  • 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://

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/toTimeString
Title: Date.prototype.toTimeString()
Flaw count: 3

  • broken_links:
    • Can't resolve /zh-CN/docs/SpiderMonkey
    • 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/JavaScript/Reference/Global_Objects/Date/toDateString
Title: Date.prototype.toDateString()
Flaw count: 2

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

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date/getMinutes
Title: Date.prototype.getMinutes()
Flaw count: 1

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

(comment last updated: 2023-07-29 10:52:06)

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.

Thanks

@yin1999 yin1999 merged commit 320ff75 into main Jul 29, 2023
9 checks passed
@yin1999 yin1999 deleted the zh-cn/prettier/web/javascript/2 branch July 29, 2023 10:52
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