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): add language tags for fenced codes (part 4) #23300

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Aug 29, 2024

Description

add language tags for fenced codes (part 4)

This is the final part which has enabled the markdown-lint rules.

@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Aug 29, 2024
Copy link
Contributor

github-actions bot commented Aug 29, 2024

Preview URLs (58 pages)
Flaws (143)

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

URL: /zh-CN/docs/Web/CSS/background-origin
Title: background-origin
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/CSS_counter_styles/Using_CSS_counters
Title: 使用 CSS 计数器
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/CSS_media_queries/Using_media_queries
Title: 使用媒体查询
Flaw count: 6

  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Anchor not lowercase
    • Is currently http:// but can become https://
    • Anchor not lowercase
    • and 1 more flaws omitted

URL: /zh-CN/docs/Web/CSS/hex-color
Title: <hex-color>
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/border-image-repeat
Title: border-image-repeat
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/::cue
Title: ::cue (:cue)
Flaw count: 4

  • macros:
    • /zh-CN/docs/Web/CSS/font-variant-east-asian does not exist but fell back to /en-US/docs/Web/CSS/font-variant-east-asian
    • /zh-CN/docs/Web/CSS/text-combine-upright does not exist but fell back to /en-US/docs/Web/CSS/text-combine-upright
    • /zh-CN/docs/Web/CSS/ruby-position does not exist but fell back to /en-US/docs/Web/CSS/ruby-position
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/CSS/clip
Title: clip
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:where
Title: :where()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context
Title: 层叠上下文
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/image-orientation
Title: image-orientation
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/mix-blend-mode
Title: mix-blend-mode
Flaw count: 2

  • macros:
    • 'EmbedLiveSample' parameter $5 is deprecated (no iframe classes).
  • translation_differences:
    • Differences in the important macros (5 in common of 12 possible)

URL: /zh-CN/docs/Web/CSS/hue-interpolation-method
Title: <hue-interpolation-method>
Flaw count: 3

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

URL: /zh-CN/docs/Web/CSS/::backdrop
Title: ::backdrop
Flaw count: 2

  • images:
    • File not present on disk, an empty file, or not an image
  • translation_differences:
    • Differences in the important macros (3 in common of 6 possible)

URL: /zh-CN/docs/Web/CSS/cursor
Title: cursor
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/CSS/url redirects to /zh-CN/docs/Web/CSS/url_value
    • /zh-CN/docs/Web/CSS/url redirects to /zh-CN/docs/Web/CSS/url_value
  • broken_links:
    • Can't resolve /zh-CN/docs/CSS/Using_URL_values_for_the_cursor_property
    • Can't resolve /zh-CN/docs/CSS/Using_URL_values_for_the_cursor_property
    • Is currently http:// but can become https://

URL: /zh-CN/docs/Web/CSS/word-break
Title: word-break
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/matrix3d
Title: matrix3d()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/rotate
Title: rotate()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/rotateY
Title: rotateY()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/rotateZ
Title: rotateZ()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/rotateX
Title: rotateX()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/perspective
Title: perspective()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/skew
Title: skew()
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/transform-function/rotate3d
Title: rotate3d()
Flaw count: 7

  • images:
    • File not present on disk, an empty file, or not an image
    • File not present on disk, an empty file, or not an image
  • image_widths:
    • 'width' and 'height' set in 'style' attribute on <img> tag.
    • 'width' and 'height' set in 'style' attribute on <img> tag.
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/CSS/transform-function/rotate3d/transform-functions-rotate3d_cart.png
    • Can't resolve /zh-CN/docs/Web/CSS/transform-function/rotate3d/transform-functions-rotate3d_hom4.png
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /zh-CN/docs/Web/CSS/background-blend-mode
Title: background-blend-mode
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/:target
Title: :target
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/counter
Title: counter()
Flaw count: 4

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/CSS/CSS_lists/Using_CSS_counters
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Web/CSS/CSS_lists/Using_CSS_counters
  • translation_differences:
    • Differences in the important macros (4 in common of 9 possible)

