svn: /phpdoc/es/trunk/reference/enchant/ examples.xml
| From: | Pedro Antonio Gil Rodríguez | Date: | Thu, 05 Aug 2010 14:37:54 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/enchant/ examples.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-3050@lists.php.net to get a copy of this message | ||
seros Thu, 05 Aug 2010 14:37:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301883
Log:
Modificaciones menores
Changed paths:
U phpdoc/es/trunk/reference/enchant/examples.xml
Modified: phpdoc/es/trunk/reference/enchant/examples.xml
===================================================================
--- phpdoc/es/trunk/reference/enchant/examples.xml 2010-08-05 14:36:44 UTC (rev 301882)
+++ phpdoc/es/trunk/reference/enchant/examples.xml 2010-08-05 14:37:54 UTC (rev 301883)
@@ -8,24 +8,24 @@
<programlisting role="php">
<![CDATA[
<?php
-$tag = 'en_US';
+$etiqueta = 'en_US';
$r = enchant_broker_init();
$bprovides = enchant_broker_describe($r);
-echo "Current broker provides the following backend(s):\n";
+echo "El agente actual proporciona los siguientes entornos:\n";
print_r($bprovides);
-$dicts = enchant_broker_list_dicts($r);
-print_r($dicts);
-if (enchant_broker_dict_exists($r,$tag)) {
- $d = enchant_broker_request_dict($r, $tag);
+$diccionarios = enchant_broker_list_dicts($r);
+print_r($diccionarios);
+if (enchant_broker_dict_exists($r,$etiqueta)) {
+ $d = enchant_broker_request_dict($r, $etiqueta);
$dprovides = enchant_dict_describe($d);
- echo "dictionary $tag provides:\n";
+ echo "el diccionario $etiqueta proporciona:\n";
$wordcorrect = enchant_dict_check($d, "soong");
print_r($dprovides);
if (!$wordcorrect) {
- $suggs = enchant_dict_suggest($d, "soong");
- echo "Suggestions for 'soong':";
- print_r($suggs);
+ $sugerencias = enchant_dict_suggest($d, "soong");
+ echo "Sugerencias para 'soong':";
+ print_r($sugerencias);
}
enchant_broker_free_dict($d);
} else {