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

ja: Format /web/api using Prettier (part 3) #14667

Merged
merged 1 commit into from
Aug 2, 2023
Merged

Conversation

queengooborg
Copy link
Collaborator

This PR formats the /web/api folder of the Japanese locale using Prettier. This is the third part.

@queengooborg queengooborg requested a review from a team as a code owner July 28, 2023 06:49
@queengooborg queengooborg requested review from kenji-yamasaki and removed request for a team July 28, 2023 06:49
@github-actions github-actions bot added the l10n-ja Issues related to Japanese content. label Jul 28, 2023
@github-actions
Copy link
Contributor

Preview URLs (100 pages)
Flaws (150)

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

URL: /ja/docs/Web/API/DataTransferItem/webkitGetAsEntry
Title: DataTransferItem.webkitGetAsEntry()
Flaw count: 8

  • macros:
    • /ja/docs/Web/API/FileSystemEntry does not exist but fell back to /en-US/docs/Web/API/FileSystemEntry
    • /ja/docs/Web/API/FileSystemEntry does not exist but fell back to /en-US/docs/Web/API/FileSystemEntry
    • /ja/docs/Web/API/FileSystemEntry/isDirectory does not exist but fell back to /en-US/docs/Web/API/FileSystemEntry/isDirectory
    • /ja/docs/Web/API/FileSystemDirectoryReader does not exist but fell back to /en-US/docs/Web/API/FileSystemDirectoryReader
    • /ja/docs/Web/API/FileSystemDirectoryEntry/createReader does not exist but fell back to /en-US/docs/Web/API/FileSystemDirectoryEntry/createReader
    • and 3 more flaws omitted

URL: /ja/docs/Web/API/DedicatedWorkerGlobalScope/postMessage
Title: DedicatedWorkerGlobalScope.postMessage()
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)

URL: /ja/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event
Title: DedicatedWorkerGlobalScope: messageerror イベント
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/WindowProxy does not exist

URL: /ja/docs/Web/API/DOMError
Title: DOMError
Flaw count: 2

  • macros:
    • /ja/docs/Web/API/DOMError/name does not exist
    • /ja/docs/Web/API/DOMError/message does not exist

URL: /ja/docs/Web/API/Document/forms
Title: Document.forms
Flaw count: 1

  • broken_links:
    • Can't resolve /ja/docs/Learn/HTML/Forms

URL: /ja/docs/Web/API/Document/fonts
Title: Document.fonts
Flaw count: 4

  • macros:
    • /ja/docs/Web/API/FontFaceSet does not exist but fell back to /en-US/docs/Web/API/FontFaceSet
    • /ja/docs/Web/API/FontFaceSet does not exist but fell back to /en-US/docs/Web/API/FontFaceSet
    • /ja/docs/Web/API/FontFaceSet does not exist but fell back to /en-US/docs/Web/API/FontFaceSet
    • /ja/docs/Web/API/FontFace does not exist but fell back to /en-US/docs/Web/API/FontFace

URL: /ja/docs/Web/API/Document/enableStyleSheetsForSet
Title: Document.enableStyleSheetsForSet()
Flaw count: 1

  • broken_links:
    • Can't resolve /ja/docs/Archive/Web_Standards/Correctly_Using_Titles_With_External_Stylesheets

URL: /ja/docs/Web/API/Document/querySelector
Title: Document: querySelector() メソッド
Flaw count: 1

  • broken_links:
    • Can't resolve /ja/docs/Web/CSS/CSS_Selectors

URL: /ja/docs/Web/API/Document/activeElement
Title: Document.activeElement
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/paste_event
Title: Document: paste イベント
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/HTMLElement/onpaste redirects to /ja/docs/Web/API/HTMLElement/paste_event

