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

convert some sections in web to markdown for zh-CN #7494

Merged
merged 3 commits into from
Aug 10, 2022

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Aug 10, 2022

use @queengooborg's fork to process this

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

github-actions bot commented Aug 10, 2022

Preview URLs

Flaws

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

URL: /zh-CN/docs/Web/Tutorials
Title: 教程
on GitHub
Flaw count: 31

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Guide/HTML/Introduction
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/HTML/Element
    • Is currently http:// but can become https://
    • Can't resolve /zh-CN/docs/Tips_for_Authoring_Fast-loading_HTML_Pages
    • and 26 more flaws omitted

URL: /zh-CN/docs/Web/SVG/Element/svg
Title: svg
on GitHub
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/SVG/Element/color-profile does not exist
  • 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
  • translation_differences:
    • Differences in the important macros (0 in common of 5 possible)

URL: /zh-CN/docs/Web/Security
Title: Web 安全
on GitHub
Flaw count: 8

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/Security/Information_Security_Basics
    • 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/Glossary/HTTPS
    • and 3 more flaws omitted

URL: /zh-CN/docs/Web/Security/Securing_your_site
Title: 确保你的站点安全
on GitHub
Flaw count: 8

  • broken_links:
    • Can't resolve /en/How_to_Turn_Off_Form_Autocompletion
    • Can't resolve /en/CSS/Privacy_and_the_:visited_selector
    • Can't resolve /en/Properly_Configuring_Server_MIME_Types
    • Can't resolve /en/Security/HTTP_Strict_Transport_Security
    • Can't resolve /En/HTTP_access_control
    • and 3 more flaws omitted

URL: /zh-CN/docs/Web/Security/Certificate_Transparency
Title: HTTP Public Key Pinning (HPKP)
on GitHub
Flaw count: 2

  • bad_bcd_queries:
    • No BCD data for query: http.headers.Public-Key-Pins
  • translation_differences:
    • Differences in the important macros (0 in common of 1 possible)

URL: /zh-CN/docs/Web/Security/Subresource_Integrity
Title: Subresource Integrity
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/HTML/CORS_settings_attributes

URL: /zh-CN/docs/Web/Security/Same-origin_policy
Title: 浏览器的同源策略
on GitHub
Flaw count: 5

  • macros:
    • /zh-CN/docs/Glossary/port does not exist but fell back to /en-US/docs/Glossary/Port
  • 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/Progressive_web_apps
Title: 渐进式 Web 应用(PWA)
on GitHub
Flaw count: 6

  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/Apps/Progressive/Introduction
    • Can't resolve /zh-CN/docs/Web/Apps/Progressive/App_structure
    • 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/Progressive_web_apps/Installable_PWAs
Title: 让 PWA 易于安装
on GitHub
Flaw count: 2

  • broken_links:
    • Can't resolve /en-US/Apps/Progressive/Add_to_home_screen#Manifest
    • Can use the English (en-US) link as a fallback

URL: /zh-CN/docs/Web/Progressive_web_apps/Add_to_home_screen
Title: 添加到主屏幕
on GitHub
Flaw count: 1

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

URL: /zh-CN/docs/Web/Progressive_web_apps/Responsive/responsive_design_building_blocks
Title: 响应式设计的基础
on GitHub
Flaw count: 18

  • broken_links:
    • Can't resolve /zh-CN/docs/Web/Apps/app_layout/Responsive_design_versus_adaptive_design
    • 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://
    • Can't resolve /zh-CN/docs/Web/Guide/CSS/Media_queries
    • and 13 more flaws omitted

URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/Remainder
Title: 取余 (%)
on GitHub
Flaw count: 9

  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Addition
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Subtraction
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Division
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Multiplication
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation
    • and 4 more flaws omitted

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String
Title: String
on GitHub
Flaw count: 12

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/prototype does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/String
    • `/home/runner/work/translated-content/translated-content/mdn/content/node_modules/@mdn/yari/kumascript/macros/page.ejs:23
      21| }
      22| %>

23| <%- await wiki.page(url, $1, $2, $3, $4) %>
24|

/zh-cn/docs/web/javascript/reference/global_objects/string references /zh-cn/docs/web/javascript/reference/global_objects/string/prototype (derived from "zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/prototype"), which does not exist`

  • `/home/runner/work/translated-content/translated-content/mdn/content/node_modules/@mdn/yari/kumascript/macros/page.ejs:23
    21| }
    22| %>

23| <%- await wiki.page(url, $1, $2, $3, $4) %>
24|

/zh-cn/docs/web/javascript/reference/global_objects/string references /zh-cn/docs/web/javascript/reference/global_objects/string/prototype (derived from "zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/prototype"), which does not exist`

  • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/String_Operators
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/Web/JavaScript/Typed_arrays/StringView
    • Can't resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_string_generics
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /zh-CN/docs/Web/XML/XML_Introduction
Title: XML_介绍
on GitHub
Flaw count: 10

  • broken_links:
    • Can't resolve /zh-CN/docs/Mozilla/Tech/XUL
    • Can't resolve /zh-CN/docs/Mozilla/Tech/XBL
    • Can't resolve /zh-CN/docs/Web/RSS
    • Can't resolve /zh-CN/docs/Web/RDF
    • Can use the English (en-US) link as a fallback
    • and 5 more flaws omitted

