/****************************************************************************** * * * * Copyright (C) 1997-2012 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * * The translation into French was provided by * Christophe Bordeux (bordeux@lig.di.epfl.ch) * and after version 1.2.0 by Xavier Outhier (xouthier@yahoo.fr) * member of the non for profit association D2SET (http://d2set.free.fr) */ /****************************************************************************** * History of content * * Date | Description * ============+============================================================= * 2001-11-22 | Removed obsolet methods: * | QCString latexBabelPackage() * | QCString trAuthor() * | QCString trAuthors() * | QCString trFiles() * | QCString trIncludeFile() * | QCString trVerbatimText(const char *f) * -------------+------------------------------------------------------------ * 2002-01-23 | Update for new since 1.2.13 * -------------+------------------------------------------------------------ * 2002-07-11 | Update for new since 1.2.16 * -------------+------------------------------------------------------------ * 2002-09-24 | Update for new since 1.2.17 * -------------+------------------------------------------------------------ * 2002-10-22 | Update for new since 1.2.18 * -------------+------------------------------------------------------------ * 2003-02-04 | Corrected typo. Thanks to Bertrand M. :) * -------------+------------------------------------------------------------ * 2003-03-29 | Update for new since 1.3 * -------------+------------------------------------------------------------ * 2003-03-29 | Changed fonction into méthode. * -------------+------------------------------------------------------------ * 2003-06-06 | Fixed code page problem appeared between 1.42 and 1.43 in CVS * -------------+------------------------------------------------------------ * 2003-06-10 | Update for new since 1.3.1 * -------------+------------------------------------------------------------ * 2003-09-12 | Update for new since 1.3.3 * -------------+------------------------------------------------------------ * 2004-04-30 | Updates by Jacques Bouchard : * | - spaces between ':' removed (should be added by the renderer) * | - missing spaces added * | - missing tests for OPTIMIZE_OUTPUT_FOR_C added * | - translations corrected * | - translator_fr.h now conforms exactly to translator_en.h * | (try: gvim -d translator_en.h translator_fr.h) * -------------+------------------------------------------------------------ * 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 // When defining a translator class for the new language, follow // the description in the documentation. One of the steps says // that you should copy the translator_en.h (this) file to your // translator_xx.h new file. Your new language should use the // Translator class as the base class. This means that you need to // implement exactly the same (pure virtual) methods as the // TranslatorEnglish does. Because of this, it is a good idea to // start with the copy of TranslatorEnglish and replace the strings // one by one. // // It is not necessary to include "translator.h" or // "translator_adapter.h" here. The files are included in the // language.cpp correctly. Not including any of the mentioned // files frees the maintainer from thinking about whether the // first, the second, or both files should be included or not, and // why. This holds namely for localized translators because their // base class is changed occasionaly to adapter classes when the // Translator class changes the interface, or back to the // Translator class (by the local maintainer) when the localized // translator is made up-to-date again. class TranslatorFrench : public Translator { public: // --- Language control methods ------------------- /*! Used for identification of the language. The identification * should not be translated. It should be replaced by the name * of the language in English using lower-case characters only * (e.g. "czech", "japanese", "russian", etc.). It should be equal to * the identification used in language.cpp. */ 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 *
"\\usepackage[german]{babel}\n"
     *  
* or *
"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  
*/ virtual QCString latexLanguageSupportCommand() { return "\\usepackage[french]{babel}\n"; } /*! return the language charset. This will be used when transcoding the translatable strings in this file to UTF-8 */ 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"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "(Notez 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"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Documentation des définitions de type membres"; } /*! header that is put before the list of enumerations. */ 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"; } /*! 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"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "Plus de détails..."; } /*! put in the class documentation */ 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"; } /*! 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 "; } /*! this is the remainder of the sentence after the class name */ 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; } /*! put after an enum name in the list of all members */ 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"; } /*! put after an undocumented member in the list of all members */ 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"; } /*! This is put above each page as a link to the class hierarchy */ 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"; } } /*! 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 all members of compounds. */ 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 "Variables 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"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "Exemples"; } /*! This is put above each page as a link to the search engine. */ 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 :"; } /*! 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")) { 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 { result+="membres de classe "; } if (!extractAll) { result+="documentés "; } result+="avec des 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+="de toutes les 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 des 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 examples */ 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 :"; } /*! This is an introduction to the page with the list of class/file groups */ 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"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ 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"; } /*! 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 { 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"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ 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"; } } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ 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"; } /*! 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"; } /*! This is used in LaTeX as the title of the document */ 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"; } /*! 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"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Définitions 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"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ 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"; } /*! 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"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ 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"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Documentation des définitions 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 functions */ 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"; } /*! 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"; } } /*! 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; } /*! This is part of the sentence used in the standard footer of each page. */ 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+":"; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Pour un usage interne uniquement."; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Avertissement"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Version"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "Date"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "Renvoie"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "Voir également"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "Paramètres"; } /*! this text is generated when the \\exception command is used. */ 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 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all 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 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"; } ////////////////////////////////////////////////////////////////////////// // 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"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result="Référence "; if (isTemplate) result+="du modèle "; result+="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; 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; } /*! used as the title of the HTML page of a namespace */ 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"; } /*! 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