diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 18:03:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 18:03:21 (GMT) |
commit | 8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5 (patch) | |
tree | 54faf2b759aca5cdc6184168aa676ed669435766 /src | |
parent | ca720513ae89ad82fd8d8c4340271375ae1e9f64 (diff) | |
download | Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.zip Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.tar.gz Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.tar.bz2 |
Release-1.5.0
Diffstat (limited to 'src')
-rw-r--r-- | src/docparser.cpp | 30 | ||||
-rw-r--r-- | src/doctokenizer.l | 12 | ||||
-rw-r--r-- | src/doxygen.cpp | 8 | ||||
-rw-r--r-- | src/htmlgen.cpp | 2 | ||||
-rw-r--r-- | src/latexdocvisitor.cpp | 8 | ||||
-rw-r--r-- | src/memberdef.cpp | 8 | ||||
-rw-r--r-- | src/objcache.cpp | 10 | ||||
-rw-r--r-- | src/pyscanner.l | 8 | ||||
-rw-r--r-- | src/translator_br.h | 50 | ||||
-rw-r--r-- | src/translator_dk.h | 50 | ||||
-rw-r--r-- | src/translator_en.h | 48 | ||||
-rw-r--r-- | src/translator_fr.h | 2385 | ||||
-rw-r--r-- | src/translator_it.h | 3 | ||||
-rw-r--r-- | src/translator_nl.h | 37 | ||||
-rw-r--r-- | src/util.cpp | 8 |
15 files changed, 1286 insertions, 1381 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 0cfeb88..c7a621a 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -158,7 +158,8 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type) //printf("Search for %s\n",fileName); if ((fd=findFileDef(Doxygen::imageNameDict,fileName,ambig))) { - QFile inImage(QString(fd->absFilePath().data())); + QCString inputFile = fd->absFilePath(); + QFile inImage(inputFile); if (inImage.open(IO_ReadOnly)) { result = fileName; @@ -185,19 +186,22 @@ static QCString findAndCopyImage(const char *fileName,DocImage::Type type) break; } QCString outputFile = outputDir+"/"+result; - QFile outImage(QString(outputFile.data())); - if (outImage.open(IO_WriteOnly)) // copy the image + if (outputFile!=inputFile) // prevent copying to ourself { - char *buffer = new char[inImage.size()]; - inImage.readBlock(buffer,inImage.size()); - outImage.writeBlock(buffer,inImage.size()); - outImage.flush(); - delete buffer; - } - else - { - warn_doc_error(g_fileName,doctokenizerYYlineno, - "Warning: could not write output image %s",outputFile.data()); + QFile outImage(outputFile.data()); + if (outImage.open(IO_WriteOnly)) // copy the image + { + char *buffer = new char[inImage.size()]; + inImage.readBlock(buffer,inImage.size()); + outImage.writeBlock(buffer,inImage.size()); + outImage.flush(); + delete buffer; + } + else + { + warn_doc_error(g_fileName,doctokenizerYYlineno, + "Warning: could not write output image %s",outputFile.data()); + } } } else diff --git a/src/doctokenizer.l b/src/doctokenizer.l index 5b46523..c3aafba 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -195,7 +195,7 @@ static void handleHtmlTag() { char c=tagText.at(i); // skip spaces - while (i<yyleng && c==' ') { c=tagText.at(++i); } + while (i<yyleng && isspace(c)) { c=tagText.at(++i); } // check for end of the tag if (c == '>') break; // Check for XML style "empty" tag. @@ -206,17 +206,17 @@ static void handleHtmlTag() } startName=i; // search for end of name - while (i<yyleng && c!=' ' && c!='=') { c=tagText.at(++i); } + while (i<yyleng && !isspace(c) && c!='=') { c=tagText.at(++i); } endName=i; HtmlAttrib opt; opt.name = tagText.mid(startName,endName-startName).lower(); // skip spaces - while (i<yyleng && c==' ') { c=tagText.at(++i); } + while (i<yyleng && isspace(c)) { c=tagText.at(++i); } if (tagText.at(i)=='=') // option has value { c=tagText.at(++i); // skip spaces - while (i<yyleng && c==' ') { c=tagText.at(++i); } + while (i<yyleng && isspace(c)) { c=tagText.at(++i); } if (tagText.at(i)=='\'') // option '...' { c=tagText.at(++i); @@ -240,7 +240,7 @@ static void handleHtmlTag() { startAttrib=i; // search for separator - while (i<yyleng && c!=' ') { c=tagText.at(++i); } + while (i<yyleng && !isspace(c)) { c=tagText.at(++i); } endAttrib=i; if (i<yyleng) c=tagText.at(++i); } @@ -261,7 +261,7 @@ static QString stripEmptyLines(const char *s) for (;;) { int c; - while ((c=s[p]) && (c==' ' || c=='\t' || c=='\r')) p++; + while ((c=s[p]) && isspace(c)) p++; if (s[p]=='\n') result=++p; else break; } return &s[result]; diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 695cfc9..f825d34 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1041,14 +1041,18 @@ static void addClassToContext(EntryNav *rootNav) { scName=rootNav->parent()->name(); } - // name without parent's scope + // name without parent's scope: TODO: is this still true? QCString fullName = root->name; // strip off any template parameters (but not those for specializations) fullName=stripTemplateSpecifiersFromScope(fullName); // name with scope - QCString qualifiedName = scName.isEmpty() ? fullName : scName+"::"+fullName; + QCString qualifiedName = fullName; + if (!scName.isEmpty() && !leftScopeMatch(fullName,scName)) + { + qualifiedName.prepend(scName+"::"); + } ClassDef *cd = getClass(qualifiedName); diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index e96d1a8..0f4d242 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -1825,7 +1825,7 @@ static void writeDefaultQuickLinks(QTextStream &t,bool compact, QCString searchFor = fixSpaces(theTranslator->trSearchForIndex()); if (searchFor.at(0)=='S') searchFor="<u>S</u>"+searchFor.mid(1); t << " <li>\n"; - t << " <form action=\"search.php\" method=\"get\">\n"; + t << " <form action=\"" << relPath << "search.php\" method=\"get\">\n"; t << " <table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n"; t << " <tr>\n"; t << " <td><label> " << searchFor << " </label></td>\n"; diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index f2d086b..8c1e757 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -36,7 +36,7 @@ static QString escapeLabelName(const char *s) switch (c) { case '%': result+="\\%"; break; - case '|': result+="\\tt{\"|}"; break; + case '|': result+="\\texttt{\"|}"; break; case '!': result+="\"!"; break; default: result+=c; } @@ -69,7 +69,7 @@ QString LatexDocVisitor::escapeMakeIndexChars(const char *s) case '!': m_t << "\"!"; break; case '"': m_t << "\"\""; break; case '@': m_t << "\"@"; break; - case '|': m_t << "\\tt{\"|}"; break; + case '|': m_t << "\\texttt{\"|}"; break; case '[': m_t << "["; break; case ']': m_t << "]"; break; default: str[0]=c; filter(str); break; @@ -191,7 +191,7 @@ void LatexDocVisitor::visit(DocURL *u) if (u->isEmail()) m_t << "mailto:"; m_t << u->url() << "}"; } - m_t << "\\tt{"; + m_t << "{\\tt "; filter(u->url()); m_t << "}"; } @@ -972,7 +972,7 @@ void LatexDocVisitor::visitPre(DocXRefItem *x) } else { - m_t << "\\bf{"; + m_t << "{\\bf "; } m_insideItem=TRUE; filter(x->title()); diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 976fdc8..a450ba3 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -963,12 +963,14 @@ void MemberDef::setDefinitionTemplateParameterLists(QList<ArgumentList> *lists) void MemberDef::writeLink(OutputList &ol,ClassDef *,NamespaceDef *, FileDef *fd,GroupDef *gd,bool onlyText) { + static bool optimizeOutputJava = Config_getBool("OPTIMIZE_OUTPUT_JAVA"); + static bool hideScopeNames = Config_getBool("HIDE_SCOPE_NAMES"); makeResident(); LockingPtr<MemberDef> lock(this,this); - QCString sep = Config_getBool("OPTIMIZE_OUTPUT_JAVA") ? "." : "::"; + QCString sep = optimizeOutputJava ? "." : "::"; QCString n = name(); - if (m_impl->classDef && gd) n.prepend(m_impl->classDef->name()+sep); - else if (m_impl->nspace && (gd || fd)) n.prepend(m_impl->nspace->name()+sep); + if (!hideScopeNames && m_impl->classDef && gd) n.prepend(m_impl->classDef->name()+sep); + else if (!hideScopeNames && m_impl->nspace && (gd || fd)) n.prepend(m_impl->nspace->name()+sep); if (isObjCMethod()) { if (isStatic()) ol.docify("+ "); else ol.docify("- "); diff --git a/src/objcache.cpp b/src/objcache.cpp index 63e7eb7..f45a0e7 100644 --- a/src/objcache.cpp +++ b/src/objcache.cpp @@ -17,6 +17,7 @@ #include <stdio.h> #include <assert.h> +#include <qglobal.h> #include "objcache.h" //---------------------------------------------------------------------- @@ -176,11 +177,10 @@ void ObjCache::moveToFront(int index) unsigned int ObjCache::hash(void *addr) { - static bool isPtr64 = sizeof(addr)==8 && sizeof(long)==8; - - unsigned long key = (unsigned long)addr; + static bool isPtr64 = sizeof(addr)==8; if (isPtr64) { + uint64 key = (uint64)addr; // Thomas Wang's 64 bit Mix Function key += ~(key << 32); key ^= (key >> 22); @@ -190,18 +190,20 @@ unsigned int ObjCache::hash(void *addr) key ^= (key >> 15); key += ~(key << 27); key ^= (key >> 31); + return key & (m_size-1); } else { // Thomas Wang's 32 bit Mix Function + unsigned long key = (unsigned long)addr; key += ~(key << 15); key ^= (key >> 10); key += (key << 3); key ^= (key >> 6); key += ~(key << 11); key ^= (key >> 16); + return key & (m_size-1); } - return key & (m_size-1); } ObjCache::HashNode *ObjCache::hashFind(void *obj) diff --git a/src/pyscanner.l b/src/pyscanner.l index 5f7abb0..0a4fbcf 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -290,8 +290,8 @@ static void appendDocBlock() { static void handleCommentBlock(const QCString &doc,bool brief) { - //printf("handleCommentBlock(doc=[%s] brief=%d docBlockInBody=%d\n", - // doc.data(),brief,docBlockInBody); + //printf("handleCommentBlock(doc=[%s] brief=%d docBlockInBody=%d docBlockJavaStyle=%d\n", + // doc.data(),brief,docBlockInBody,docBlockJavaStyle); // TODO: Fix me docBlockInBody=FALSE; @@ -310,7 +310,7 @@ static void handleCommentBlock(const QCString &doc,bool brief) yyFileName, // file brief ? current->briefLine : current->docLine, // line of block start docBlockInBody ? FALSE : brief, - docBlockJavaStyle, // javadoc style + FALSE, //docBlockJavaStyle, // javadoc style docBlockInBody, protection, position, @@ -854,7 +854,7 @@ STARTDOCSYMS ^{B}"##"/[^#] ")" { // end of parameter list } - ":" { + ":"{B} { g_specialBlock = TRUE; // expecting a docstring bodyEntry = current; BEGIN( FunctionBody ); diff --git a/src/translator_br.h b/src/translator_br.h index 45cb083..51f426d 100644 --- a/src/translator_br.h +++ b/src/translator_br.h @@ -183,10 +183,6 @@ class TranslatorBrazilian : public Translator virtual QCString trFileList() { return "Lista de Arquivos"; } - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Arquivos de Cabeçalho (Headers)"; } - /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { @@ -321,10 +317,6 @@ class TranslatorBrazilian : public Translator return result; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Estes são os arquivos de cabeçalho que compõe a API:"; } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Esta é a lista com todos os exemplos:"; } @@ -337,15 +329,6 @@ class TranslatorBrazilian : public Translator virtual QCString trModulesDescription() { return "Esta é a lista com todos os módulos:"; } - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "Sem descrição disponível"; } - - // index titles (the project name is prepended for these) - - /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "\nDocumentação"; } @@ -546,18 +529,10 @@ class TranslatorBrazilian : public Translator virtual QCString trForInternalUseOnly() { return "Apenas para uso interno."; } - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Reimplementado por razões internas. A API não foi modificada."; } - /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Aviso"; } - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Problemas e Limitações"; } - /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Versão"; } @@ -832,10 +807,6 @@ class TranslatorBrazilian : public Translator // new since 0.49-991003 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { - return "Códigos-Fonte"; - } virtual QCString trDefinedAtLineInSourceFile() { return "Definição na linha @0 do arquivo @1."; @@ -1138,11 +1109,6 @@ class TranslatorBrazilian : public Translator // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Interfaces"; - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { @@ -1175,11 +1141,6 @@ class TranslatorBrazilian : public Translator { return "Pacotes"; } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Pacotes"; - } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { @@ -1320,17 +1281,6 @@ class TranslatorBrazilian : public Translator * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Campo" : "campo")); - if (!singular) result+="s"; - return result; - } - - /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names - * of the category. - */ virtual QCString trGlobal(bool first_capital, bool singular) { QCString result((first_capital ? "Globa" : "globa")); diff --git a/src/translator_dk.h b/src/translator_dk.h index 98fdea1..1168a38 100644 --- a/src/translator_dk.h +++ b/src/translator_dk.h @@ -79,7 +79,7 @@ #ifndef TRANSLATOR_DK_H #define TRANSLATOR_DK_H -class TranslatorDanish : public TranslatorAdapter_1_3_9 +class TranslatorDanish : public Translator { public: @@ -225,10 +225,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 virtual QCString trFileList() { return "Filoversigt"; } - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Headerfiler"; } - /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { @@ -338,10 +334,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 return result; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Her er de headerfiler, der udgør API'en:"; } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Her er en liste over alle eksempler:"; } @@ -354,15 +346,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 virtual QCString trModulesDescription() { return "Her er en liste over alle moduler:"; } - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "Ikke beskrevet"; } - - // index titles (the project name is prepended for these) - - /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentation"; } @@ -558,19 +541,10 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 virtual QCString trForInternalUseOnly() { return "Kun til intern brug."; } - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Metoden er genimplementeret af interne grunde; " - "API'en er ikke påvirket."; } - /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Advarsel"; } - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Fejl og begrænsninger"; } - /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Version"; } @@ -843,9 +817,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 // new since 0.49-991003 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { return "Kilder"; /* Tranlation?? */ } - virtual QCString trDefinedAtLineInSourceFile() { return "Defineret på linje @0 i filen @1."; @@ -1122,11 +1093,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Grænseflader"; - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { @@ -1158,11 +1124,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 { return "Pakker"; } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Pakke-dokumentation"; - } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { @@ -1271,15 +1232,6 @@ class TranslatorDanish : public TranslatorAdapter_1_3_9 * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - return createNoun(first_capital, singular, "felt", "er"); - } - - /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names - * of the category. - */ virtual QCString trGlobal(bool first_capital, bool singular) { return createNoun(first_capital, singular, "global", "e"); diff --git a/src/translator_en.h b/src/translator_en.h index e365835..fda338d 100644 --- a/src/translator_en.h +++ b/src/translator_en.h @@ -194,10 +194,6 @@ class TranslatorEnglish : public Translator virtual QCString trFileList() { return "File List"; } - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Header Files"; } - /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { @@ -330,10 +326,6 @@ class TranslatorEnglish : public Translator return result; } - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Here are the header files that make up the API:"; } - /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Here is a list of all examples:"; } @@ -346,15 +338,8 @@ class TranslatorEnglish : public Translator virtual QCString trModulesDescription() { return "Here is a list of all modules:"; } - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "No description available"; } - // index titles (the project name is prepended for these) - /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Documentation"; } @@ -555,18 +540,10 @@ class TranslatorEnglish : public Translator virtual QCString trForInternalUseOnly() { return "For internal use only."; } - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Reimplemented for internal reasons; the API is not affected."; } - /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Warning"; } - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Bugs and limitations"; } - /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Version"; } @@ -841,10 +818,6 @@ class TranslatorEnglish : public Translator // new since 0.49-991003 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSources() - { - return "Sources"; - } virtual QCString trDefinedAtLineInSourceFile() { return "Definition at line @0 of file @1."; @@ -1151,11 +1124,6 @@ class TranslatorEnglish : public Translator // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Interfaces"; - } /*! Used for Java classes in the summary section of Java packages */ virtual QCString trClasses() { @@ -1188,11 +1156,6 @@ class TranslatorEnglish : public Translator { return "Packages"; } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Package Documentation"; - } /*! Text shown before a multi-line define */ virtual QCString trDefineValue() { @@ -1333,17 +1296,6 @@ class TranslatorEnglish : public Translator * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Field" : "field")); - if (!singular) result+="s"; - return result; - } - - /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names - * of the category. - */ virtual QCString trGlobal(bool first_capital, bool singular) { QCString result((first_capital ? "Global" : "global")); diff --git a/src/translator_fr.h b/src/translator_fr.h index 3e1d6f9..861c5c4 100644 --- a/src/translator_fr.h +++ b/src/translator_fr.h @@ -62,6 +62,19 @@ * -------------+------------------------------------------------------------ * 2005-07-12 | Update for new since 1.4.1 * -------------+------------------------------------------------------------ + * 2005-10-09 | Update for new since 1.4.6 + * | Added virtual QCString trCallerGraph() + * | Removed virtual QCString trHeaderFilesDescription() + * | Removed virtual QCString trField(bool first_capital, bool singular) + * | Removed virtual QCString trPackageDocumentation() + * | Removed virtual QCString trSources() + * | Removed virtual QCString trReimplementedForInternalReasons() + * | Removed virtual QCString trInterfaces() + * | Removed virtual QCString trHeaderFiles() + * | Removed virtual QCString trBugsAndLimitations() + * | Removed virtual QCString trNoDescriptionAvailable() + * | Corrected some misspelling thanx to Christophe C. + * -------------+------------------------------------------------------------ */ #ifndef TRANSLATOR_FR_H #define TRANSLATOR_FR_H @@ -87,10 +100,10 @@ // Translator class (by the local maintainer) when the localized // translator is made up-to-date again. -class TranslatorFrench : public TranslatorAdapter_1_4_6 +class TranslatorFrench : public Translator { - public: - + public: + // --- Language control methods ------------------- /*! Used for identification of the language. The identification @@ -99,9 +112,10 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ - virtual QCString idLanguage() - { return "french"; } - + virtual QCString idLanguage() + { + return "french"; } + /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch * LaTeX to the desired language. For example @@ -113,1160 +127,1206 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * "\\usepackage[T1]{fontenc}\n" * </pre> */ - virtual QCString latexLanguageSupportCommand() - { - return "\\usepackage[french]{babel}\n"; - } - + virtual QCString latexLanguageSupportCommand() + { + return "\\usepackage[french]{babel}\n"; + } + /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "iso-8859-1"; - } - + virtual QCString idLanguageCharset() + { + return "iso-8859-1"; + } + // --- Language translation methods ------------------- - + /*! used in the compound documentation before a list of related functions. */ - virtual QCString trRelatedFunctions() - { return "Fonctions associées"; } - + virtual QCString trRelatedFunctions() + { + return "Fonctions associées"; } + /*! subscript for the related functions. */ - virtual QCString trRelatedSubscript() - { return "(Noter que ce ne sont pas des fonctions membres)"; } - + virtual QCString trRelatedSubscript() + { + return "(Noter que ce ne sont pas des fonctions membres)"; } + /*! header that is put before the detailed description of files, classes and namespaces. */ - virtual QCString trDetailedDescription() - { return "Description détaillée"; } - + virtual QCString trDetailedDescription() + { + return "Description détaillée"; } + /*! header that is put before the list of typedefs. */ - virtual QCString trMemberTypedefDocumentation() - { return "Documentation des typedef membres"; } + virtual QCString trMemberTypedefDocumentation() + { + return "Documentation des définition de type membres"; } /*! header that is put before the list of enumerations. */ - virtual QCString trMemberEnumerationDocumentation() - { return "Documentation des énumérations membres"; } + virtual QCString trMemberEnumerationDocumentation() + { + return "Documentation des énumérations membres"; } /*! header that is put before the list of member functions. */ - virtual QCString trMemberFunctionDocumentation() - { return "Documentation des fonctions membres"; } + virtual QCString trMemberFunctionDocumentation() + { + return "Documentation des fonctions membres"; } /*! header that is put before the list of member attributes. */ - virtual QCString trMemberDataDocumentation() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Documentation des champs"; - } - else - { - return "Documentation des données membres"; + virtual QCString trMemberDataDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Documentation des champs"; + } + else + { + return "Documentation des données membres"; + } } - } - + /*! this is the text of a link put after brief descriptions. */ - virtual QCString trMore() - { return "Plus de détails..."; } - + virtual QCString trMore() + { + return "Plus de détails..."; } + /*! put in the class documentation */ - virtual QCString trListOfAllMembers() - { return "Liste de tous les membres"; } - + virtual QCString trListOfAllMembers() + { + return "Liste de tous les membres"; } + /*! used as the title of the "list of all members" page of a class */ - virtual QCString trMemberList() - { return "Liste des membres"; } - + virtual QCString trMemberList() + { + return "Liste des membres"; } + /*! this is the first part of a sentence that is followed by a class name */ - virtual QCString trThisIsTheListOfAllMembers() - { return "Liste complète des membres de "; } - + virtual QCString trThisIsTheListOfAllMembers() + { + return "Liste complète des membres de "; } + /*! this is the remainder of the sentence after the class name */ - virtual QCString trIncludingInheritedMembers() - { return ", y compris les membres hérités:"; } + virtual QCString trIncludingInheritedMembers() + { + return ", y compris les membres hérités :"; } /*! 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="Généré automatiquement par Doxygen"; - if (s) result+=(QCString)" pour "+s; - result+=" à partir du code source."; - return result; - } - + virtual QCString trGeneratedAutomatically(const char *s) + { QCString result="Généré automatiquement par Doxygen"; + if (s) result+=(QCString)" pour "+s; + result+=" à partir du code source."; + return result; + } + /*! put after an enum name in the list of all members */ - virtual QCString trEnumName() - { return "énumération"; } + virtual QCString trEnumName() + { + return "énumération"; } /*! put after an enum value in the list of all members */ - virtual QCString trEnumValue() - { return "valeur énumérée"; } + virtual QCString trEnumValue() + { + return "valeur énumérée"; } /*! put after an undocumented member in the list of all members */ - virtual QCString trDefinedIn() - { return "défini dans"; } - + virtual QCString trDefinedIn() + { + return "défini dans"; } + // 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 "Modules"; } + virtual QCString trModules() + { + return "Modules"; } /*! This is put above each page as a link to the class hierarchy */ - virtual QCString trClassHierarchy() - { return "Hiérarchie des classes"; } + virtual QCString trClassHierarchy() + { + return "Hiérarchie des classes"; } /*! This is put above each page as a link to the list of annotated classes */ - virtual QCString trCompoundList() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Structures de données"; - } - else - { - return "Liste des classes"; + virtual QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Structures de données"; + } + else + { + return "Liste des classes"; + } } - } /*! This is put above each page as a link to the list of documented files */ - virtual QCString trFileList() - { return "Liste des fichiers"; } - - /*! This is put above each page as a link to the list of all verbatim headers */ - virtual QCString trHeaderFiles() - { return "Fichiers d'en-tête"; } - + virtual QCString trFileList() + { + return "Liste des fichiers"; } + /*! This is put above each page as a link to all members of compounds. */ - virtual QCString trCompoundMembers() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Champs de donnée"; - } - else - { - return "Membres de classe"; + virtual QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Champs de donnée"; + } + else + { + return "Membres de classe"; + } } - } - + /*! This is put above each page as a link to all members of files. */ - virtual QCString trFileMembers() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Portée globale"; - } - else - { - return "Membres de fichier"; + virtual QCString trFileMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Portée globale"; + } + else + { + return "Membres de fichier"; + } } - } - + /*! This is put above each page as a link to all related pages. */ - virtual QCString trRelatedPages() - { return "Pages associées"; } - + virtual QCString trRelatedPages() + { + return "Pages associées"; } + /*! This is put above each page as a link to all examples. */ - virtual QCString trExamples() - { return "Exemples"; } - + virtual QCString trExamples() + { + return "Exemples"; } + /*! This is put above each page as a link to the search engine. */ - virtual QCString trSearch() - { return "Recherche"; } - + virtual QCString trSearch() + { + return "Recherche"; } + /*! This is an introduction to the class hierarchy. */ - virtual QCString trClassHierarchyDescription() - { return "Cette liste d'héritage est classée " - "approximativement par ordre alphabétique:"; - } - + virtual QCString trClassHierarchyDescription() + { + return "Cette liste d'héritage est classée " + "approximativement par ordre alphabétique :"; + } + /*! This is an introduction to the list with all files. */ - virtual QCString trFileListDescription(bool extractAll) - { - QCString result="Liste de tous les fichiers "; - if (!extractAll) result+="documentés "; - result+="avec une brève description:"; - return result; - } - - /*! This is an introduction to the annotated compound list. */ - virtual QCString trCompoundListDescription() - { - - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + virtual QCString trFileListDescription(bool extractAll) { - return "Liste des structures de données avec une brève description:"; + QCString result="Liste de tous les fichiers "; + if (!extractAll) result+="documentés "; + result+="avec une brève description :"; + return result; } - else + + /*! This is an introduction to the annotated compound list. */ + virtual QCString trCompoundListDescription() { - return "Liste des classes, structures, " - "unions et interfaces avec une brève description:"; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Liste des structures de données avec une brève description :"; + } + else + { + return "Liste des classes, structures, " + "unions et interfaces avec une brève description :"; + } } - } - + /*! This is an introduction to the page with all class members. */ - virtual QCString trCompoundMembersDescription(bool extractAll) - { - QCString result="Liste de tous les "; - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="champs de structure et d'union "; - } - else + virtual QCString trCompoundMembersDescription(bool extractAll) { - result+="membres de classe "; + QCString result="Liste de tous les "; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="champs de structure et d'union "; + } + else + { + result+="membres de classe "; + } + if (!extractAll) + { + result+="documentés "; + } + result+="avec liens vers "; + if (!extractAll) + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="la documentation de structure/union de chaque champ :"; + } + else + { + result+="la documentation de classe de chaque membre :"; + } + } + else + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="les structures/unions auxquelles ils appartiennent :"; + } + else + { + result+="les classes auxquelles ils appartiennent :"; + } + } + return result; } - if (!extractAll) - { - result+="documentés "; - } - result+="avec liens vers "; - if (!extractAll) - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="la documentation de structure/union de chaque champ:"; - } - else - { - result+="la documentation de classe de chaque membre:"; - } - } - else - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="les structures/unions auxquelles ils appartiennent:"; - } - else - { - result+="les classes auxquelles ils appartiennent:"; - } - } - return result; - } - + /*! This is an introduction to the page with all file members. */ - virtual QCString trFileMembersDescription(bool extractAll) - { - QCString result="Liste "; - - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - result+="des fonctions, variables, macros, enumérations, et typedefs "; - } - else + virtual QCString trFileMembersDescription(bool extractAll) { - result+="de tous les membres de fichier "; + QCString result="Liste "; + + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + result+="des fonctions, variables, macros, enumérations, et définitions de type "; + } + else + { + result+="de tous les membres de fichier "; + } + if (!extractAll) result+="documentés "; + result+="avec liens vers "; + if (extractAll) + result+="les fichiers auxquels ils appartiennent :"; + else + result+="la documentation :"; + return result; } - if (!extractAll) result+="documentés "; - result+="avec liens vers "; - if (extractAll) - result+="les fichiers auxquels ils appartiennent:"; - else - result+="la documentation:"; - return result; - } - - /*! This is an introduction to the page with the list of all header files. */ - virtual QCString trHeaderFilesDescription() - { return "Liste des fichiers d'en-tête constituant l'interface de programmation:"; } - + /*! This is an introduction to the page with the list of all examples */ - virtual QCString trExamplesDescription() - { return "Liste de tous les exemples:"; } - + virtual QCString trExamplesDescription() + { + return "Liste de tous les exemples :"; } + /*! This is an introduction to the page with the list of related pages */ - virtual QCString trRelatedPagesDescription() - { return "Liste de toutes les pages de documentation associées:"; } - + virtual QCString trRelatedPagesDescription() + { + return "Liste de toutes les pages de documentation associées :"; } + /*! This is an introduction to the page with the list of class/file groups */ - virtual QCString trModulesDescription() - { return "Liste de tous les modules:"; } - - /*! This sentences is used in the annotated class/file lists if no brief - * description is given. - */ - virtual QCString trNoDescriptionAvailable() - { return "Aucune description disponible"; } - - // index titles (the project name is prepended for these) - - + virtual QCString trModulesDescription() + { + return "Liste de tous les modules :"; } + /*! This is used in HTML as the title of index.html. */ - virtual QCString trDocumentation() - { return "Documentation"; } - + virtual QCString trDocumentation() + { + return "Documentation"; } + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ - virtual QCString trModuleIndex() - { return "Index des modules"; } - + virtual QCString trModuleIndex() + { + return "Index des modules"; } + /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ - virtual QCString trHierarchicalIndex() - { return "Index hiérarchique"; } - + virtual QCString trHierarchicalIndex() + { + return "Index hiérarchique"; } + /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ - virtual QCString trCompoundIndex() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Index des structures de données"; - } - else + virtual QCString trCompoundIndex() { - return "Index des classes"; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Index des structures de données"; + } + else + { + return "Index des classes"; + } } - } - + /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ - virtual QCString trFileIndex() - { return "Index des fichiers"; } - + virtual QCString trFileIndex() + { + return "Index des fichiers"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ - virtual QCString trModuleDocumentation() - { return "Documentation des modules"; } - + virtual QCString trModuleDocumentation() + { + return "Documentation des modules"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ - virtual QCString trClassDocumentation() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Documentation des structures de données"; - } - else - { - return "Documentation des classes"; + virtual QCString trClassDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Documentation des structures de données"; + } + else + { + return "Documentation des classes"; + } } - } - + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ - virtual QCString trFileDocumentation() - { return "Documentation des fichiers"; } - + virtual QCString trFileDocumentation() + { + return "Documentation des fichiers"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ - virtual QCString trExampleDocumentation() - { return "Documentation des exemples"; } - + virtual QCString trExampleDocumentation() + { + return "Documentation des exemples"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ - virtual QCString trPageDocumentation() - { return "Documentation des pages associées"; } - + virtual QCString trPageDocumentation() + { + return "Documentation des pages associées"; } + /*! This is used in LaTeX as the title of the document */ - virtual QCString trReferenceManual() - { return "Manuel de référence"; } + virtual QCString trReferenceManual() + { + return "Manuel de référence"; } /*! This is used in the documentation of a file as a header before the * list of defines */ - virtual QCString trDefines() - { return "Macros"; } - + virtual QCString trDefines() + { + return "Macros"; } + /*! This is used in the documentation of a file as a header before the * list of function prototypes */ - virtual QCString trFuncProtos() - { return "Prototypes de fonction"; } - + virtual QCString trFuncProtos() + { + return "Prototypes de fonction"; } + /*! This is used in the documentation of a file as a header before the * list of typedefs */ - virtual QCString trTypedefs() - { return "Typedefs"; } - + virtual QCString trTypedefs() + { + return "Définition de type"; } + /*! This is used in the documentation of a file as a header before the * list of enumerations */ - virtual QCString trEnumerations() - { return "Énumérations"; } - + virtual QCString trEnumerations() + { + return "Énumérations"; } + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ - virtual QCString trFunctions() - { return "Fonctions"; } - + virtual QCString trFunctions() + { + return "Fonctions"; } + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ - virtual QCString trVariables() - { return "Variables"; } - + virtual QCString trVariables() + { + return "Variables"; } + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ - virtual QCString trEnumerationValues() - { return "Valeurs énumérées"; } + virtual QCString trEnumerationValues() + { + return "Valeurs énumérées"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ - virtual QCString trDefineDocumentation() - { return "Documentation des macros"; } - + virtual QCString trDefineDocumentation() + { + return "Documentation des macros"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Documentation des prototypes de fonction"; } - + virtual QCString trFunctionPrototypeDocumentation() + { + return "Documentation des prototypes de fonction"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ - virtual QCString trTypedefDocumentation() - { return "Documentation des typedef"; } - + virtual QCString trTypedefDocumentation() + { + return "Documentation des définition de type"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ - virtual QCString trEnumerationTypeDocumentation() - { return "Documentation du type de l'énumération"; } - - /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for enumeration values - */ - virtual QCString trEnumerationValueDocumentation() - { return "Documentation de la valeur énumérée"; } - + virtual QCString trEnumerationTypeDocumentation() + { return "Documentation du type de l'énumération"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ - virtual QCString trFunctionDocumentation() - { return "Documentation des fonctions"; } - + virtual QCString trFunctionDocumentation() + { + return "Documentation des fonctions"; } + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ - virtual QCString trVariableDocumentation() - { return "Documentation des variables"; } - + virtual QCString trVariableDocumentation() + { + return "Documentation des variables"; } + /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ - virtual QCString trCompounds() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) - { - return "Structures de données"; - } - else - { - return "Classes"; + virtual QCString trCompounds() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Structures de données"; + } + else + { + return "Classes"; + } } - } - + /*! 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)"Généré le "+date; - if (projName) result+=(QCString)" pour "+projName; - result+=(QCString)" par"; - return result; - } + virtual QCString trGeneratedAt(const char *date,const char *projName) + { + QCString result=(QCString)"Généré le "+date; + if (projName) result+=(QCString)" pour "+projName; + result+=(QCString)" par"; + return result; + } /*! This is part of the sentence used in the standard footer of each page. */ - virtual QCString trWrittenBy() - { - return "écrit par"; - } - + virtual QCString trWrittenBy() + { + return "écrit par"; + } + /*! this text is put before a class diagram */ - virtual QCString trClassDiagram(const char *clName) - { - return (QCString)"Graphe d'héritage de "+clName+":"; - } + virtual QCString trClassDiagram(const char *clName) + { + return (QCString)"Graphe d'héritage de "+clName+":"; + } /*! this text is generated when the \\internal command is used. */ - virtual QCString trForInternalUseOnly() - { return "À usage interne uniquement."; } - - /*! this text is generated when the \\reimp command is used. */ - virtual QCString trReimplementedForInternalReasons() - { return "Réimplémenté pour des raisons internes; " - "l'interface de programmation n'est pas modifiée."; - } - + virtual QCString trForInternalUseOnly() + { + return "À usage interne uniquement."; } + /*! this text is generated when the \\warning command is used. */ - virtual QCString trWarning() - { return "Avertissement"; } - - /*! this text is generated when the \\bug command is used. */ - virtual QCString trBugsAndLimitations() - { return "Bogues et limitations"; } - + virtual QCString trWarning() + { + return "Avertissement"; } + /*! this text is generated when the \\version command is used. */ - virtual QCString trVersion() - { return "Version"; } - + virtual QCString trVersion() + { + return "Version"; } + /*! this text is generated when the \\date command is used. */ - virtual QCString trDate() - { return "Date"; } - + virtual QCString trDate() + { + return "Date"; } + /*! this text is generated when the \\return command is used. */ - virtual QCString trReturns() - { return "Renvoie"; } - + virtual QCString trReturns() + { + return "Renvoie"; } + /*! this text is generated when the \\sa command is used. */ - virtual QCString trSeeAlso() - { return "Voir également"; } - + virtual QCString trSeeAlso() + { + return "Voir également"; } + /*! this text is generated when the \\param command is used. */ - virtual QCString trParameters() - { return "Paramètres"; } - + virtual QCString trParameters() + { + return "Paramètres"; } + /*! this text is generated when the \\exception command is used. */ - virtual QCString trExceptions() - { return "Exceptions"; } + virtual QCString trExceptions() + { + return "Exceptions"; } /*! this text is used in the title page of a LaTeX document. */ - virtual QCString trGeneratedBy() - { return "Généré par"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trGeneratedBy() + { + return "Généré par"; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990307 + ////////////////////////////////////////////////////////////////////////// + /*! used as the title of page containing all the index of all namespaces. */ - virtual QCString trNamespaceList() - { return "Liste des namespaces"; } - + virtual QCString trNamespaceList() + { + return "Liste des espaces de nommage"; } + /*! used as an introduction to the namespace list */ - virtual QCString trNamespaceListDescription(bool extractAll) - { - QCString result="Liste de tous les namespaces "; - if (!extractAll) result+="documentés "; - result+="avec une brève description:"; - return result; - } - + virtual QCString trNamespaceListDescription(bool extractAll) + { + QCString result="Liste de tous les espaces de nommage "; + if (!extractAll) result+="documentés "; + result+="avec une brève description:"; + return result; + } + /*! used in the class documentation as a header before the list of all * friends of a class */ - virtual QCString trFriends() - { return "Amis"; } + virtual QCString trFriends() + { + return "Amis"; } -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990405 -////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990405 + ////////////////////////////////////////////////////////////////////////// /*! used in the class documentation as a header before the list of all * related classes */ - virtual QCString trRelatedFunctionDocumentation() - { return "Documentation des fonctions amies et associées"; } + virtual QCString trRelatedFunctionDocumentation() + { + return "Documentation des fonctions amies et associées"; } -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990425 -////////////////////////////////////////////////////////////////////////// - + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990425 + ////////////////////////////////////////////////////////////////////////// + /*! used as the title of the HTML page of a class/struct/union */ - virtual QCString trCompoundReference(const char *clName, + virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) - { - QCString result="Référence de "; - switch(compType) - { - case ClassDef::Class: result+="la classe "; break; - case ClassDef::Struct: result+="la structure "; break; - case ClassDef::Union: result+="l'union "; break; - case ClassDef::Interface: result+="l'interface "; break; - case ClassDef::Protocol: result+="le protocol "; break; - case ClassDef::Category: result+="la catégorie "; break; - case ClassDef::Exception: result+="l'exception "; break; - } - result+=(QCString)clName; - if (isTemplate) result+=" (modèle)"; - return result; - } - + { + QCString result="Référence de "; + switch(compType) + { + case ClassDef::Class: result+="la classe "; + break; + case ClassDef::Struct: result+="la structure "; + break; + case ClassDef::Union: result+="l'union "; + break; + case ClassDef::Interface: result+="l'interface "; + break; + case ClassDef::Protocol: result+="le protocol "; + break; + case ClassDef::Category: result+="la catégorie "; + break; + case ClassDef::Exception: result+="l'exception "; + break; + } + result+=(QCString)clName; + if (isTemplate) result+=" (modèle)"; + return result; + } + /*! used as the title of the HTML page of a file */ - virtual QCString trFileReference(const char *fileName) - { - QCString result= "Référence du fichier "; - result+=fileName; - return result; - } - + virtual QCString trFileReference(const char *fileName) + { + QCString result= "Référence du fichier "; + result+=fileName; + return result; + } + /*! used as the title of the HTML page of a namespace */ - virtual QCString trNamespaceReference(const char *namespaceName) - { - QCString result= "Référence du namespace "; - result+=namespaceName; - return result; - } + virtual QCString trNamespaceReference(const char *namespaceName) + { + QCString result= "Référence de l'espace de nommage "; + result+=namespaceName; + return result; + } - virtual QCString trPublicMembers() - { return "Fonctions membres publiques"; } - virtual QCString trPublicSlots() - { return "Connecteurs publics"; } - virtual QCString trSignals() - { return "Signaux"; } - virtual QCString trStaticPublicMembers() - { return "Fonctions membres publiques statiques"; } - virtual QCString trProtectedMembers() - { return "Fonctions membres protégées"; } - virtual QCString trProtectedSlots() - { return "Connecteurs protégés"; } - virtual QCString trStaticProtectedMembers() - { return "Fonctions membres protégées statiques"; } - virtual QCString trPrivateMembers() - { return "Fonctions membres privées"; } - virtual QCString trPrivateSlots() - { return "Connecteurs privés"; } - virtual QCString trStaticPrivateMembers() - { return "Fonctions membres privées statiques"; } + virtual QCString trPublicMembers() + { + return "Fonctions membres publiques"; } + virtual QCString trPublicSlots() + { + return "Connecteurs publics"; } + virtual QCString trSignals() + { + return "Signaux"; } + virtual QCString trStaticPublicMembers() + { + return "Fonctions membres publiques statiques"; } + virtual QCString trProtectedMembers() + { + return "Fonctions membres protégées"; } + virtual QCString trProtectedSlots() + { + return "Connecteurs protégés"; } + virtual QCString trStaticProtectedMembers() + { + return "Fonctions membres protégées statiques"; } + virtual QCString trPrivateMembers() + { + return "Fonctions membres privées"; } + virtual QCString trPrivateSlots() + { + return "Connecteurs privés"; } + virtual QCString trStaticPrivateMembers() + { + return "Fonctions membres privées statiques"; } /*! 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) - { - QCString result; - int i; - // the inherits list contain `numEntries' classes - for (i=0;i<numEntries;i++) + virtual QCString trWriteList(int numEntries) { - // use generateMarker to generate placeholders for the class links! - result+=generateMarker(i); // generate marker for entry i in the list + QCString result; + int i; + // the inherits list contain `numEntries' classes + for (i=0;i<numEntries;i++) + { + // use generateMarker to generate placeholders for the class links! + result+=generateMarker(i); // generate marker for entry i in the list // (order is left to right) - - if (i!=numEntries-1) // not the last entry, so we need a separator - { - if (i<numEntries-2) // not the fore last entry - result+=", "; - else // the fore last entry - result+=", et "; - } - } - return result; - } + + if (i!=numEntries-1) // not the last entry, so we need a separator + { + if (i<numEntries-2) // not the fore last entry + result+=", "; + else // the fore last entry + result+=", et "; + } + } + return result; + } /*! used in class documentation to produce a list of base classes, * if class diagrams are disabled. */ - virtual QCString trInheritsList(int numEntries) - { - return "Est dérivée de "+trWriteList(numEntries)+"."; - } - + virtual QCString trInheritsList(int numEntries) + { + return "Est dérivée de "+trWriteList(numEntries)+"."; + } + /*! used in class documentation to produce a list of super classes, * if class diagrams are disabled. */ - virtual QCString trInheritedByList(int numEntries) - { - return "Dérivée par "+trWriteList(numEntries)+"."; - } - + virtual QCString trInheritedByList(int numEntries) + { + return "Dérivée par "+trWriteList(numEntries)+"."; + } + /*! used in member documentation blocks to produce a list of * members that are hidden by this one. */ - virtual QCString trReimplementedFromList(int numEntries) - { - return "Réimplémentée à partir de "+trWriteList(numEntries)+"."; - } - + virtual QCString trReimplementedFromList(int numEntries) + { + return "Réimplémentée à partir 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) - { - return "Réimplémentée dans "+trWriteList(numEntries)+"."; - } - + virtual QCString trReimplementedInList(int numEntries) + { + return "Réimplémentée dans "+trWriteList(numEntries)+"."; + } + /*! This is put above each page as a link to all members of namespaces. */ - virtual QCString trNamespaceMembers() - { return "Membres de namespace"; } - + virtual QCString trNamespaceMembers() + { + return "Membres de l'espace de nommage"; } + /*! This is an introduction to the page with all namespace members */ - virtual QCString trNamespaceMemberDescription(bool extractAll) - { - QCString result="Liste de tous les membres de namespace "; - if (!extractAll) result+="documentés "; - result+="avec liens vers "; - if (extractAll) - result+="la documentation de namespace de chaque membre:"; - else - result+="les namespaces auxquels ils appartiennent:"; - return result; - } + virtual QCString trNamespaceMemberDescription(bool extractAll) + { + QCString result="Liste de tous les membres des espaces de nommage "; + if (!extractAll) result+="documentés "; + result+="avec liens vers "; + if (extractAll) + result+="la documentation de namespace de chaque membre :"; + else + result+="les espaces de nommage auxquels ils appartiennent :"; + return result; + } /*! This is used in LaTeX as the title of the chapter with the * index of all namespaces. */ - virtual QCString trNamespaceIndex() - { return "Index des namespaces"; } - + virtual QCString trNamespaceIndex() + { + return "Index des espaces de nommage"; } + /*! This is used in LaTeX as the title of the chapter containing * the documentation of all namespaces. */ - virtual QCString trNamespaceDocumentation() - { return "Documentation des namespaces"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990522 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trNamespaceDocumentation() + { + return "Documentation des espaces de nommage"; } + + ////////////////////////////////////////////////////////////////////////// + // 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 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trNamespaces() + { + return "Espaces de nommage"; } + + ////////////////////////////////////////////////////////////////////////// + // 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, + virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) - { // here s is one of " Class", " Struct" or " Union" + { // here s is one of " Class", " Struct" or " Union" // single is true implies a single file - QCString result=(QCString)"La documentation de "; - switch(compType) - { - case ClassDef::Class: result+="cette classe"; break; - case ClassDef::Struct: result+="cette structure"; break; - case ClassDef::Union: result+="cette union"; break; - case ClassDef::Interface: result+="cette interface"; break; - case ClassDef::Protocol: result+="ce protocol"; break; - case ClassDef::Category: result+="cette catégorie"; break; - case ClassDef::Exception: result+="cette exception"; break; - } - result+=" a été générée à partir "; - if (single) result+="du fichier suivant:"; - else result+="des fichiers suivants:"; - return result; - } - + bool female = true; + QCString result=(QCString)"La documentation de "; + switch(compType) + { + case ClassDef::Class: result+="cette classe"; + break; + case ClassDef::Struct: result+="cette structure"; + break; + case ClassDef::Union: result+="cette union"; + break; + case ClassDef::Interface: result+="cette interface"; + break; + case ClassDef::Protocol: result+="ce protocol"; + female = false; + break; + case ClassDef::Category: result+="cette catégorie"; + break; + case ClassDef::Exception: result+="cette exception"; + break; + } + if (female) result+= " a été générée à partir "; + else result+=" a été généré à partir "; + if (single) result+="du fichier suivant :"; + else result+="des fichiers suivants :"; + return result; + } + /*! This is in the (quick) index as a link to the alphabetical compound * list. */ - virtual QCString trAlphabeticalList() - { return "Liste alphabétique"; } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-990901 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trAlphabeticalList() + { + return "Liste alphabétique"; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-990901 + ////////////////////////////////////////////////////////////////////////// + /*! This is used as the heading text for the retval command. */ - virtual QCString trReturnValues() - { return "Valeurs retournées"; } - + virtual QCString trReturnValues() + { + return "Valeurs retournées"; } + /*! This is in the (quick) index as a link to the main page (index.html) */ - virtual QCString trMainPage() - { return "Page principale"; } - + virtual QCString trMainPage() + { + return "Page principale"; } + /*! 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 "Sources"; - } - virtual QCString trDefinedAtLineInSourceFile() - { - return "Définition à la ligne @0 du fichier @1."; - } - virtual QCString trDefinedInSourceFile() - { - return "Définition dans le fichier @0."; - } - -////////////////////////////////////////////////////////////////////////// -// new since 0.49-991205 -////////////////////////////////////////////////////////////////////////// - - virtual QCString trDeprecated() - { - return "Obsolète"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.0.0 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trPageAbbreviation() + { + return "p."; } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-991003 + ////////////////////////////////////////////////////////////////////////// + + virtual QCString trDefinedAtLineInSourceFile() + { + return "Définition à la ligne @0 du fichier @1."; + } + virtual QCString trDefinedInSourceFile() + { + return "Définition dans le fichier @0."; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 0.49-991205 + ////////////////////////////////////////////////////////////////////////// + + virtual QCString trDeprecated() + { + return "Obsolète"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.0.0 + ////////////////////////////////////////////////////////////////////////// + /*! this text is put before a collaboration diagram */ - virtual QCString trCollaborationDiagram(const char *clName) - { - return (QCString)"Graphe de collaboration de "+clName+":"; - } + virtual QCString trCollaborationDiagram(const char *clName) + { + return (QCString)"Graphe de collaboration de "+clName+":"; + } /*! this text is put before an include dependency graph */ - virtual QCString trInclDepGraph(const char *fName) - { - return (QCString)"Graphe des dépendances par inclusion de "+fName+":"; - } + virtual QCString trInclDepGraph(const char *fName) + { + return (QCString)"Graphe des dépendances par inclusion de "+fName+":"; + } /*! header that is put before the list of constructor/destructors. */ - virtual QCString trConstructorDocumentation() - { - return "Documentation des contructeurs et destructeur"; - } + virtual QCString trConstructorDocumentation() + { + return "Documentation des contructeurs et destructeur"; + } /*! Used in the file documentation to point to the corresponding sources. */ - virtual QCString trGotoSourceCode() - { - return "Aller au code source de ce fichier."; - } + virtual QCString trGotoSourceCode() + { + return "Aller au code source de ce fichier."; + } /*! Used in the file sources to point to the corresponding documentation. */ - virtual QCString trGotoDocumentation() - { - return "Aller à la documentation de ce fichier."; - } + virtual QCString trGotoDocumentation() + { + return "Aller à la documentation de ce fichier."; + } /*! Text for the \\pre command */ - virtual QCString trPrecondition() - { - return "Précondition"; - } + virtual QCString trPrecondition() + { + return "Précondition"; + } /*! Text for the \\post command */ - virtual QCString trPostcondition() - { - return "Postcondition"; - } + virtual QCString trPostcondition() + { + return "Postcondition"; + } /*! Text for the \\invariant command */ - virtual QCString trInvariant() - { - return "Invariant"; - } + virtual QCString trInvariant() + { + return "Invariant"; + } /*! Text shown before a multi-line variable/enum initialization */ - virtual QCString trInitialValue() - { - return "Valeur initiale:"; - } + virtual QCString trInitialValue() + { + return "Valeur initiale :"; + } /*! Text used the source code in the file index */ - virtual QCString trCode() - { - return "code"; - } - virtual QCString trGraphicalHierarchy() - { - return "Graphe hiérarchique des classes"; - } - virtual QCString trGotoGraphicalHierarchy() - { - return "Aller au graphe hiérarchique des classes"; - } - virtual QCString trGotoTextualHierarchy() - { - return "Aller à la hiérarchie des classes en mode texte"; - } - virtual QCString trPageIndex() - { - return "Index des pages"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.0 -////////////////////////////////////////////////////////////////////////// + virtual QCString trCode() + { + return "code"; + } + virtual QCString trGraphicalHierarchy() + { + return "Graphe hiérarchique des classes"; + } + virtual QCString trGotoGraphicalHierarchy() + { + return "Aller au graphe hiérarchique des classes"; + } + virtual QCString trGotoTextualHierarchy() + { + return "Aller à la hiérarchie des classes en mode texte"; + } + virtual QCString trPageIndex() + { + return "Index des pages"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.0 + ////////////////////////////////////////////////////////////////////////// - virtual QCString trNote() - { - return "Note"; - } - virtual QCString trPublicTypes() - { - return "Types publics"; - } - virtual QCString trPublicAttribs() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + virtual QCString trNote() { - return "Champs de données"; + return "Note"; } - else + virtual QCString trPublicTypes() { - return "Attributs publics"; + return "Types publics"; } - } - virtual QCString trStaticPublicAttribs() - { - return "Attributs publics statiques"; - } - virtual QCString trProtectedTypes() - { - return "Types protégés"; - } - virtual QCString trProtectedAttribs() - { - return "Attributs protégés"; - } - virtual QCString trStaticProtectedAttribs() - { - return "Attributs protégés statiques"; - } - virtual QCString trPrivateTypes() - { - return "Types privés"; - } - virtual QCString trPrivateAttribs() - { - return "Attributs privés"; - } - virtual QCString trStaticPrivateAttribs() - { - return "Attributs privés statiques"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.3 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trPublicAttribs() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Champs de données"; + } + else + { + return "Attributs publics"; + } + } + virtual QCString trStaticPublicAttribs() + { + return "Attributs publics statiques"; + } + virtual QCString trProtectedTypes() + { + return "Types protégés"; + } + virtual QCString trProtectedAttribs() + { + return "Attributs protégés"; + } + virtual QCString trStaticProtectedAttribs() + { + return "Attributs protégés statiques"; + } + virtual QCString trPrivateTypes() + { + return "Types privés"; + } + virtual QCString trPrivateAttribs() + { + return "Attributs privés"; + } + virtual QCString trStaticPrivateAttribs() + { + return "Attributs privés statiques"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.3 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a marker that is put before a \\todo item */ - virtual QCString trTodo() - { - return "À faire"; - } + virtual QCString trTodo() + { + return "À faire"; + } /*! Used as the header of the todo list */ - virtual QCString trTodoList() - { - return "Liste des choses à faire"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.1.4 -////////////////////////////////////////////////////////////////////////// - - virtual QCString trReferencedBy() - { - return "Référencé par"; - } - virtual QCString trRemarks() - { - return "Remarques"; - } - virtual QCString trAttention() - { - return "Attention"; - } - virtual QCString trInclByDepGraph() - { - return "Ce graphe montre quels fichiers incluent directement " - "ou indirectement ce fichier:"; - } - virtual QCString trSince() - { - return "Depuis"; - } + virtual QCString trTodoList() + { + return "Liste des choses à faire"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.4 + ////////////////////////////////////////////////////////////////////////// + + virtual QCString trReferencedBy() + { + return "Référencé par"; + } + virtual QCString trRemarks() + { + return "Remarques"; + } + virtual QCString trAttention() + { + return "Attention"; + } + virtual QCString trInclByDepGraph() + { + return "Ce graphe montre quels fichiers incluent directement " + "ou indirectement ce fichier :"; + } + virtual QCString trSince() + { + return "Depuis"; + } -////////////////////////////////////////////////////////////////////////// -// new since 1.1.5 -////////////////////////////////////////////////////////////////////////// - + ////////////////////////////////////////////////////////////////////////// + // new since 1.1.5 + ////////////////////////////////////////////////////////////////////////// + /*! title of the graph legend page */ - virtual QCString trLegendTitle() - { - return "Légende du graphe"; - } + virtual QCString trLegendTitle() + { + return "Légende du graphe"; + } /*! page explaining how the dot graph's should be interpreted * The %A in the text below are to prevent link to classes called "A". */ - virtual QCString trLegendDocs() - { - return - "Cette page explique comment interpréter les graphes générés " - "par doxygen.<p>\n" - "Considérez l'exemple suivant:\n" - "\\code\n" - "/*! Classe invisible à cause d'une troncature */\n" - "class Invisible { };\n\n" - "/*! Classe tronquée, la relation d'héritage est masquée */\n" - "class Truncated : public Invisible { };\n\n" - "/*! Classe non documentée avec des commentaires Doxygen */\n" - "class Undocumented { };\n\n" - "/*! Classe dérivée par héritage public */\n" - "class PublicBase : public Truncated { };\n\n" - "/*! Un modèle de classe */\n" - "template<class T> class Templ { };\n\n" - "/*! Classe dérivée par héritage protégé */\n" - "class ProtectedBase { };\n\n" - "/*! Classe dérivée par héritage privé */\n" - "class PrivateBase { };\n\n" - "/*! Classe utilisée par la classe dérivée */\n" - "class Used { };\n\n" - "/*! Super-classe qui hérite de plusieurs autres classes */\n" - "class Inherited : public PublicBase,\n" - " protected ProtectedBase,\n" - " private PrivateBase,\n" - " public Undocumented\n" - " public Templ<int>\n" - "{\n" - " private:\n" - " Used *m_usedClass;\n" - "};\n" - "\\endcode\n" - "Si la valeur 240 est attribuée au tag \\c MAX_DOT_GRAPH_HEIGHT " - "du fichier de configuration, cela génèrera le graphe suivant:" - "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" - "<p>\n" - "Les rectangles du graphe ci-dessus ont la signification suivante:\n" - "<ul>\n" - "<li>Un rectangle plein noir représente la structure ou la classe pour laquelle " - "le graphe est généré.\n" - "<li>Un rectangle avec un bord noir indique une classe ou une structure documentée.\n" - "<li>Un rectangle avec un bord gris indique une classe ou une structure non documentée.\n" - "<li>Un rectangle avec un bord rouge indique une structure ou une classe documentée\n" - "pour laquelle des relations d'héritage ou de collaboration manquent. Un graphe est " - "tronqué s'il n'entre pas dans les limites spécifiées." - "</ul>\n" - "Les flèches ont la signification suivante:\n" - "<ul>\n" - "<li>Une flèche bleu foncé est utilisée pour visualiser une relation d'héritage public " - "entre deux classes.\n" - "<li>Une flèche vert foncé est utilisée pour une relation d'héritage protégé.\n" - "<li>Une flèche rouge foncé est utilisée pour une relation d'héritage privé.\n" - "<li>Une flèche violette en pointillés est utilisée si une classe est contenue ou " - "utilisée par une autre classe. La flèche est étiquetée avec la ou les variable(s) " - "qui permettent d'accéder à la classe ou structure pointée. \n" - "<li>Une flèche verte en pointillés indique une relation entre une classe instanciée et " - "le modèle de classe utilisé. La flèche est étiquetée avec " - "les paramètres de modèle de la classe instanciée.\n" - "</ul>\n"; - } + virtual QCString trLegendDocs() + { + return + "Cette page explique comment interpréter les graphes générés " + "par doxygen.<p>\n" + "Considérez l'exemple suivant :\n" + "\\code\n" + "/*! Classe invisible à cause d'une troncature */\n" + "class Invisible { };\n\n" + "/*! Classe tronquée, la relation d'héritage est masquée */\n" + "class Truncated : public Invisible { };\n\n" + "/*! Classe non documentée avec des commentaires Doxygen */\n" + "class Undocumented { };\n\n" + "/*! Classe dérivée par héritage public */\n" + "class PublicBase : public Truncated { };\n\n" + "/*! Un modèle de classe */\n" + "template<class T> class Templ { };\n\n" + "/*! Classe dérivée par héritage protégé */\n" + "class ProtectedBase { };\n\n" + "/*! Classe dérivée par héritage privé */\n" + "class PrivateBase { };\n\n" + "/*! Classe utilisée par la classe dérivée */\n" + "class Used { };\n\n" + "/*! Super-classe qui hérite de plusieurs autres classes */\n" + "class Inherited : public PublicBase,\n" + " protected ProtectedBase,\n" + " private PrivateBase,\n" + " public Undocumented\n" + " public Templ<int>\n" + "{\n" + " private:\n" + " Used *m_usedClass;\n" + "};\n" + "\\endcode\n" + "Si la valeur 240 est attribuée au tag \\c MAX_DOT_GRAPH_HEIGHT " + "du fichier de configuration, cela génèrera le graphe suivant :" + "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" + "<p>\n" + "Les rectangles du graphe ci-dessus ont la signification suivante :\n" + "<ul>\n" + "<li>Un rectangle plein noir représente la structure ou la classe pour laquelle " + "le graphe est généré.\n" + "<li>Un rectangle avec un bord noir indique une classe ou une structure documentée.\n" + "<li>Un rectangle avec un bord gris indique une classe ou une structure non documentée.\n" + "<li>Un rectangle avec un bord rouge indique une structure ou une classe documentée\n" + "pour laquelle des relations d'héritage ou de collaboration manquent. Un graphe est " + "tronqué s'il n'entre pas dans les limites spécifiées." + "</ul>\n" + "Les flèches ont la signification suivante :\n" + "<ul>\n" + "<li>Une flèche bleu foncé est utilisée pour visualiser une relation d'héritage public " + "entre deux classes.\n" + "<li>Une flèche vert foncé est utilisée pour une relation d'héritage protégé.\n" + "<li>Une flèche rouge foncé est utilisée pour une relation d'héritage privé.\n" + "<li>Une flèche violette en pointillés est utilisée si une classe est contenue ou " + "utilisée par une autre classe. La flèche est étiquetée avec la ou les variable(s) " + "qui permettent d'accéder à la classe ou structure pointée. \n" + "<li>Une flèche verte en pointillés indique une relation entre une classe instanciée et " + "le modèle de classe utilisé. La flèche est étiquetée avec " + "les paramètres de modèle de la classe instanciée.\n" + "</ul>\n"; + } /*! text for the link to the legend page */ - virtual QCString trLegend() - { - return "légende"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.0 -////////////////////////////////////////////////////////////////////////// + virtual QCString trLegend() + { + return "légende"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.0 + ////////////////////////////////////////////////////////////////////////// /*! Used as a marker that is put before a test item */ - virtual QCString trTest() - { - return "Test"; - } + virtual QCString trTest() + { + return "Test"; + } /*! Used as the header of the test list */ - virtual QCString trTestList() - { - return "Liste des tests"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trTestList() + { + return "Liste des tests"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.1 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Fonctions membres DCOP"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.2 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trDCOPMethods() + { + return "Fonctions membres DCOP"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.2 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a section header for IDL properties */ - virtual QCString trProperties() - { - return "Propriétés"; - } + virtual QCString trProperties() + { + return "Propriétés"; + } /*! Used as a section header for IDL property documentation */ - virtual QCString trPropertyDocumentation() - { - return "Documentation des propriétés"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.4 -////////////////////////////////////////////////////////////////////////// - - /*! Used for Java interfaces in the summary section of Java packages */ - virtual QCString trInterfaces() - { - return "Interfaces"; - } - /*! Used for Java classes in the summary section of Java packages */ - virtual QCString trClasses() - { - if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + virtual QCString trPropertyDocumentation() { - return "Structures de données"; + return "Documentation des propriétés"; } - else + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.4 + ////////////////////////////////////////////////////////////////////////// + + /*! Used for Java classes in the summary section of Java packages */ + virtual QCString trClasses() { - return "Classes"; + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Structures de données"; + } + else + { + return "Classes"; + } } - } /*! Used as the title of a Java package */ - virtual QCString trPackage(const char *name) - { - return (QCString)"Paquetage "+name; - } + virtual QCString trPackage(const char *name) + { + return (QCString)"Paquetage "+name; + } /*! Title of the package index page */ - virtual QCString trPackageList() - { - return "Liste des paquetages"; - } + virtual QCString trPackageList() + { + return "Liste des paquetages"; + } /*! The description of the package index page */ - virtual QCString trPackageListDescription() - { - return "Liste des paquetages avec une brève description (si disponible):"; - } + virtual QCString trPackageListDescription() + { + return "Liste des paquetages avec une brève description (si disponible) :"; + } /*! The link name in the Quick links header for each page */ - virtual QCString trPackages() - { - return "Paquetages"; - } - /*! Used as a chapter title for Latex & RTF output */ - virtual QCString trPackageDocumentation() - { - return "Documentation des paquetages"; - } + virtual QCString trPackages() + { + return "Paquetages"; + } + /*! Text shown before a multi-line define */ - virtual QCString trDefineValue() - { - return "Valeur:"; - } + virtual QCString trDefineValue() + { + return "Valeur :"; + } -////////////////////////////////////////////////////////////////////////// -// new since 1.2.5 -////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.5 + ////////////////////////////////////////////////////////////////////////// /*! Used as a marker that is put before a \\bug item */ - virtual QCString trBug() - { - return "Bogue"; - } + virtual QCString trBug() + { + return "Bogue"; + } /*! Used as the header of the bug list */ - virtual QCString trBugList() - { - return "Liste des bogues"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.6 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trBugList() + { + return "Liste des bogues"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.6 + ////////////////////////////////////////////////////////////////////////// + /*! Used as ansicpg for RTF file * * The following table shows the correlation of Charset name, Charset Value and @@ -1292,274 +1352,264 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * </pre> * */ - virtual QCString trRTFansicp() - { - return "1252"; - } + virtual QCString trRTFansicp() + { + return "1252"; + } - + /*! Used as ansicpg for RTF fcharset * \see trRTFansicp() for a table of possible values. */ - virtual QCString trRTFCharSet() - { - return "0"; - } - + virtual QCString trRTFCharSet() + { + return "0"; + } + /*! Used as header RTF general index */ - virtual QCString trRTFGeneralIndex() - { - return "Index"; - } + virtual QCString trRTFGeneralIndex() + { + return "Index"; + } /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trClass(bool first_capital, bool singular) - { - QCString result((first_capital ? "Classe" : "classe")); - if (!singular) result+="s"; - return result; - } - - /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names - * of the category. - */ - virtual QCString trFile(bool first_capital, bool singular) - { - QCString result((first_capital ? "Fichier" : "fichier")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trClass(bool first_capital, bool singular) + { + QCString result((first_capital ? "Classe" : "classe")); + if (!singular) result+="s"; + return result; + } + /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trNamespace(bool first_capital, bool singular) - { - QCString result((first_capital ? "Namespace" : "namespace")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trFile(bool first_capital, bool singular) + { + QCString result((first_capital ? "Fichier" : "fichier")); + if (!singular) result+="s"; + return result; + } + /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trGroup(bool first_capital, bool singular) - { - QCString result((first_capital ? "Groupe" : "groupe")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trNamespace(bool first_capital, bool singular) + { + QCString result((first_capital ? "Espace" : "espace")); + if (!singular) result+="s"; + result+=" de nommage"; + return result; + } + /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trPage(bool first_capital, bool singular) - { - QCString result((first_capital ? "Page" : "page")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trGroup(bool first_capital, bool singular) + { + QCString result((first_capital ? "Groupe" : "groupe")); + if (!singular) result+="s"; + return result; + } + /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trMember(bool first_capital, bool singular) - { - QCString result((first_capital ? "Membre" : "membre")); - if (!singular) result+="s"; - return result; - } + virtual QCString trPage(bool first_capital, bool singular) + { + QCString result((first_capital ? "Page" : "page")); + if (!singular) result+="s"; + return result; + } /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Champ" : "champ")); - if (!singular) result+="s"; - return result; - } - + virtual QCString trMember(bool first_capital, bool singular) + { + QCString result((first_capital ? "Membre" : "membre")); + if (!singular) result+="s"; + return result; + } + /*! This is used for translation of the word that will possibly * be followed by a single name or by a list of names * of the category. */ - virtual QCString trGlobal(bool first_capital, bool singular) - { - QCString result((first_capital ? "Global(e)" : "global(e)")); - if (!singular) result+="s"; - return result; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.7 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trGlobal(bool first_capital, bool singular) + { + QCString result((first_capital ? "Global(e)" : "global(e)")); + if (!singular) result+="s"; + return result; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.7 + ////////////////////////////////////////////////////////////////////////// + /*! This text is generated when the \\author command is used and * for the author section in man pages. */ - virtual QCString trAuthor(bool first_capital, bool singular) - { - QCString result((first_capital ? "Auteur" : "auteur")); - if (!singular) result+="s"; - return result; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.11 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trAuthor(bool first_capital, bool singular) + { + QCString result((first_capital ? "Auteur" : "auteur")); + if (!singular) result+="s"; + return result; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.11 + ////////////////////////////////////////////////////////////////////////// + /*! This text is put before the list of members referenced by a member */ - virtual QCString trReferences() - { - return "Références"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.13 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trReferences() + { + return "Références"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.13 + ////////////////////////////////////////////////////////////////////////// + /*! used in member documentation blocks to produce a list of * members that are implemented by this one. */ - virtual QCString trImplementedFromList(int numEntries) - { - return "Implémente "+trWriteList(numEntries)+"."; - } - + virtual QCString trImplementedFromList(int numEntries) + { + return "Implémente "+trWriteList(numEntries)+"."; + } + /*! used in member documentation blocks to produce a list of * all members that implement this abstract member. */ - virtual QCString trImplementedInList(int numEntries) - { - return "Implémenté dans "+trWriteList(numEntries)+"."; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.16 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trImplementedInList(int numEntries) + { + return "Implémenté dans "+trWriteList(numEntries)+"."; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.16 + ////////////////////////////////////////////////////////////////////////// + /*! used in RTF documentation as a heading for the Table * of Contents. */ - virtual QCString trRTFTableOfContents() - { - return "Table des matières"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.17 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trRTFTableOfContents() + { + return "Table des matières"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.17 + ////////////////////////////////////////////////////////////////////////// + /*! Used as the header of the list of item that have been * flagged deprecated */ - virtual QCString trDeprecatedList() - { - return "Liste des éléments obsolètes"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.2.18 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trDeprecatedList() + { + return "Liste des éléments obsolètes"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.2.18 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a header for declaration section of the events found in * a C# program */ - virtual QCString trEvents() - { - return "Evénements"; - } + virtual QCString trEvents() + { + return "Événements"; + } /*! Header used for the documentation section of a class' events. */ - virtual QCString trEventDocumentation() - { - return "Documentation des événements"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trEventDocumentation() + { + return "Documentation des événements"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3 + ////////////////////////////////////////////////////////////////////////// + /*! Used as a heading for a list of Java class types with package scope. */ - virtual QCString trPackageTypes() - { - return "Types de paquetage"; - } + virtual QCString trPackageTypes() + { + return "Types de paquetage"; + } /*! Used as a heading for a list of Java class functions with package * scope. */ - virtual QCString trPackageMembers() - { - return "Fonctions de paquetage"; - } + virtual QCString trPackageMembers() + { + return "Fonctions de paquetage"; + } /*! Used as a heading for a list of static Java class functions with * package scope. */ - virtual QCString trStaticPackageMembers() - { - return "Fonctions statiques de paquetage"; - } + virtual QCString trStaticPackageMembers() + { + return "Fonctions statiques de paquetage"; + } /*! Used as a heading for a list of Java class variables with package * scope. */ - virtual QCString trPackageAttribs() - { - return "Attributs de paquetage"; - } + virtual QCString trPackageAttribs() + { + return "Attributs de paquetage"; + } /*! Used as a heading for a list of static Java class variables with * package scope. */ - virtual QCString trStaticPackageAttribs() - { - return "Attributs statiques de paquetage"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.1 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trStaticPackageAttribs() + { + return "Attributs statiques de paquetage"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.1 + ////////////////////////////////////////////////////////////////////////// + /*! Used in the quick index of a class/file/namespace member list page * to link to the unfiltered list of all members. */ - virtual QCString trAll() - { - return "Tout"; - } + virtual QCString trAll() + { + return "Tout"; + } /*! Put in front of the call graph for a function. */ - virtual QCString trCallGraph() - { - return "Voici le graphe d'appel pour cette fonction:"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.3 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trCallGraph() + { + return "Voici le graphe d'appel pour cette fonction :"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.3 + ////////////////////////////////////////////////////////////////////////// + /*! When the search engine is enabled this text is put in the header * of each page before the field where one can enter the text to search * for. */ - virtual QCString trSearchForIndex() - { - return "Rechercher"; - } + virtual QCString trSearchForIndex() + { + return "Rechercher"; + } /*! This string is used as the title for the page listing the search * results. */ - virtual QCString trSearchResultsTitle() - { - return "Résultats de la recherche"; - } + virtual QCString trSearchResultsTitle() + { + return "Résultats de la recherche"; + } /*! This string is put just before listing the search results. The * text can be different depending on the number of documents found. * Inside the text you can put the special marker $num to insert @@ -1568,103 +1618,124 @@ class TranslatorFrench : public TranslatorAdapter_1_4_6 * value 2 represents 2 or more matches. HTML markup is allowed inside * the returned string. */ - virtual QCString trSearchResults(int numDocuments) - { - if (numDocuments==0) - { - return "Sorry, no documents matching your query."; - } - else if (numDocuments==1) + virtual QCString trSearchResults(int numDocuments) { - return "Trouvé <b>1</b> document correspondant à votre requète."; - } - else - { - return "Trouvé <b>$num</b> documents correspondant à votre requète.. " + if (numDocuments==0) + { + return "Désolé aucun document ne correspond à votre requête."; + } + else if (numDocuments==1) + { + return "Trouvé <b>1</b> document correspondant à votre requête."; + } + else + { + return "Trouvé <b>$num</b> documents correspondant à votre requête. " "Classé par ordre de pertinence décroissant."; + } } - } /*! This string is put before the list of matched words, for each search * result. What follows is the list of words that matched the query. */ - virtual QCString trSearchMatches() - { - return "Correspondances:"; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.8 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trSearchMatches() + { + return "Correspondances :"; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.8 + ////////////////////////////////////////////////////////////////////////// + /*! This is used in HTML as the title of page with source code for file filename */ - virtual QCString trSourceFile(QCString& filename) - { - return " Fichier source de " + filename; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.3.9 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trSourceFile(QCString& filename) + { + return " Fichier source de " + filename; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.3.9 + ////////////////////////////////////////////////////////////////////////// + /*! This is used as the name of the chapter containing the directory * hierarchy. */ - virtual QCString trDirIndex() - { return "Hiérarchie de répertoires"; } - + virtual QCString trDirIndex() + { + return "Hiérarchie de répertoires"; } + /*! This is used as the name of the chapter containing the documentation * of the directories. */ - virtual QCString trDirDocumentation() - { return "Documentation des répertoires"; } - + virtual QCString trDirDocumentation() + { + return "Documentation des répertoires"; } + /*! This is used as the title of the directory index and also in the * Quick links of a HTML page, to link to the directory hierarchy. */ - virtual QCString trDirectories() - { return "Répertoires"; } - + virtual QCString trDirectories() + { + return "Répertoires"; } + /*! This returns a sentences that introduces the directory hierarchy. * and the fact that it is sorted alphabetically per level */ - virtual QCString trDirDescription() - { return "Cette hiérarchie de répertoire est triée approximativement, " - "mais pas complètement, par ordre alphabétique:"; - } - + virtual QCString trDirDescription() + { + return "Cette hiérarchie de répertoire est triée approximativement, " + "mais pas complètement, par ordre alphabétique :"; + } + /*! This returns the title of a directory page. The name of the * directory is passed via \a dirName. */ - virtual QCString trDirReference(const char *dirName) - { - QCString result="Répertoire de référence de "; result+=dirName; - return result; - } - + virtual QCString trDirReference(const char *dirName) + { + QCString result="Répertoire de référence de "; result+=dirName; + return result; + } + /*! This returns the word directory with or without starting capital * (\a first_capital) and in sigular or plural form (\a singular). */ - virtual QCString trDir(bool first_capital, bool singular) - { - QCString result((first_capital ? "Répertoire" : "répertoire")); - if (singular) result+=""; else result+="s"; - return result; - } - -////////////////////////////////////////////////////////////////////////// -// new since 1.4.1 -////////////////////////////////////////////////////////////////////////// - + virtual QCString trDir(bool first_capital, bool singular) + { + QCString result((first_capital ? "Répertoire" : "répertoire")); + if (singular) result+=""; + else result+="s"; + return result; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.4.1 + ////////////////////////////////////////////////////////////////////////// + /*! This text is added to the documentation when the \\overload command * is used for a overloaded function. */ - virtual QCString trOverloadText() - { - return "Ceci est une fonction membre surchargée, " + virtual QCString trOverloadText() + { + return "Ceci est une fonction membre surchargée, " "proposée par commodité. Elle diffère de la fonction " - "çi-dessus uniquement par le(s) argument(s) qu'elle accepte."; + "ci-dessus uniquement par le(s) argument(s) qu'elle accepte."; + } + + ////////////////////////////////////////////////////////////////////////// + // new since 1.4.6 + ////////////////////////////////////////////////////////////////////////// + + /*! This is used to introduce a caller (or called-by) graph */ + virtual QCString trCallerGraph() + { + return "Voici le graphe d'appel pour cette fonction :"; } + + /*! This is used in the documentation of a file/namespace before the list + * of documentation blocks for enumeration values + */ + virtual QCString trEnumerationValueDocumentation() + { return "Documentation des énumérations"; } }; #endif diff --git a/src/translator_it.h b/src/translator_it.h index ef3fbf1..6e5820c 100644 --- a/src/translator_it.h +++ b/src/translator_it.h @@ -19,6 +19,7 @@ * * Revision history * + * 2006/10: made class to derive directly from Translator class (reported in Petr Prikryl October 9 translator report) * 2006/06: updated translation of new items used since version 1.4.6 * 2006/05: translated new items used since version 1.4.6 * corrected typo in trPackageMembers method @@ -77,7 +78,7 @@ #ifndef TRANSLATOR_IT_H #define TRANSLATOR_IT_H -class TranslatorItalian : public TranslatorAdapter_1_4_6 +class TranslatorItalian : public Translator { public: diff --git a/src/translator_nl.h b/src/translator_nl.h index b337fb5..5bad0ee 100644 --- a/src/translator_nl.h +++ b/src/translator_nl.h @@ -91,8 +91,6 @@ class TranslatorDutch : public Translator { return "Klasse Lijst"; } QCString trFileList() { return "File Lijst"; } - QCString trHeaderFiles() - { return "Header Lijst"; } QCString trCompoundMembers() { return "Klasse Members"; } QCString trFileMembers() @@ -136,16 +134,12 @@ class TranslatorDutch : public Translator else result+="de files waartoe ze behoren:"; return result; } - QCString trHeaderFilesDescription() - { return "Hieronder volgen de header files die de API vormen:"; } QCString trExamplesDescription() { return "Hieronder volgt de lijst met alle voorbeelden:"; } QCString trRelatedPagesDescription() { return "Hieronder volgt de lijst met alle pagina's die gerelateerde documentatie bevatten:"; } QCString trModulesDescription() { return "Hieronder volgt de lijst met alle modules:"; } - QCString trNoDescriptionAvailable() - { return "Geen korte beschrijving beschikbaar"; } QCString trDocumentation() { return "Documentatie"; } @@ -217,14 +211,8 @@ class TranslatorDutch : public Translator } QCString trForInternalUseOnly() { return "Alleen voor intern gebruik."; } - QCString trReimplementedForInternalReasons() - { return "Om interne redenen opnieuwd geïmplemented; " - "de API wordt er niet door beïnvloed."; - } QCString trWarning() { return "Waarschuwing"; } - QCString trBugsAndLimitations() - { return "Fouten en beperkingen"; } QCString trVersion() { return "Versie"; } QCString trDate() @@ -466,10 +454,6 @@ class TranslatorDutch : public Translator // new since 0.49-991106 ////////////////////////////////////////////////////////////////////////// - QCString trSources() - { - return "Broncode"; - } QCString trDefinedAtLineInSourceFile() { return "De definitie bevindt zich op regel @0 in de file @1."; @@ -765,11 +749,6 @@ class TranslatorDutch : public Translator // new since 1.2.4 ////////////////////////////////////////////////////////////////////////// - /*! Used for Java interfaces in the summary section of Java packages */ - QCString trInterfaces() - { - return "Interfaces"; - } /*! Used for Java classes in the summary section of Java packages */ QCString trClasses() { @@ -795,11 +774,6 @@ class TranslatorDutch : public Translator { return "Packages"; } - /*! Used as a chapter title for Latex & RTF output */ - QCString trPackageDocumentation() - { - return "Package Documentatie"; - } /*! Text shown before a multi-line define */ QCString trDefineValue() { @@ -940,17 +914,6 @@ class TranslatorDutch : public Translator * be followed by a single name or by a list of names * of the category. */ - virtual QCString trField(bool first_capital, bool singular) - { - QCString result((first_capital ? "Veld" : "veld")); - if (!singular) result+="en"; - return result; - } - - /*! This is used for translation of the word that will possibly - * be followed by a single name or by a list of names - * of the category. - */ virtual QCString trGlobal(bool first_capital, bool singular) { QCString result((first_capital ? "Globale member" : "globale member")); diff --git a/src/util.cpp b/src/util.cpp index 0ae6fa2..67c7c03 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1537,8 +1537,12 @@ QCString removeRedundantWhiteSpace(const QCString &s) { nextChar: char c=s.at(i); - if (csp<6 && c==constScope[csp]) csp++; else csp=0; - if (vsp<8 && c==virtualScope[vsp]) vsp++; else vsp=0; + if ((csp==0 && (i==0 || !isId(constScope[i-1])) && csp<6) && + c==constScope[csp] + ) csp++; else csp=0; + if ((vsp==0 && (i==0 || !isId(virtualScope[i-1])) && vsp<8) && + c==virtualScope[vsp] + ) vsp++; else vsp=0; if (c=='"') // quoted string { i++; |