Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/translator_es.h

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

Archive Download this file

Revision: 1322