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 --- .../global_objects/intl/relativetimeformat/format/index.html | 5 ----- .../intl/relativetimeformat/formattoparts/index.html | 5 ----- .../reference/global_objects/intl/relativetimeformat/index.html | 7 ------- .../intl/relativetimeformat/resolvedoptions/index.html | 2 -- .../intl/relativetimeformat/supportedlocalesof/index.html | 2 -- 5 files changed, 21 deletions(-) (limited to 'files/fr/web/javascript/reference/global_objects/intl/relativetimeformat') diff --git a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/format/index.html b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/format/index.html index 50ebcc1972..ad924c3837 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/format/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/format/index.html @@ -16,8 +16,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat/f
{{EmbedInteractiveExample("pages/js/intl-relativetimeformat-prototype-format.html")}}
- -

Syntaxe

RelativeTimeFormat.format(valeur, unite)
@@ -27,9 +25,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat/f
valeur
Une valeur numérique qu'on souhaite utiliser pour exprimer un temps relatif dans un message internationalisé.
-
- -
unite
L'unité à utiliser pour le message internationalisé exprimant le temps relatif. Les valeurs possibles pour cet argument sont "year" (année), "quarter" (trimestre), "month" (mois), "week" (semaine), "day" (jour), "hour" (heure), "minute" (minute), "second" (secondes). Les formes plurielles sont également autorisées.
diff --git a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/formattoparts/index.html b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/formattoparts/index.html index e30bca1017..c8c141e6e3 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/formattoparts/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/formattoparts/index.html @@ -16,8 +16,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat/f
{{EmbedInteractiveExample("pages/js/intl-relativetimeformat-prototype-formattoparts.html")}}
- -

Syntaxe

RelativeTimeFormat.formatToParts(valeur, unite)
@@ -27,9 +25,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat/f
valeur
Une valeur numérique qu'on souhaite formater pour un message internationalisé exprimant un temps relatif.
-
- -
unite
L'unité à utiliser pour le message internationalisé exprimant le temps relatif. Les valeurs possibles pour cet argument sont "year" (année), "quarter" (trimestre), "month" (mois), "week" (semaine), "day" (jour), "hour" (heure), "minute" (minute), "second" (secondes). Les formes plurielles sont également autorisées.
diff --git a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/index.html b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/index.html index 222678035b..96a0d534dd 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/index.html @@ -16,8 +16,6 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat
{{EmbedInteractiveExample("pages/js/intl-relativetimeformat.html")}}
- -

Syntaxe

new Intl.RelativeTimeFormat([locales[, options]])
@@ -32,16 +30,11 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Intl/RelativeTimeFormat
options {{optional_inline}}

Optionnel, un objet possédant tout ou partie des propriétés suivantes :

-
-
localeMatcher
L'algorithme de correspondance à utiliser pour la locale. Les valeurs possibles sont "lookup" et "best fit" ; le défaut est "best fit". Pour des informations sur cette option, voir la page {{jsxref("Objets_globaux/Intl","Intl","##Choix_de_la_locale")}}.
numeric
Le format du message de sortie. Les valeurs possibles sont "always" (par exemple 1 day ago) ou  "auto" (par exemple yesterday). "auto" permet de ne pas toujours avoir de valeurs numériques dans le message produit.
-
- -
style
La longueur du message internationalisé. Les valeurs possibles sont : "long" (la valeur par défaut) (par exemple : in 1 month), "short" (par exemple : in 1 mo.) ou  "narrow" (par exemple : in 1 mo.). Le style narrow peut être semblable au style short pour certaines locales.
diff --git a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/resolvedoptions/index.html b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/resolvedoptions/index.html index 4415412c08..ed4d45c451 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/resolvedoptions/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/resolvedoptions/index.html @@ -21,8 +21,6 @@ original_slug: >-
{{EmbedInteractiveExample("pages/js/intl-relativetimeformat-prototype-resolvedoptions.html")}}
- -

Syntaxe

relativeTimeFormat.resolvedOptions()
diff --git a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/supportedlocalesof/index.html b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/supportedlocalesof/index.html index 005e801d68..e0a6433b75 100644 --- a/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/supportedlocalesof/index.html +++ b/files/fr/web/javascript/reference/global_objects/intl/relativetimeformat/supportedlocalesof/index.html @@ -19,8 +19,6 @@ original_slug: >-
{{EmbedInteractiveExample("pages/js/intl-relativetimeformat-prototype-supportedlocalesof.html")}}
- -

Syntaxe

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