Skip to content

Commit 0a0c4c6

Browse files
committed
reference: fixes lote 5 (libxml, mail, iconv)
1 parent b8857f3 commit 0a0c4c6

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

reference/iconv/functions/ob-iconv-handler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ob_start("ob_iconv_handler"); // empieza a usarse el buffer de salida
6565
<simplelist>
6666
<member><function>iconv_get_encoding</function></member>
6767
<member><function>iconv_set_encoding</function></member>
68-
<member><link linkend="ref.outcontrol">output-control functions</link></member>
68+
<member><link linkend="ref.outcontrol">funciones de control de salida</link></member>
6969
</simplelist>
7070
</para>
7171
</refsect1>

reference/libxml/functions/libxml-get-errors.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,22 @@ function display_xml_error($error, $xml)
7878
7979
switch ($error->level) {
8080
case LIBXML_ERR_WARNING:
81-
$return .= "Warning $error->code: ";
81+
$return .= "Advertencia $error->code: ";
8282
break;
8383
case LIBXML_ERR_ERROR:
8484
$return .= "Error $error->code: ";
8585
break;
8686
case LIBXML_ERR_FATAL:
87-
$return .= "Fatal Error $error->code: ";
87+
$return .= "Error fatal $error->code: ";
8888
break;
8989
}
9090
9191
$return .= trim($error->message) .
92-
"\n Line: $error->line" .
93-
"\n Column: $error->column";
92+
"\n Línea: $error->line" .
93+
"\n Columna: $error->column";
9494
9595
if ($error->file) {
96-
$return .= "\n File: $error->file";
96+
$return .= "\n Fichero: $error->file";
9797
}
9898
9999
return "$return\n\n--------------------------------------------\n\n";
@@ -107,9 +107,9 @@ function display_xml_error($error, $xml)
107107
<![CDATA[
108108
<titles>PHP: Behind the Parser</title>
109109
----------------------------------------------^
110-
Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title
111-
Line: 4
112-
Column: 46
110+
Error fatal 76: Opening and ending tag mismatch: titles line 4 and title
111+
Línea: 4
112+
Columna: 46
113113
114114
--------------------------------------------
115115
]]>

reference/mail/functions/mail.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
<![CDATA[
222222
<?php
223223
// El mensaje
224-
$message = "Line 1\r\nLine 2\r\nLine 3";
224+
$message = "Línea 1\r\nLínea 2\r\nLínea 3";
225225
226226
// En caso de que nuestras líneas contengan más de 70 caracteres, las cortamos utilizando wordwrap()
227227
$message = wordwrap($message, 70, "\r\n");

0 commit comments

Comments
 (0)