URL: /zh-CN/docs/Web/Web_Components
Title: Web Components
on GitHub
Flaw count: 8

  • macros:
    • /zh-CN/docs/Web/CSS/:host() redirects to /zh-CN/docs/Web/CSS/:host_function
    • /zh-CN/docs/Web/API/DocumentOrShadowRoot does not exist
    • /zh-CN/docs/Web/JavaScript/Reference/Boolean redirects to /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Boolean
    • /zh-CN/docs/Web/API/Slotable does not exist but fell back to /en-US/docs/Web/API/Element
    • /zh-CN/docs/Web/API/Slotable/assignedSlot does not exist but fell back to /en-US/docs/Web/API/Element/assignedSlot
  • broken_links:
    • Anchor not lowercase
  • bad_bcd_links:
    • no explanation!
    • no explanation!

URL: /zh-CN/docs/Web/Web_Components/Using_templates_and_slots
Title: 使用 templates and slots
on GitHub
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/Web_Components/Using_custom_elements
Title: 使用 custom elements
on GitHub
Flaw count: 3

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

External URLs

URL: /zh-CN/docs/Web/Tutorials
Title: 教程
on GitHub


URL: /zh-CN/docs/Web/SVG/Element/svg
Title: svg
on GitHub

No external URLs


URL: /zh-CN/docs/Web/Security
Title: Web 安全
on GitHub


URL: /zh-CN/docs/Web/Security/Securing_your_site
Title: 确保你的站点安全
on GitHub


URL: /zh-CN/docs/Web/Security/Certificate_Transparency
Title: HTTP Public Key Pinning (HPKP)
on GitHub


URL: /zh-CN/docs/Web/Security/Subresource_Integrity
Title: Subresource Integrity
on GitHub


URL: /zh-CN/docs/Web/Security/Same-origin_policy
Title: 浏览器的同源策略
on GitHub


URL: /zh-CN/docs/Web/Progressive_web_apps
Title: 渐进式 Web 应用(PWA)
on GitHub


URL: /zh-CN/docs/Web/Progressive_web_apps/Installable_PWAs
Title: 让 PWA 易于安装
on GitHub


URL: /zh-CN/docs/Web/Progressive_web_apps/Add_to_home_screen
Title: 添加到主屏幕
on GitHub


URL: /zh-CN/docs/Web/Progressive_web_apps/Responsive/responsive_design_building_blocks
Title: 响应式设计的基础
on GitHub


URL: /zh-CN/docs/Web/JavaScript/Reference/Statements/continue
Title: continue
on GitHub

No external URLs


URL: /zh-CN/docs/Web/JavaScript/Reference/Operators/Remainder
Title: 取余 (%)
on GitHub

No external URLs


URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String
Title: String
on GitHub

No external URLs


URL: /zh-CN/docs/Web/XML/XML_Introduction
Title: XML_介绍
on GitHub


URL: /zh-CN/docs/Web/Web_Components
Title: Web Components
on GitHub


URL: /zh-CN/docs/Web/Web_Components/Using_templates_and_slots
Title: 使用 templates and slots
on GitHub


URL: /zh-CN/docs/Web/Web_Components/Using_shadow_DOM
Title: 使用 shadow DOM
on GitHub


URL: /zh-CN/docs/Web/Web_Components/Using_custom_elements
Title: 使用 custom elements
on GitHub

(this comment was updated 2022-08-10 12:02:23.887931)

@yin1999 yin1999 marked this pull request as ready for review August 10, 2022 11:59
@yin1999 yin1999 requested a review from a team as a code owner August 10, 2022 11:59
@yin1999 yin1999 requested review from irvin and removed request for a team August 10, 2022 11:59
@yin1999 yin1999 merged commit 7f766cc into mdn:main Aug 10, 2022
@yin1999 yin1999 deleted the to-md-cn-web branch August 10, 2022 22:42
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.

1 participant