URL: /ja/docs/Web/API/Document/fullscreenEnabled
Title: Document.fullscreenEnabled
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /ja/docs/Web/API/Document/evaluate
Title: Document.evaluate()
Flaw count: 9

  • broken_links:
    • Can't resolve /ja/docs/XPath
    • Can't resolve /ja/docs/XPathResult
    • Is currently http:// but can become https://
    • Anchor not lowercase
    • Can't resolve /ja/docs/Introduction_to_using_XPath_in_JavaScript
    • and 4 more flaws omitted

URL: /ja/docs/Web/API/Document/hasStorageAccess
Title: Document.hasStorageAccess()
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/getElementsByName
Title: Document.getElementsByName()
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: /ja/docs/Web/API/Document/lastModified
Title: Document.lastModified
Flaw count: 2

  • broken_links:
    • Can't resolve /ja/docs/DOM/document.cookie
    • Anchor not lowercase

URL: /ja/docs/Web/API/Document/documentURI
Title: Document.documentURI
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/linkColor
Title: Document.linkColor
Flaw count: 2

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

URL: /ja/docs/Web/API/Document/fullscreenchange_event
Title: Document: fullscreenchange イベント
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/createTextNode
Title: Document.createTextNode()
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/copy_event
Title: Document: copy イベント
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/HTMLElement/oncopy redirects to /ja/docs/Web/API/HTMLElement/copy_event

URL: /ja/docs/Web/API/Document/getAnimations
Title: Document.getAnimations()
Flaw count: 6

  • macros:
    • /ja/docs/Web/API/Animation/playbackRate does not exist but fell back to /en-US/docs/Web/API/Animation/playbackRate
  • broken_links:
    • Can't resolve /ja/docs/Web/CSS/CSS_Animations
    • Can't resolve /ja/docs/Web/CSS/CSS_Transitions
    • Can't resolve /ja/docs/Web/CSS/CSS_Animations
    • Can't resolve /ja/docs/Web/CSS/CSS_Transitions
  • translation_differences:
    • Differences in the important macros (3 in common of 4 possible)

URL: /ja/docs/Web/API/Document/open
Title: Document.open()
Flaw count: 3

  • broken_links:
    • Can't resolve /ja/docs/Security_check_basics
    • Can't resolve /ja/wrappedJSObject
    • Can't resolve /ja/Security_check_basics

URL: /ja/docs/Web/API/Document/createNodeIterator
Title: Document.createNodeIterator()
Flaw count: 8

  • macros:
    • /ja/docs/Web/API/Entity does not exist
    • /ja/docs/Web/API/Entity does not exist
    • /ja/docs/Web/API/Entity does not exist
    • /ja/docs/Web/API/EntityReference does not exist
    • /ja/docs/Web/API/Notation does not exist
    • and 2 more flaws omitted
  • broken_links:
    • Is currently http:// but can become https://

URL: /ja/docs/Web/API/Document/cut_event
Title: Document: cut イベント
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/HTMLElement/oncut redirects to /ja/docs/Web/API/HTMLElement/cut_event

URL: /ja/docs/Web/API/Document/queryCommandSupported
Title: Document.queryCommandSupported()
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/Document/queryCommandEnabled does not exist but fell back to /en-US/docs/Web/API/Document/queryCommandEnabled

URL: /ja/docs/Web/API/Document/getElementById
Title: Document.getElementById()
Flaw count: 4

  • broken_links:
    • Can't resolve /ja/docs/XHTML
    • Can't resolve /ja/docs/XUL
    • Can't resolve /ja/docs/xml/xml:id
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ja/docs/Web/API/Document/lostpointercapture_event
Title: Document: lostpointercapture イベント
Flaw count: 12

  • macros:
    • /ja/docs/Web/API/GlobalEventHandlers/onlostpointercapture redirects to /ja/docs/Web/API/Element/lostpointercapture_event
    • /ja/docs/Web/API/Document/pointerover_event redirects to /ja/docs/Web/API/Element/pointerover_event
    • /ja/docs/Web/API/Document/pointerenter_event redirects to /ja/docs/Web/API/Element/pointerenter_event
    • /ja/docs/Web/API/Document/pointerdown_event redirects to /ja/docs/Web/API/Element/pointerdown_event
    • /ja/docs/Web/API/Document/pointermove_event redirects to /ja/docs/Web/API/Element/pointermove_event
    • and 6 more flaws omitted
  • broken_links:
    • Anchor not lowercase

