com doc/fr: Apply commit 94f2c273f0bb214580b3cba17273f79e8cc2cb25: language-snippets.ent reference/enchant/constants.xml reference/enchant/functions/enchant-broker-free-dict.xml reference/enchant/functions/enchant-broker-free.xml reference/enchant/functions/enchant-broker-get-dict-path.xml reference/enchant/functions/enchant-broker-set-dict-path.xml reference/enchant/functions/enchant-dict-add-to-personal.xml reference/enchant/functions/enchant-d

[email protected] (George Peter Banyard)
Newsgroups php.doc.fr
Message-ID <[email protected]>
Commit:    e4603fa01044971398dae454df8f52f8bd206f1e
Author:    George Peter Banyard <[email protected]>         Sat, 2 Jan 2021 15:57:16 +0100
Parents:   5394794053a3c7be8d9d60f0685f02fb85cc4ec9
Branches:  master

Link:       http://git.php.net/?p=doc/fr.git;a=commitdiff;h=e4603fa01044971398dae454df8f52f8bd206f1e

Log:
Apply commit 94f2c273f0bb214580b3cba17273f79e8cc2cb25

Document enchant related changes as of PHP 8.0.0

Changed paths:
  M  language-snippets.ent
  M  reference/enchant/constants.xml
  M  reference/enchant/functions/enchant-broker-free-dict.xml
  M  reference/enchant/functions/enchant-broker-free.xml
  M  reference/enchant/functions/enchant-broker-get-dict-path.xml
  M  reference/enchant/functions/enchant-broker-set-dict-path.xml
  M  reference/enchant/functions/enchant-dict-add-to-personal.xml
  A  reference/enchant/functions/enchant-dict-add.xml
  A  reference/enchant/functions/enchant-dict-is-added.xml
  M  reference/enchant/functions/enchant-dict-is-in-session.xml
  M  reference/enchant/setup.xml
diff_e4603fa01044971398dae454df8f52f8bd206f1e.txt (text/plain, 21.4 KB)
diff --git a/language-snippets.ent b/language-snippets.ent
index 3d99e77611..296d241152 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 4d4301be41a846c879066ba2c136a33bc0bbc869  Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25  Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 <!-- Relecture des Notes, Précautions, Avertissements, Astuces, Divers et Retour le 2018-12-29 par girgias -->
 
@@ -308,6 +308,11 @@ de nombres aléatoires est initialisé automatiquement.</entry></row>'>
  Dépendre de cette fonction est fortement déconseillé.
 </simpara></warning>'>
 
+<!ENTITY warn.deprecated.function-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>
+ Cette fonction est <emphasis>OBSOLÈTE</emphasis> à partir de PHP 8.0.0.
+ Dépendre de cette fonction est fortement déconseillé.
+</simpara></warning>'>
+
 <!ENTITY removed.php.future 'Cette fonctionnalité obsolète <emphasis xmlns="http://docbook.org/ns/docbook">sera</emphasis>
 certainement <emphasis xmlns="http://docbook.org/ns/docbook">supprimée</emphasis> dans le futur.'>
 
@@ -379,7 +384,10 @@ xmlns="http://docbook.org/ns/docbook"><simpara>
 </simpara></warning>'>
 
 <!ENTITY warn.deprecated.alias-7-4-0.removed-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Cet alias est
-<emphasis>OBSOLETE</emphasis> en PHP 7.4.0, et <emphasis>SUPPRIME</emphasis> depuis PHP 8.0.0.</simpara></warning>'>
+<emphasis>OBSOLÈTE</emphasis> en PHP 7.4.0, et <emphasis>SUPPRIME</emphasis> depuis PHP 8.0.0.</simpara></warning>'>
+
+<!ENTITY warn.deprecated.alias-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Cet alias est
+<emphasis>OBSOLÈTE</emphasis> en PHP 8.0.0.</simpara></warning>'>
 
 <!ENTITY warn.experimental.func '<warning xmlns="http://docbook.org/ns/docbook"><simpara>
  Cette fonction est <emphasis>EXPERIMENTALE</emphasis>. Le comportement de cette fonction, son nom, et toute la
diff --git a/reference/enchant/constants.xml b/reference/enchant/constants.xml
index 1ba504adf1..e1647afac0 100644
--- a/reference/enchant/constants.xml
+++ b/reference/enchant/constants.xml
@@ -1,12 +1,24 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: yannick Status: ready -->
 <!-- Reviewed: yes -->
 
 <appendix xml:id="enchant.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  &reftitle.constants;
  <para>
   <variablelist>
+   <varlistentry xml:id="constant.libenchant-version">
+    <term>
+     <constant>LIBENCHANT_VERSION</constant>
+     (<type>string</type>)
+    </term>
+    <listitem>
+     <simpara>
+      La version de libenchant.
+      Disponible à partir de PHP 8.0.0.
+     </simpara>
+    </listitem>
+   </varlistentry>
    <varlistentry xml:id="constant.enchant-myspell">
     <term>
      <constant>ENCHANT_MYSPELL</constant>
