89222970bd56a97bef9fb9cc2adfbab36e52fafa
[platform/upstream/doxygen.git] / src / translator_es.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17
18 #ifndef TRANSLATOR_ES_H
19 #define TRANSLATOR_ES_H
20
21 /*!
22  * translator_es.h modified by Lucas Cruz (7-julio-2000)
23  * Some notes:
24  * - It's posible that some sentences haven't got meaning because
25  * some words haven't got translate in spanish.
26  * Updated from 1.3.8 to 1.4.6 by Guillermo Ballester Valor (May-05-2006)
27  * Updated to 1.5.1 by Bartomeu Creus Navarro (22-enero-2007)
28  * Updated to 1.5.5 by Bartomeu Creus Navarro (5-febrero-2008)
29  * Updated to 1.5.8 by Bartomeu Creus Navarro (10-abril-2009)
30  * Updated to 1.6.3 by Bartomeu Creus Navarro (3-marzo-2010)
31  * Updated to 1.6.4 by Bartomeu Creus Navarro (26-mayo-2010) [(16-jun-2010) grabado en UTF-8]
32  * Updated to 1.8.0 by Bartomeu Creus Navarro (11-abril-2012)
33  * Updated to 1.8.2 by Bartomeu Creus Navarro (01-julio-2012)
34  * Updated to 1.8.4 by Bartomeu Creus Navarro (17-julio-2013)
35  */
36
37 class TranslatorSpanish : public Translator
38 {
39   public:
40
41     // --- Language control methods -------------------
42
43     /*! Used for identification of the language. The identification
44      * should not be translated. It should be replaced by the name
45      * of the language in English using lower-case characters only
46      * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
47      * the identification used in language.cpp.
48      */
49     virtual QCString idLanguage()
50     { return "spanish"; }
51
52     /*! Used to get the LaTeX command(s) for the language support.
53      *  This method should return string with commands that switch
54      *  LaTeX to the desired language.  For example
55      *  <pre>"\\usepackage[german]{babel}\n"
56      *  </pre>
57      *  or
58      *  <pre>"\\usepackage{polski}\n"
59      *  "\\usepackage[latin2]{inputenc}\n"
60      *  "\\usepackage[T1]{fontenc}\n"
61      *  </pre>
62      *
63      * The English LaTeX does not use such commands.  Because of this
64      * the empty string is returned in this implementation.
65      */
66     virtual QCString latexLanguageSupportCommand()
67     {
68       return "\\usepackage[spanish]{babel}";
69     }
70
71     // --- Language translation methods -------------------
72
73     /*! used in the compound documentation before a list of related functions. */
74     virtual QCString trRelatedFunctions()
75     { return "Funciones relacionadas"; }
76
77     /*! subscript for the related functions. */
78     virtual QCString trRelatedSubscript()
79     { return "(Observar que estas no son funciones miembro.)"; }
80
81     /*! header that is put before the detailed description of files, classes and namespaces. */
82     virtual QCString trDetailedDescription()
83     { return "Descripción detallada"; }
84
85     /*! header that is put before the list of typedefs. */
86     virtual QCString trMemberTypedefDocumentation()
87     { return "Documentación de los 'Typedef' miembros de la clase"; }
88
89     /*! header that is put before the list of enumerations. */
90     virtual QCString trMemberEnumerationDocumentation()
91     { return "Documentación de las enumeraciones miembro de la clase"; }
92
93     /*! header that is put before the list of member functions. */
94     virtual QCString trMemberFunctionDocumentation()
95     { return "Documentación de las funciones miembro"; }
96
97     /*! header that is put before the list of member attributes. */
98     virtual QCString trMemberDataDocumentation()
99     {
100       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
101       {
102         return "Documentación de los campos";
103       }
104       else
105       {
106         return "Documentación de los datos miembro";
107       }
108     }
109
110     /*! this is the text of a link put after brief descriptions. */
111     virtual QCString trMore()
112     { return "Más..."; }
113
114     /*! put in the class documentation */
115     virtual QCString trListOfAllMembers()
116     { return "Lista de todos los miembros"; }
117
118     /*! used as the title of the "list of all members" page of a class */
119     virtual QCString trMemberList()
120     { return "Lista de los miembros"; }
121
122     /*! this is the first part of a sentence that is followed by a class name */
123     virtual QCString trThisIsTheListOfAllMembers()
124     { return "Lista completa de los miembros de "; }
125
126     /*! this is the remainder of the sentence after the class name */
127     virtual QCString trIncludingInheritedMembers()
128     { return ", incluyendo todos los heredados:"; }
129
130     /*! this is put at the author sections at the bottom of man pages.
131      *  parameter s is name of the project name.
132      */
133     virtual QCString trGeneratedAutomatically(const char *s)
134     { QCString result="Generado automáticamente por Doxygen";
135       if (s) result+=(QCString)" para "+s;
136       result+=" del código fuente.";
137       return result;
138     }
139
140     /*! put after an enum name in the list of all members */
141     virtual QCString trEnumName()
142     { return "nombre de la enumeración"; }
143
144     /*! put after an enum value in the list of all members */
145     virtual QCString trEnumValue()
146     { return "valor enumerado"; }
147
148     /*! put after an undocumented member in the list of all members */
149     virtual QCString trDefinedIn()
150     { return "definido en"; }
151
152     // quick reference sections
153
154     /*! This is put above each page as a link to the list of all groups of
155      *  compounds or files (see the \\group command).
156      */
157     virtual QCString trModules()
158     { return "Módulos"; }
159
160     /*! This is put above each page as a link to the class hierarchy */
161     virtual QCString trClassHierarchy()
162     { return "Jerarquía de la clase"; }
163
164     /*! This is put above each page as a link to the list of annotated classes */
165     virtual QCString trCompoundList()
166     {
167       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
168       {
169         return "Estructura de datos";
170       }
171       else
172       {
173         return "Lista de clases";
174       }
175     }
176
177     /*! This is put above each page as a link to the list of documented files */
178     virtual QCString trFileList()
179     { return "Lista de archivos"; }
180
181     /*! This is put above each page as a link to all members of compounds. */
182     virtual QCString trCompoundMembers()
183     {
184     if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
185       {
186         return "Campos de datos";
187       }
188       else
189       {
190         return "Miembros de las clases";
191       }
192     }
193
194     /*! This is put above each page as a link to all members of files. */
195     virtual QCString trFileMembers()
196     {
197       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
198       {
199         return "Globales";
200       }
201       else
202       {
203         return "Miembros de los ficheros";
204       }
205     }
206
207     /*! This is put above each page as a link to all related pages. */
208     virtual QCString trRelatedPages()
209     { return "Páginas relacionadas"; }
210
211     /*! This is put above each page as a link to all examples. */
212     virtual QCString trExamples()
213     { return "Ejemplos"; }
214
215     /*! This is put above each page as a link to the search engine. */
216     virtual QCString trSearch()
217     { return "Buscar"; }
218
219     /*! This is an introduction to the class hierarchy. */
220     virtual QCString trClassHierarchyDescription()
221     { return "Esta lista de herencias esta ordenada "
222               "aproximadamente por orden alfabético:";
223     }
224
225     /*! This is an introduction to the list with all files. */
226     virtual QCString trFileListDescription(bool extractAll)
227     {
228       QCString result="Lista de todos los archivos ";
229       if (!extractAll) result+="documentados y ";
230       result+="con descripciones breves:";
231       return result;
232     }
233
234     /*! This is an introduction to the annotated compound list. */
235     virtual QCString trCompoundListDescription()
236     {
237       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
238       {
239         return "Lista de estructuras con una breve descripción:";
240       }
241       else
242       {
243        return "Lista de las clases, estructuras, "
244              "uniones e interfaces con una breve descripción:";
245       }
246     }
247
248     /*! This is an introduction to the page with all class members. */
249     virtual QCString trCompoundMembersDescription(bool extractAll)
250     {
251       QCString result="Lista de todos los ";
252       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
253       {
254         result+="campos de estructuras y uniones";
255       }
256       else
257       {
258         result+="campos de clases";
259       }
260       if (!extractAll)
261       {
262         result+=" documentados";
263       }
264       result+=" con enlaces a ";
265       if (!extractAll)
266       {
267         if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
268         {
269           result+="la documentación de la estructura/unión para cada campo:";
270         }
271         else
272         {
273           result+="la documentación de la clase para cada miembro:";
274         }
275       }
276       else
277       {
278         if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
279         {
280           result+="las estructuras/uniones a que pertenecen:";
281         }
282         else
283         {
284           result+="las classes a que pertenecen:";
285         }
286       }
287       return result;
288     }
289
290     /*! This is an introduction to the page with all file members. */
291     virtual QCString trFileMembersDescription(bool extractAll)
292     {
293       QCString result="Lista de ";
294       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
295       {
296         result+="todas las funciones, variables, 'defines', enumeraciones y 'typedefs'";
297       }
298       else
299       {
300         result+="todos los mienbros de los ficheros";
301       }
302       if (!extractAll) result+=" documentados";
303       result+=" con enlaces ";
304       if (extractAll)
305         result+="a los ficheros a los que corresponden:";
306       else
307         result+="a la documentación:";
308       return result;
309     }
310
311     /*! This is an introduction to the page with the list of all examples */
312     virtual QCString trExamplesDescription()
313     { return "Lista de todos los ejemplos:"; }
314
315     /*! This is an introduction to the page with the list of related pages */
316     virtual QCString trRelatedPagesDescription()
317     { return "Lista de toda la documentación relacionada:"; }
318
319     /*! This is an introduction to the page with the list of class/file groups */
320     virtual QCString trModulesDescription()
321     { return "Lista de todos los módulos:"; }
322
323     // index titles (the project name is prepended for these)
324
325     /*! This is used in HTML as the title of index.html. */
326     virtual QCString trDocumentation()
327     { return "Documentación"; }
328
329     /*! This is used in LaTeX as the title of the chapter with the
330      * index of all groups.
331      */
332     virtual QCString trModuleIndex()
333     { return "Indice de módulos"; }
334
335     /*! This is used in LaTeX as the title of the chapter with the
336      * class hierarchy.
337      */
338     virtual QCString trHierarchicalIndex()
339     { return "Indice jerárquico"; }
340
341     /*! This is used in LaTeX as the title of the chapter with the
342      * annotated compound index.
343      */
344     virtual QCString trCompoundIndex()
345     {
346       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
347       {
348         return "Índice de estructura de datos";
349       }
350       else
351       {
352         return "Índice de clases";
353       }
354     }
355
356     /*! This is used in LaTeX as the title of the chapter with the
357      * list of all files.
358      */
359     virtual QCString trFileIndex()
360     { return "Indice de archivos"; }
361
362     /*! This is used in LaTeX as the title of the chapter containing
363      *  the documentation of all groups.
364      */
365     virtual QCString trModuleDocumentation()
366     { return "Documentación de módulos"; }
367
368     /*! This is used in LaTeX as the title of the chapter containing
369      *  the documentation of all classes, structs and unions.
370      */
371     virtual QCString trClassDocumentation()
372     {
373       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
374       {
375         return "Documentación de las estructuras de datos";
376       }
377       else
378       {
379         return "Documentación de las clases";
380       }
381     }
382
383     /*! This is used in LaTeX as the title of the chapter containing
384      *  the documentation of all files.
385      */
386     virtual QCString trFileDocumentation()
387     { return "Documentación de archivos"; }
388
389     /*! This is used in LaTeX as the title of the chapter containing
390      *  the documentation of all examples.
391      */
392     virtual QCString trExampleDocumentation()
393     { return "Documentación de ejemplos"; }
394
395     /*! This is used in LaTeX as the title of the chapter containing
396      *  the documentation of all related pages.
397      */
398     virtual QCString trPageDocumentation()
399     { return "Documentación de páginas"; }
400
401     /*! This is used in LaTeX as the title of the document */
402     virtual QCString trReferenceManual()
403     { return "Manual de referencia"; }
404
405     /*! This is used in the documentation of a file as a header before the
406      *  list of defines
407      */
408     virtual QCString trDefines()
409     { return "defines"; }
410
411     /*! This is used in the documentation of a file as a header before the
412      *  list of typedefs
413      */
414     virtual QCString trTypedefs()
415     { return "typedefs"; }
416
417     /*! This is used in the documentation of a file as a header before the
418      *  list of enumerations
419      */
420     virtual QCString trEnumerations()
421     { return "Enumeraciones"; }
422
423     /*! This is used in the documentation of a file as a header before the
424      *  list of (global) functions
425      */
426     virtual QCString trFunctions()
427     { return "Funciones"; }
428
429     /*! This is used in the documentation of a file as a header before the
430      *  list of (global) variables
431      */
432     virtual QCString trVariables()
433     { return "Variables"; }
434
435     /*! This is used in the documentation of a file as a header before the
436      *  list of (global) variables
437      */
438     virtual QCString trEnumerationValues()
439     { return "Valores de enumeraciones"; }
440
441     /*! This is used in the documentation of a file before the list of
442      *  documentation blocks for defines
443      */
444     virtual QCString trDefineDocumentation()
445     { return "Documentación de los 'defines'"; }
446
447     /*! This is used in the documentation of a file/namespace before the list
448      *  of documentation blocks for typedefs
449      */
450     virtual QCString trTypedefDocumentation()
451     { return "Documentación de los 'typedefs'"; }
452
453     /*! This is used in the documentation of a file/namespace before the list
454      *  of documentation blocks for enumeration types
455      */
456     virtual QCString trEnumerationTypeDocumentation()
457     { return "Documentación de las enumeraciones"; }
458
459     /*! This is used in the documentation of a file/namespace before the list
460      *  of documentation blocks for functions
461      */
462     virtual QCString trFunctionDocumentation()
463     { return "Documentación de las funciones"; }
464
465     /*! This is used in the documentation of a file/namespace before the list
466      *  of documentation blocks for variables
467      */
468     virtual QCString trVariableDocumentation()
469     { return "Documentación de las variables"; }
470
471     /*! This is used in the documentation of a file/namespace/group before
472      *  the list of links to documented compounds
473      */
474     virtual QCString trCompounds()
475     {
476       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
477       {
478         return "Estructuras de datos";
479       }
480       else
481       {
482         return "Clases";
483       }
484     }
485
486     /*! This is used in the standard footer of each page and indicates when
487      *  the page was generated
488      */
489     virtual QCString trGeneratedAt(const char *date,const char *projName)
490     {
491       QCString result=(QCString)"Generado el "+date;
492       if (projName) result+=(QCString)" para "+projName;
493       result+=(QCString)" por";
494       return result;
495     }
496
497     /*! this text is put before a class diagram */
498     virtual QCString trClassDiagram(const char *clName)
499     {
500       return (QCString)"Diagrama de herencias de "+clName;
501     }
502
503     /*! this text is generated when the \\internal command is used. */
504     virtual QCString trForInternalUseOnly()
505     { return "Sólo para uso interno."; }
506
507     /*! this text is generated when the \\warning command is used. */
508     virtual QCString trWarning()
509     { return "Atención"; }
510
511     /*! this text is generated when the \\version command is used. */
512     virtual QCString trVersion()
513     { return "Versión"; }
514
515     /*! this text is generated when the \\date command is used. */
516     virtual QCString trDate()
517     { return "Fecha"; }
518
519     /*! this text is generated when the \\return command is used. */
520     virtual QCString trReturns()
521     { return "Devuelve"; }
522
523     /*! this text is generated when the \\sa command is used. */
524     virtual QCString trSeeAlso()
525     { return "Ver también"; }
526
527     /*! this text is generated when the \\param command is used. */
528     virtual QCString trParameters()
529     { return "Parámetros"; }
530
531     /*! this text is generated when the \\exception command is used. */
532     virtual QCString trExceptions()
533     { return "Excepciones"; }
534
535     /*! this text is used in the title page of a LaTeX document. */
536     virtual QCString trGeneratedBy()
537     { return "Generado por"; }
538
539 //////////////////////////////////////////////////////////////////////////
540 // new since 0.49-990307
541 //////////////////////////////////////////////////////////////////////////
542
543     /*! used as the title of page containing all the index of all namespaces. */
544     virtual QCString trNamespaceList()
545     { return "Lista de 'namespaces'"; }
546
547     /*! used as an introduction to the namespace list */
548     virtual QCString trNamespaceListDescription(bool extractAll)
549     {
550       QCString result="Lista de ";
551       if (!extractAll) result+="toda la documentación de ";
552       result+="los 'namespaces', con una breve descripción:";
553       return result;
554     }
555
556     /*! used in the class documentation as a header before the list of all
557      *  friends of a class
558      */
559     virtual QCString trFriends()
560     { return "Amigas"; }
561
562 //////////////////////////////////////////////////////////////////////////
563 // new since 0.49-990405
564 //////////////////////////////////////////////////////////////////////////
565
566     /*! used in the class documentation as a header before the list of all
567      * related classes
568      */
569     virtual QCString trRelatedFunctionDocumentation()
570     { return "Documentación de las funciones relacionadas y clases amigas"; }
571
572 //////////////////////////////////////////////////////////////////////////
573 // new since 0.49-990425
574 //////////////////////////////////////////////////////////////////////////
575
576     /*! used as the title of the HTML page of a class/struct/union */
577     virtual QCString trCompoundReference(const char *clName,
578                                          ClassDef::CompoundType compType,
579                                          bool isTemplate)
580     {
581       QCString result="Referencia de";
582       if (isTemplate) result+=" la plantilla de";
583       switch(compType)
584       {
585         case ClassDef::Class:      result+=" la Clase "; break;
586         case ClassDef::Struct:     result+=" la Estructura "; break;
587         case ClassDef::Union:      result+=" la Unión "; break;
588         case ClassDef::Interface:  result+=" la Interfaz "; break;
589         case ClassDef::Protocol:   result+="l Protocolo "; break;
590         case ClassDef::Category:   result+=" la Categoria "; break;
591         case ClassDef::Exception:  result+=" la Excepción "; break;
592         default: break;
593       }
594       result+=(QCString)clName;
595       return result;
596     }
597
598     /*! used as the title of the HTML page of a file */
599     virtual QCString trFileReference(const char *fileName)
600     {
601       QCString result="Referencia del Archivo ";
602       result+=fileName;
603       return result;
604     }
605
606     /*! used as the title of the HTML page of a namespace */
607     virtual QCString trNamespaceReference(const char *namespaceName)
608     {
609       QCString result="Referencia del Namespace ";
610       result+=namespaceName;
611       return result;
612     }
613
614     virtual QCString trPublicMembers()
615     { return "Métodos públicos"; }
616
617     virtual QCString trPublicSlots()
618     { return "Slots públicos"; }
619
620     virtual QCString trSignals()
621     { return "Señales"; }
622
623     virtual QCString trStaticPublicMembers()
624     { return "Métodos públicos estáticos"; }
625
626     virtual QCString trProtectedMembers()
627     { return "Métodos protegidos"; }
628
629     virtual QCString trProtectedSlots()
630     { return "Slots protegidos"; }
631
632     virtual QCString trStaticProtectedMembers()
633     { return "Métodos protegidos estáticos"; }
634
635     virtual QCString trPrivateMembers()
636     { return "Métodos privados"; }
637
638     virtual QCString trPrivateSlots()
639     { return "Slots privados"; }
640
641     virtual QCString trStaticPrivateMembers()
642     { return "Métodos privados estáticos"; }
643
644     /*! this function is used to produce a comma-separated list of items.
645      *  use generateMarker(i) to indicate where item i should be put.
646      */
647     virtual QCString trWriteList(int numEntries)
648     {
649       QCString result;
650       int i;
651       // the inherits list contain `numEntries' classes
652       for (i=0;i<numEntries;i++)
653       {
654         // use generateMarker to generate placeholders for the class links!
655         result+=generateMarker(i); // generate marker for entry i in the list
656                                    // (order is left to right)
657
658         if (i!=numEntries-1)  // not the last entry, so we need a separator
659         {
660           if (i<numEntries-2) // not the fore last entry
661             result+=", ";
662           else                // the fore last entry
663             result+=" y ";
664         }
665       }
666       return result;
667     }
668
669     /*! used in class documentation to produce a list of base classes,
670      *  if class diagrams are disabled.
671      */
672     virtual QCString trInheritsList(int numEntries)
673     {
674       return "Herencias "+trWriteList(numEntries)+".";
675     }
676
677     /*! used in class documentation to produce a list of super classes,
678      *  if class diagrams are disabled.
679      */
680     virtual QCString trInheritedByList(int numEntries)
681     {
682       return "Heredado por "+trWriteList(numEntries)+".";
683     }
684
685     /*! used in member documentation blocks to produce a list of
686      *  members that are hidden by this one.
687      */
688     virtual QCString trReimplementedFromList(int numEntries)
689     {
690       return "Reimplementado de "+trWriteList(numEntries)+".";
691     }
692
693     /*! used in member documentation blocks to produce a list of
694      *  all member that overwrite the implementation of this member.
695      */
696     virtual QCString trReimplementedInList(int numEntries)
697     {
698       return "Reimplementado en "+trWriteList(numEntries)+".";
699     }
700
701     /*! This is put above each page as a link to all members of namespaces. */
702     virtual QCString trNamespaceMembers()
703     { return "Miembros del Namespace "; }
704
705     /*! This is an introduction to the page with all namespace members */
706     virtual QCString trNamespaceMemberDescription(bool extractAll)
707     {
708       QCString result="Lista de ";
709       if (!extractAll) result+="toda la documentación de ";
710       result+="los miembros del namespace con enlace a ";
711       if (extractAll)
712         result+="los namespace de cada miembro:";
713       else
714         result+="la documentación de los namespaces pertenecientes a:";
715       return result;
716     }
717     /*! This is used in LaTeX as the title of the chapter with the
718      *  index of all namespaces.
719      */
720     virtual QCString trNamespaceIndex()
721     { return "Indice de namespaces"; }
722
723     /*! This is used in LaTeX as the title of the chapter containing
724      *  the documentation of all namespaces.
725      */
726     virtual QCString trNamespaceDocumentation()
727     { return "Documentación de namespaces"; }
728
729 //////////////////////////////////////////////////////////////////////////
730 // new since 0.49-990522
731 //////////////////////////////////////////////////////////////////////////
732
733     /*! This is used in the documentation before the list of all
734      *  namespaces in a file.
735      */
736     virtual QCString trNamespaces()
737     { return "Namespaces"; }
738
739 //////////////////////////////////////////////////////////////////////////
740 // new since 0.49-990728
741 //////////////////////////////////////////////////////////////////////////
742
743     /*! This is put at the bottom of a class documentation page and is
744      *  followed by a list of files that were used to generate the page.
745      */
746     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
747         bool single)
748     { // here s is one of " Class", " Struct" or " Union"
749       // single is true implies a single file
750       QCString result=(QCString)"La documentación para est";
751       switch(compType)
752       {
753         case ClassDef::Class:      result+="a clase"; break;
754         case ClassDef::Struct:     result+="a estructura"; break;
755         case ClassDef::Union:      result+="a unión"; break;
756         case ClassDef::Interface:  result+="e interfaz"; break;
757         case ClassDef::Protocol:   result+="e protocolo"; break;
758         case ClassDef::Category:   result+="a categoría"; break;
759         case ClassDef::Exception:  result+="a excepción"; break;
760         default: break;
761       }
762       result+=" fue generada a partir de";
763       if (single) result+="l siguiente fichero:";
764       else result+=" los siguientes ficheros:";
765       return result;
766     }
767
768 //////////////////////////////////////////////////////////////////////////
769 // new since 0.49-990901
770 //////////////////////////////////////////////////////////////////////////
771
772     /*! This is used as the heading text for the retval command. */
773     virtual QCString trReturnValues()
774     { return "Valores devueltos"; }
775
776     /*! This is in the (quick) index as a link to the main page (index.html)
777      */
778     virtual QCString trMainPage()
779     { return "Página principal"; }
780
781     /*! This is used in references to page that are put in the LaTeX
782      *  documentation. It should be an abbreviation of the word page.
783      */
784     virtual QCString trPageAbbreviation()
785     { return "p."; }
786
787 //////////////////////////////////////////////////////////////////////////
788 // new since 0.49-991003
789 //////////////////////////////////////////////////////////////////////////
790
791     virtual QCString trDefinedAtLineInSourceFile()
792     {
793       return "Definición en la línea @0 del archivo @1.";
794     }
795     virtual QCString trDefinedInSourceFile()
796     {
797       return "Definición en el archivo @0.";
798     }
799
800 //////////////////////////////////////////////////////////////////////////
801 // new since 0.49-991205
802 //////////////////////////////////////////////////////////////////////////
803
804     virtual QCString trDeprecated()
805     {
806     return "Obsoleto";
807     }
808
809 //////////////////////////////////////////////////////////////////////////
810 // new since 1.0.0
811 //////////////////////////////////////////////////////////////////////////
812
813     /*! this text is put before a collaboration diagram */
814     virtual QCString trCollaborationDiagram(const char *clName)
815     {
816       return (QCString)"Diagrama de colaboración para "+clName+":";
817     }
818
819     /*! this text is put before an include dependency graph */
820     virtual QCString trInclDepGraph(const char *fName)
821     {
822       return (QCString)"Dependencia gráfica adjunta para "+fName+":";
823     }
824
825     /*! header that is put before the list of constructor/destructors. */
826     virtual QCString trConstructorDocumentation()
827     {
828       return "Documentación del constructor y destructor";
829     }
830
831     /*! Used in the file documentation to point to the corresponding sources. */
832     virtual QCString trGotoSourceCode()
833     {
834       return "Ir al código fuente de este archivo.";
835     }
836
837     /*! Used in the file sources to point to the corresponding documentation. */
838     virtual QCString trGotoDocumentation()
839     {
840       return "Ir a la documentación de este archivo.";
841     }
842
843     /*! Text for the \\pre command */
844     virtual QCString trPrecondition()
845     {
846       return "Precondición";
847     }
848
849     /*! Text for the \\post command */
850     virtual QCString trPostcondition()
851     {
852       return "Postcondición";
853     }
854
855     /*! Text for the \\invariant command */
856     virtual QCString trInvariant()
857     {
858       return "Invariante";
859     }
860
861     /*! Text shown before a multi-line variable/enum initialization */
862     virtual QCString trInitialValue()
863     {
864       return "Valor inicial:";
865     }
866
867     /*! Text used the source code in the file index */
868     virtual QCString trCode()
869     {
870       return "código";
871     }
872
873     virtual QCString trGraphicalHierarchy()
874     {
875       return "Representación gráfica de la clase";
876     }
877
878     virtual QCString trGotoGraphicalHierarchy()
879     {
880       return "Ir a la representación gráfica de la jerarquía de la clase";
881     }
882
883     virtual QCString trGotoTextualHierarchy()
884     {
885       return "Ir a la jerarquía textual de la clase";
886     }
887
888     virtual QCString trPageIndex()
889     {
890       return "Página indice";
891     }
892
893 //////////////////////////////////////////////////////////////////////////
894 // new since 1.1.0
895 //////////////////////////////////////////////////////////////////////////
896
897     virtual QCString trNote()
898     {
899       return "Nota";
900     }
901
902     virtual QCString trPublicTypes()
903     {
904       return "Tipos públicos";
905     }
906
907     virtual QCString trPublicAttribs()
908     {
909       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
910       {
911         return "Campos de datos";
912       }
913       else
914       {
915         return "Atributos públicos";
916       }
917     }
918
919     virtual QCString trStaticPublicAttribs()
920     {
921       return "Atributos públicos estáticos";
922     }
923
924     virtual QCString trProtectedTypes()
925     {
926       return "Tipos protegidos";
927     }
928
929     virtual QCString trProtectedAttribs()
930     {
931       return "Atributos protegidos";
932     }
933
934     virtual QCString trStaticProtectedAttribs()
935     {
936       return "Atributos protegidos estáticos";
937     }
938
939     virtual QCString trPrivateTypes()
940     {
941       return "Tipos privados";
942     }
943
944     virtual QCString trPrivateAttribs()
945     {
946       return "Atributos privados";
947     }
948
949     virtual QCString trStaticPrivateAttribs()
950     {
951       return "Atributos privados estáticos";
952     }
953
954 //////////////////////////////////////////////////////////////////////////
955 // new since 1.1.3
956 //////////////////////////////////////////////////////////////////////////
957
958     /*! Used as a marker that is put before a \\todo item */
959     virtual QCString trTodo()
960     {
961       return "Tareas pendientes";
962     }
963
964     /*! Used as the header of the todo list */
965     virtual QCString trTodoList()
966     {
967       return "Lista de tareas pendientes";
968     }
969
970 //////////////////////////////////////////////////////////////////////////
971 // new since 1.1.4
972 //////////////////////////////////////////////////////////////////////////
973
974     virtual QCString trReferencedBy()
975     {
976       return "Referenciado por";
977     }
978
979     virtual QCString trRemarks()
980     {
981       return "Comentarios";
982     }
983
984     virtual QCString trAttention()
985     {
986       return "Atención";
987     }
988
989     virtual QCString trInclByDepGraph()
990     {
991       return "Gráfico de los archivos que directa o "
992               "indirectamente incluyen a este archivo:";
993     }
994
995     virtual QCString trSince()
996     {
997       return "Desde";
998     }
999
1000 //////////////////////////////////////////////////////////////////////////
1001 // new since 1.1.5
1002 //////////////////////////////////////////////////////////////////////////
1003
1004     /*! title of the graph legend page */
1005     QCString trLegendTitle()
1006     {
1007       return "Colores y flechas del Gráfico";
1008     }
1009
1010     /*! page explaining how the dot graph's should be interpreted
1011      *  The %A in the text below are to prevent link to classes called "A".
1012      */
1013     virtual QCString trLegendDocs()
1014     {
1015       return
1016         "Esta página explica como interpretar los gráficos que son generados "
1017         "por doxygen.<p>\n"
1018         "Considere el siguiente ejemplo:\n"
1019         "\\code\n"
1020         "/*! Clase invisible por truncamiento */\n"
1021         "class Invisible { };\n\n"
1022         "/*! Clase truncada, relación de herencia escondida */\n"
1023         "class Truncated : public Invisible { };\n\n"
1024         "/* Clase no documentada con comentarios de doxygen */\n"
1025         "class Undocumented { };\n\n"
1026         "/*! Clase que es heredera usando herencia publica */\n"
1027         "class PublicBase : public Truncated { };\n\n"
1028         "/*! Clase plantilla */\n"
1029         "template<class T> class Templ { };\n\n"
1030         "/*! Clase que es heredera usando herencia protegida  */\n"
1031         "class ProtectedBase { };\n\n"
1032         "/*! Clase que es heredera usando herencia privada  */\n"
1033         "class PrivateBase { };\n\n"
1034         "/*! Clase que es usada por la clase heredada */\n"
1035         "class Used { };\n\n"
1036         "/*! Super-Clase que hereda de varias otras clases */\n"
1037         "class Inherited : public PublicBase,\n"
1038         "                  protected ProtectedBase,\n"
1039         "                  private PrivateBase,\n"
1040         "                  public Undocumented,\n"
1041         "                  public Templ<int>\n"
1042         "{\n"
1043         "  private:\n"
1044         "    Used *m_usedClass;\n"
1045         "};\n"
1046         "\\endcode\n"
1047         "Dará como resultado el siguiente gráfico:"
1048         "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1049         "<p>\n"
1050         "Las cajas en el gráfico arriba tienen el siguiente significado:\n"
1051         "</p>\n"
1052         "<ul>\n"
1053         "<li>Una caja llena gris representa la estructura o clase para la cuál"
1054         "se generó el gráfico.\n"
1055         "<li>Una caja con borde negro señala una estructura o clase documentada.\n"
1056         "<li>Una caja con borde griz señala una estructura o clase no documentada.\n"
1057         "<li>una caja con borde rojo señala una estructura o clase documentada"
1058         " de la cuál no toda las relaciones de jerarquía/contenido son "
1059         "mostradas. El gráfico sera truncado si este no calza dentro de los "
1060         "límites especificados."
1061         "</ul>\n"
1062         "<p>\n"
1063         "Las flechas tienen el siguiente significado:\n"
1064         "</p>\n"
1065         "<ul>\n"
1066         "<li>Una flecha azul oscuro es usada para visualizar una relación herencia publica entre dos clases.\n"
1067         "<li>Una flecha verde oscuro es usada para herencia protegida.\n"
1068         "<li>Una flecha rojo oscuro es usada para herencia privada.\n"
1069         "<li>Una flecha segmentada púrpura se usa si la clase es contenida o "
1070         "usada por otra clase. La flecha está etiquetada por la variable "
1071         "con que se accede a la clase o estructura apuntada. \n"
1072         "<li>Una flecha segmentada amarilla indica la relación entre una instancia template y la clase template de la que se ha instanciado."
1073         " La flecha se etiqueta con los parámetros con que se llama al template.\n"
1074         "</ul>\n";
1075     }
1076
1077     /*! text for the link to the legend page */
1078     virtual QCString trLegend()
1079     {
1080       return "significado de colores y flechas";
1081     }
1082
1083 //////////////////////////////////////////////////////////////////////////
1084 // new since 1.2.0
1085 //////////////////////////////////////////////////////////////////////////
1086
1087     /*! Used as a marker that is put before a test item */
1088     virtual QCString trTest()
1089     {
1090       return "Prueba";
1091     }
1092
1093     /*! Used as the header of the test list */
1094     virtual QCString trTestList()
1095     {
1096       return "Lista de pruebas";
1097     }
1098
1099 //////////////////////////////////////////////////////////////////////////
1100 // new since 1.2.2
1101 //////////////////////////////////////////////////////////////////////////
1102
1103     /*! Used as a section header for IDL properties */
1104     virtual QCString trProperties()
1105     {
1106       return "Propiedades";
1107     }
1108
1109     /*! Used as a section header for IDL property documentation */
1110     virtual QCString trPropertyDocumentation()
1111     {
1112       return "Documentación de propiedades";
1113     }
1114
1115 //////////////////////////////////////////////////////////////////////////
1116 // new since 1.2.4
1117 //////////////////////////////////////////////////////////////////////////
1118
1119     /*! Used for Java classes in the summary section of Java packages */
1120     virtual QCString trClasses()
1121     {
1122       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1123       {
1124         return "Estructuras de Datos";
1125       }
1126       else
1127       {
1128         return "Clases";
1129       }
1130     }
1131
1132     /*! Used as the title of a Java package */
1133     virtual QCString trPackage(const char *name)
1134     {
1135       return (QCString)"Paquetes "+name;
1136     }
1137
1138     /*! Title of the package index page */
1139     virtual QCString trPackageList()
1140     {
1141       return "Lista de Paquetes ";
1142     }
1143
1144     /*! The description of the package index page */
1145     virtual QCString trPackageListDescription()
1146     {
1147       return "Aquí van los paquetes con una breve descripción (si etá disponible):";
1148     }
1149
1150     /*! The link name in the Quick links header for each page */
1151     virtual QCString trPackages()
1152     {
1153       return "Paquetes";
1154     }
1155
1156     /*! Text shown before a multi-line define */
1157     virtual QCString trDefineValue()
1158     {
1159       return "Valor:";
1160     }
1161
1162 //////////////////////////////////////////////////////////////////////////
1163 // new since 1.2.5
1164 //////////////////////////////////////////////////////////////////////////
1165
1166     /*! Used as a marker that is put before a \\bug item */
1167     virtual QCString trBug()
1168     {
1169       return "Bug";
1170     }
1171
1172     /*! Used as the header of the bug list */
1173     virtual QCString trBugList()
1174     {
1175       return "Lista de bugs";
1176     }
1177
1178 //////////////////////////////////////////////////////////////////////////
1179 // new since 1.2.6
1180 //////////////////////////////////////////////////////////////////////////
1181
1182     /*! Used as ansicpg for RTF file
1183      *
1184      * The following table shows the correlation of Charset name, Charset Value and
1185      * <pre>
1186      * Codepage number:
1187      * Charset Name       Charset Value(hex)  Codepage number
1188      * ------------------------------------------------------
1189      * DEFAULT_CHARSET           1 (x01)
1190      * SYMBOL_CHARSET            2 (x02)
1191      * OEM_CHARSET             255 (xFF)
1192      * ANSI_CHARSET              0 (x00)            1252
1193      * RUSSIAN_CHARSET         204 (xCC)            1251
1194      * EE_CHARSET              238 (xEE)            1250
1195      * GREEK_CHARSET           161 (xA1)            1253
1196      * TURKISH_CHARSET         162 (xA2)            1254
1197      * BALTIC_CHARSET          186 (xBA)            1257
1198      * HEBREW_CHARSET          177 (xB1)            1255
1199      * ARABIC _CHARSET         178 (xB2)            1256
1200      * SHIFTJIS_CHARSET        128 (x80)             932
1201      * HANGEUL_CHARSET         129 (x81)             949
1202      * GB2313_CHARSET          134 (x86)             936
1203      * CHINESEBIG5_CHARSET     136 (x88)             950
1204      * </pre>
1205      *
1206      */
1207     virtual QCString trRTFansicp()
1208     {
1209       return "1252";
1210     }
1211
1212
1213     /*! Used as ansicpg for RTF fcharset
1214      *  \see trRTFansicp() for a table of possible values.
1215      */
1216     virtual QCString trRTFCharSet()
1217     {
1218       return "0";
1219     }
1220
1221     /*! Used as header RTF general index */
1222     virtual QCString trRTFGeneralIndex()
1223     {
1224       return "Índice";
1225     }
1226
1227     /*! This is used for translation of the word that will possibly
1228      *  be followed by a single name or by a list of names
1229      *  of the category.
1230      */
1231     virtual QCString trClass(bool first_capital, bool singular)
1232     {
1233       QCString result((first_capital ? "Clase" : "clase"));
1234       if (!singular)  result+="s";
1235       return result;
1236     }
1237
1238     /*! This is used for translation of the word that will possibly
1239      *  be followed by a single name or by a list of names
1240      *  of the category.
1241      */
1242     virtual QCString trFile(bool first_capital, bool singular)
1243     {
1244       QCString result((first_capital ? "Archivo" : "archivo"));
1245       if (!singular)  result+="s";
1246       return result;
1247     }
1248
1249     /*! This is used for translation of the word that will possibly
1250      *  be followed by a single name or by a list of names
1251      *  of the category.
1252      */
1253     virtual QCString trNamespace(bool first_capital, bool singular)
1254     {
1255       QCString result((first_capital ? "Namespace" : "namespace"));
1256       if (!singular)  result+="s";
1257       return result;
1258     }
1259
1260     /*! This is used for translation of the word that will possibly
1261      *  be followed by a single name or by a list of names
1262      *  of the category.
1263      */
1264     virtual QCString trGroup(bool first_capital, bool singular)
1265     {
1266       QCString result((first_capital ? "Grupo" : "grupo"));
1267       if (!singular)  result+="s";
1268       return result;
1269     }
1270
1271     /*! This is used for translation of the word that will possibly
1272      *  be followed by a single name or by a list of names
1273      *  of the category.
1274      */
1275     virtual QCString trPage(bool first_capital, bool singular)
1276     {
1277       QCString result((first_capital ? "Página" : "página"));
1278       if (!singular)  result+="s";
1279       return result;
1280     }
1281
1282     /*! This is used for translation of the word that will possibly
1283      *  be followed by a single name or by a list of names
1284      *  of the category.
1285      */
1286     virtual QCString trMember(bool first_capital, bool singular)
1287     {
1288       QCString result((first_capital ? "Miembro" : "miembro"));
1289       if (!singular)  result+="s";
1290       return result;
1291     }
1292
1293     /*! This is used for translation of the word that will possibly
1294      *  be followed by a single name or by a list of names
1295      *  of the category.
1296      */
1297     virtual QCString trGlobal(bool first_capital, bool singular)
1298     {
1299       QCString result((first_capital ? "Global" : "global"));
1300       if (!singular)  result+="es";
1301       return result;
1302     }
1303
1304 //////////////////////////////////////////////////////////////////////////
1305 // new since 1.2.7
1306 //////////////////////////////////////////////////////////////////////////
1307
1308     /*! This text is generated when the \\author command is used and
1309      *  for the author section in man pages. */
1310     virtual QCString trAuthor(bool first_capital, bool singular)
1311     {
1312       QCString result((first_capital ? "Autor" : "autor"));
1313       if (!singular)  result+="es";
1314       return result;
1315     }
1316
1317 //////////////////////////////////////////////////////////////////////////
1318 // new since 1.2.11
1319 //////////////////////////////////////////////////////////////////////////
1320
1321     /*! This text is put before the list of members referenced by a member
1322      */
1323     virtual QCString trReferences()
1324     {
1325       return "Hace referencia a";
1326     }
1327
1328 //////////////////////////////////////////////////////////////////////////
1329 // new since 1.2.13
1330 //////////////////////////////////////////////////////////////////////////
1331
1332     /*! used in member documentation blocks to produce a list of
1333      *  members that are implemented by this one.
1334      */
1335     virtual QCString trImplementedFromList(int numEntries)
1336     {
1337       return "Implementa "+trWriteList(numEntries)+".";
1338     }
1339
1340     /*! used in member documentation blocks to produce a list of
1341      *  all members that implement this abstract member.
1342      */
1343     virtual QCString trImplementedInList(int numEntries)
1344     {
1345       return "Implementado en "+trWriteList(numEntries)+".";
1346     }
1347
1348 //////////////////////////////////////////////////////////////////////////
1349 // new since 1.2.16
1350 //////////////////////////////////////////////////////////////////////////
1351
1352     /*! used in RTF documentation as a heading for the Table
1353      *  of Contents.
1354      */
1355     virtual QCString trRTFTableOfContents()
1356     {
1357       return "Tabla de contenidos";
1358     }
1359
1360 //////////////////////////////////////////////////////////////////////////
1361 // new since 1.2.17
1362 //////////////////////////////////////////////////////////////////////////
1363
1364     /*! Used as the header of the list of item that have been
1365      *  flagged deprecated
1366      */
1367     virtual QCString trDeprecatedList()
1368     {
1369       return "Lista de obsoletos";
1370     }
1371
1372 //////////////////////////////////////////////////////////////////////////
1373 // new since 1.2.18
1374 //////////////////////////////////////////////////////////////////////////
1375
1376     /*! Used as a header for declaration section of the events found in
1377      * a C# program
1378      */
1379     virtual QCString trEvents()
1380     {
1381       return "Eventos";
1382     }
1383
1384     /*! Header used for the documentation section of a class' events. */
1385     virtual QCString trEventDocumentation()
1386     {
1387       return "Documentación de los eventos";
1388     }
1389
1390 //////////////////////////////////////////////////////////////////////////
1391 // new since 1.3
1392 //////////////////////////////////////////////////////////////////////////
1393
1394     /*! Used as a heading for a list of Java class types with package scope.
1395      */
1396     virtual QCString trPackageTypes()
1397     {
1398       return "Tipos del 'package'";
1399     }
1400
1401     /*! Used as a heading for a list of Java class functions with package
1402      * scope.
1403      */
1404     virtual QCString trPackageMembers()
1405     {
1406       return "Funciones del 'package'";
1407     }
1408
1409     /*! Used as a heading for a list of static Java class functions with
1410      *  package scope.
1411      */
1412     virtual QCString trStaticPackageMembers()
1413     {
1414       return "Funciones estáticas del 'package'";
1415     }
1416
1417     /*! Used as a heading for a list of Java class variables with package
1418      * scope.
1419      */
1420     virtual QCString trPackageAttribs()
1421     {
1422       return "Atributos del 'package'";
1423     }
1424
1425     /*! Used as a heading for a list of static Java class variables with
1426      * package scope.
1427      */
1428     virtual QCString trStaticPackageAttribs()
1429     {
1430       return "Atributos Estáticos del 'package'";
1431     }
1432
1433 //////////////////////////////////////////////////////////////////////////
1434 // new since 1.3.1
1435 //////////////////////////////////////////////////////////////////////////
1436
1437     /*! Used in the quick index of a class/file/namespace member list page
1438      *  to link to the unfiltered list of all members.
1439      */
1440     virtual QCString trAll()
1441     {
1442       return "Todo";
1443     }
1444
1445     /*! Put in front of the call graph for a function. */
1446     virtual QCString trCallGraph()
1447     {
1448       return "Gráfico de llamadas para esta función:";
1449     }
1450
1451 //////////////////////////////////////////////////////////////////////////
1452 // new since 1.3.3
1453 //////////////////////////////////////////////////////////////////////////
1454
1455     /*! This string is used as the title for the page listing the search
1456      *  results.
1457      */
1458     virtual QCString trSearchResultsTitle()
1459     {
1460       return "Resultados de la Búsqueda";
1461     }
1462
1463     /*! This string is put just before listing the search results. The
1464      *  text can be different depending on the number of documents found.
1465      *  Inside the text you can put the special marker $num to insert
1466      *  the number representing the actual number of search results.
1467      *  The @a numDocuments parameter can be either 0, 1 or 2, where the
1468      *  value 2 represents 2 or more matches. HTML markup is allowed inside
1469      *  the returned string.
1470      */
1471     virtual QCString trSearchResults(int numDocuments)
1472     {
1473       if (numDocuments==0)
1474       {
1475         return "Disculpe, no se encontraron documentos que coincidan con su búsqueda.";
1476       }
1477       else if (numDocuments==1)
1478       {
1479         return "Se encontró <b>1</b> documento que coincide con su búsqueda.";
1480       }
1481       else
1482       {
1483         return "Se encontraron <b>$num</b> documentos que coinciden con su búsqueda. "
1484                 "Se muestran los mejores resultados primero.";
1485       }
1486     }
1487
1488     /*! This string is put before the list of matched words, for each search
1489      *  result. What follows is the list of words that matched the query.
1490      */
1491     virtual QCString trSearchMatches()
1492     {
1493       return "Coincidencias:";
1494     }
1495
1496 //////////////////////////////////////////////////////////////////////////
1497 // new since 1.3.8
1498 //////////////////////////////////////////////////////////////////////////
1499
1500     /*! This is used in HTML as the title of page with source code for file filename
1501      */
1502     virtual QCString trSourceFile(QCString& filename)
1503     {
1504       return "Fichero Fuente " + filename;
1505     }
1506
1507 //////////////////////////////////////////////////////////////////////////
1508 // new since 1.3.9
1509 //////////////////////////////////////////////////////////////////////////
1510
1511     /*! This is used as the name of the chapter containing the directory
1512      *  hierarchy.
1513      */
1514     virtual QCString trDirIndex()
1515     { return "Jerarquía de directorios"; }
1516
1517     /*! This is used as the name of the chapter containing the documentation
1518      *  of the directories.
1519      */
1520     virtual QCString trDirDocumentation()
1521     { return "Documentación de directorios"; }
1522
1523     /*! This is used as the title of the directory index and also in the
1524      *  Quick links of an HTML page, to link to the directory hierarchy.
1525      */
1526     virtual QCString trDirectories()
1527     { return "Directorios"; }
1528
1529     /*! This returns a sentences that introduces the directory hierarchy.
1530      *  and the fact that it is sorted alphabetically per level
1531      */
1532     virtual QCString trDirDescription()
1533     { return "La jeraquía de este directorio está ordenada"
1534               " alfabéticamente, de manera aproximada:";
1535     }
1536
1537     /*! This returns the title of a directory page. The name of the
1538      *  directory is passed via \a dirName.
1539      */
1540     virtual QCString trDirReference(const char *dirName)
1541     {
1542       QCString result="Referencia del directorio ";
1543       result+=dirName;
1544       return result;
1545     }
1546
1547     /*! This returns the word directory with or without starting capital
1548      *  (\a first_capital) and in sigular or plural form (\a singular).
1549      */
1550     virtual QCString trDir(bool first_capital, bool singular)
1551     {
1552       QCString result((first_capital ? "Directorio" : "directorio"));
1553       if (!singular) result+="s";
1554       return result;
1555     }
1556
1557 //////////////////////////////////////////////////////////////////////////
1558 // new since 1.4.1
1559 //////////////////////////////////////////////////////////////////////////
1560
1561     /*! This text is added to the documentation when the \\overload command
1562      *  is used for a overloaded function.
1563      */
1564     virtual QCString trOverloadText()
1565     {
1566        return "Esta es una función miembro sobrecargada que se "
1567                "suministra por conveniencia. Difiere de la anterior "
1568                "función solamente en los argumentos que acepta.";
1569     }
1570
1571 //////////////////////////////////////////////////////////////////////////
1572 // new since 1.4.6
1573 //////////////////////////////////////////////////////////////////////////
1574
1575     /*! This is used to introduce a caller (or called-by) graph */
1576     virtual QCString trCallerGraph()
1577     {
1578       return "Gráfico de llamadas a esta función:";
1579     }
1580
1581     /*! This is used in the documentation of a file/namespace before the list
1582      *  of documentation blocks for enumeration values
1583      */
1584     virtual QCString trEnumerationValueDocumentation()
1585     { return "Documentación de los valores de la enumeración"; }
1586
1587 //////////////////////////////////////////////////////////////////////////
1588 // new since 1.5.4 (mainly for Fortran)
1589 //////////////////////////////////////////////////////////////////////////
1590     // De parte de Bartomeu:
1591     //    No conozco el Fortran, salvo un par de ejercicios en la universidad
1592     // hace muchos años. Por lo tanto, las traducciones son del inglés
1593     // al español, no de un usuario de Fortran que puede que haya cosas que no
1594     // traduzca o traduzca de otra forma. Que los usuarios de Fortran disculpen
1595     // y espero se animen a mejorar mi traducción.
1596
1597     /*! header that is put before the list of member subprograms (Fortran). */
1598     virtual QCString trMemberFunctionDocumentationFortran()
1599     { return "Documetación de miembros Function/Subroutine"; }
1600
1601     /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1602     virtual QCString trCompoundListFortran()
1603     { return "Lista de tipos de datos"; }
1604
1605     /*! This is put above each page as a link to all members of compounds (Fortran). */
1606     virtual QCString trCompoundMembersFortran()
1607     { return "Etiquetas de datos"; }
1608
1609     /*! This is an introduction to the annotated compound list (Fortran). */
1610     virtual QCString trCompoundListDescriptionFortran()
1611     { return "Aquí están los tipos de datos con una breve descripción:"; }
1612
1613     /*! This is an introduction to the page with all data types (Fortran). */
1614     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1615     {
1616       QCString result="Aquí está una lista de todos ";
1617       result+="los miembros de los tipos de datos ";
1618       if (!extractAll)
1619       {
1620         result+="documentados ";
1621       }
1622       result+="con enlaces a ";
1623       if (!extractAll)
1624       {
1625          result+="la documentación de la estructura de datos para cada miembro";
1626       }
1627       else
1628       {
1629          result+="los tipos de dato a que pertenece:";
1630       }
1631       return result;
1632     }
1633
1634     /*! This is used in LaTeX as the title of the chapter with the
1635      * annotated compound index (Fortran).
1636      */
1637     virtual QCString trCompoundIndexFortran()
1638     { return "Índice de tipos de datos"; }
1639
1640     /*! This is used in LaTeX as the title of the chapter containing
1641      *  the documentation of all data types (Fortran).
1642      */
1643     virtual QCString trTypeDocumentation()
1644     { return "Documentación de tipos de datos"; }
1645
1646     /*! This is used in the documentation of a file as a header before the
1647      *  list of (global) subprograms (Fortran).
1648      */
1649     virtual QCString trSubprograms()
1650     { return "Funciones/Subprogramas"; }
1651
1652     /*! This is used in the documentation of a file/namespace before the list
1653      *  of documentation blocks for subprograms (Fortran)
1654      */
1655     virtual QCString trSubprogramDocumentation()
1656     { return "Documentación de Funciones/Subprogramas"; }
1657
1658     /*! This is used in the documentation of a file/namespace/group before
1659      *  the list of links to documented compounds (Fortran)
1660      */
1661      virtual QCString trDataTypes()
1662     { return "Tipos de datos"; }
1663
1664     /*! used as the title of page containing all the index of all modules (Fortran). */
1665     virtual QCString trModulesList()
1666     { return "Lista de módulos"; }
1667
1668     /*! used as an introduction to the modules list (Fortran) */
1669     virtual QCString trModulesListDescription(bool extractAll)
1670     {
1671       QCString result="Lista de todos los módulos ";
1672       if (!extractAll) result+="documentados ";
1673       result+="con una breve descripción:";
1674       return result;
1675     }
1676
1677     /*! used as the title of the HTML page of a module/type (Fortran) */
1678     virtual QCString trCompoundReferenceFortran(const char *clName,
1679                                     ClassDef::CompoundType compType,
1680                                     bool isTemplate)
1681     {
1682       QCString result="Referencia de";
1683       if (isTemplate) result+=" la plantilla de";
1684       switch(compType)
1685       {
1686         case ClassDef::Class:      result+="l módulo"; break;
1687         case ClassDef::Struct:     result+="l tipo"; break;
1688         case ClassDef::Union:      result+=" la unión"; break;
1689         case ClassDef::Interface:  result+=" la interfaz"; break;
1690         case ClassDef::Protocol:   result+="l protocolo"; break;
1691         case ClassDef::Category:   result+=" la categoría"; break;
1692         case ClassDef::Exception:  result+=" la excepción"; break;
1693         default: break;
1694       }
1695       result+=(QCString)clName;
1696       return result;
1697     }
1698
1699     /*! used as the title of the HTML page of a module (Fortran) */
1700     virtual QCString trModuleReference(const char *namespaceName)
1701     {
1702       QCString result="Referencia módulo ";
1703       result+=namespaceName;
1704       return result;
1705     }
1706
1707     /*! This is put above each page as a link to all members of modules. (Fortran) */
1708     virtual QCString trModulesMembers()
1709     { return "Miembros módulo"; }
1710
1711     /*! This is an introduction to the page with all modules members (Fortran) */
1712     virtual QCString trModulesMemberDescription(bool extractAll)
1713     {
1714       QCString result="Lista de todos los miembros del módulo ";
1715       if (!extractAll) result+="documentados ";
1716       result+="con enlaces ";
1717       if (extractAll)
1718       {
1719         result+="a la documentación del módulo para cada uno:";
1720       }
1721       else
1722       {
1723         result+="al módulo al que pertenecen:";
1724       }
1725       return result;
1726     }
1727
1728     /*! This is used in LaTeX as the title of the chapter with the
1729      *  index of all modules (Fortran).
1730      */
1731     virtual QCString trModulesIndex()
1732     { return "Índice de módulos"; }
1733
1734     /*! This is used for translation of the word that will possibly
1735      *  be followed by a single name or by a list of names
1736      *  of the category.
1737      */
1738     virtual QCString trModule(bool first_capital, bool singular)
1739     {
1740       QCString result((first_capital ? "Módulo" : "módulo"));
1741       if (!singular)  result+="s";
1742       return result;
1743     }
1744
1745     /*! This is put at the bottom of a module documentation page and is
1746      *  followed by a list of files that were used to generate the page.
1747      */
1748     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1749                                                  bool single)
1750     { // here s is one of " Module", " Struct" or " Union"
1751       // single is true implies a single file
1752       QCString result=(QCString)"La documentación para est";
1753       switch(compType)
1754       {
1755         case ClassDef::Class:      result+="e módulo"; break;
1756         case ClassDef::Struct:     result+="e tipo"; break;
1757         case ClassDef::Union:      result+="a unión"; break;
1758         case ClassDef::Interface:  result+="e interfaz"; break;
1759         case ClassDef::Protocol:   result+="e protocolo"; break;
1760         case ClassDef::Category:   result+="a categoría"; break;
1761         case ClassDef::Exception:  result+="a excepción"; break;
1762         default: break;
1763       }
1764       result+=" fue generada de";
1765       if (single) result+="l siguiente fichero:";
1766       else result+=" los siguientes ficheros:";
1767       return result;
1768     }
1769
1770     /*! This is used for translation of the word that will possibly
1771      *  be followed by a single name or by a list of names
1772      *  of the category.
1773      */
1774     virtual QCString trType(bool first_capital, bool singular)
1775     {
1776       QCString result((first_capital ? "Tipo" : "tipo"));
1777       if (!singular)  result+="s";
1778       return result;
1779     }
1780
1781     /*! This is used for translation of the word that will possibly
1782      *  be followed by a single name or by a list of names
1783      *  of the category.
1784      */
1785     virtual QCString trSubprogram(bool first_capital, bool singular)
1786     {
1787       QCString result((first_capital ? "Subprograma" : "subprograma"));
1788       if (!singular)  result+="s";
1789       return result;
1790     }
1791
1792     /*! C# Type Constraint list */
1793     virtual QCString trTypeConstraints()
1794     {
1795       return "Restriciones de tipo";
1796     }
1797
1798 //////////////////////////////////////////////////////////////////////////
1799 // new since 1.6.0 (mainly for the new search engine)
1800 //////////////////////////////////////////////////////////////////////////
1801
1802     /*! directory relation for \a name */
1803     virtual QCString trDirRelation(const char *name)
1804     {
1805       return QCString(name)+" relación";
1806     }
1807
1808     /*! Loading message shown when loading search results */
1809     virtual QCString trLoading()
1810     {
1811       return "Cargando...";
1812     }
1813
1814     /*! Label used for search results in the global namespace */
1815     virtual QCString trGlobalNamespace()
1816     {
1817       return "Namespace global";
1818     }
1819
1820     /*! Message shown while searching */
1821     virtual QCString trSearching()
1822     {
1823       return "Buscando...";
1824     }
1825
1826     /*! Text shown when no search results are found */
1827     virtual QCString trNoMatches()
1828     {
1829       return "Nada coincide";
1830     }
1831
1832 //////////////////////////////////////////////////////////////////////////
1833 // new since 1.6.3 (missing items for the directory pages)
1834 //////////////////////////////////////////////////////////////////////////
1835
1836     /*! when clicking a directory dependency label, a page with a
1837      *  table is shown. The heading for the first column mentions the
1838      *  source file that has a relation to another file.
1839      */
1840     virtual QCString trFileIn(const char *name)
1841     {
1842       return (QCString)"Fichero en "+name;
1843     }
1844
1845     /*! when clicking a directory dependency label, a page with a
1846      *  table is shown. The heading for the second column mentions the
1847      *  destination file that is included.
1848      */
1849     virtual QCString trIncludesFileIn(const char *name)
1850     {
1851       return (QCString)"Incluye ficheros en "+name;
1852     }
1853
1854     /** Compiles a date string.
1855      *  @param year Year in 4 digits
1856      *  @param month Month of the year: 1=January
1857      *  @param day Day of the Month: 1..31
1858      *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1859      *  @param hour Hour of the day: 0..23
1860      *  @param minutes Minutes in the hour: 0..59
1861      *  @param seconds Seconds within the minute: 0..59
1862      *  @param includeTime Include time in the result string?
1863      */
1864     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1865                                 int hour,int minutes,int seconds,
1866                                 bool includeTime)
1867     {
1868       static const char *days[]   = { "Lunes","Martes","Miércoles","Jueves",
1869                                                                           "Viernes","Sábado","Domingo" };
1870       static const char *months[] = { "Enero","Febrero","Marzo","Abril",
1871                                                                           "Mayo","Junio","Julio","Agosto",
1872                                                                           "Septiembre","Octubre","Noviembre","Diciembre" };
1873       QCString sdate;
1874       sdate.sprintf("%s, %d de %s de %d",days[dayOfWeek-1],day,months[month-1],year);
1875       if (includeTime)
1876       {
1877         QCString stime;
1878         stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1879         sdate+=stime;
1880       }
1881       return sdate;
1882     }
1883
1884 //////////////////////////////////////////////////////////////////////////
1885 // new since 1.7.5
1886 //////////////////////////////////////////////////////////////////////////
1887
1888     /*! Header for the page with bibliographic citations */
1889     virtual QCString trCiteReferences()
1890     { return "Referencias bibliográficas"; }
1891
1892     /*! Text for copyright paragraph */
1893     virtual QCString trCopyright()
1894     { return "Copyright"; }
1895
1896     /*! Header for the graph showing the directory dependencies */
1897     virtual QCString trDirDepGraph(const char *name)
1898     { return QCString("Gráfico de dependencias de directorios para ")+name+":"; }
1899
1900 //////////////////////////////////////////////////////////////////////////
1901 // new since 1.8.0
1902 //////////////////////////////////////////////////////////////////////////
1903
1904     /*! Detail level selector shown for hierarchical indices */
1905     virtual QCString trDetailLevel()
1906     { return "detalle nivel"; }
1907
1908     /*! Section header for list of template parameters */
1909     virtual QCString trTemplateParameters()
1910     { return "Parámetros del template"; }
1911
1912     /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1913     virtual QCString trAndMore(const QCString &number)
1914     { return "y "+number+" más..."; }
1915
1916     /*! Used file list for a Java enum */
1917     virtual QCString trEnumGeneratedFromFiles(bool single)
1918     { QCString result = "La documentación para este enum ha sido generada a partir de";
1919       if (single)
1920           result += "l siguiente fichero:";
1921       else
1922           result += " los siguientes ficheros:";
1923       return result;
1924     }
1925
1926     /*! Header of a Java enum page (Java enums are represented as classes). */
1927     virtual QCString trEnumReference(const char *name)
1928     { return QCString("Referencia del enum ") + QCString(name); }
1929
1930     /*! Used for a section containing inherited members */
1931     virtual QCString trInheritedFrom(const char *members,const char *what)
1932     { return QCString(members)+" heredados desde "+what; }
1933
1934     /*! Header of the sections with inherited members specific for the
1935      *  base class(es)
1936      */
1937     virtual QCString trAdditionalInheritedMembers()
1938     { return "Otros miembros heredados"; }
1939
1940 //////////////////////////////////////////////////////////////////////////
1941 // new since 1.8.2
1942 //////////////////////////////////////////////////////////////////////////
1943
1944     /*! Used as a tooltip for the toggle button that appears in the
1945      *  navigation tree in the HTML output when GENERATE_TREEVIEW is
1946      *  enabled. This tooltip explains the meaning of the button.
1947      */
1948     virtual QCString trPanelSynchronisationTooltip(bool enable)
1949     {
1950       QCString opt = enable ? "habilitar" : "deshabilitar";
1951       return "click en "+opt+" sincronización";
1952     }
1953
1954     /*! Used in a method of an Objective-C class that is declared in a
1955      *  a category. Note that the @1 marker is required and is replaced
1956      *  by a link.
1957      */
1958     virtual QCString trProvidedByCategory()
1959     {
1960       return "Proporcionado por categoría @0.";
1961     }
1962
1963     /*! Used in a method of an Objective-C category that extends a class.
1964      *  Note that the @1 marker is required and is replaced by a link to
1965      *  the class method.
1966      */
1967     virtual QCString trExtendsClass()
1968     {
1969       return "Extiende la clase @0.";
1970     }
1971
1972     /*! Used as the header of a list of class methods in Objective-C.
1973      *  These are similar to static public member functions in C++.
1974      */
1975     virtual QCString trClassMethods()
1976     {
1977       return "Métodos de la clase";
1978     }
1979
1980     /*! Used as the header of a list of instance methods in Objective-C.
1981      *  These are similar to public member functions in C++.
1982      */
1983     virtual QCString trInstanceMethods()
1984     {
1985       return "Métodos de instancia";
1986     }
1987
1988     /*! Used as the header of the member functions of an Objective-C class.
1989      */
1990     virtual QCString trMethodDocumentation()
1991     {
1992       return "Método de documentación";
1993     }
1994
1995     /*! Used as the title of the design overview picture created for the
1996      *  VHDL output.
1997      */
1998     virtual QCString trDesignOverview()
1999     {
2000       return "Diseño información general";
2001     }
2002
2003 //////////////////////////////////////////////////////////////////////////
2004 // new since 1.8.4
2005 //////////////////////////////////////////////////////////////////////////
2006
2007     /** old style UNO IDL services: implemented interfaces */
2008     virtual QCString trInterfaces()
2009     { return "Interface exportada"; }
2010
2011     /** old style UNO IDL services: inherited services */
2012     virtual QCString trServices()
2013     { return "Servicios incluidos"; }
2014
2015     /** UNO IDL constant groups */
2016     virtual QCString trConstantGroups()
2017     { return "Grupos constantes"; }
2018
2019     /** UNO IDL constant groups */
2020     virtual QCString trConstantGroupReference(const char *namespaceName)
2021     {
2022       QCString result=namespaceName;
2023       result+=" referencia de grupos constantes";
2024       return result;
2025     }
2026     /** UNO IDL service page title */
2027     virtual QCString trServiceReference(const char *sName)
2028     {
2029       QCString result=(QCString)sName;
2030       result+=" Referencia servicio";
2031       return result;
2032     }
2033     /** UNO IDL singleton page title */
2034     virtual QCString trSingletonReference(const char *sName)
2035     {
2036       QCString result=(QCString)sName;
2037       result+=" referencia Singleton";
2038       return result;
2039     }
2040     /** UNO IDL service page */
2041     virtual QCString trServiceGeneratedFromFiles(bool single)
2042     {
2043       // single is true implies a single file
2044       QCString result=(QCString)"La documentacion para este servicio "
2045                                 "se ha generado desde ";
2046       if (single) result+="el siguiente fichero:"; else result+="los siguientes ficheros:";
2047       return result;
2048     }
2049     /** UNO IDL singleton page */
2050     virtual QCString trSingletonGeneratedFromFiles(bool single)
2051     {
2052       // single is true implies a single file
2053       QCString result=(QCString)"La documentación para este singleton "
2054                                 "se ha generado desde ";
2055       if (single) result+="el siguiente fichero:"; else result+="los siguientes ficheros:";
2056       return result;
2057     }
2058
2059 //////////////////////////////////////////////////////////////////////////
2060
2061 };
2062
2063 #endif