URL: /ja/docs/Web/API/Document/createDocumentFragment
Title: Document.createDocumentFragment()
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/getElementsByTagNameNS
Title: Document.getElementsByTagNameNS()
Flaw count: 4

  • macros:
    • /ja/docs/Web/API/Node/namespaceURI redirects to /ja/docs/Web/API/Element/namespaceURI
    • /ja/docs/Web/API/Node/localName redirects to /ja/docs/Web/API/Element/localName
  • broken_links:
    • Anchor not lowercase
    • Is currently http:// but can become https://

URL: /ja/docs/Web/API/Document/URL
Title: Document.URL
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/write
Title: Document.write()
Flaw count: 4

  • broken_links:
    • Can't resolve /ja/docs/Web/API/document.open#Notes
    • Can't resolve /ja/docs/Archive/Web/Writing_JavaScript_for_HTML
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (3 in common of 5 possible)

URL: /ja/docs/Web/API/Document/links
Title: document.links
Flaw count: 2

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

URL: /ja/docs/Web/API/Document/selectionchange_event
Title: Document: selectionchange イベント
Flaw count: 3

  • macros:
    • /ja/docs/Web/API/GlobalEventHandlers/onselectionchange redirects to /ja/docs/Web/API/HTMLInputElement/selectionchange_event
    • /ja/docs/Web/API/Document/selectstart_event redirects to /ja/docs/Web/API/Node/selectstart_event
  • broken_links:
    • Can use the English (en-US) link as a fallback

URL: /ja/docs/Web/API/Document/createAttribute
Title: Document.createAttribute()
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/Document/createAttributeNS does not exist but fell back to /en-US/docs/Web/API/Document/createAttributeNS

URL: /ja/docs/Web/API/Document/caretRangeFromPoint
Title: Document.caretRangeFromPoint()
Flaw count: 1

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

URL: /ja/docs/Web/API/Document/afterscriptexecute_event
Title: Document.onafterscriptexecute
Flaw count: 3

  • macros:
    • /ja/docs/Web/API/Document/onbeforescriptexecute redirects to /ja/docs/Web/API/Document/beforescriptexecute_event
  • broken_links:
    • Can't resolve /samples/html/currentScript.html
  • translation_differences:
    • Differences in the important macros (1 in common of 3 possible)

URL: /ja/docs/Web/API/Document/images
Title: document.images
Flaw count: 3

  • macros:
    • /ja/docs/Web/API/Image does not exist but fell back to /en-US/docs/Web/API/HTMLImageElement/Image
  • broken_links:
    • Is currently http:// but can become https://
  • translation_differences:
    • Differences in the important macros (0 in common of 4 possible)

URL: /ja/docs/Web/API/Document/cookie
Title: Document.cookie
Flaw count: 14

  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Anchor not lowercase
    • Can't resolve /ja/docs/Same_origin_policy_for_JavaScript
    • Is currently http:// but can become https://
    • and 8 more flaws omitted
  • translation_differences:
    • Differences in the important macros (3 in common of 13 possible)

URL: /ja/docs/Web/API/Document/requestStorageAccess
Title: Document.requestStorageAccess()
Flaw count: 3

  • broken_links:
    • 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 (1 in common of 4 possible)

URL: /ja/docs/Web/API/Document/rootElement
Title: Document.rootElement
Flaw count: 2

  • macros:
    • /ja/docs/Web/API/SVGSVGElement does not exist but fell back to /en-US/docs/Web/API/SVGSVGElement
  • translation_differences:
    • Differences in the important macros (2 in common of 3 possible)