@@ -17,6 +29,7 @@
       Type de dictionnaire pour MySpell. Utilisé avec
       <function>enchant_broker_get_dict_path</function> et
       <function>enchant_broker_set_dict_path</function>.
+      Obsolète à partir de PHP 8.0.0.
      </simpara>
     </listitem>
    </varlistentry>
@@ -30,13 +43,13 @@
       Type de dictionnaire pour Ispell. Utilisé avec
       <function>enchant_broker_get_dict_path</function> et
       <function>enchant_broker_set_dict_path</function>.
+      Obsolète à partir de PHP 8.0.0.
      </simpara>
     </listitem>
    </varlistentry>
   </variablelist>
  </para>
 </appendix>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
diff --git a/reference/enchant/functions/enchant-broker-free-dict.xml b/reference/enchant/functions/enchant-broker-free-dict.xml
index 4a4bb958b7..448f0dbff4 100644
--- a/reference/enchant/functions/enchant-broker-free-dict.xml
+++ b/reference/enchant/functions/enchant-broker-free-dict.xml
@@ -1,12 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 <refentry xml:id="function.enchant-broker-free-dict" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>enchant_broker_free_dict</refname>
   <refpurpose>Libère une ressource de dictionnaire</refpurpose>
  </refnamediv>
+
+ <refsynopsisdiv>
+  &warn.deprecated.function-8-0-0;
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -14,7 +19,8 @@
    <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
   </methodsynopsis>
   <para>
-   Libère une ressource de dictionnaire.
+   Libère un dictionnaire.
+   À partir de PHP 8.0.0, il est recommandé de détruire l'objet au lieu d'appeler cette fonction.
   </para>
  </refsect1>
  <refsect1 role="parameters">
diff --git a/reference/enchant/functions/enchant-broker-free.xml b/reference/enchant/functions/enchant-broker-free.xml
index c6854ab263..1ad752b7e4 100644
--- a/reference/enchant/functions/enchant-broker-free.xml
+++ b/reference/enchant/functions/enchant-broker-free.xml
@@ -1,12 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 <refentry xml:id="function.enchant-broker-free" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>enchant_broker_free</refname>
   <refpurpose>Libère la ressource de sponsor ainsi que ses dictionnaires</refpurpose>
  </refnamediv>
+
+ <refsynopsisdiv>
+  &warn.deprecated.function-8-0-0;
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -14,7 +19,8 @@
    <methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
   </methodsynopsis>
   <para>
-   Libère une ressource de sponsor ainsi que tous ses dictionnaires.
+   Libère un sponsor ainsi que tous ses dictionnaires.
+   À partir de PHP 8.0.0, il est recommandé de détruire l'objet au lieu d'appeler cette fonction.
   </para>
  </refsect1>
 
diff --git a/reference/enchant/functions/enchant-broker-get-dict-path.xml b/reference/enchant/functions/enchant-broker-get-dict-path.xml
index edbf7f6c59..890c33ec0a 100644
--- a/reference/enchant/functions/enchant-broker-get-dict-path.xml
+++ b/reference/enchant/functions/enchant-broker-get-dict-path.xml
@@ -1,13 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: girgias Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: girgias Status: ready -->
 <!-- Reviewed: no -->
 <refentry xml:id="function.enchant-broker-get-dict-path" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>enchant_broker_get_dict_path</refname>
   <refpurpose>Récupère le chemin du dossier pour un backend fournit</refpurpose>
  </refnamediv>
- 
+
+ <refsynopsisdiv>
+  &warn.deprecated.function-8-0-0;
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -63,6 +67,15 @@
   </informaltable>
  </refsect1>
 
+ <refsect1 role="notes">
+  &reftitle.notes;
+  <note>
+   <para>
+    Cette fonction est seulement disponible si l'extension a été compilée avec Enchant v1.
+   </para>
+  </note>
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
diff --git a/reference/enchant/functions/enchant-broker-set-dict-path.xml b/reference/enchant/functions/enchant-broker-set-dict-path.xml
index 76c120deae..e7b21dd41d 100644
--- a/reference/enchant/functions/enchant-broker-set-dict-path.xml
+++ b/reference/enchant/functions/enchant-broker-set-dict-path.xml
@@ -1,13 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: girgias Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: girgias Status: ready -->
 <!-- Reviewed: no -->
 <refentry xml:id="function.enchant-broker-set-dict-path" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>enchant_broker_set_dict_path</refname>
   <refpurpose>Définit le chemin du dossier pour un backend fournit</refpurpose>
  </refnamediv>
- 
+
+ <refsynopsisdiv>
+  &warn.deprecated.function-8-0-0;
+ </refsynopsisdiv>
+
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
@@ -71,6 +75,15 @@
   </informaltable>
  </refsect1>
 
+ <refsect1 role="notes">
+  &reftitle.notes;
+  <note>
+   <para>
+    Cette fonction est seulement disponible si l'extension a été compilée avec Enchant v1.
+   </para>
+  </note>
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
diff --git a/reference/enchant/functions/enchant-dict-add-to-personal.xml b/reference/enchant/functions/enchant-dict-add-to-personal.xml
index dda8890321..3c38a24fc7 100644
--- a/reference/enchant/functions/enchant-dict-add-to-personal.xml
+++ b/reference/enchant/functions/enchant-dict-add-to-personal.xml
@@ -1,96 +1,23 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: yannick Status: ready -->
+<!-- Reviewed: yes -->
 <refentry xml:id="function.enchant-dict-add-to-personal" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>enchant_dict_add_to_personal</refname>
-  <refpurpose>Ajoute un mot à la liste des mots personnelle</refpurpose>
+  <refpurpose>&Alias; <function>enchant_dict_add</function></refpurpose>
  </refnamediv>
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <type>void</type><methodname>enchant_dict_add_to_personal</methodname>
-   <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
-   <methodparam><type>string</type><parameter>word</parameter></methodparam>
-  </methodsynopsis>
-  <para>
-   Ajoute le mot <parameter>word</parameter> à la liste des mots personnelle
-   du dictionnaire <parameter>dict</parameter>.
-  </para>
- </refsect1>
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  <para>
-   <variablelist>
-    &enchant.param.dictionary;
-    <varlistentry>
-     <term><parameter>word</parameter></term>
-     <listitem>
-      <para>
-       Le mot à ajouter
-      </para>
-     </listitem>
-    </varlistentry>
-   </variablelist>
-  </para>
- </refsect1>
- 
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   &return.success;
-  </para>
- </refsect1>
- 
- <refsect1 role="changelog">
-  &reftitle.changelog;
-  <informaltable>
-   <tgroup cols="2">
-    <thead>
-     <row>
-      <entry>&Version;</entry>
-      <entry>&Description;</entry>
-     </row>
-    </thead>
-    <tbody>
-     &enchant.changelog.dictionary-param;
-    </tbody>
-   </tgroup>
-  </informaltable>
- </refsect1>
-
- <refsect1 role="examples">
-   <example>
-    <title>Aout d'un mot à un PWL</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
 
-$filename = './my_word_list.pwl';
-$word = 'Supercalifragilisticexpialidocious';
+ <refsynopsisdiv>
+  &warn.deprecated.function-8-0-0;
+ </refsynopsisdiv>
 
-$broker = enchant_broker_init();
-$dict = enchant_broker_request_pwl_dict($broker, $filename);
-
-enchant_dict_add_to_personal($dict, $word);
-
-enchant_broker_free($broker);
-
-?>
-]]>
-    </programlisting>
-   </example>
- </refsect1>
-
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><function>enchant_broker_request_pwl_dict</function></member>
-    <member><function>enchant_broker_request_dict</function></member>
-   </simplelist>
-  </para>
+ <refsect1 role="description">
+  &reftitle.description;
+  <simpara>
+   &info.function.alias;
+   <function>enchant_dict_add</function>.
+  </simpara>
  </refsect1>
 </refentry>
 <!-- Keep this comment at the end of the file
