From 2a76c37d0e733dedf8ed87d1e7e46caf3c44667e Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Fri, 30 Jul 2021 20:18:17 +0200 Subject: Prepare JS French section for Markdown (#1574) * Rm IDs w/ [^h\d] id=" * Remove class="hidden" * Remove hidden for code blocks * rm summary classes * Use Note consistently * Remove sup * Rm code in pre * Fixes dd/dt/dl * Fix some more dd * Remove inline style and useless/craft from span/font * h2m report fixing - Consistent use of notes * h2m report fixing - Consistent use of warnings * h2m report fixing - reword one callout * h2m report fixing - array cruft spans hell * Cleaning the rest of docs for md conversion --- .../reference/global_objects/intl/collator/compare/index.html | 5 +---- .../javascript/reference/global_objects/intl/collator/index.html | 2 -- .../global_objects/intl/collator/resolvedoptions/index.html | 9 ++------- .../global_objects/intl/collator/supportedlocalesof/index.html | 2 -- 4 files changed, 3 insertions(+), 15 deletions(-) (limited to 'files/fr/web/javascript/reference/global_objects/intl/collator') diff --git a/files/fr/web/javascript/reference/global_objects/intl/collator/compare/index.html b/files/fr/web/javascript/reference/global_objects/intl/collator/compare/index.html index a0eca1bfa0..90931a110d 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/collator/compare/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/collator/compare/index.html @@ -19,8 +19,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/Collator/compare
{{EmbedInteractiveExample("pages/js/intl-collator-prototype-compare.html")}}
- -

Syntaxe

collator.compare(chaine1, chaine2)
@@ -28,8 +26,7 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/Collator/compare

Paramètres

-
chaine1
-
chaine2
+
chaine1, chaine2
Les chaînes de caractères à comparer.
diff --git a/files/fr/web/javascript/reference/global_objects/intl/collator/index.html b/files/fr/web/javascript/reference/global_objects/intl/collator/index.html index f80e5dec4f..32b32ac4ef 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/collator/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/collator/index.html @@ -18,8 +18,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/Collator
{{EmbedInteractiveExample("pages/js/intl-collator.html")}}
- -

Syntaxe

new Intl.Collator([locales [, options]])
diff --git a/files/fr/web/javascript/reference/global_objects/intl/collator/resolvedoptions/index.html b/files/fr/web/javascript/reference/global_objects/intl/collator/resolvedoptions/index.html index 8dcf6fb50f..5a82466c9f 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/collator/resolvedoptions/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/collator/resolvedoptions/index.html @@ -19,8 +19,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/Collator/resolvedOpt
{{EmbedInteractiveExample("pages/js/intl-collator-prototype-resolvedoptions.html")}}
- -

Syntaxe

collator.resolvedOptions()
@@ -36,14 +34,11 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/Collator/resolvedOpt
locale
La balise de langue BCP 47 qui est réellement utilisée. Si des extensions Unicode étaient fournies avec la balise d'origine et sont supportées pour la locale utilisée, les paires de clés-valeurs seront incluses dans locale.
-
usage
-
sensitivity
-
ignorePunctuation
+
usage,sensitivity, ignorePunctuation
Les valeurs demandées pour ces propriétés via l'argument options ou celles utilisées par défaut.
collation
La valeur demandée pour l'extension Unicode "co" si elle est supportée par la locale utilisée, sinon "default".
-
numeric
-
caseFirst
+
numeric, caseFirst
Les valeurs demandées pour ces propriétés via l'argument options ou l'utilisation des extensions Unicode "kn" et "kf" ou les valeurs par défaut. Si l'implémentation utilisée ne supporte pas ces propriétés, elles sont omises.
diff --git a/files/fr/web/javascript/reference/global_objects/intl/collator/supportedlocalesof/index.html b/files/fr/web/javascript/reference/global_objects/intl/collator/supportedlocalesof/index.html index f9dc9d163d..763a01dd1c 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/collator/supportedlocalesof/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/collator/supportedlocalesof/index.html @@ -18,8 +18,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/Collator/supportedLo
{{EmbedInteractiveExample("pages/js/intl-collator-prototype-supportedlocalesof.html")}}
- -

Syntaxe

Intl.Collator.supportedLocalesOf(locales [, options])
-- cgit v1.2.3-54-g00ecf