URL: /zh-CN/docs/Web/CSS/element
Title: element
Flaw count: 7

  • macros:
    • /zh-CN/docs/Web/API/Document/mozSetImageElement does not exist but fell back to /en-US/docs/Web/API/Document/mozSetImageElement
    • /zh-CN/docs/Web/CSS/_image does not exist but fell back to /en-US/docs/Web/CSS/image/image
    • /zh-CN/docs/Web/CSS/image-set does not exist but fell back to /en-US/docs/Web/CSS/image/image-set
    • /zh-CN/docs/Web/CSS/cross-fade does not exist but fell back to /en-US/docs/Web/CSS/cross-fade
    • /zh-CN/docs/Web/API/Document/mozSetImageElement does not exist but fell back to /en-US/docs/Web/API/Document/mozSetImageElement
  • broken_links:
    • Can't resolve /samples/cssref/moz-element.html
  • translation_differences:
    • Differences in the important macros (4 in common of 8 possible)

URL: /zh-CN/docs/Web/CSS/clear
Title: clear
Flaw count: 7

  • broken_links:
    • Can't resolve /zh-CN/docs/CSS
    • Can't resolve /zh-CN/docs/CSS/box_model
    • Can't resolve /zh-CN/docs/CSS/box_model
    • Can't resolve /zh-CN/docs/CSS/box_model
    • Can't resolve /zh-CN/docs/CSS/block_formatting_context
    • and 1 more flaws omitted
  • translation_differences:
    • Differences in the important macros (5 in common of 11 possible)

URL: /zh-CN/docs/Web/CSS/attr
Title: attr
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/background-position
Title: background-position
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/color-interpolation-method
Title: <color-interpolation-method>
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/border-image-outset
Title: border-image-outset
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/image
Title: <image>
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/CSS/url redirects to /zh-CN/docs/Web/CSS/url_value
    • /zh-CN/docs/Web/CSS/image/image does not exist but fell back to /en-US/docs/Web/CSS/image/image
    • /zh-CN/docs/Web/CSS/image/image-set does not exist but fell back to /en-US/docs/Web/CSS/image/image-set
    • /zh-CN/docs/Web/CSS/cross-fade does not exist but fell back to /en-US/docs/Web/CSS/cross-fade
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /zh-CN/docs/Web/CSS/filter-function/drop-shadow
Title: drop-shadow()
Flaw count: 5

  • macros:
    • /zh-CN/docs/Web/CSS/filter-function/hue-rotate does not exist but fell back to /en-US/docs/Web/CSS/filter-function/hue-rotate
    • /zh-CN/docs/Web/CSS/filter-function/invert does not exist but fell back to /en-US/docs/Web/CSS/filter-function/invert
    • /zh-CN/docs/Web/CSS/filter-function/saturate does not exist but fell back to /en-US/docs/Web/CSS/filter-function/saturate
    • /zh-CN/docs/Web/CSS/filter-function/sepia does not exist but fell back to /en-US/docs/Web/CSS/filter-function/sepia
  • translation_differences:
    • Differences in the important macros (2 in common of 6 possible)

URL: /zh-CN/docs/Web/CSS/content
Title: content
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/outline
Title: outline
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/CSS
  • translation_differences:
    • Differences in the important macros (5 in common of 7 possible)

URL: /zh-CN/docs/Web/CSS/::selection
Title: ::selection
Flaw count: 1

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

URL: /zh-CN/docs/Web/HTTP/CORS/Errors/CORSAllowOriginNotMatchingOrigin
Title: 原因:CORS header 'Access-Control-Allow-Origin' does not match 'xyz'
Flaw count: 1

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

URL: /zh-CN/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
Title: 原因:CORS header 'Access-Control-Allow-Origin' missing
Flaw count: 1

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

URL: /zh-CN/docs/Web/HTTP/Status/404
Title: 404 Not Found
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/URI does not exist but fell back to /en-US/docs/Web/URI
    • `/home/runner/work/translated-content/translated-content/mdn/content/node_modules/@mdn/yari/kumascript/macros/Compat.ejs:1

1| <%
2| /*
3|
4| Retrieves MDN compat data for a given feature

No first query argument or 'browser-compat' front-matter value passed`

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

URL: /zh-CN/docs/Web/HTTP/Headers/Permissions-Policy/camera
Title: Permissions-Policy: camera
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/URI does not exist but fell back to /en-US/docs/Web/URI
  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTTP/Feature_Policy
    • Can't resolve /zh-CN/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy

URL: /zh-CN/docs/Web/HTTP/Headers/Origin
Title: Origin
Flaw count: 1

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

URL: /zh-CN/docs/Web/HTTP/Headers/Expect-CT
Title: Expect-CT
Flaw count: 1

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

URL: /zh-CN/docs/Web/HTTP/Headers/Cookie
Title: Cookie
Flaw count: 1

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

URL: /zh-CN/docs/Web/HTTP/Caching
Title: HTTP 缓存
Flaw count: 3

  • macros:
    • /zh-CN/docs/Web/URI does not exist but fell back to /en-US/docs/Web/URI
  • images:
    • File not present on disk, an empty file, or not an image
    • File not present on disk, an empty file, or not an image

URL: /zh-CN/docs/Web/JavaScript/Reference/Iteration_protocols
Title: 迭代协议
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /zh-CN/docs/Web/JavaScript/Guide/Indexed_collections
Title: 索引集合类
Flaw count: 2

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Global_Objects/RegExp/exec

URL: /zh-CN/docs/Web/JavaScript/Guide/Loops_and_iteration
Title: 循环与迭代
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/JavaScript/Guide/iterable

URL: /zh-CN/docs/Web/URI/Schemes/data
Title: Data URL
Flaw count: 9

  • macros:
    • /zh-cn/docs/web/uri (url: /zh-CN/docs/Web/URI) does not exist
    • /zh-CN/docs/Web/API/WindowBase64/atob redirects to /zh-CN/docs/Web/API/Window/atob
    • /zh-CN/docs/Web/API/WindowBase64/btoa redirects to /zh-CN/docs/Web/API/Window/btoa
  • broken_links:
    • Can't resolve /zh-CN/docs/Glossary/percent-encoding
    • Can't resolve /zh-CN/docs/Glossary/percent-encoding
    • Can't resolve /zh-CN/docs/Web/JavaScript/Base64_encoding_and_decoding
    • Can't resolve /zh-CN/docs/Glossary/percent-encoding
    • Can't resolve /zh-CN/docs/Web/CSS/uri
    • and 1 more flaws omitted

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

  • macros:
    • /zh-CN/docs/Web/API/Notation does not exist
    • /zh-CN/docs/Web/API/Entity does not exist
    • /zh-CN/docs/Web/API/EntityReference does not exist
    • Wrong xref macro used (consider changing which macro you use). Error processing path /zh-CN/docs/Web/API/DOMString
    • /zh-CN/docs/Web/API/Node/baseURIObject does not exist but fell back to /en-US/docs/Web/API/Node
    • and 15 more flaws omitted
  • broken_links:
    • Can't resolve /zh-CN/docs/JavaScript/Reference/Global_Objects/Function

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

  • macros:
    • /zh-CN/docs/Web/API/MediaQueryList/media does not exist but fell back to /en-US/docs/Web/API/MediaQueryList/media
    • /zh-CN/docs/Web/API/MediaQueryListListener does not exist but fell back to /en-US/docs/Web/API/MediaQueryList
    • /zh-CN/docs/Web/API/MediaQueryListListener does not exist but fell back to /en-US/docs/Web/API/MediaQueryList
    • /zh-CN/docs/Web/API/MediaQueryListListener does not exist but fell back to /en-US/docs/Web/API/MediaQueryList
  • broken_links:
    • Can't resolve /zh-CN/docs/CSS/Media_queries
    • Can't resolve /zh-CN/docs/CSS/Media_queries
    • Can't resolve /zh-CN/docs/DOM/Using_media_queries_from_code
External URLs (1)

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

(comment last updated: 2024-09-10 05:58:35)

@yin1999 yin1999 marked this pull request as ready for review September 10, 2024 05:56
@yin1999 yin1999 requested a review from a team as a code owner September 10, 2024 05:56
@yin1999 yin1999 requested review from t7yang and removed request for a team September 10, 2024 05:56
@JasonLamv-t JasonLamv-t self-requested a review September 17, 2024 16:12
@yin1999 yin1999 merged commit dfa3197 into mdn:main Sep 18, 2024
8 of 9 checks passed
@yin1999 yin1999 deleted the markdown-lint-rule-zh-4 branch September 18, 2024 00:25
sora32127 pushed a commit to sora32127/translated-content that referenced this pull request Oct 6, 2024
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
Development

Successfully merging this pull request may close these issues.

4 participants