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

fix(pt-br): remove duplicate headings #17667

Merged
merged 2 commits into from
Feb 11, 2024
Merged

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Dec 31, 2023

Description

remove duplicate headings. Since I don't speak Portuguese, please feel free to correct my mistakes.

Motivation

Prepare for enabling the no-duplicate-heading markdown-lint rule.
Part of #17582

@yin1999 yin1999 requested a review from a team as a code owner December 31, 2023 13:55
@yin1999 yin1999 requested review from nathipg and removed request for a team December 31, 2023 13:55
@github-actions github-actions bot added the l10n-pt-br Issues related to Brazilian Portuguese label Dec 31, 2023
Copy link
Contributor

github-actions bot commented Dec 31, 2023

Preview URLs (10 pages)
Flaws (309)

URL: /pt-BR/docs/Web/CSS/block-size
Title: block-size
Flaw count: 1

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

URL: /pt-BR/docs/Web/API/Web_Audio_API/Simple_synth
Title: Tutorial e exemplo: Teclado de Sintetizador Simples
Flaw count: 25

  • macros:
    • /pt-BR/docs/Web/API/OscillatorNode does not exist but fell back to /en-US/docs/Web/API/OscillatorNode
    • /pt-BR/docs/Web/API/PeriodicWave does not exist but fell back to /en-US/docs/Web/API/PeriodicWave
    • /pt-BR/docs/Web/API/GainNode does not exist but fell back to /en-US/docs/Web/API/GainNode
    • /pt-BR/docs/Web/API/OscillatorNode does not exist but fell back to /en-US/docs/Web/API/OscillatorNode
    • /pt-BR/docs/Web/API/AudioScheduledSourceNode does not exist but fell back to /en-US/docs/Web/API/AudioScheduledSourceNode
    • and 20 more flaws omitted

URL: /pt-BR/docs/Web/API/FileReader
Title: FileReader
Flaw count: 15

  • macros:
    • /pt-BR/docs/Web/API/FileReader/error does not exist but fell back to /en-US/docs/Web/API/FileReader/error
    • /pt-BR/docs/Web/API/DOMException does not exist but fell back to /en-US/docs/Web/API/DOMException
    • /pt-BR/docs/Web/API/FileReader/readyState does not exist but fell back to /en-US/docs/Web/API/FileReader/readyState
    • /pt-BR/docs/Web/API/FileReader/result does not exist but fell back to /en-US/docs/Web/API/FileReader/result
    • /pt-BR/docs/Web/API/FileReader/abort does not exist but fell back to /en-US/docs/Web/API/FileReader/abort
    • and 7 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
    • Can use the English (en-US) link as a fallback

URL: /pt-BR/docs/Web/API/XMLHttpRequest
Title: XMLHttpRequest
Flaw count: 31

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /pt-BR/docs/AJAX
    • Can't resolve /pt-BR/HTTP
    • Can't resolve /pt-BR/DOM/XMLHttpRequest/Using_XMLHttpRequest
    • Can't resolve /en/nsIXMLHttpRequest#openRequest()
    • Can't resolve /pt-BR/Firefox_3
    • and 24 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 5 possible)

URL: /pt-BR/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context
Title: Adicionando conteúdo 2D a um contexto WebGL
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
    • Is currently http:// but can become https://

URL: /pt-BR/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt
Title: String.prototype.charCodeAt()
Flaw count: 2

  • broken_links:
    • Can't resolve /pt-BR/docs/Web/JavaScript/Guide/Values,_variables,_and_literals
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /pt-BR/docs/Web/HTML/Element/button
Title: <button>
Flaw count: 50

  • macros:
    • /pt-BR/docs/Web/API/HTMLButtonElement does not exist but fell back to /en-US/docs/Web/API/HTMLButtonElement
    • /pt-BR/docs/Web/HTML/Element/form does not exist but fell back to /en-US/docs/Web/HTML/Element/form
    • /pt-BR/docs/Web/HTML/Element/form does not exist but fell back to /en-US/docs/Web/HTML/Element/form
    • /pt-BR/docs/Web/CSS/:after does not exist
    • /pt-BR/docs/Web/CSS/:before does not exist
    • and 23 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
    • 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 16 more flaws omitted
  • translation_differences:
    • Differences in the important macros (4 in common of 6 possible)

URL: /pt-BR/docs/Web/HTML/Element/input/range
Title: <input type="range">
Flaw count: 39

  • macros:
    • /pt-BR/docs/Web/HTML/Attributes/accept does not exist but fell back to /en-US/docs/Web/HTML/Attributes/accept
    • /pt-BR/docs/Web/HTML/Attributes/autocomplete does not exist but fell back to /en-US/docs/Web/HTML/Attributes/autocomplete
    • /pt-BR/docs/Web/HTML/Attributes/capture does not exist but fell back to /en-US/docs/Web/HTML/Attributes/capture
    • /pt-BR/docs/Web/HTML/Attributes/crossorigin does not exist but fell back to /en-US/docs/Web/HTML/Attributes/crossorigin
    • /pt-BR/docs/Web/HTML/Attributes/dirname does not exist but fell back to /en-US/docs/Web/HTML/Attributes/dirname
    • and 23 more flaws omitted
  • 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
    • 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.
    • 'width' and 'height' set in 'style' attribute on <img> tag.
  • 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
  • translation_differences:
    • Differences in the important macros (4 in common of 21 possible)

URL: /pt-BR/docs/Web/HTML/Element/title
Title: <title>: O titulo do documento.
Flaw count: 5

  • macros:
    • /pt-BR/docs/Web/API/HTMLTitleElement does not exist but fell back to /en-US/docs/Web/API/HTMLTitleElement
  • broken_links:
    • Can use the English (en-US) link as a fallback
    • Can't resolve /pt-BR/docs/Web/Guide/HTML/Content_categories#Metadata_content
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /pt-BR/docs/Learn/JavaScript/Asynchronous/Introducing
Title: Introdução ao JavaScript Async
Flaw count: 139

  • macros:
    • /pt-BR/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Marking_up_a_letter
    • /pt-BR/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content does not exist but fell back to /en-US/docs/Learn/HTML/Introduction_to_HTML/Structuring_a_page_of_content
    • /pt-BR/docs/Learn/HTML/Multimedia_and_embedding/Mozilla_splash_page does not exist but fell back to /en-US/docs/Learn/HTML/Multimedia_and_embedding/Mozilla_splash_page
    • /pt-BR/docs/Learn/HTML/Tables/Advanced does not exist but fell back to /en-US/docs/Learn/HTML/Tables/Advanced
    • /pt-BR/docs/Learn/HTML/Tables/Structuring_planet_data does not exist but fell back to /en-US/docs/Learn/HTML/Tables/Structuring_planet_data
    • and 133 more flaws omitted
  • translation_differences:
    • Differences in the important macros (1 in common of 7 possible)
External URLs (10)

URL: /pt-BR/docs/Web/API/XMLHttpRequest
Title: XMLHttpRequest

(comment last updated: 2024-02-06 02:04:59)

@josielrocha josielrocha merged commit 6dd0a33 into mdn:main Feb 11, 2024
7 checks passed
@josielrocha
Copy link
Collaborator

Thank you for your help @yin1999!

@yin1999 yin1999 deleted the pt-br-markdown branch February 11, 2024 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-pt-br Issues related to Brazilian Portuguese
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants