diff options
Diffstat (limited to 'src/translator_es.h')
-rw-r--r-- | src/translator_es.h | 914 |
1 files changed, 687 insertions, 227 deletions
diff --git a/src/translator_es.h b/src/translator_es.h index 66f4afb..43e8630 100644 --- a/src/translator_es.h +++ b/src/translator_es.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id$ + * * * Copyright (C) 1997-2000 by Dimitri van Heesch. * @@ -14,19 +14,11 @@ * */ - /** - * translator_es.h modified by Francisco Oltra - * Some notes: - * - Computer related use of the spanish language differs from - * country to country, so some words might not sound so good - * to some people (but it does to me, *grin* ). A good example - * is the spanish for File: i use "Archivo", others may prefer - * "Fichero". - * - Some words were not translated for understandability, since - * we are talking about a computer program here! - * - Some of the functions are called in some order coherent with - * the english grammar, this results in some ugly constructs. + * translator_es.h modified by Lucas Cruz + * Some notes: + * - I only use upper case in the first letter of the title, because + * the aspect of the document is more pleasing to the eye. */ #ifndef TRANSLATOR_ES_H @@ -37,303 +29,561 @@ class TranslatorSpanish : public Translator { public: - QCString latexBabelPackage() - { return "spanish"; } - QCString trRelatedFunctions() - { return "Funciones Relacionadas"; } - QCString trRelatedSubscript() - { return "(Note que estos no son funciones miembro.)"; } - QCString trDetailedDescription() - { return "Descripción Detallada"; } - QCString trMemberTypedefDocumentation() - { return "Documentación de Miembros Typedef"; } - QCString trMemberEnumerationDocumentation() - { return "Documentación de Miembros de Enumeración"; } - QCString trEnumerationValueDocumentation() - { return "Documentación de los Valores de Enumeración"; } - QCString trMemberFunctionDocumentation() - { return "Documentación de Funciones Miembro"; } - QCString trMemberDataDocumentation() - { return "Documentación de Datos Miembro"; } - QCString trGeneratedFrom(const char *s,bool single) + //-------------------------------------------------------------------- + // NOTICE: + // the following functions are now obsolete: these are no longer used and + // will disappear in future versions. You do not have to translate them! + virtual QCString trInherits() + { return "Inherits"; } + virtual QCString trAnd() + { return "y"; } + virtual QCString trInheritedBy() + { return "Inherited By"; } + virtual QCString trReference() + { return "Referencia"; } + virtual QCString trReimplementedFrom() + { return "Reimplementado de"; } + virtual QCString trReimplementedIn() + { return "Reimplementado en"; } + virtual QCString trIncludeFile() + { return "Include File"; } + virtual QCString trGeneratedFrom(const char *s,bool single) { - QCString result=(QCString)"La documentación para esta"+s+ - " fue generada del siguiente archivo"; - if (single) result+=":"; else result+="s:"; + QCString result=(QCString)"The documentation for this"+s+ + " was generated from the following file"; + if (single) result+=":"; else result+="s:"; return result; } - QCString trMore() + // end of obsolete functions + //-------------------------------------------------------------------- + + /*! returns the name of the package that is included by LaTeX */ + virtual QCString latexBabelPackage() + { return ""; } + + /*! used in the compound documentation before a list of related functions. */ + virtual QCString trRelatedFunctions() + { return "Funciones Relacionadas"; } + + /*! subscript for the related functions. */ + virtual QCString trRelatedSubscript() + { return "(Observa que estas no son funciones miembro.)"; } + + /*! header that is put before the detailed description of files, classes and namespaces. */ + virtual QCString trDetailedDescription() + { return "Descripción Detallada"; } + + /*! header that is put before the list of typedefs. */ + virtual QCString trMemberTypedefDocumentation() + { return "Documentación de los 'Tipos Definidos' Miembros de la Clase"; } + + /*! header that is put before the list of enumerations. */ + virtual QCString trMemberEnumerationDocumentation() + { return "Documentación de las Enumeraciones Miembro de la Clase"; } + + /*! header that is put before the list of member functions. */ + virtual QCString trMemberFunctionDocumentation() + { return "Documentación de las Funciones Miembro"; } + + /*! header that is put before the list of member attributes. */ + virtual QCString trMemberDataDocumentation() + { return "Documentación de los Datos Miembro"; } + + /*! this is the text of a link put after brief descriptions. */ + virtual QCString trMore() { return "Más..."; } - QCString trListOfAllMembers() + + /*! put in the class documentation */ + virtual QCString trListOfAllMembers() { return "Lista de todos los miembros."; } - QCString trMemberList() - { return "Lista de Miembros"; } - QCString trThisIsTheListOfAllMembers() + + /*! used as the title of the "list of all members" page of a class */ + virtual QCString trMemberList() + { return "Lista de los Miembros"; } + + /*! this is the first part of a sentence that is followed by a class name */ + virtual QCString trThisIsTheListOfAllMembers() { return "Esta es la lista completa de miembros para "; } - QCString trIncludingInheritedMembers() + + /*! this is the remainder of the sentence after the class name */ + virtual QCString trIncludingInheritedMembers() { return ", incluyendo todos los miembros heredados."; } - QCString trGeneratedAutomatically(const char *s) - { QCString result="Generado automáticamente por Doxygen"; + + /*! this is put at the author sections at the bottom of man pages. + * parameter s is name of the project name. + */ + virtual QCString trGeneratedAutomatically(const char *s) + { QCString result="Generado automáticamente por Doxygen"; if (s) result+=(QCString)" para "+s; - result+=" desde el código fuente."; + result+=" del código fuente."; return result; } - QCString trEnumName() - { return "nombre de enum"; } - QCString trEnumValue() - { return "valor de enum"; } - QCString trDefinedIn() + + /*! put after an enum name in the list of all members */ + virtual QCString trEnumName() + { return "nombre de la enumeración"; } + + /*! put after an enum value in the list of all members */ + virtual QCString trEnumValue() + { return "valor enumerado"; } + + /*! put after an undocumented member in the list of all members */ + virtual QCString trDefinedIn() { return "definido en"; } - QCString trVerbatimText(const char *f) - { return (QCString)"Esto es texto verbatim del archivo incluído "+f+"."; } - QCString trModules() - { return "Modulos"; } - QCString trClassHierarchy() - { return "Jerarquía de la clase"; } - QCString trCompoundList() - { return "Lista de Tipos Compuestos"; } - QCString trFileList() + + /*! put as in introduction in the verbatim header file of a class. + * parameter f is the name of the include file. + */ + virtual QCString trVerbatimText(const char *f) + { return (QCString)"Este es el texto al pie de la letra del "+f+" archivo adjunto."; } + + // quick reference sections + + /*! This is put above each page as a link to the list of all groups of + * compounds or files (see the \group command). + */ + virtual QCString trModules() + { return "Módulos"; } + + /*! This is put above each page as a link to the class hierarchy */ + virtual QCString trClassHierarchy() + { return "Jerarquía de la Clase"; } + + /*! This is put above each page as a link to the list of annotated classes */ + virtual QCString trCompoundList() + { return "Lista de Componentes"; } + + /*! This is put above each page as a link to the list of documented files */ + virtual QCString trFileList() { return "Lista de Archivos"; } - QCString trHeaderFiles() - { return "Archivos de Cabecera"; } - QCString trCompoundMembers() - { return "Miembros de Compuestos"; } - QCString trFileMembers() - { return "Miembros de los Archivos"; } - QCString trRelatedPages() + + /*! This is put above each page as a link to the list of all verbatim headers */ + virtual QCString trHeaderFiles() + { return "Archivos Cabecera"; } + + /*! This is put above each page as a link to all members of compounds. */ + virtual QCString trCompoundMembers() + { return "Miembros de las Clases"; } + + /*! This is put above each page as a link to all members of files. */ + virtual QCString trFileMembers() + { return "Archivos de los Miembros"; } + + /*! This is put above each page as a link to all related pages. */ + virtual QCString trRelatedPages() { return "Páginas Relacionadas"; } - QCString trExamples() + + /*! This is put above each page as a link to all examples. */ + virtual QCString trExamples() { return "Ejemplos"; } - QCString trSearch() + + /*! This is put above each page as a link to the search engine. */ + virtual QCString trSearch() { return "Buscar"; } - QCString trClassHierarchyDescription() - { return "Esta lista de herencia está ordenada alfabéticamente, " - "pero no completamente:"; + + /*! This is an introduction to the class hierarchy. */ + virtual QCString trClassHierarchyDescription() + { return "Esta lista de herencias esta ordenada rigurosamente, " + "pero no completa, por orden alfabético:"; } - QCString trFileListDescription(bool extractAll) + + /*! This is an introduction to the list with all files. */ + virtual QCString trFileListDescription(bool extractAll) { - QCString result="Esta es una lista de todos "; - result+="los archivos "; - if (!extractAll) result+="documentados "; - result+="con breves descripciones:"; + QCString result="Lista de todos los archivos "; + if (!extractAll) result+="documentados y"; + result+=" con descripciones breves:"; return result; } - QCString trCompoundListDescription() - { return "Aquí estan las clases, estructuras y " - "uniones con descripciones breves:"; + + /*! This is an introduction to the annotated compound list. */ + virtual QCString trCompoundListDescription() + { return "Lista de las clases, estructuras, " + "uniones e interfaces con una breve descripción:"; } - QCString trCompoundMembersDescription(bool extractAll) + + /*! This is an introduction to the page with all class members. */ + virtual QCString trCompoundMembersDescription(bool extractAll) { - QCString result="Esta es una lista de todos "; - result+="miembros de clases "; - if (!extractAll) result+="documentados "; - result+="con enlaces a "; - if (extractAll) result+="la documentación de clase para cada miembro:"; - else result+="las clases a que pertenecen:"; + QCString result="Lista de"; + if (!extractAll) result+=" toda la documentación de"; + result+=" los miembros de la clase con enlaces a "; + if (extractAll) + result+=" la documentación de cada clase:"; + else + result+="la clase de la que forman parte:"; return result; } - QCString trFileMembersDescription(bool extractAll) + + /*! This is an introduction to the page with all file members. */ + virtual QCString trFileMembersDescription(bool extractAll) { - QCString result="Esta es una lista de todos los miembros de los archivos "; - if (!extractAll) result+="documentados "; - result+="con enlaces a "; - if (extractAll) result+="la documentación de archivo para cada miembro:"; - else result+="los archivos a que pertenecen:"; + QCString result="Lista de "; + if (!extractAll) result+="toda la documentación de "; + result+="los miembros con enlaces a "; + if (extractAll) + result+="los documentos de cada archivo a los que pertenecen:"; + else + result+="los archivos de los que forman parte:"; return result; } - QCString trHeaderFilesDescription() - { return "Aquí estan los archivos de cabecera que forman el API:"; } - QCString trExamplesDescription() - { return "Esta es la lista de todos los ejemplos:"; } - QCString trRelatedPagesDescription() - { return "Esta es una lista de todos las páginas con documentación relacionada:"; } - QCString trModulesDescription() - { return "Esta es una lista con todos los modulos:"; } - QCString trNoDescriptionAvailable() - { return "No existe descripción disponible"; } - - QCString trDocumentation() + + /*! This is an introduction to the page with the list of all header files. */ + virtual QCString trHeaderFilesDescription() + { return "Lista de los archivos cabecera que crean el API:"; } + + /*! This is an introduction to the page with the list of all examples */ + virtual QCString trExamplesDescription() + { return "Lista de todos los ejemplos:"; } + + /*! This is an introduction to the page with the list of related pages */ + virtual QCString trRelatedPagesDescription() + { return "Lista de toda la documentación relacionada:"; } + + /*! This is an introduction to the page with the list of class/file groups */ + virtual QCString trModulesDescription() + { return "Lista de todos los módulos:"; } + + /*! This sentences is used in the annotated class/file lists if no brief + * description is given. + */ + virtual QCString trNoDescriptionAvailable() + { return "Descripción no disponible"; } + + // index titles (the project name is prepended for these) + + + /*! This is used in HTML as the title of index.html. */ + virtual QCString trDocumentation() { return "Documentación"; } - QCString trModuleIndex() - { return "Índice de Modulos"; } - QCString trHierarchicalIndex() - { return "Índice Jerárquico"; } - QCString trCompoundIndex() - { return "Índice de Tipos Compuestos"; } - QCString trFileIndex() - { return "Índice de Archivos"; } - QCString trModuleDocumentation() - { return "Documentación de los Modulos"; } - QCString trClassDocumentation() - { return "Documentación de las clases"; } - QCString trFileDocumentation() - { return "Documentación de los Archivos"; } - QCString trExampleDocumentation() - { return "Documentación de los Ejemplos"; } - QCString trPageDocumentation() - { return "Documentación de las Páginas Relacionadas"; } - QCString trReferenceManual() - { return "Manual de Referencia"; } - QCString trDefines() + /*! This is used in LaTeX as the title of the chapter with the + * index of all groups. + */ + virtual QCString trModuleIndex() + { return "Indice de Módulos"; } + + /*! This is used in LaTeX as the title of the chapter with the + * class hierarchy. + */ + virtual QCString trHierarchicalIndex() + { return "Indice Jerárquico"; } + + /*! This is used in LaTeX as the title of the chapter with the + * annotated compound index. + */ + virtual QCString trCompoundIndex() + { return "Indice de Clases"; } + + /*! This is used in LaTeX as the title of the chapter with the + * list of all files. + */ + virtual QCString trFileIndex() + { return "Indice de Archivos"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all groups. + */ + virtual QCString trModuleDocumentation() + { return "Documentación de Módulos"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all classes, structs and unions. + */ + virtual QCString trClassDocumentation() + { return "Documentación de Clasee"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all files. + */ + virtual QCString trFileDocumentation() + { return "Documentación de Archivos"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all examples. + */ + virtual QCString trExampleDocumentation() + { return "Documentación de Ejemplos"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all related pages. + */ + virtual QCString trPageDocumentation() + { return "Documentación de Páginas"; } + + /*! This is used in LaTeX as the title of the document */ + virtual QCString trReferenceManual() + { return "Manual de Referencia"; } + + /*! This is used in the documentation of a file as a header before the + * list of defines + */ + virtual QCString trDefines() { return "Definiciones"; } - QCString trFuncProtos() - { return "Prototipo de Funciones"; } - QCString trTypedefs() - { return "Typedefs"; } - QCString trEnumerations() + + /*! This is used in the documentation of a file as a header before the + * list of function prototypes + */ + virtual QCString trFuncProtos() + { return "Funciones Prototipo"; } + + /*! This is used in the documentation of a file as a header before the + * list of typedefs + */ + virtual QCString trTypedefs() + { return "Tipos Definidos"; } + + /*! This is used in the documentation of a file as a header before the + * list of enumerations + */ + virtual QCString trEnumerations() { return "Enumeraciones"; } - QCString trFunctions() + + /*! This is used in the documentation of a file as a header before the + * list of (global) functions + */ + virtual QCString trFunctions() { return "Funciones"; } - QCString trVariables() + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + virtual QCString trVariables() { return "Variables"; } - QCString trEnumerationValues() - { return "Valores de Enumeraciones"; } - QCString trAuthor() + + /*! This is used in the documentation of a file as a header before the + * list of (global) variables + */ + virtual QCString trEnumerationValues() + { return "Valores de la enumeración"; } + + /*! This is used in man pages as the author section. */ + virtual QCString trAuthor() { return "Autor"; } - QCString trDefineDocumentation() + + /*! This is used in the documentation of a file before the list of + * documentation blocks for defines + */ + virtual QCString trDefineDocumentation() { return "Documentación de las Definiciones"; } - QCString trFunctionPrototypeDocumentation() - { return "Documentación de los Prototipos de Funciones"; } - QCString trTypedefDocumentation() - { return "Documentación de Typedefs"; } - QCString trEnumerationTypeDocumentation() - { return "Documentación de Enumeración de tipos"; } - QCString trFunctionDocumentation() - { return "Documentación de Funciones"; } - QCString trVariableDocumentation() - { return "Documentación de Variables"; } - QCString trCompounds() - { return "Tipos Compuestos"; } - QCString trFiles() + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for function prototypes + */ + virtual QCString trFunctionPrototypeDocumentation() + { return "Documentación de las funciones prototipo"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for typedefs + */ + virtual QCString trTypedefDocumentation() + { return "Documentación de los Tipos Definidos"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration types + */ + virtual QCString trEnumerationTypeDocumentation() + { return "Documentación de las Enumeraciones"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration values + */ + virtual QCString trEnumerationValueDocumentation() + { return "Documentación de los Valores de la Enumeración"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for functions + */ + virtual QCString trFunctionDocumentation() + { return "Documentación de las Funciones"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for variables + */ + virtual QCString trVariableDocumentation() + { return "Documentación de las Variables"; } + + /*! This is used in the documentation of a file/namespace/group before + * the list of links to documented compounds + */ + virtual QCString trCompounds() + { return "Clases"; } + + /*! This is used in the documentation of a group before the list of + * links to documented files + */ + virtual QCString trFiles() { return "Archivos"; } - QCString trGeneratedAt(const char *date,const char *projName) + + /*! This is used in the standard footer of each page and indicates when + * the page was generated + */ + virtual QCString trGeneratedAt(const char *date,const char *projName) { QCString result=(QCString)"Generado el "+date; if (projName) result+=(QCString)" para "+projName; result+=(QCString)" por"; return result; } - QCString trWrittenBy() + /*! This is part of the sentence used in the standard footer of each page. + */ + virtual QCString trWrittenBy() { return "escrito por"; } - QCString trClassDiagram(const char *clName) + + /*! this text is put before a class diagram */ + virtual QCString trClassDiagram(const char *clName) { - return (QCString)"Diagrama de clases para "+clName; + return (QCString)"Diagrama de herencias de "+clName; } + + /*! this text is generated when the \internal command is used. */ + virtual QCString trForInternalUseOnly() + { return "Para uso interno exclusivamente."; } - QCString trForInternalUseOnly() - { return "Para uso interno solamente."; } - QCString trReimplementedForInternalReasons() - { return "Reimplementado por razones internas; el API no se ve afectado."; - } - QCString trWarning() + /*! this text is generated when the \reimp command is used. */ + virtual QCString trReimplementedForInternalReasons() + { return "Reimplementado por razones internas; el API no se ve afectado."; } + + /*! this text is generated when the \warning command is used. */ + virtual QCString trWarning() { return "Atención"; } - QCString trBugsAndLimitations() - { return "Bugs y Limitaciones"; } - QCString trVersion() + + /*! this text is generated when the \bug command is used. */ + virtual QCString trBugsAndLimitations() + { return "Bugs y limitaciones"; } + + /*! this text is generated when the \version command is used. */ + virtual QCString trVersion() { return "Versión"; } - QCString trDate() + + /*! this text is generated when the \date command is used. */ + virtual QCString trDate() { return "Fecha"; } - QCString trAuthors() + + /*! this text is generated when the \author command is used. */ + virtual QCString trAuthors() { return "Autor(es)"; } - QCString trReturns() + + /*! this text is generated when the \return command is used. */ + virtual QCString trReturns() { return "Devuelve"; } - QCString trSeeAlso() + + /*! this text is generated when the \sa command is used. */ + virtual QCString trSeeAlso() { return "Ver también"; } - QCString trParameters() + + /*! this text is generated when the \param command is used. */ + virtual QCString trParameters() { return "Parámetros"; } - QCString trExceptions() + + /*! this text is generated when the \exception command is used. */ + virtual QCString trExceptions() { return "Excepciones"; } - QCString trGeneratedBy() - { return "Generado por"; } -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 -////////////////////////////////////////////////////////////////////////// + /*! this text is used in the title page of a LaTeX document. */ + virtual QCString trGeneratedBy() + { return "Generado por"; } + + // new since 0.49-990307 - QCString trNamespaceList() - { return "Lista de Namespaces"; } - QCString trNamespaceListDescription(bool extractAll) + /*! used as the title of page containing all the index of all namespaces. */ + virtual QCString trNamespaceList() + { return "Lista de Namespace"; } + + /*! used as an introduction to the namespace list */ + virtual QCString trNamespaceListDescription(bool extractAll) { - QCString result="Esta es una lista de los namespaces "; - if (!extractAll) result+="documentados "; - result+="con descripciones breves:"; + QCString result="Lista de "; + if (!extractAll) result+="toda la documentación de "; + result+="los namespaces con una breve descripción:"; return result; } - QCString trFriends() - { return "Clases Amigas"; } + /*! used in the class documentation as a header before the list of all + * friends of a class + */ + virtual QCString trFriends() + { return "Amigas"; } + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - QCString trRelatedFunctionDocumentation() - { return "Documentación de Clases Amigas y Funciones Relacionadas"; } + /*! used in the class documentation as a header before the list of all + * related classes + */ + virtual QCString trRelatedFunctionDocumentation() + { return "Documentación de las Funciones Relacionadas y Clases Amigas"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// + /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType) - // used as the title of the HTML page of a class/struct/union { QCString result=(QCString)clName+" "; switch(compType) { - case ClassDef::Class: result+=" Clase"; break; - case ClassDef::Struct: result+=" Estructura"; break; - case ClassDef::Union: result+=" Unión"; break; - case ClassDef::Interface: result+=" Interface"; break; - case ClassDef::Exception: result+=" Exception"; break; + case ClassDef::Class: result+=" Clase"; break; + case ClassDef::Struct: result+=" Estructura"; break; + case ClassDef::Union: result+=" Unión"; break; + case ClassDef::Interface: result+=" Interfaz"; break; + case ClassDef::Exception: result+=" Excepción"; break; } result+=" Referencia"; return result; } + + /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) - // used as the title of the HTML page of a file { QCString result=fileName; - result+=" Referencia de Archivos"; + result+=" Archivo Referencia"; return result; } + + /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) - // used as the title of the HTML page of a namespace { QCString result=namespaceName; - result+=" Referencia de Namespace"; + result+=" Namespace Referencia"; return result; } - // these are for the member sections of a class, struct or union + /*! \mgroup Class sections + * these are for the member sections of a class, struct or union + */ virtual QCString trPublicMembers() - { return "Miembros Públicos"; } + { return "Métodos Públicos"; } virtual QCString trPublicSlots() { return "Slots Públicos"; } virtual QCString trSignals() { return "Señales"; } virtual QCString trStaticPublicMembers() - { return "Miembros Estáticos Públicos"; } + { return "Métodos Públicos Estáticos"; } virtual QCString trProtectedMembers() - { return "Miembros Protegidos"; } + { return "Métodos Protegidos"; } virtual QCString trProtectedSlots() { return "Slots Protegidos"; } virtual QCString trStaticProtectedMembers() - { return "Miembros Protegidos Estáticos"; } + { return "Métodos Protegidos Estáticos"; } virtual QCString trPrivateMembers() - { return "Miembros Privados"; } + { return "Métodos Privados"; } virtual QCString trPrivateSlots() { return "Slots Privados"; } virtual QCString trStaticPrivateMembers() - { return "Miembros Estáticos Privados"; } - // end of member sections + { return "Métodos Privados Estáticos"; } + /*! \endmgroup */ + /*! this function is used to produce a comma-separated list of items. + * use generateMarker(i) to indicate where item i should be put. + */ virtual QCString trWriteList(int numEntries) { - // this function is used to produce a comma-separated list of items. - // use generateMarker(i) to indicate where item i should be put. QCString result; int i; // the inherits list contain `numEntries' classes @@ -348,60 +598,270 @@ class TranslatorSpanish : public Translator if (i<numEntries-2) // not the fore last entry result+=", "; else // the fore last entry - result+=" y "; + result+=", and "; } } return result; } + /*! used in class documentation to produce a list of base classes, + * if class diagrams are disabled. + */ virtual QCString trInheritsList(int numEntries) - // used in class documentation to produce a list of base classes, - // if class diagrams are disabled. { - return "Hereda a "+trWriteList(numEntries)+"."; + return "Herencias "+trWriteList(numEntries)+"."; } + + /*! used in class documentation to produce a list of super classes, + * if class diagrams are disabled. + */ virtual QCString trInheritedByList(int numEntries) - // used in class documentation to produce a list of super classes, - // if class diagrams are disabled. { return "Heredado por "+trWriteList(numEntries)+"."; } + + /*! used in member documentation blocks to produce a list of + * members that are hidden by this one. + */ virtual QCString trReimplementedFromList(int numEntries) - // used in member documentation blocks to produce a list of - // members that are hidden by this one. { - return "Reimplementado por "+trWriteList(numEntries)+"."; + return "Reimplementado de "+trWriteList(numEntries)+"."; } + + /*! used in member documentation blocks to produce a list of + * all member that overwrite the implementation of this member. + */ virtual QCString trReimplementedInList(int numEntries) { - // used in member documentation blocks to produce a list of - // all member that overwrite the implementation of this member. return "Reimplementado en "+trWriteList(numEntries)+"."; } + /*! This is put above each page as a link to all members of namespaces. */ virtual QCString trNamespaceMembers() - // This is put above each page as a link to all members of namespaces. - { return "Miembros del Namespace"; } + { return "Namespace Miembros"; } + + /*! This is an introduction to the page with all namespace members */ virtual QCString trNamespaceMemberDescription(bool extractAll) - // This is an introduction to the page with all namespace members { - QCString result="Esta es una lista de todos los miembros de namespace "; - if (!extractAll) result+="documentados "; - result+="con enlaces a "; + QCString result="Lista de "; + if (!extractAll) result+="toda la documentación de "; + result+="los namespace miembros con enlace a "; if (extractAll) - result+="a la documentación de namespaces para cada miembro:"; + result+="los namespace de cada miembro:"; else - result+="los namespaces a los que pertenecen:"; + result+="la documentación de los namespaces pertenecientes a:"; return result; } + /*! This is used in LaTeX as the title of the chapter with the + * index of all namespaces. + */ virtual QCString trNamespaceIndex() - // This is used in LaTeX as the title of the chapter with the - // index of all namespaces. - { return "Índice de Namespaces"; } + { return "Indice de Namespace"; } + + /*! This is used in LaTeX as the title of the chapter containing + * the documentation of all namespaces. + */ virtual QCString trNamespaceDocumentation() - // This is used in LaTeX as the title of the chapter containing - // the documentation of all namespaces. - { return "Documentación de Namespaces"; } + { return "Documentación de Namespace"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990522 +////////////////////////////////////////////////////////////////////////// + + /*! This is used in the documentation before the list of all + * namespaces in a file. + */ + virtual QCString trNamespaces() + { return "Namespaces"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990728 +////////////////////////////////////////////////////////////////////////// + + /*! This is put at the bottom of a class documentation page and is + * followed by a list of files that were used to generate the page. + */ + virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, + bool single) + { // here s is one of " Class", " Struct" or " Union" + // single is true implies a single file + QCString result=(QCString)"La documentación para esta "; + switch(compType) + { + case ClassDef::Class: result+="clase"; break; + case ClassDef::Struct: result+="estructura"; break; + case ClassDef::Union: result+="unión"; break; + case ClassDef::Interface: result+="interfaz"; break; + case ClassDef::Exception: result+="excepción"; break; + } + result+=" fué generada a partir "; + if (single) result+="del siguiente archivo:"; + else result+="de los siguientes archivos:"; + return result; + } + + /*! This is in the (quick) index as a link to the alphabetical compound + * list. + */ + virtual QCString trAlphabeticalList() + { return "Lista Alfabética"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990901 +////////////////////////////////////////////////////////////////////////// + + /*! This is used as the heading text for the retval command. */ + virtual QCString trReturnValues() + { return "Valores devueltos"; } + + /*! This is in the (quick) index as a link to the main page (index.html) + */ + virtual QCString trMainPage() + { return "Página Principal"; } + + /*! This is used in references to page that are put in the LaTeX + * documentation. It should be an abbreviation of the word page. + */ + virtual QCString trPageAbbreviation() + { return "p."; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-991003 +////////////////////////////////////////////////////////////////////////// + + virtual QCString trSources() + { + return "Fuentes"; + } + virtual QCString trDefinedAtLineInSourceFile() + { + return "Definición en la línea @0 del archivo @1."; + } + virtual QCString trDefinedInSourceFile() + { + return "Definición en el archivo @0."; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.0.0 +////////////////////////////////////////////////////////////////////////// + + virtual QCString trDeprecated() + { + return "Desaprobado"; + } + +////////////////////////////////////////////////////////////////////////// +// new since 1.1.0 +////////////////////////////////////////////////////////////////////////// + + /*! this text is put before a collaboration diagram */ + virtual QCString trCollaborationDiagram(const char *clName) + { + return (QCString)"Diagrama de colaboración para "+clName+":"; + } + /*! this text is put before an include dependency graph */ + virtual QCString trInclDepGraph(const char *fName) + { + return (QCString)"Dependencia gráfica adjunta para "+fName+":"; + } + /*! header that is put before the list of constructor/destructors. */ + virtual QCString trConstructorDocumentation() + { + return "Documentación del Constructor y Destructor"; + } + /*! Used in the file documentation to point to the corresponding sources. */ + virtual QCString trGotoSourceCode() + { + return "Ir al código fuente de este archivo."; + } + /*! Used in the file sources to point to the corresponding documentation. */ + virtual QCString trGotoDocumentation() + { + return "Ir a la documentación de este archivo."; + } + /*! Text for the \pre command */ + virtual QCString trPrecondition() + { + return "Precondición"; + } + /*! Text for the \post command */ + virtual QCString trPostcondition() + { + return "Postcondicón"; + } + /*! Text for the \invariant command */ + virtual QCString trInvariant() + { + return "Invariante"; + } + /*! Text shown before a multi-line variable/enum initialization */ + virtual QCString trInitialValue() + { + return "Valor inicial:"; + } + /*! Text used the source code in the file index */ + virtual QCString trCode() + { + return "código"; + } + virtual QCString trGraphicalHierarchy() + { + return "Representación Gráfica de la Clase"; + } + virtual QCString trGotoGraphicalHierarchy() + { + return "Ir a la representación gráfica de la jerarquía de la clase"; + } + virtual QCString trGotoTextualHierarchy() + { + return "Ir a la jerarquía textual de la clase"; + } + virtual QCString trPageIndex() + { + return "Página Indice"; + } + virtual QCString trNote() + { + return "Nota"; + } + + virtual QCString trPublicTypes() + { + return "Tipos Públicos"; + } + virtual QCString trPublicAttribs() + { + return "Atributos Públicos"; + } + virtual QCString trStaticPublicAttribs() + { + return "Atributos Públicos Estáticos"; + } + virtual QCString trProtectedTypes() + { + return "Tipos Protegidos"; + } + virtual QCString trProtectedAttribs() + { + return "Atributos Protegidos"; + } + virtual QCString trStaticProtectedAttribs() + { + return "Atributos Protegidos Estáticos"; + } + virtual QCString trPrivateTypes() + { + return "Tipos Privados"; + } + virtual QCString trPrivateAttribs() + { + return "Atributos Privados"; + } + virtual QCString trStaticPrivateAttribs() + { + return "Atributos Privados Estáticos"; + } }; #endif |