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

fr: Format /web/javascript using Prettier (part 8) #14647

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

queengooborg
Copy link
Collaborator

This PR formats the /web/javascript folder of the French locale using Prettier. This is the eighth part.

@queengooborg queengooborg requested a review from a team as a code owner July 27, 2023 10:26
@queengooborg queengooborg requested review from SphinxKnight and removed request for a team July 27, 2023 10:26
@github-actions github-actions bot added the l10n-fr Issues related to French content. label Jul 27, 2023
@github-actions
Copy link
Contributor

Preview URLs (100 pages)
Flaws (127)

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String
Title: String
Flaw count: 8

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Expressions_and_Operators#string_operators
    • Can't resolve /fr/docs/Web/JavaScript/Reference/String/String
    • Can't resolve /fr/docs/Web/JavaScript/Reference/String/String
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Global_Objects/String/Trim
    • Can't resolve /fr/docs/Web/HTML/Element/blink
    • and 3 more flaws omitted

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
Title: String.prototype.normalize()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/length
Title: String.length
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/fromCodePoint
Title: String.fromCodePoint()
Flaw count: 2

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Erreurs/Not_a_codepoint redirects to /fr/docs/Web/JavaScript/Reference/Errors/Not_a_valid_code_point
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/includes
Title: String.prototype.includes()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/replace
Title: String.prototype.replace()
Flaw count: 3

  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Expressions_régulières

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/raw
Title: String.raw()
Flaw count: 5

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Littéraux_gabarits#Les_gabarits_étiquetés
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Gabarit_chaînes_caractères
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Gabarit_chaînes_caractères#Les_gabarits_de_cha.C3.AEnes_.C3.A9tiquett.C3.A9s
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Gabarit_chaînes_caractères
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Grammaire_lexicale

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/fontsize
Title: String.prototype.fontsize()
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /fr/docs/Web/Guide/HTML/HTML5

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/blink
Title: String.prototype.blink()
Flaw count: 2

  • macros:
    • /fr/docs/Web/HTML/Element/blink does not exist
    • /fr/docs/Web/HTML/Element/blink does not exist

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/link
Title: String.prototype.link()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/concat
Title: String.prototype.concat()
Flaw count: 2

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Op%C3%A9rateurs_d_affectation redirects to /fr/docs/Web/JavaScript/Reference/Operators
    • /fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Op%C3%A9rateurs_d_affectation redirects to /fr/docs/Web/JavaScript/Reference/Operators

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/charAt
Title: String.prototype.charAt()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/match
Title: String.prototype.match()
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions/Groups_and_Ranges
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/big
Title: String.prototype.big()
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/Guide/HTML/HTML5

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/matchAll
Title: String.prototype.matchAll()
Flaw count: 4

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Iterators_and_Generators
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/for...of
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Syntaxe_décomposition
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Objets_globaux/String/match

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf
Title: String.prototype.lastIndexOf()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/fromCharCode
Title: String.fromCharCode()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare
Title: String.prototype.localeCompare()
Flaw count: 2

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/@@iterator
Title: String.prototype[@@iterator]()
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Le_protocole_iterator
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Les_protocoles_iteration

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/fontcolor
Title: String.prototype.fontcolor()
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/Guide/HTML/HTML5
    • Anchor not lowercase

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt
Title: String.prototype.codePointAt()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt
Title: String.prototype.charCodeAt()
Flaw count: 3

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Objets_globaux/NaN redirects to /fr/docs/Web/JavaScript/Reference/Global_Objects/NaN
  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Valeurs,_variables,_et_littéraux#Unicode
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/split
Title: String.prototype.split()
Flaw count: 3

  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions/Character_Classes
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/slice
Title: String.prototype.slice()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/repeat
Title: String.prototype.repeat()
Flaw count: 3

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Erreurs/Negative_repetition_count redirects to /fr/docs/Web/JavaScript/Reference/Errors/Negative_repetition_count
    • /fr/docs/Web/JavaScript/Reference/Erreurs/Resulting_string_too_large redirects to /fr/docs/Web/JavaScript/Reference/Errors/Resulting_string_too_large
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/construct
Title: Reflect.construct()
Flaw count: 8

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_new
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/new.target
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateur_de_décomposition
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_new
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/new.target
    • and 2 more flaws omitted
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/deleteProperty
Title: Reflect.deleteProperty()
Flaw count: 3

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_delete
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_delete
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_delete

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/has
Title: Reflect.has()
Flaw count: 3

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_in
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_in
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_in

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/defineProperty
Title: Reflect.defineProperty()
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/try...catch
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Instructions/if...else

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/setPrototypeOf
Title: Reflect.setPrototypeOf()
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: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/get
Title: Reflect.get()
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateurs_de_membres
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateurs_de_membres

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/getPrototypeOf
Title: Reflect.getPrototypeOf()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Reflect/apply
Title: Reflect.apply()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
Title: SharedArrayBuffer
Flaw count: 7

  • 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 2 more flaws omitted

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/byteLength
Title: SharedArrayBuffer.prototype.byteLength
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/SharedArrayBuffer
Title: Constructeur SharedArrayBuffer()
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Typed_arrays

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/ownKeys
Title: handler.ownKeys()
Flaw count: 1

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/set
Title: handler.set()
Flaw count: 1

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/preventExtensions
Title: handler.preventExtensions()
Flaw count: 1

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy/setPrototypeOf
Title: handler.setPrototypeOf()
Flaw count: 2

  • macros:
    • /fr/docs/Web/JavaScript/Reference/Global_Objects/Proxy/handler does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/Proxy
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError
Title: ReferenceError
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Global_Objects/Error/Stack

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Set/entries
Title: Set.prototype.entries()
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/iterateurs_et_generateurs#Itérateurs

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Set/forEach
Title: Set.prototype.forEach()
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/L_opérateur_this

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/Set/has
Title: Set.prototype.has()
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Les_différents_tests_d_égalité#Égalité_de_valeurs_nulles

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RangeError
Title: RangeError
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Global_Objects/Error/Stack

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Title: RegExp
Flaw count: 5

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions/Unicode_Property_Escapes
    • Can use the English (en-US) link as a fallback
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/@@matchAll
Title: RegExp.prototype[@@matchAll]()
Flaw count: 3

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/iterateurs_et_generateurs
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Iterators_and_Generators
  • translation_differences:
    • Differences in the important macros (2 in common of 4 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/flags
Title: RegExp.prototype.flags
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Expressions_régulières#Effectuer_des_recherches_avanc.C3.A9es_en_utilisant_les_drapeaux_(flags)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/sticky
Title: RegExp.prototype.sticky
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/n
Title: RegExp.$1-$9
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec
Title: RegExp.prototype.exec()
Flaw count: 3

  • macros:
    • wrong xref macro used (consider changing which macro you use)
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Expressions_régulières

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/@@match
Title: RegExp.prototype[@@match]()
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/rightContext
Title: RegExp.rightContext ($')
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateurs_de_membres#Notation_avec_crochets
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastMatch
Title: RegExp.lastMatch ($&)
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateurs_de_membres#Notation_avec_crochets
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/input
Title: RegExp.input ($_)
Flaw count: 1

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

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp
Title: Constructeur RegExp()
Flaw count: 4

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions
    • Can't resolve /fr/docs/Web/API/DOMString/Binary
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Regular_Expressions

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/leftContext
Title: RegExp.leftContext ($)`
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateurs_de_membres#Notation_avec_crochets
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/lastParen
Title: RegExp.lastParen ($+)
Flaw count: 2

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Reference/Opérateurs/Opérateurs_de_membres#Notation_avec_crochets
  • translation_differences:
    • Differences in the important macros (1 in common of 2 possible)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
Title: RegExp.prototype.test()
Flaw count: 1

  • broken_links:
    • Can't resolve /fr/docs/Web/JavaScript/Guide/Expressions_régulières
External URLs (3)

URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/String/normalize
Title: String.prototype.normalize()


URL: /fr/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
Title: SharedArrayBuffer

@SphinxKnight SphinxKnight merged commit d413f21 into main Jul 28, 2023
8 checks passed
@SphinxKnight SphinxKnight deleted the fr/prettier/web/javascript/8 branch July 28, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-fr Issues related to French content.
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants