rafael Sat Jun 8 15:20:52 2002 EDT
Modified files:
/phpdoc-es/reference/aspell/functions aspell-check-raw.xml
aspell-check.xml
aspell-new.xml
aspell-suggest.xml
Log:
Translation updated to PHP 4.x
Index: phpdoc-es/reference/aspell/functions/aspell-check-raw.xml
diff -u phpdoc-es/reference/aspell/functions/aspell-check-raw.xml:1.1
phpdoc-es/reference/aspell/functions/aspell-check-raw.xml:1.2
--- phpdoc-es/reference/aspell/functions/aspell-check-raw.xml:1.1 Sun Apr 14
20:13:00 2002
+++ phpdoc-es/reference/aspell/functions/aspell-check-raw.xml Sat Jun 8 15:20:51
+2002
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/aspell.xml, last change in rev 1.2 -->
-<!-- last change to 'aspell-check-raw' in en/ tree in rev 1.2 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready -->
+
<refentry id="function.aspell-check-raw">
<refnamediv>
<refname>aspell_check-raw</refname>
- <refpurpose>Comprueba una palabra sin cambiarla o intentar arreglarla
+ <refpurpose>Comprueba una palabra sin cambiarla ó intentar arreglarla
+[deprecated]
</refpurpose>
</refnamediv>
<refsect1>
@@ -15,18 +16,21 @@
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<simpara>
- <function>aspell_check_raw</function> chequea la ortografía de una
palabra,sin cambiarla ni intentar arreglarla
- esté bien o mal.Si está bien, devuelve cierto (&true;), si no lo
está, devuelve falso(&false;).</simpara>
+ <function>aspell_check_raw</function> comprueba la ortografía de una
+palabra,sin cambiarla ni intentar arreglarla
+ esté bien o mal. Si está bien, devuelve cierto (&true;), si no
+lo está, devuelve falso(&false;).</simpara>
<para>
<example>
<title>aspell_check_raw</title>
<programlisting>
-$aspell_link=aspell_new("english");
-if (aspell_check_raw($aspell_link,"testt")) {
- echo "Está bein escrito";
+<![CDATA[
+$aspell_link = aspell_new("english");
+
+if (aspell_check_raw($aspell_link, "test")) {
+ echo "This is a valid spelling";
} else {
- echo "Lo siento,mal escrito";
+ echo "Sorry, wrong spelling";
}
+]]>
</programlisting>
</example></para>
</refsect1>
Index: phpdoc-es/reference/aspell/functions/aspell-check.xml
diff -u phpdoc-es/reference/aspell/functions/aspell-check.xml:1.1
phpdoc-es/reference/aspell/functions/aspell-check.xml:1.2
--- phpdoc-es/reference/aspell/functions/aspell-check.xml:1.1 Sun Apr 14 20:13:00
2002
+++ phpdoc-es/reference/aspell/functions/aspell-check.xml Sat Jun 8 15:20:51
+2002
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/aspell.xml, last change in rev 1.2 -->
-<!-- last change to 'aspell-check' in en/ tree in rev 1.2 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready -->
+
<refentry id="function.aspell-check">
<refnamediv>
<refname>aspell_check</refname>
- <refpurpose>Comprueba una palabra</refpurpose>
+ <refpurpose>Comprueba una palabra[deprecated]</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
@@ -20,12 +21,15 @@
<example>
<title>aspell_check</title>
<programlisting>
-$aspell_link=aspell_new("english");
-if (aspell_check($aspell_link,"testt")) {
- echo "Está bien escrita";
+<![CDATA[
+$aspell_link = aspell_new("english");
+
+if (aspell_check($aspell_link, "testt")) {
+ echo "This is a valid spelling";
} else {
- echo "Lo siento, está mal escrita";
+ echo "Sorry, wrong spelling";
}
+]]>
</programlisting>
</example></para>
</refsect1>
Index: phpdoc-es/reference/aspell/functions/aspell-new.xml
diff -u phpdoc-es/reference/aspell/functions/aspell-new.xml:1.1
phpdoc-es/reference/aspell/functions/aspell-new.xml:1.2
--- phpdoc-es/reference/aspell/functions/aspell-new.xml:1.1 Sun Apr 14 20:13:00
2002
+++ phpdoc-es/reference/aspell/functions/aspell-new.xml Sat Jun 8 15:20:51 2002
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/aspell.xml, last change in rev 1.2 -->
-<!-- last change to 'aspell-new' in en/ tree in rev 1.2 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready -->
+
<refentry id="function.aspell-new">
<refnamediv>
<refname>aspell_new</refname>
- <refpurpose>Lee un nuevo diccionario </refpurpose>
+ <refpurpose>Lee un nuevo diccionario [deprecated]</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
@@ -20,7 +21,9 @@
<example>
<title>Nuevo_diccionario</title>
<programlisting>
-$aspell_link=aspell_new("english");
+<![CDATA[
+$aspell_link = aspell_new("english");
+]]>
</programlisting>
</example></para>
</refsect1>
Index: phpdoc-es/reference/aspell/functions/aspell-suggest.xml
diff -u phpdoc-es/reference/aspell/functions/aspell-suggest.xml:1.1
phpdoc-es/reference/aspell/functions/aspell-suggest.xml:1.2
--- phpdoc-es/reference/aspell/functions/aspell-suggest.xml:1.1 Sun Apr 14 20:13:00
2002
+++ phpdoc-es/reference/aspell/functions/aspell-suggest.xml Sat Jun 8 15:20:51
+2002
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/aspell.xml, last change in rev 1.2 -->
-<!-- last change to 'aspell-suggest' in en/ tree in rev 1.2 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.2 Maintainer: rafael Status: ready -->
+
<refentry id="function.aspell-suggest">
<refnamediv>
<refname>aspell_suggest</refname>
- <refpurpose>sugiere la ortografía para una palabra </refpurpose>
+ <refpurpose>Sugiere la ortografía para una palabra
+[deprecated]</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
@@ -14,21 +15,23 @@
<methodparam><type>string</type><parameter>word</parameter></methodparam>
</methodsynopsis>
<simpara>
- <function>aspell_suggest</function> devuelve un array con posibles correciones
ortográficas para la palabra dada.
+ <function>aspell_suggest</function> devuelve una matriz con posibles correciones
+ortográficas para la palabra dada.
</simpara>
<para>
<example>
<title>aspell_suggest</title>
<programlisting>
-$aspell_link=aspell_new("english");
+<![CDATA[
+$aspell_link = aspell_new("english");
-if (!aspell_check($aspell_link,"testt")) {
- $sugerencias=aspell_suggest($aspell_link,"testt");
+if (!aspell_check($aspell_link, "test")) {
+ $suggestions = aspell_suggest($aspell_link, "test");
- for($i=0; $i < count($sugerencias); $i++) {
- echo "Posibles palabras: " . $sugerencias[$i] . "<br>";
+ foreach ($suggestions as $suggestion) {
+ echo "Possible spelling: $suggestion<br>\n";
}
}
+]]>
</programlisting>
</example></para>
</refsect1>