URL: /ja/docs/Web/API/Document_Object_Model/Introduction
Title: DOM の紹介
Flaw count: 5

  • macros:
    • /ja/docs/Web/HTML/Element/h1 redirects to /ja/docs/Web/HTML/Element/Heading_Elements
    • /ja/docs/Web/API/Window/content redirects to /ja/docs/Web/API/Window
    • /ja/docs/Web/API/GlobalEventHandlers/onload redirects to /ja/docs/Web/API/Window/load_event
  • broken_links:
    • Can use the English (en-US) link as a fallback
  • translation_differences:
    • Differences in the important macros (1 in common of 5 possible)

URL: /ja/docs/Web/API/Document_Object_Model/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces
Title: JavaScript と DOM インターフェイスによる HTML の表の操作
Flaw count: 1

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

URL: /ja/docs/Web/API/Document_Object_Model/Examples
Title: DOM を使用したウェブと XML の開発の例
Flaw count: 2

  • macros:
    • /ja/docs/Web/API/GlobalEventHandlers/onclick redirects to /ja/docs/Web/API/Element/click_event
    • /ja/docs/Web/API/GlobalEventHandlers/onload redirects to /ja/docs/Web/API/Window/load_event

URL: /ja/docs/Web/API/Document_object_model/Using_the_Document_Object_Model
Title: W3C DOM Level 1 Core の使用
Flaw count: 1

  • broken_links:
    • Can't resolve /ja/docs/Web/API/Document_object_model/Using_the_W3C_DOM_Level_1_Core/using_the_w3c_dom_level_1_core-doctree.jpg

URL: /ja/docs/Web/API/DeviceMotionEvent
Title: DeviceMotionEvent
Flaw count: 8

  • macros:
    • /ja/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent does not exist but fell back to /en-US/docs/Web/API/DeviceMotionEvent/DeviceMotionEvent
    • /ja/docs/Web/API/DeviceMotionEvent/acceleration does not exist but fell back to /en-US/docs/Web/API/DeviceMotionEvent/acceleration
    • /ja/docs/Web/API/DeviceMotionEvent/accelerationIncludingGravity does not exist but fell back to /en-US/docs/Web/API/DeviceMotionEvent/accelerationIncludingGravity
    • /ja/docs/Web/API/DeviceMotionEvent/rotationRate does not exist but fell back to /en-US/docs/Web/API/DeviceMotionEvent/rotationRate
    • /ja/docs/Web/API/DeviceMotionEvent/interval does not exist but fell back to /en-US/docs/Web/API/DeviceMotionEvent/interval
    • and 3 more flaws omitted

URL: /ja/docs/Web/API/DOMPoint
Title: DOMPoint
Flaw count: 8

  • macros:
    • /ja/docs/Web/API/DOMPoint/fromPoint redirects to /ja/docs/Web/API/DOMPoint/fromPoint_static
    • /ja/docs/Web/API/DOMPoint/fromPoint redirects to /ja/docs/Web/API/DOMPoint/fromPoint_static
    • /ja/docs/Web/API/XRSession does not exist but fell back to /en-US/docs/Web/API/XRSession
    • /ja/docs/Web/API/XRFrame/getViewerPose does not exist but fell back to /en-US/docs/Web/API/XRFrame/getViewerPose
    • /ja/docs/Web/API/XRPose does not exist but fell back to /en-US/docs/Web/API/XRPose
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /ja/docs/Web/API/DOMPoint/DOMPoint
Title: DOMPoint()
Flaw count: 1

  • macros:
    • /ja/docs/Web/API/DOMPoint/fromPoint redirects to /ja/docs/Web/API/DOMPoint/fromPoint_static

URL: /ja/docs/Web/API/DirectoryEntrySync
Title: DirectoryEntrySync
Flaw count: 3

  • 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
External URLs (1)

URL: /ja/docs/Web/API/Document/createElement
Title: Document.createElement()

Copy link
Collaborator

@mfuji09 mfuji09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mfuji09 mfuji09 merged commit 503d6fe into main Aug 2, 2023
7 checks passed
@mfuji09 mfuji09 deleted the ja/prettier/web/api/3 branch August 2, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-ja Issues related to Japanese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants