mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
enchant : fix XML by converting para to simpara tags via script
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 5f8047c12b4078a6f686b2b0589e9284c47bf155 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
|
||||
<book xml:id="book.enchant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.enchant">
|
||||
<?phpdoc extension-membership="bundledexternal" ?>
|
||||
<title>Biblioteca de ortografía Enchant</title>
|
||||
<titleabbrev>Enchant</titleabbrev>
|
||||
@@ -11,46 +10,46 @@
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.enchant">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
Enchant es una implementación PHP de la
|
||||
<link xlink:href="&url.enchant;">biblioteca Enchant</link>. Enchant
|
||||
proporciona uniformidad y conformidad para todas las bibliotecas
|
||||
de ortografía, e implementa ciertas funcionalidades que pueden
|
||||
estar ausentes en una biblioteca. Todo debe "funcionar simplemente".
|
||||
</para>
|
||||
</simpara>
|
||||
<para>
|
||||
Enchant soporta las siguientes bibliotecas :
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Aspell/Pspell (previsto para reemplazar Ispell)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Ispell (muy antiguo, puede ser considerado como estándar)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>MySpell/Hunspell (un proyecto orientado a objetos, también utilizado por Mozilla)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Uspell (previsto originalmente para el yiddish, el hebreo y los idiomas
|
||||
de Europa del Este - alojado en el CVS de AbiWord bajo el módulo "uspell")</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Hspell (Hebreo)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>AppleSpell (Mac OSX)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
@@ -65,7 +64,6 @@
|
||||
&reference.enchant.enchantdictionary;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,40 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 6c7300690f0328443314af3bec6aa3ce374ae368 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<section xml:id="enchant.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="enchant.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
<simpara>
|
||||
Partiendo del principio de que las
|
||||
<link linkend="enchant.requirements">bibliothèques requises</link>
|
||||
están instaladas, los usuarios pueden activar enchant añadiendo la opción
|
||||
<option role="configure">--with-enchant[=dir]</option>
|
||||
durante la compilación de PHP.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Los usuarios de Windows deben activar <filename>php_enchant.dll</filename>
|
||||
para poder utilizar esta extensión.
|
||||
</para>
|
||||
</simpara>
|
||||
<note>
|
||||
<title>Configuración adicional en Windows</title>
|
||||
<para>
|
||||
<simpara>
|
||||
&ext.windows.path.dll;
|
||||
<filename>libenchant.dll</filename>,
|
||||
<filename>glib-2.dll</filename>,
|
||||
<filename>gmodule-2.dll</filename>.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Además, es necesario copiar al menos uno de los proveedores proporcionados en
|
||||
<filename>lib\enchant</filename> hacia <filename>\usr\local\lib\enchant-2</filename>,
|
||||
(que es una ruta absoluta a partir de la raíz del <emphasis>disco actual</emphasis>).
|
||||
Anterior a PHP 8.0.0, es decir, utilizando Enchant v1, los proveedores debían copiarse en
|
||||
<filename>C:\enchant_plugins</filename> en su lugar,
|
||||
donde esta ruta podía ser personalizada creando el valor de registro.
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<reference xml:id="class.enchantbroker" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.enchantbroker" role="class">
|
||||
|
||||
<title>La clase EnchantBroker</title>
|
||||
<titleabbrev>EnchantBroker</titleabbrev>
|
||||
@@ -12,9 +12,9 @@
|
||||
<!-- {{{ EnchantBroker intro -->
|
||||
<section xml:id="enchantbroker.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
Una clase totalmente opaca que reemplaza los recursos <literal>enchant_broker</literal> a partir de PHP 8.0.0.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<reference xml:id="class.enchantdictionary" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.enchantdictionary" role="class">
|
||||
|
||||
<title>La clase EnchantDictionary</title>
|
||||
<titleabbrev>EnchantDictionary</titleabbrev>
|
||||
@@ -12,9 +12,9 @@
|
||||
<!-- {{{ EnchantDictionary intro -->
|
||||
<section xml:id="enchantdictionary.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
Una clase totalmente opaca que reemplaza los recursos <literal>enchant_dict</literal> a partir de PHP 8.0.0.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-describe">
|
||||
<refnamediv>
|
||||
@@ -13,10 +13,10 @@
|
||||
<type>array</type><methodname>enchant_broker_describe</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Enumera los proveedores Enchant y muestra algunas informaciones sobre ellos.
|
||||
Las mismas informaciones son proporcionadas mediante la función <function>phpinfo</function>.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -28,9 +28,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve un &array; de los proveedores Enchant disponibles con sus detalles.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-dict-exists">
|
||||
<refnamediv>
|
||||
@@ -14,9 +14,9 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Verifica si un diccionario existe.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -25,9 +25,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
lenguaje, en un formato como us_US, ch_DE, etc.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -35,9 +35,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve &true; si el lenguaje existe, &false; en caso contrario.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-free-dict">
|
||||
<refnamediv>
|
||||
@@ -19,10 +19,10 @@
|
||||
<type>bool</type><methodname>enchant_broker_free_dict</methodname>
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Libera un diccionario.
|
||||
A partir de PHP 8.0.0, se recomienda destruir el objeto en lugar de llamar a esta función.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -33,9 +33,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-free">
|
||||
<refnamediv>
|
||||
@@ -19,10 +19,10 @@
|
||||
<type>bool</type><methodname>enchant_broker_free</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Libera un patrocinador así como todos sus diccionarios.
|
||||
A partir de PHP 8.0.0, se recomienda destruir el objeto en lugar de llamar a esta función.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -34,9 +34,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-get-dict-path">
|
||||
<refnamediv>
|
||||
@@ -20,9 +20,9 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Obtiene la ruta del directorio para un backend proporcionado.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -32,10 +32,10 @@
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
El tipo de diccionarios, es decir, <constant>ENCHANT_MYSPELL</constant>
|
||||
o <constant>ENCHANT_ISPELL</constant>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -43,10 +43,10 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve la ruta del directorio del diccionario en
|
||||
caso de éxito&return.falseforfailure;.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -75,9 +75,9 @@
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
Esta función solo está disponible si la extensión ha sido compilada con Enchant v1.
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-get-error">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>enchant_broker_get_error</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve el último error ocurrido para este sponsor.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -26,9 +26,9 @@
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve el mensaje si se ha encontrado un error, o &false; en caso contrario.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-init">
|
||||
<refnamediv>
|
||||
@@ -17,14 +17,14 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
</para>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve un recurso de sponsor en caso de éxito, &false; en caso contrario.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-list-dicts">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type>array</type><methodname>enchant_broker_list_dicts</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve una lista de todos los diccionarios disponibles junto con sus detalles.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,9 +27,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve un &array; de diccionarios disponibles con sus detalles.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-request-dict">
|
||||
<refnamediv>
|
||||
@@ -13,10 +13,10 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
crea un nuevo diccionario usando una etiqueta, la etiqueta de idioma no vacía que
|
||||
desea solicitar para un diccionario ("en_US", "de_DE", ...)
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -25,9 +25,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Una etiqueta que describe la configuración local, por ejemplo en_US, de_DE
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -35,9 +35,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve un recurso de diccionario en caso de éxito&return.falseforfailure;.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -68,10 +68,10 @@
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
<title>Un ejemplo de <function>enchant_broker_request_dict</function></title>
|
||||
<para>
|
||||
<simpara>
|
||||
Comprueba si existe un diccionario usando
|
||||
<function>enchant_broker_dict_exists</function> y solicítalo.
|
||||
</para>
|
||||
</simpara>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-request-pwl-dict">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Crea un diccionario utilizando un archivo PWL. Un archivo PWL es un archivo
|
||||
de palabras personales que contiene una palabra por línea.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,10 +27,10 @@
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Ruta de acceso al archivo PWL.
|
||||
Si el archivo no existe, se creará uno nuevo, si es posible.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -38,9 +38,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve un recurso de diccionario en caso de éxito&return.falseforfailure;.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-set-dict-path">
|
||||
<refnamediv>
|
||||
@@ -21,9 +21,9 @@
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>path</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Define la ruta del directorio para un backend proporcionado.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -33,18 +33,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
El tipo de los diccionarios, es decir, <constant>ENCHANT_MYSPELL</constant>
|
||||
o <constant>ENCHANT_ISPELL</constant>.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>path</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La ruta del directorio del diccionario.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -52,9 +52,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -83,9 +83,9 @@
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
Esta función solo está disponible si la extensión ha sido compilada con Enchant v1.
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-set-ordering">
|
||||
<refnamediv>
|
||||
@@ -15,14 +15,14 @@
|
||||
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>ordering</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Declara una preferencia para un diccionario a utilizar para el idioma
|
||||
especificado por el argumento <parameter>tag</parameter>.
|
||||
El orden de los idiomas es una lista separada por comas.
|
||||
El carácter especial "*" puede ser utilizado como idioma para declarar
|
||||
un orden por defecto para todos los idiomas que no declaren
|
||||
explícitamente un orden.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -32,28 +32,28 @@
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
El idioma. El carácter "*" puede ser utilizado como idioma
|
||||
para declarar un orden por defecto para todos los idiomas
|
||||
que no declaren explícitamente un orden.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ordering</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Lista de nombres de proveedores separada por comas
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-add-to-session">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Añade la palabra <parameter>word</parameter> al diccionario proporcionado.
|
||||
Solo será añadida para la sesión actual.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,9 +27,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra a añadir
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -37,9 +37,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.void;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-add">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Añade una palabra a la lista personal de palabras del diccionario dado.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -24,18 +24,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra a añadir
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-check">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve &true; si la palabra <parameter>word</parameter> está correctamente
|
||||
escrita, &false; en caso contrario.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,18 +27,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra a verificar
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve &true; si la palabra está correctamente escrita, &false; en caso contrario.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-describe">
|
||||
<refnamediv>
|
||||
@@ -12,9 +12,9 @@
|
||||
<type>array</type><methodname>enchant_dict_describe</methodname>
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve los detalles del diccionario.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -26,9 +26,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -58,10 +58,10 @@
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
<title>Ejemplo de <function>enchant_dict_describe</function></title>
|
||||
<para>
|
||||
<simpara>
|
||||
Comprueba si existe un diccionario usando
|
||||
<function>enchant_broker_dict_exists</function> y muestra sus detalles.
|
||||
</para>
|
||||
</simpara>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-get-error">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>enchant_dict_get_error</methodname>
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve el último error de la sesión actual.
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -26,10 +26,10 @@
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve el mensaje de error en forma de string,
|
||||
o &false; en caso de error.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-is-added">
|
||||
<refnamediv>
|
||||
@@ -14,9 +14,9 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Informa si la palabra ya existe o no en la sesión actual.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -25,18 +25,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra a buscar
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve &true; si la palabra existe o &false;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-quick-check">
|
||||
<refnamediv>
|
||||
@@ -15,10 +15,10 @@
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter role="reference">suggestions</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve &true; si la palabra está correctamente escrita, &false; si la variable de sugerencias es proporcionada,
|
||||
y la llena con las sugerencias posibles.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -27,27 +27,27 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra a verificar
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>suggestions</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Si la palabra no está correctamente escrita, esta variable contendrá
|
||||
un array de sugerencias.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve &true; si la palabra está correctamente escrita, &false; en caso contrario.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-store-replacement">
|
||||
<refnamediv>
|
||||
@@ -15,11 +15,11 @@
|
||||
<methodparam><type>string</type><parameter>misspelled</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>correct</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Añade una ortografía para <parameter>misspelled</parameter> utilizando <parameter>correct</parameter>.
|
||||
Tenga en cuenta que si se reemplaza @mis por @cor, entonces es probable que las futuras ocurrencias
|
||||
de @mis sean reemplazadas por @cor. Así, @cor será añadido a la lista de sugerencias.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -28,26 +28,26 @@
|
||||
<varlistentry>
|
||||
<term><parameter>misspelled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra a tratar
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>correct</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
La palabra correcta
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-suggest">
|
||||
<refnamediv>
|
||||
@@ -13,8 +13,8 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -23,18 +23,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
Palabra para la que se generarán sugerencias.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Devuelve un array de sugerencias si la palabra está mal escrita.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,26 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: PhilDaiguille Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<!-- CREDITS: DavidA -->
|
||||
|
||||
<chapter xml:id="enchant.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="enchant.setup">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="enchant.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
<simpara>
|
||||
Esta versión utiliza las funciones de la
|
||||
<link xlink:href="&url.enchant;">biblioteca Enchant</link> por
|
||||
Dom Lachowicz. Se debe utilizar Enchant 1.2.4 o superior.
|
||||
Enchant 2.0.0 o superior es únicamente soportado a partir de PHP 8.0.0.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Enchant requiere asimismo <link xlink:href="&url.glib;">Glib 2.6</link> o superior.
|
||||
Las bibliotecas Windows pre-compiladas están disponibles desde
|
||||
<link xlink:href="&url.glib.windows;">&url.glib.windows;</link>.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
@@ -31,16 +30,15 @@
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="enchant.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
<simpara>
|
||||
Anterior a PHP 8.0.0, existen dos tipos de recursos en esta extensión.
|
||||
El primero es el broker (gestor de backends) y el
|
||||
segundo es para el diccionario.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
Reference in New Issue
Block a user