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