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 {{TemplateLink}} macros from l10n-zh #5813

Merged
merged 1 commit into from
May 25, 2022

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented May 25, 2022

Part of #5603

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

Preview URLs

Flaws

URL: /zh-TW/docs/MDN/Guidelines/Writing_style_guide
Title: 寫作風格指南
on GitHub
Flaw count: 18

  • macros:
    • /zh-TW/docs/Web/API/CanvasRenderingContext2D/font does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/font
    • /zh-TW/docs/Web/API/CanvasRenderingContext2D/font does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/font
    • /zh-TW/docs/Web/API/CanvasRenderingContext2D/textAlign does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/textAlign
    • /zh-TW/docs/Web/API/CanvasRenderingContext2D/textBaseline does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline
    • /zh-TW/docs/Web/API/CanvasRenderingContext2D/direction does not exist but fell back to /en-US/docs/Web/API/CanvasRenderingContext2D/direction
    • and 6 more flaws omitted
  • broken_links:
    • Can't resolve /zh-TW/docs/Web/JavaScript/Guide/JavaScript_Overview
    • Can't resolve /zh-TW/docs/JavaScript/Guide/Functions
    • Can't resolve /zh-TW/docs/JavaScript/Guide/Details_of_the_Object_Model
    • Can use the English (en-US) link as a fallback
    • Can use the English (en-US) link as a fallback
    • and 2 more flaws omitted

URL: /zh-TW/docs/MDN/Tools/KumaScript
Title: KumaScript
on GitHub
Flaw count: 6

  • images:
    • External image URL
  • image_widths:
    • 'width' and 'height' set in 'style' attribute on <img> tag.
  • broken_links:
    • Can't resolve /en-US/docs/MDN/Kuma
    • Can't resolve /en-US/dashboards/macros
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /zh-CN/docs/MDN/Guidelines/Writing_style_guide
Title: MDN Web 文档写作规范
on GitHub
Flaw count: 35

  • macros:
    • /zh-CN/docs/Web/HTML/Element/h2 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h3 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /zh-CN/docs/Web/HTML/Element/h4 does not exist but fell back to /en-US/docs/Web/HTML/Element/Heading_Elements
    • This macro has been deprecated, and should be removed.
  • images:
    • External image URL
    • External image URL
  • image_widths:
    • 'width' and 'height' set in 'style' attribute on <img> tag.
  • broken_links:
    • Can't resolve /zh-CN/docs/MDN/Contribute/Content/Layout
    • Can't resolve https://developer.mozilla.org/zh-CN/docs/Glossary_of_translation
    • Can use the English (en-US) link as a fallback
    • Can't resolve /zh-CN/docs/JavaScript/Guide/Functions
    • Can't resolve /zh-CN/docs/JavaScript/Guide/Details_of_the_Object_Model
    • and 23 more flaws omitted

URL: /zh-CN/docs/MDN/Contribute/Howto/Write_a_new_entry_in_the_Glossary
Title: 如何撰写和引用一个词汇表中的条目
on GitHub
Flaw count: 5

  • broken_links:
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/new?parent=4391
    • Can't resolve /en-US/docs/MDN/Community#Join_our_mailing_lists
    • Anchor not lowercase
    • Can't resolve /zh-CN/docs/Glossary/Signature/Email

URL: /zh-CN/docs/MDN/Contribute/Howto/Write_an_API_reference
Title: How to write an API reference
on GitHub
Flaw count: 23

  • macros:
    • /zh-CN/docs/Web/API/AudioContext/currentTime redirects to /zh-CN/docs/Web/API/BaseAudioContext/currentTime
    • /zh-CN/docs/Web/API/SpeechRecognition/grammars does not exist but fell back to /en-US/docs/Web/API/SpeechRecognition/grammars
    • /zh-CN/docs/Web/API/SpeechSynthesis/speaking does not exist but fell back to /en-US/docs/Web/API/SpeechSynthesis/speaking
    • /zh-CN/docs/Web/API/SubtleCrypto/sign does not exist but fell back to /en-US/docs/Web/API/SubtleCrypto/sign
    • /zh-CN/docs/Web/API/Document/getAnimations does not exist but fell back to /en-US/docs/Web/API/Document/getAnimations
    • and 1 more flaws omitted
  • images:
    • External image URL
    • External image URL
    • External image URL
  • image_widths:
    • 'width' and 'height' set in 'style' attribute on <img> tag.
    • 'width' and 'height' set in 'style' attribute on <img> tag.
    • 'width' and 'height' set in 'style' attribute on <img> tag.
  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Can't resolve /en-US/docs/MDN/Contribute/Structures/Compatibility_tables
    • Can't resolve /en-US/docs/MDN/Contribute/Editor/Live_samples
    • Can't resolve /en-US/docs/MDN/Contribute/Structures/Compatibility_tables
    • and 6 more flaws omitted

URL: /zh-CN/docs/MDN/Contribute/Howto/Create_an_interactive_exercise_to_help_learning_the_web
Title: 如何创建一个交互学习环境
on GitHub
Flaw count: 6

  • broken_links:
    • Can't resolve /en-US/docs/MDN/Contribute/Editor/Live_samples
    • Anchor not lowercase
    • Can't resolve /en-US/docs/MDN/Contribute/Editor/Source_mode
    • Can't resolve /en-US/docs/MDN/Contribute/Howto/Create_an_interactive_exercise_to_help_learning_the_web/distant_example
    • Can't resolve /en-US/docs/Web/Guide/HTML/Forms/How_to_build_custom_form_widgets
  • translation_differences:
    • Differences in the important macros (1 in common of 4 possible)

URL: /zh-CN/docs/MDN/Structures/Macros/Commonly-used_macros
Title: 常用的宏
on GitHub
Flaw count: 3

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

External URLs

URL: /zh-TW/docs/MDN/Guidelines/Writing_style_guide
Title: 寫作風格指南
on GitHub

No new external URLs


URL: /zh-TW/docs/MDN/Tools/KumaScript
Title: KumaScript
on GitHub

No new external URLs


URL: /zh-CN/docs/MDN/Guidelines/Writing_style_guide
Title: MDN Web 文档写作规范
on GitHub

No new external URLs


URL: /zh-CN/docs/MDN/Contribute/Howto/Write_a_new_entry_in_the_Glossary
Title: 如何撰写和引用一个词汇表中的条目
on GitHub

No new external URLs


URL: /zh-CN/docs/MDN/Contribute/Howto/Write_an_API_reference
Title: How to write an API reference
on GitHub


URL: /zh-CN/docs/MDN/Contribute/Howto/Create_an_interactive_exercise_to_help_learning_the_web
Title: 如何创建一个交互学习环境
on GitHub

No new external URLs


URL: /zh-CN/docs/MDN/Structures/Macros/Commonly-used_macros
Title: 常用的宏
on GitHub

No new external URLs

@irvin irvin merged commit 6a0c7c9 into mdn:main May 25, 2022
@yin1999 yin1999 deleted the remove-templatelink branch May 25, 2022 23:56
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