diff --git a/reference/enchant/functions/enchant-dict-add.xml b/reference/enchant/functions/enchant-dict-add.xml
new file mode 100644
index 0000000000..4003055aa1
--- /dev/null
+++ b/reference/enchant/functions/enchant-dict-add.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: girgias Status: ready -->
+<!-- Reviewed: no -->
+<refentry xml:id="function.enchant-dict-add" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>enchant_dict_add</refname>
+  <refpurpose>Ajoute un mot à une liste de mot personnelle</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>void</type><methodname>enchant_dict_add</methodname>
+   <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
+   <methodparam><type>string</type><parameter>word</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Ajoute un mot à la liste des mots personnelle du dictionnaire fournis.
+  </para>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    &enchant.param.dictionary;
+    <varlistentry>
+     <term><parameter>word</parameter></term>
+     <listitem>
+      <para>
+       Le mot à ajouter
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+ 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     &enchant.changelog.dictionary-param;
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
+ <refsect1 role="examples">
+   <example>
+    <title>Ajout d'un mot à un PWL</title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+
+$filename = './my_word_list.pwl';
+$word = 'Supercalifragilisticexpialidocious';
+
+$broker = enchant_broker_init();
+$dict = enchant_broker_request_pwl_dict($broker, $filename);
+
+enchant_dict_add($dict, $word);
+
+enchant_broker_free($broker);
+
+?>
+]]>
+    </programlisting>
+   </example>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>enchant_broker_request_pwl_dict</function></member>
+    <member><function>enchant_broker_request_dict</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+</refentry>
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/reference/enchant/functions/enchant-dict-is-added.xml b/reference/enchant/functions/enchant-dict-is-added.xml
new file mode 100644
index 0000000000..ca82d48cb5
--- /dev/null
+++ b/reference/enchant/functions/enchant-dict-is-added.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: girgias Status: ready -->
+<!-- Reviewed: no -->
+<refentry xml:id="function.enchant-dict-is-added" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+  <refname>enchant_dict_is_added</refname>
+  <refpurpose>Que le 'mot' existe ou non dans cette session d'orthographe</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>bool</type><methodname>enchant_dict_is_added</methodname>
+   <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
+   <methodparam><type>string</type><parameter>word</parameter></methodparam>
+  </methodsynopsis>
+ <para>
+  Informe si le mot existe déjà ou non dans la session courante.
+ </para>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    &enchant.param.dictionary;
+    <varlistentry>
+     <term><parameter>word</parameter></term>
+     <listitem>
+      <para>
+       Le mot à rechercher
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Retourne &true; si le mot existe ou &false;
+  </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     &enchant.changelog.dictionary-param;
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>enchant_dict_add_to_session</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+
+</refentry>
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
diff --git a/reference/enchant/functions/enchant-dict-is-in-session.xml b/reference/enchant/functions/enchant-dict-is-in-session.xml
index 940f713523..4f12a9f8b3 100644
--- a/reference/enchant/functions/enchant-dict-is-in-session.xml
+++ b/reference/enchant/functions/enchant-dict-is-in-session.xml
@@ -1,70 +1,23 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: yannick Status: ready -->
 <!-- Reviewed: yes -->
 <refentry xml:id="function.enchant-dict-is-in-session" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>enchant_dict_is_in_session</refname>
-  <refpurpose>Vérifie si un mot existe dans une session de vérification</refpurpose>
+  <refpurpose>&Alias; <function>enchant_dict_is_added</function></refpurpose>
  </refnamediv>
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <type>bool</type><methodname>enchant_dict_is_in_session</methodname>
-   <methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
-   <methodparam><type>string</type><parameter>word</parameter></methodparam>
-  </methodsynopsis>
- <para>
-  Vérifie si un mot existe ou non dans la session courante.
- </para>
- </refsect1>
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  <para>
-   <variablelist>
-    &enchant.param.dictionary;
-    <varlistentry>
-     <term><parameter>word</parameter></term>
-     <listitem>
-      <para>
-       Le mot à vérifier
-      </para>
-     </listitem>
-    </varlistentry>
-   </variablelist>
-  </para>
- </refsect1>
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   Retourne &true; si le mot existe, &false; sinon.
-  </para>
- </refsect1>
 
- <refsect1 role="changelog">
-  &reftitle.changelog;
-  <informaltable>
-   <tgroup cols="2">
-    <thead>
-     <row>
-      <entry>&Version;</entry>
-      <entry>&Description;</entry>
-     </row>
-    </thead>
-    <tbody>
-     &enchant.changelog.dictionary-param;
-    </tbody>
-   </tgroup>
-  </informaltable>
- </refsect1>
+ <refsynopsisdiv>
+  &warn.deprecated.function-8-0-0;
+ </refsynopsisdiv>
 
- <refsect1 role="seealso">
-  &reftitle.seealso;
-  <para>
-   <simplelist>
-    <member><function>enchant_dict_add_to_session</function></member>
-   </simplelist>
-  </para>
+ <refsect1 role="description">
+  &reftitle.description;
+  <simpara>
+   &info.function.alias;
+   <function>enchant_dict_is_added</function>.
+  </simpara>
  </refsect1>
 </refentry>
 <!-- Keep this comment at the end of the file
diff --git a/reference/enchant/setup.xml b/reference/enchant/setup.xml
index 1642284de4..9f15b178f0 100644
--- a/reference/enchant/setup.xml
+++ b/reference/enchant/setup.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 6fa29283c5861ccb1f9da74fb252f80e01d27668 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 94f2c273f0bb214580b3cba17273f79e8cc2cb25 Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 <!-- CREDITS: DavidA -->
 
@@ -14,7 +14,7 @@
    Cette version utilise les fonctions de la
    <link xlink:href="&url.enchant;">bibliothèque Enchant</link> par
    Dom Lachowicz. Vous devez utiliser Enchant 1.2.4 ou supérieur.
-   Enchant 2.0.0 ou supérieur n'est pas encore supporté.
+   Enchant 2.0.0 ou supérieur est uniquement supporté à partir de PHP 8.0.0.
   </para>
   <para>
    Enchant requiert également <link xlink:href="&url.glib;">Glib 2.6</link> ou supérieur.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.