1 /******************************************************************************
5 * Copyright (C) 1997-2012 by Dimitri van Heesch.
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
18 #ifndef TRANSLATOR_CA_H
19 #define TRANSLATOR_CA_H
22 When defining a translator class for the new language, follow
23 the description in the documentation. One of the steps says
24 that you should copy the translator_en.h (this) file to your
25 translator_xx.h new file. Your new language should use the
26 Translator class as the base class. This means that you need to
27 implement exactly the same (pure virtual) methods as the
28 TranslatorEnglish does. Because of this, it is a good idea to
29 start with the copy of TranslatorEnglish and replace the strings
32 It is not necessary to include "translator.h" or
33 "translator_adapter.h" here. The files are included in the
34 language.cpp correctly. Not including any of the mentioned
35 files frees the maintainer from thinking about whether the
36 first, the second, or both files should be included or not, and
37 why. This holds namely for localized translators because their
38 base class is changed occasionaly to adapter classes when the
39 Translator class changes the interface, or back to the
40 Translator class (by the local maintainer) when the localized
41 translator is made up-to-date again.
43 class TranslatorCatalan : public TranslatorAdapter_1_8_0
47 // --- Language control methods -------------------
49 /*! Used for identification of the language. The identification
50 * should not be translated. It should be replaced by the name
51 * of the language in English using lower-case characters only
52 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
53 * the identification used in language.cpp.
55 virtual QCString idLanguage()
58 /*! Used to get the LaTeX command(s) for the language support.
59 * This method should return string with commands that switch
60 * LaTeX to the desired language. For example
61 * <pre>"\\usepackage[german]{babel}\n"
64 * <pre>"\\usepackage{polski}\n"
65 * "\\usepackage[latin2]{inputenc}\n"
66 * "\\usepackage[T1]{fontenc}\n"
69 * The English LaTeX does not use such commands. Because of this
70 * the empty string is returned in this implementation.
72 virtual QCString latexLanguageSupportCommand()
74 //return "\\usepackage[catalan]{babel}\n\\usepackage[latin1]{inputenc}";
75 return "\\usepackage[catalan]{babel}\n";
78 /*! return the language charset. This will be used for the HTML output */
79 virtual QCString idLanguageCharset()
84 // --- Language translation methods -------------------
86 /*! used in the compound documentation before a list of related functions. */
87 virtual QCString trRelatedFunctions()
88 { return "Funcions Associades"; }
90 /*! subscript for the related functions. */
91 virtual QCString trRelatedSubscript()
92 { return "(Remarcar que aquestes funcions no són funcions membre.)"; }
94 /*! header that is put before the detailed description of files, classes and namespaces. */
95 virtual QCString trDetailedDescription()
96 { return "Descripció Detallada"; }
98 /*! header that is put before the list of typedefs. */
99 virtual QCString trMemberTypedefDocumentation()
100 { return "Documentació de les Definicions de Tipus Membre"; }
102 /*! header that is put before the list of enumerations. */
103 virtual QCString trMemberEnumerationDocumentation()
104 { return "Documentació de les Enumeracions Membre"; }
106 /*! header that is put before the list of member functions. */
107 virtual QCString trMemberFunctionDocumentation()
108 { return "Documentació de les Funcions Membre"; }
110 /*! header that is put before the list of member attributes. */
111 virtual QCString trMemberDataDocumentation()
113 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
115 return "Documentació dels Camps";
119 return "Documentació de les Dades Membre";
123 /*! this is the text of a link put after brief descriptions. */
124 virtual QCString trMore()
127 /*! put in the class documentation */
128 virtual QCString trListOfAllMembers()
129 { return "Llista de tots els membres"; }
131 /*! used as the title of the "list of all members" page of a class */
132 virtual QCString trMemberList()
133 { return "Llista dels Membres"; }
135 /*! this is the first part of a sentence that is followed by a class name */
136 virtual QCString trThisIsTheListOfAllMembers()
137 { return "Aquesta és la llista complerta dels membres de "; }
139 /*! this is the remainder of the sentence after the class name */
140 virtual QCString trIncludingInheritedMembers()
141 { return ", incloent tots els membres heretats."; }
143 /*! this is put at the author sections at the bottom of man pages.
144 * parameter s is name of the project name.
146 virtual QCString trGeneratedAutomatically(const char *s)
147 { QCString result="Generat automàticament per Doxygen";
148 if (s) result+=(QCString)" per a "+s;
149 result+=" a partir del codi font.";
153 /*! put after an enum name in the list of all members */
154 virtual QCString trEnumName()
155 { return "nom de la enum"; }
157 /*! put after an enum value in the list of all members */
158 virtual QCString trEnumValue()
159 { return "valors de la enum"; }
161 /*! put after an undocumented member in the list of all members */
162 virtual QCString trDefinedIn()
163 { return "definit a"; }
165 // quick reference sections
167 /*! This is put above each page as a link to the list of all groups of
168 * compounds or files (see the \\group command).
170 virtual QCString trModules()
173 /*! This is put above each page as a link to the class hierarchy */
174 virtual QCString trClassHierarchy()
175 { return "Jerarquia de Classes"; }
177 /*! This is put above each page as a link to the list of annotated classes */
178 virtual QCString trCompoundList()
180 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
182 return "Estructures de Dades";
186 return "Llista de Classes";
190 /*! This is put above each page as a link to the list of documented files */
191 virtual QCString trFileList()
192 { return "Llista dels Fitxers"; }
194 /*! This is put above each page as a link to all members of compounds. */
195 virtual QCString trCompoundMembers()
197 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
199 return "Camps de Dades";
203 return "Membres de Classes";
207 /*! This is put above each page as a link to all members of files. */
208 virtual QCString trFileMembers()
210 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
216 return "Membres de Fitxers";
220 /*! This is put above each page as a link to all related pages. */
221 virtual QCString trRelatedPages()
222 { return "Pàgines Relacionades"; }
224 /*! This is put above each page as a link to all examples. */
225 virtual QCString trExamples()
226 { return "Exemples"; }
228 /*! This is put above each page as a link to the search engine. */
229 virtual QCString trSearch()
232 /*! This is an introduction to the class hierarchy. */
233 virtual QCString trClassHierarchyDescription()
234 { return "Aquesta llista d'herència està ordenada toscament, "
235 "però no completa, de forma alfabètica:";
238 /*! This is an introduction to the list with all files. */
239 virtual QCString trFileListDescription(bool extractAll)
241 QCString result="Aquesta és la llista de tots els fitxers ";
242 if (!extractAll) result+="documentats ";
243 result+="acompanyats amb breus descripcions:";
247 /*! This is an introduction to the annotated compound list. */
248 virtual QCString trCompoundListDescription()
251 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
253 return "Aquestes són les estructures de dades acompanyades amb breus descripcions:";
257 return "Aquestes són les classes, estructures, "
258 "unions i interfícies acompanyades amb breus descripcions:";
262 /*! This is an introduction to the page with all class members. */
263 virtual QCString trCompoundMembersDescription(bool extractAll)
265 QCString result="Aquesta és la llista de tots els ";
266 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
268 result+="camps d'estructures i unions";
272 result+="membres de classe";
276 result+=" documentats";
278 result+=" amb enllaços a ";
281 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
283 result+="la documentació de l'estructura/unió per a cada camp:";
287 result+="la documentació de la classe per a cada membre:";
292 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
294 result+="les estructures/unions a que pertanyen:";
298 result+="les classes a que pertanyen:";
303 /*! This is an introduction to the page with all file members. */
304 virtual QCString trFileMembersDescription(bool extractAll)
306 QCString result="Aquesta és la llista de ";
307 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
309 result+="totes les funcions, variables, definicions, enumeracions, i definicions de tipus";
310 if (!extractAll) result+=" documentades";
314 result+="tots els membres de fitxers";
315 if (!extractAll) result+=" documentats";
317 result+=" amb enllaços ";
319 result+="als fitxers als quals corresponen:";
321 result+="a la documentació:";
325 /*! This is an introduction to the page with the list of all examples */
326 virtual QCString trExamplesDescription()
327 { return "Aquesta és la llista de tots els exemples:"; }
329 /*! This is an introduction to the page with the list of related pages */
330 virtual QCString trRelatedPagesDescription()
331 { return "Aquesta és la llista de totes les pàgines de documentació associades:"; }
333 /*! This is an introduction to the page with the list of class/file groups */
334 virtual QCString trModulesDescription()
335 { return "Aquesta és la llista de mòduls:"; }
337 // index titles (the project name is prepended for these)
340 /*! This is used in HTML as the title of index.html. */
341 virtual QCString trDocumentation()
342 { return ": Documentació"; }
344 /*! This is used in LaTeX as the title of the chapter with the
345 * index of all groups.
347 virtual QCString trModuleIndex()
348 { return "Índex de Mòduls"; }
350 /*! This is used in LaTeX as the title of the chapter with the
353 virtual QCString trHierarchicalIndex()
354 { return "Índex Jeràrquic"; }
356 /*! This is used in LaTeX as the title of the chapter with the
357 * annotated compound index.
359 virtual QCString trCompoundIndex()
361 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
363 return "Índex d'Estructures de Dades";
367 return "Índex de Classes";
371 /*! This is used in LaTeX as the title of the chapter with the
374 virtual QCString trFileIndex()
375 { return "Índex de Fitxers"; }
377 /*! This is used in LaTeX as the title of the chapter containing
378 * the documentation of all groups.
380 virtual QCString trModuleDocumentation()
381 { return "Documentació dels Mòduls"; }
383 /*! This is used in LaTeX as the title of the chapter containing
384 * the documentation of all classes, structs and unions.
386 virtual QCString trClassDocumentation()
388 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
390 return "Documentació de les Estructures de Dades";
394 return "Documentació de les Classes";
398 /*! This is used in LaTeX as the title of the chapter containing
399 * the documentation of all files.
401 virtual QCString trFileDocumentation()
402 { return "Documentació dels Fitxers"; }
404 /*! This is used in LaTeX as the title of the chapter containing
405 * the documentation of all examples.
407 virtual QCString trExampleDocumentation()
408 { return "Documentació dels Exemples"; }
410 /*! This is used in LaTeX as the title of the chapter containing
411 * the documentation of all related pages.
413 virtual QCString trPageDocumentation()
414 { return "Documentació de les Pàgines"; }
416 /*! This is used in LaTeX as the title of the document */
417 virtual QCString trReferenceManual()
418 { return "Manual de Referència"; }
420 /*! This is used in the documentation of a file as a header before the
423 virtual QCString trDefines()
424 { return "Definicions"; }
426 /*! This is used in the documentation of a file as a header before the
427 * list of function prototypes
429 virtual QCString trFuncProtos()
430 { return "Prototipus de Funcions"; }
432 /*! This is used in the documentation of a file as a header before the
435 virtual QCString trTypedefs()
436 { return "Definicions de Tipus"; }
438 /*! This is used in the documentation of a file as a header before the
439 * list of enumerations
441 virtual QCString trEnumerations()
442 { return "Enumeracions"; }
444 /*! This is used in the documentation of a file as a header before the
445 * list of (global) functions
447 virtual QCString trFunctions()
448 { return "Funcions"; }
450 /*! This is used in the documentation of a file as a header before the
451 * list of (global) variables
453 virtual QCString trVariables()
454 { return "Variables"; }
456 /*! This is used in the documentation of a file as a header before the
457 * list of (global) variables
459 virtual QCString trEnumerationValues()
460 { return "Valors de les Enumeracions"; }
462 /*! This is used in the documentation of a file before the list of
463 * documentation blocks for defines
465 virtual QCString trDefineDocumentation()
466 { return "Documentació de les Definicions"; }
468 /*! This is used in the documentation of a file/namespace before the list
469 * of documentation blocks for function prototypes
471 virtual QCString trFunctionPrototypeDocumentation()
472 { return "Documentació de les Funcions Prototipus"; }
474 /*! This is used in the documentation of a file/namespace before the list
475 * of documentation blocks for typedefs
477 virtual QCString trTypedefDocumentation()
478 { return "Documentació de les Definicions de Tipus"; }
480 /*! This is used in the documentation of a file/namespace before the list
481 * of documentation blocks for enumeration types
483 virtual QCString trEnumerationTypeDocumentation()
484 { return "Documentació dels Tipus de les Enumeracions"; }
486 /*! This is used in the documentation of a file/namespace before the list
487 * of documentation blocks for functions
489 virtual QCString trFunctionDocumentation()
490 { return "Documentació de les Funcions"; }
492 /*! This is used in the documentation of a file/namespace before the list
493 * of documentation blocks for variables
495 virtual QCString trVariableDocumentation()
496 { return "Documentació de les Variables"; }
498 /*! This is used in the documentation of a file/namespace/group before
499 * the list of links to documented compounds
501 virtual QCString trCompounds()
503 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
505 return "Estructures de Dades";
513 /*! This is used in the standard footer of each page and indicates when
514 * the page was generated
516 virtual QCString trGeneratedAt(const char *date,const char *projName)
518 QCString result=(QCString)"Generat a "+date;
519 if (projName) result+=(QCString)" per a "+projName;
520 result+=(QCString)" per";
523 /*! This is part of the sentence used in the standard footer of each page.
525 virtual QCString trWrittenBy()
530 /*! this text is put before a class diagram */
531 virtual QCString trClassDiagram(const char *clName)
533 return (QCString)"Diagrama d'Herència per a "+clName+":";
536 /*! this text is generated when the \\internal command is used. */
537 virtual QCString trForInternalUseOnly()
538 { return "Tan sols per a ús intern."; }
540 /*! this text is generated when the \\warning command is used. */
541 virtual QCString trWarning()
542 { return "Atenció"; }
544 /*! this text is generated when the \\version command is used. */
545 virtual QCString trVersion()
548 /*! this text is generated when the \\date command is used. */
549 virtual QCString trDate()
552 /*! this text is generated when the \\return command is used. */
553 virtual QCString trReturns()
554 { return "Retorna"; }
556 /*! this text is generated when the \\sa command is used. */
557 virtual QCString trSeeAlso()
558 { return "Mireu també"; }
560 /*! this text is generated when the \\param command is used. */
561 virtual QCString trParameters()
562 { return "Paràmetres"; }
564 /*! this text is generated when the \\exception command is used. */
565 virtual QCString trExceptions()
566 { return "Excepcions"; }
568 /*! this text is used in the title page of a LaTeX document. */
569 virtual QCString trGeneratedBy()
570 { return "Generat per"; }
572 //////////////////////////////////////////////////////////////////////////
573 // new since 0.49-990307
574 //////////////////////////////////////////////////////////////////////////
576 /*! used as the title of page containing all the index of all namespaces. */
577 virtual QCString trNamespaceList()
578 { return "Llista dels Espais de Noms"; }
580 /*! used as an introduction to the namespace list */
581 virtual QCString trNamespaceListDescription(bool extractAll)
583 QCString result="Aquests són tots els espais de noms ";
584 if (!extractAll) result+="documentats ";
585 result+="amb breus descripcions:";
589 /*! used in the class documentation as a header before the list of all
592 virtual QCString trFriends()
593 { return "Classes Amigues"; }
595 //////////////////////////////////////////////////////////////////////////
596 // new since 0.49-990405
597 //////////////////////////////////////////////////////////////////////////
599 /*! used in the class documentation as a header before the list of all
602 virtual QCString trRelatedFunctionDocumentation()
603 { return "Documentació de funcions amigues i relacionades"; }
605 //////////////////////////////////////////////////////////////////////////
606 // new since 0.49-990425
607 //////////////////////////////////////////////////////////////////////////
609 /*! used as the title of the HTML page of a class/struct/union */
610 virtual QCString trCompoundReference(const char *clName,
611 ClassDef::CompoundType compType,
614 QCString result="Referència de";
617 case ClassDef::Class: result+=" la Classe "; break;
618 case ClassDef::Struct: result+=" l'Estructura "; break;
619 case ClassDef::Union: result+=" la Unió "; break;
620 case ClassDef::Interface: result+=" la Interfície "; break;
621 case ClassDef::Protocol: result+="l Protocol "; break;
622 case ClassDef::Category: result+=" la Categoria "; break;
623 case ClassDef::Exception: result+=" l'Excepció "; break;
625 if (isTemplate) result+="Template ";
626 result+=(QCString)clName;
630 /*! used as the title of the HTML page of a file */
631 virtual QCString trFileReference(const char *fileName)
633 QCString result="Referència del Fitxer ";
638 /*! used as the title of the HTML page of a namespace */
639 virtual QCString trNamespaceReference(const char *namespaceName)
641 QCString result="Referència de l'Espai de Noms ";
642 result+=namespaceName;
646 virtual QCString trPublicMembers()
647 { return "Mètodes públics"; }
648 virtual QCString trPublicSlots()
649 { return "Slots públics"; }
650 virtual QCString trSignals()
651 { return "Senyals"; }
652 virtual QCString trStaticPublicMembers()
653 { return "Mètodes Públics Estàtics"; }
654 virtual QCString trProtectedMembers()
655 { return "Mètodes Protegits"; }
656 virtual QCString trProtectedSlots()
657 { return "Slots Protegits"; }
658 virtual QCString trStaticProtectedMembers()
659 { return "Mètodes Protegits Estàtics"; }
660 virtual QCString trPrivateMembers()
661 { return "Mètodes Privats"; }
662 virtual QCString trPrivateSlots()
663 { return "Slots Privats"; }
664 virtual QCString trStaticPrivateMembers()
665 { return "Mètodes Privats Estàtics"; }
667 /*! this function is used to produce a comma-separated list of items.
668 * use generateMarker(i) to indicate where item i should be put.
670 virtual QCString trWriteList(int numEntries)
674 // the inherits list contain `numEntries' classes
675 for (i=0;i<numEntries;i++)
677 // use generateMarker to generate placeholders for the class links!
678 result+=generateMarker(i); // generate marker for entry i in the list
679 // (order is left to right)
681 if (i!=numEntries-1) // not the last entry, so we need a separator
683 if (i<numEntries-2) // not the fore last entry
685 else // the fore last entry
692 /*! used in class documentation to produce a list of base classes,
693 * if class diagrams are disabled.
695 virtual QCString trInheritsList(int numEntries)
697 return "Hereta de "+trWriteList(numEntries)+".";
700 /*! used in class documentation to produce a list of super classes,
701 * if class diagrams are disabled.
703 virtual QCString trInheritedByList(int numEntries)
705 return "Heretat per "+trWriteList(numEntries)+".";
708 /*! used in member documentation blocks to produce a list of
709 * members that are hidden by this one.
711 virtual QCString trReimplementedFromList(int numEntries)
713 return "Reimplementat de "+trWriteList(numEntries)+".";
716 /*! used in member documentation blocks to produce a list of
717 * all member that overwrite the implementation of this member.
719 virtual QCString trReimplementedInList(int numEntries)
721 return "Reimplementat a "+trWriteList(numEntries)+".";
724 /*! This is put above each page as a link to all members of namespaces. */
725 virtual QCString trNamespaceMembers()
726 { return "Membres de l'Espai de Noms"; }
728 /*! This is an introduction to the page with all namespace members */
729 virtual QCString trNamespaceMemberDescription(bool extractAll)
731 QCString result="Aquesta és la llista de tots els membres de l'espai de noms ";
732 if (!extractAll) result+="documentats ";
733 result+="amb enllaços a ";
735 result+="la documentació de l'espai de noms de cada membre:";
737 result+="l'espai de noms al qual corresponen:";
740 /*! This is used in LaTeX as the title of the chapter with the
741 * index of all namespaces.
743 virtual QCString trNamespaceIndex()
744 { return "Índex d'Espais de Noms"; }
746 /*! This is used in LaTeX as the title of the chapter containing
747 * the documentation of all namespaces.
749 virtual QCString trNamespaceDocumentation()
750 { return "Documentació de l'Espai de Noms"; }
752 //////////////////////////////////////////////////////////////////////////
753 // new since 0.49-990522
754 //////////////////////////////////////////////////////////////////////////
756 /*! This is used in the documentation before the list of all
757 * namespaces in a file.
759 virtual QCString trNamespaces()
760 { return "Espais de Noms"; }
762 //////////////////////////////////////////////////////////////////////////
763 // new since 0.49-990728
764 //////////////////////////////////////////////////////////////////////////
766 /*! This is put at the bottom of a class documentation page and is
767 * followed by a list of files that were used to generate the page.
769 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
771 { // here s is one of " Class", " Struct" or " Union"
772 // single is true implies a single file
773 QCString result=(QCString)"La documentació d'aquest";
776 case ClassDef::Class: result+="a classe"; break;
777 case ClassDef::Struct: result+="a estructura"; break;
778 case ClassDef::Union: result+="a unió"; break;
779 case ClassDef::Interface: result+="a interfície"; break;
780 case ClassDef::Protocol: result+=" protocol"; break;
781 case ClassDef::Category: result+="a categoria"; break;
782 case ClassDef::Exception: result+="a excepció"; break;
784 result+=" es va generar a partir del";
785 if (!single) result+="s";
787 if (!single) result+="s";
789 if (!single) result+="s:"; else result+=":";
793 /*! This is in the (quick) index as a link to the alphabetical compound
796 virtual QCString trAlphabeticalList()
797 { return "Llista Alfabètica"; }
799 //////////////////////////////////////////////////////////////////////////
800 // new since 0.49-990901
801 //////////////////////////////////////////////////////////////////////////
803 /*! This is used as the heading text for the retval command. */
804 virtual QCString trReturnValues()
805 { return "Valors de retorn"; }
807 /*! This is in the (quick) index as a link to the main page (index.html)
809 virtual QCString trMainPage()
810 { return "Pàgina principal"; }
812 /*! This is used in references to page that are put in the LaTeX
813 * documentation. It should be an abbreviation of the word page.
815 virtual QCString trPageAbbreviation()
818 //////////////////////////////////////////////////////////////////////////
819 // new since 0.49-991003
820 //////////////////////////////////////////////////////////////////////////
822 virtual QCString trDefinedAtLineInSourceFile()
824 return "Definició a la línia @0 del fitxer @1.";
826 virtual QCString trDefinedInSourceFile()
828 return "Definició al fitxer @0.";
831 //////////////////////////////////////////////////////////////////////////
832 // new since 0.49-991205
833 //////////////////////////////////////////////////////////////////////////
835 virtual QCString trDeprecated()
840 //////////////////////////////////////////////////////////////////////////
842 //////////////////////////////////////////////////////////////////////////
844 /*! this text is put before a collaboration diagram */
845 virtual QCString trCollaborationDiagram(const char *clName)
847 return (QCString)"Diagrama de col·laboració per a "+clName+":";
849 /*! this text is put before an include dependency graph */
850 virtual QCString trInclDepGraph(const char *fName)
852 return (QCString)"Inclou el graf de dependències per a "+fName+":";
854 /*! header that is put before the list of constructor/destructors. */
855 virtual QCString trConstructorDocumentation()
857 return "Documentació del Constructor i el Destructor";
859 /*! Used in the file documentation to point to the corresponding sources. */
860 virtual QCString trGotoSourceCode()
862 return "Veure el codi d'aquest fitxer.";
864 /*! Used in the file sources to point to the corresponding documentation. */
865 virtual QCString trGotoDocumentation()
867 return "Veure la documentació d'aquest fitxer.";
869 /*! Text for the \\pre command */
870 virtual QCString trPrecondition()
872 return "Precondició";
874 /*! Text for the \\post command */
875 virtual QCString trPostcondition()
877 return "Postcondició";
879 /*! Text for the \\invariant command */
880 virtual QCString trInvariant()
884 /*! Text shown before a multi-line variable/enum initialization */
885 virtual QCString trInitialValue()
887 return "Valor inicial:";
889 /*! Text used the source code in the file index */
890 virtual QCString trCode()
894 virtual QCString trGraphicalHierarchy()
896 return "Jerarquia Gràfica de la Classe";
898 virtual QCString trGotoGraphicalHierarchy()
900 return "Veure la jerarquia gràfica de la classe";
902 virtual QCString trGotoTextualHierarchy()
904 return "Veure la jerarquia textual de la classe";
906 virtual QCString trPageIndex()
908 return "Índex de Pàgines";
911 //////////////////////////////////////////////////////////////////////////
913 //////////////////////////////////////////////////////////////////////////
915 virtual QCString trNote()
919 virtual QCString trPublicTypes()
921 return "Tipus Públics";
923 virtual QCString trPublicAttribs()
925 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
927 return "Camps de Dades";
931 return "Atributs Públics";
934 virtual QCString trStaticPublicAttribs()
936 return "Atributs Públics Estàtics";
938 virtual QCString trProtectedTypes()
940 return "Tipus Protegits";
942 virtual QCString trProtectedAttribs()
944 return "Atributs Protegits";
946 virtual QCString trStaticProtectedAttribs()
948 return "Atributs Protegits Estàtics";
950 virtual QCString trPrivateTypes()
952 return "Tipus Privats";
954 virtual QCString trPrivateAttribs()
956 return "Atributs Privats";
958 virtual QCString trStaticPrivateAttribs()
960 return "Atributs Privats Estàtics";
963 //////////////////////////////////////////////////////////////////////////
965 //////////////////////////////////////////////////////////////////////////
967 /*! Used as a marker that is put before a \\todo item */
968 virtual QCString trTodo()
972 /*! Used as the header of the todo list */
973 virtual QCString trTodoList()
975 return "Llista de coses per fer";
978 //////////////////////////////////////////////////////////////////////////
980 //////////////////////////////////////////////////////////////////////////
982 virtual QCString trReferencedBy()
984 return "Referenciat a";
986 virtual QCString trRemarks()
990 virtual QCString trAttention()
994 virtual QCString trInclByDepGraph()
996 return "Aquest gràfic mostra quins fitxers inclouen, "
997 "de forma directa o indirecta, aquest fitxer:";
999 virtual QCString trSince()
1004 //////////////////////////////////////////////////////////////////////////
1006 //////////////////////////////////////////////////////////////////////////
1008 /*! title of the graph legend page */
1009 virtual QCString trLegendTitle()
1011 return "Llegenda del Gràfic";
1013 /*! page explaining how the dot graph's should be interpreted
1014 * The %A in the text below are to prevent link to classes called "A".
1016 virtual QCString trLegendDocs()
1019 "Aquesta pàgina explica com s'interpreten els gràfics generats per doxygen.<p>\n"
1020 "Considera aquest exemple:\n"
1022 "/*! Classe invisible per culpa del retall */\n"
1023 "class Invisible { };\n\n"
1024 "/*! Classe truncada, l'herència està amagada */\n"
1025 "class Truncated : public Invisible { };\n\n"
1026 "/* Classe no documentada amb comentaris doxygen */\n"
1027 "class Undocumented { };\n\n"
1028 "/*! Classe heredada amb herència pública */\n"
1029 "class PublicBase : public Truncated { };\n\n"
1030 "/*! Una classe Template */\n"
1031 "template<class T> class Templ { };\n\n"
1032 "/*! Classe heredada utilitzant herència protegida */\n"
1033 "class ProtectedBase { };\n\n"
1034 "/*! Classe heredada utiltzant herència privada */\n"
1035 "class PrivateBase { };\n\n"
1036 "/*! Classe usada per la classe heretada */\n"
1037 "class Used { };\n\n"
1038 "/*! Super classe que hereda una quantitat de classes */\n"
1039 "class Inherited : public PublicBase,\n"
1040 " protected ProtectedBase,\n"
1041 " private PrivateBase,\n"
1042 " public Undocumented,\n"
1043 " public Templ<int>\n"
1046 " Used *m_usedClass;\n"
1049 "Resultarà el gràfic següent:"
1050 "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1052 "Les caixes del gràfic superior tenen aquesta interpretació:\n"
1054 "<li>Una caixa negra plena represent l'estructura o classe per la qual el gràfic s'ha generat.\n"
1055 "<li>Una caixa de vora negra representa una estructura o classe documentada.\n"
1056 "<li>Una caixa de vora verda representa una estructura o classe indocumentada.\n"
1057 "<li>Una caixa de vora vermalla representa una estructura o classe documentada de la qual "
1058 "no es mostren totes les relacions d'herència/inclusió. Un gràfic és truncat si no s'ajusta als límits.\n"
1060 "Les sagetes tenen aquest significat:\n"
1062 "<li>Una sageta blau fosc remarca una relació d'herència de tipus pública entre dues classes.\n"
1063 "<li>Una sageta verd fosc remarca una relació d'herència de tipus protegida entre dues classes.\n"
1064 "<li>Una sageta roig fosc remarca una relació d'herència de tipus privada entre dues classes.\n"
1065 "<li>Una sageta puntejada de color porpra indica que una classe és continguda o usada per una altra classe."
1066 " La sageta s'etiqueta amb la variable o variables a través de les quals la classe o estructura apuntada és accessible.\n"
1067 "<li>Una sageta puntejada de color groc indica la relació entre una instància template i la classe template de què ha set instanciada."
1068 " La sageta s'etiqueta amb els paràmetres template de la instància.\n"
1071 /*! text for the link to the legend page */
1072 virtual QCString trLegend()
1077 //////////////////////////////////////////////////////////////////////////
1079 //////////////////////////////////////////////////////////////////////////
1081 /*! Used as a marker that is put before a test item */
1082 virtual QCString trTest()
1086 /*! Used as the header of the test list */
1087 virtual QCString trTestList()
1089 return "Llista de proves";
1092 //////////////////////////////////////////////////////////////////////////
1094 //////////////////////////////////////////////////////////////////////////
1096 /*! Used as a section header for KDE-2 IDL methods */
1097 virtual QCString trDCOPMethods()
1099 return "Mètodes DCOP";
1102 //////////////////////////////////////////////////////////////////////////
1104 //////////////////////////////////////////////////////////////////////////
1106 /*! Used as a section header for IDL properties */
1107 virtual QCString trProperties()
1109 return "Propietats";
1111 /*! Used as a section header for IDL property documentation */
1112 virtual QCString trPropertyDocumentation()
1114 return "Documentació de les Propietats";
1117 //////////////////////////////////////////////////////////////////////////
1119 //////////////////////////////////////////////////////////////////////////
1121 /*! Used for Java classes in the summary section of Java packages */
1122 virtual QCString trClasses()
1124 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
1126 return "Estructures de Dades";
1133 /*! Used as the title of a Java package */
1134 virtual QCString trPackage(const char *name)
1136 return (QCString)"Paquet "+name;
1138 /*! Title of the package index page */
1139 virtual QCString trPackageList()
1141 return "Llista de Paquets";
1143 /*! The description of the package index page */
1144 virtual QCString trPackageListDescription()
1146 return "Aquesta és la llista de paquets, amb una breu descripció (si se'n disposa):";
1148 /*! The link name in the Quick links header for each page */
1149 virtual QCString trPackages()
1153 /*! Text shown before a multi-line define */
1154 virtual QCString trDefineValue()
1159 //////////////////////////////////////////////////////////////////////////
1161 //////////////////////////////////////////////////////////////////////////
1163 /*! Used as a marker that is put before a \\bug item */
1164 virtual QCString trBug()
1168 /*! Used as the header of the bug list */
1169 virtual QCString trBugList()
1171 return "Llista d'Errors";
1174 //////////////////////////////////////////////////////////////////////////
1176 //////////////////////////////////////////////////////////////////////////
1178 /*! Used as ansicpg for RTF file
1180 * The following table shows the correlation of Charset name, Charset Value and
1183 * Charset Name Charset Value(hex) Codepage number
1184 * ------------------------------------------------------
1185 * DEFAULT_CHARSET 1 (x01)
1186 * SYMBOL_CHARSET 2 (x02)
1187 * OEM_CHARSET 255 (xFF)
1188 * ANSI_CHARSET 0 (x00) 1252
1189 * RUSSIAN_CHARSET 204 (xCC) 1251
1190 * EE_CHARSET 238 (xEE) 1250
1191 * GREEK_CHARSET 161 (xA1) 1253
1192 * TURKISH_CHARSET 162 (xA2) 1254
1193 * BALTIC_CHARSET 186 (xBA) 1257
1194 * HEBREW_CHARSET 177 (xB1) 1255
1195 * ARABIC _CHARSET 178 (xB2) 1256
1196 * SHIFTJIS_CHARSET 128 (x80) 932
1197 * HANGEUL_CHARSET 129 (x81) 949
1198 * GB2313_CHARSET 134 (x86) 936
1199 * CHINESEBIG5_CHARSET 136 (x88) 950
1203 virtual QCString trRTFansicp()
1209 /*! Used as ansicpg for RTF fcharset
1210 * \see trRTFansicp() for a table of possible values.
1212 virtual QCString trRTFCharSet()
1217 /*! Used as header RTF general index */
1218 virtual QCString trRTFGeneralIndex()
1223 /*! This is used for translation of the word that will possibly
1224 * be followed by a single name or by a list of names
1227 virtual QCString trClass(bool first_capital, bool singular)
1229 QCString result((first_capital ? "Classe" : "classe"));
1230 if (!singular) result+="s";
1234 /*! This is used for translation of the word that will possibly
1235 * be followed by a single name or by a list of names
1238 virtual QCString trFile(bool first_capital, bool singular)
1240 QCString result((first_capital ? "Fitxer" : "fitxer"));
1241 if (!singular) result+="s";
1245 /*! This is used for translation of the word that will possibly
1246 * be followed by a single name or by a list of names
1249 virtual QCString trNamespace(bool first_capital, bool singular)
1251 QCString result((first_capital ? "Namespace" : "namespace"));
1252 if (!singular) result+="s";
1256 /*! This is used for translation of the word that will possibly
1257 * be followed by a single name or by a list of names
1260 virtual QCString trGroup(bool first_capital, bool singular)
1262 QCString result((first_capital ? "Grup" : "grup"));
1263 if (!singular) result+="s";
1267 /*! This is used for translation of the word that will possibly
1268 * be followed by a single name or by a list of names
1271 virtual QCString trPage(bool first_capital, bool singular)
1273 QCString result((first_capital ? "Pàgin" : "pàgin"));
1274 if (!singular) result+="es"; else result+="a";
1278 /*! This is used for translation of the word that will possibly
1279 * be followed by a single name or by a list of names
1282 virtual QCString trMember(bool first_capital, bool singular)
1284 QCString result((first_capital ? "Membre" : "membre"));
1285 if (!singular) result+="s";
1289 /*! This is used for translation of the word that will possibly
1290 * be followed by a single name or by a list of names
1293 virtual QCString trGlobal(bool first_capital, bool singular)
1295 QCString result((first_capital ? "Global" : "global"));
1296 if (!singular) result+="s";
1300 //////////////////////////////////////////////////////////////////////////
1302 //////////////////////////////////////////////////////////////////////////
1304 /*! This text is generated when the \\author command is used and
1305 * for the author section in man pages. */
1306 virtual QCString trAuthor(bool first_capital, bool singular)
1308 QCString result((first_capital ? "Autor" : "autor"));
1309 if (!singular) result+="s";
1313 //////////////////////////////////////////////////////////////////////////
1315 //////////////////////////////////////////////////////////////////////////
1317 /*! This text is put before the list of members referenced by a member
1319 virtual QCString trReferences()
1321 return "Referències";
1324 //////////////////////////////////////////////////////////////////////////
1326 //////////////////////////////////////////////////////////////////////////
1328 /*! used in member documentation blocks to produce a list of
1329 * members that are implemented by this one.
1331 virtual QCString trImplementedFromList(int numEntries)
1333 return "Implementa "+trWriteList(numEntries)+".";
1336 /*! used in member documentation blocks to produce a list of
1337 * all members that implement this abstract member.
1339 virtual QCString trImplementedInList(int numEntries)
1341 return "Implementat a "+trWriteList(numEntries)+".";
1344 //////////////////////////////////////////////////////////////////////////
1346 //////////////////////////////////////////////////////////////////////////
1348 /*! used in RTF documentation as a heading for the Table
1351 virtual QCString trRTFTableOfContents()
1353 return "Taula de Continguts";
1356 //////////////////////////////////////////////////////////////////////////
1358 //////////////////////////////////////////////////////////////////////////
1360 /*! Used as the header of the list of item that have been
1361 * flagged deprecated
1363 virtual QCString trDeprecatedList()
1365 return "Llista d'Antiquats";
1368 //////////////////////////////////////////////////////////////////////////
1370 //////////////////////////////////////////////////////////////////////////
1372 /*! Used as a header for declaration section of the events found in
1375 virtual QCString trEvents()
1377 return "Esdeveniments";
1379 /*! Header used for the documentation section of a class' events. */
1380 virtual QCString trEventDocumentation()
1382 return "Documentació dels Esdeveniments";
1385 //////////////////////////////////////////////////////////////////////////
1387 //////////////////////////////////////////////////////////////////////////
1389 /*! Used as a heading for a list of Java class types with package scope.
1391 virtual QCString trPackageTypes()
1393 return "Tipus de paquets";
1395 /*! Used as a heading for a list of Java class functions with package
1398 virtual QCString trPackageMembers()
1400 return "Funcions de Paquet";
1402 /*! Used as a heading for a list of static Java class functions with
1405 virtual QCString trStaticPackageMembers()
1407 return "Funcions Estàtiques de Paquet";
1409 /*! Used as a heading for a list of Java class variables with package
1412 virtual QCString trPackageAttribs()
1414 return "Atributs de Paquet";
1416 /*! Used as a heading for a list of static Java class variables with
1419 virtual QCString trStaticPackageAttribs()
1421 return "Atributs Estàtics de Paquet";
1424 //////////////////////////////////////////////////////////////////////////
1426 //////////////////////////////////////////////////////////////////////////
1428 /*! Used in the quick index of a class/file/namespace member list page
1429 * to link to the unfiltered list of all members.
1431 virtual QCString trAll()
1435 /*! Put in front of the call graph for a function. */
1436 virtual QCString trCallGraph()
1438 return "Gràfic de crides d'aquesta funció:";
1441 //////////////////////////////////////////////////////////////////////////
1443 //////////////////////////////////////////////////////////////////////////
1445 /*! When the search engine is enabled this text is put in the header
1446 * of each page before the field where one can enter the text to search
1449 virtual QCString trSearchForIndex()
1453 /*! This string is used as the title for the page listing the search
1456 virtual QCString trSearchResultsTitle()
1458 return "Resultats de la Búsqueda";
1460 /*! This string is put just before listing the search results. The
1461 * text can be different depending on the number of documents found.
1462 * Inside the text you can put the special marker $num to insert
1463 * the number representing the actual number of search results.
1464 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1465 * value 2 represents 2 or more matches. HTML markup is allowed inside
1466 * the returned string.
1468 virtual QCString trSearchResults(int numDocuments)
1470 if (numDocuments==0)
1472 return "No s'ha trobat cap document.";
1474 else if (numDocuments==1)
1476 return "Trobat <b>1</b> document.";
1480 return "Trobats <b>$num</b> documents. "
1481 "Mostrant els millors resultats primer.";
1484 /*! This string is put before the list of matched words, for each search
1485 * result. What follows is the list of words that matched the query.
1487 virtual QCString trSearchMatches()
1489 return "Resultats:";
1492 //////////////////////////////////////////////////////////////////////////
1494 //////////////////////////////////////////////////////////////////////////
1496 /*! This is used in HTML as the title of page with source code for file filename
1498 virtual QCString trSourceFile(QCString& filename)
1500 return "Fitxer de Codi " + filename;
1503 //////////////////////////////////////////////////////////////////////////
1505 //////////////////////////////////////////////////////////////////////////
1507 /*! This is used as the name of the chapter containing the directory
1510 virtual QCString trDirIndex()
1511 { return "Jerarquia de Directoris"; }
1513 /*! This is used as the name of the chapter containing the documentation
1514 * of the directories.
1516 virtual QCString trDirDocumentation()
1517 { return "Documentació dels Directoris"; }
1519 /*! This is used as the title of the directory index and also in the
1520 * Quick links of a HTML page, to link to the directory hierarchy.
1522 virtual QCString trDirectories()
1523 { return "Directoris"; }
1525 /*! This returns a sentences that introduces the directory hierarchy.
1526 * and the fact that it is sorted alphabetically per level
1528 virtual QCString trDirDescription()
1529 { return "Aquesta jerarquia de directoris està ordenada toscament, "
1530 "però no completa, de forma alfabètica:";
1533 /*! This returns the title of a directory page. The name of the
1534 * directory is passed via \a dirName.
1536 virtual QCString trDirReference(const char *dirName)
1537 { QCString result="Referència del Directori "; result+=dirName; return result; }
1539 /*! This returns the word directory with or without starting capital
1540 * (\a first_capital) and in sigular or plural form (\a singular).
1542 virtual QCString trDir(bool first_capital, bool singular)
1544 QCString result((first_capital ? "Directori" : "directori"));
1545 if (!singular) result+="s";
1549 //////////////////////////////////////////////////////////////////////////
1551 //////////////////////////////////////////////////////////////////////////
1553 /*! This text is added to the documentation when the \\overload command
1554 * is used for a overloaded function.
1556 virtual QCString trOverloadText()
1558 return "Aquesta és una funció membre sobrecarregada, "
1559 "proveïda per conveniència. Es diferencia de la funció "
1560 "anterior només en els arguments que accepta.";
1563 //////////////////////////////////////////////////////////////////////////
1565 //////////////////////////////////////////////////////////////////////////
1567 /*! This is used to introduce a caller (or called-by) graph */
1568 virtual QCString trCallerGraph()
1570 return "Gràfic de crides a aquesta funció:";
1573 /*! This is used in the documentation of a file/namespace before the list
1574 * of documentation blocks for enumeration values
1576 virtual QCString trEnumerationValueDocumentation()
1577 { return "Documentació de les Enumeracions"; }
1579 //////////////////////////////////////////////////////////////////////////
1580 // new since 1.5.4 (mainly for Fortran)
1581 //////////////////////////////////////////////////////////////////////////
1583 /*! header that is put before the list of member subprograms (Fortran). */
1584 virtual QCString trMemberFunctionDocumentationFortran()
1585 { return "Documentació de les Funcions/Subrutines Membre"; }
1587 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1588 virtual QCString trCompoundListFortran()
1589 { return "Llista de Tipus de Dades"; }
1591 /*! This is put above each page as a link to all members of compounds (Fortran). */
1592 virtual QCString trCompoundMembersFortran()
1593 { return "Camps de Dades"; }
1595 /*! This is an introduction to the annotated compound list (Fortran). */
1596 virtual QCString trCompoundListDescriptionFortran()
1597 { return "Aquests són els tipus de dades acompanyats amb breus descripcions:"; }
1599 /*! This is an introduction to the page with all data types (Fortran). */
1600 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1602 QCString result="Aquesta és la llista de tots els membres de tipus de dades";
1605 result+=" documentats";
1607 result+=" amb enllaços a ";
1610 result+="la documentació del tipus de dades per a cada membre:";
1614 result+="els tipus de dades a que pertanyen:";
1619 /*! This is used in LaTeX as the title of the chapter with the
1620 * annotated compound index (Fortran).
1622 virtual QCString trCompoundIndexFortran()
1623 { return "Índex de Tipus de Dades"; }
1625 /*! This is used in LaTeX as the title of the chapter containing
1626 * the documentation of all data types (Fortran).
1628 virtual QCString trTypeDocumentation()
1629 { return "Documentació dels Tipus de Dades"; }
1631 /*! This is used in the documentation of a file as a header before the
1632 * list of (global) subprograms (Fortran).
1634 virtual QCString trSubprograms()
1635 { return "Funcions/Subrutines"; }
1637 /*! This is used in the documentation of a file/namespace before the list
1638 * of documentation blocks for subprograms (Fortran)
1640 virtual QCString trSubprogramDocumentation()
1641 { return "Documentació de les Funcions/Subrutines"; }
1643 /*! This is used in the documentation of a file/namespace/group before
1644 * the list of links to documented compounds (Fortran)
1646 virtual QCString trDataTypes()
1647 { return "Tipus de Dades"; }
1649 /*! used as the title of page containing all the index of all modules (Fortran). */
1650 virtual QCString trModulesList()
1651 { return "Llista de Mòduls"; }
1653 /*! used as an introduction to the modules list (Fortran) */
1654 virtual QCString trModulesListDescription(bool extractAll)
1656 QCString result="Aquesta és la llista de tots els mòduls ";
1657 if (!extractAll) result+="documentats ";
1658 result+="amb breus descripcions:";
1662 /*! used as the title of the HTML page of a module/type (Fortran) */
1663 virtual QCString trCompoundReferenceFortran(const char *clName,
1664 ClassDef::CompoundType compType,
1667 QCString result="Referència de";
1670 case ClassDef::Class: result+=" el Mòdul "; break;
1671 case ClassDef::Struct: result+=" el Tipus "; break;
1672 case ClassDef::Union: result+=" la Unió "; break;
1673 case ClassDef::Interface: result+=" la Interfície "; break;
1674 case ClassDef::Protocol: result+="l Protocol "; break;
1675 case ClassDef::Category: result+=" la Categoria "; break;
1676 case ClassDef::Exception: result+=" l'Excepció "; break;
1678 if (isTemplate) result+="Template ";
1679 result+=(QCString)clName;
1683 /*! used as the title of the HTML page of a module (Fortran) */
1684 virtual QCString trModuleReference(const char *namespaceName)
1686 QCString result="Referència del Mòdul ";
1687 result+=namespaceName;
1691 /*! This is put above each page as a link to all members of modules. (Fortran) */
1692 virtual QCString trModulesMembers()
1693 { return "Membres del Mòdul"; }
1695 /*! This is an introduction to the page with all modules members (Fortran) */
1696 virtual QCString trModulesMemberDescription(bool extractAll)
1698 QCString result="Aquesta és la llista de tots els membres del mòdul";
1701 result+=" documentats";
1703 result+=" amb enllaços a ";
1706 result+="la documentació del mòdul per a cada membre:";
1710 result+="els mòduls a que pertanyen:";
1715 /*! This is used in LaTeX as the title of the chapter with the
1716 * index of all modules (Fortran).
1718 virtual QCString trModulesIndex()
1719 { return "Índex de Mòduls"; }
1721 /*! This is used for translation of the word that will possibly
1722 * be followed by a single name or by a list of names
1725 virtual QCString trModule(bool first_capital, bool singular)
1727 QCString result((first_capital ? "Mòdul" : "mòdul"));
1728 if (!singular) result+="s";
1731 /*! This is put at the bottom of a module documentation page and is
1732 * followed by a list of files that were used to generate the page.
1734 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1736 { // here s is one of " Module", " Struct" or " Union"
1737 // single is true implies a single file
1738 QCString result=(QCString)"La documentació d'aquest";
1741 case ClassDef::Class: result+=" mòdul"; break;
1742 case ClassDef::Struct: result+=" tipus"; break;
1743 case ClassDef::Union: result+="a unió"; break;
1744 case ClassDef::Interface: result+="a interfície"; break;
1745 case ClassDef::Protocol: result+=" protocol"; break;
1746 case ClassDef::Category: result+="a categoria"; break;
1747 case ClassDef::Exception: result+="a excepció"; break;
1749 result+=" es va generar a partir del";
1750 if (!single) result+="s";
1752 if (!single) result+="s";
1754 if (!single) result+="s:"; else result+=":";
1758 /*! This is used for translation of the word that will possibly
1759 * be followed by a single name or by a list of names
1762 virtual QCString trType(bool first_capital, bool)
1764 QCString result((first_capital ? "Tipus" : "tipus"));
1765 //if (!singular) result+="s";
1768 /*! This is used for translation of the word that will possibly
1769 * be followed by a single name or by a list of names
1772 virtual QCString trSubprogram(bool first_capital, bool singular)
1774 QCString result((first_capital ? "Subprogram" : "subprogram"));
1775 if (!singular) result+="es";
1780 /*! C# Type Constraint list */
1781 virtual QCString trTypeConstraints()
1783 return "Restriccions de Tipus";
1786 //////////////////////////////////////////////////////////////////////////
1787 // new since 1.6.0 (mainly for the new search engine)
1788 //////////////////////////////////////////////////////////////////////////
1790 /*! directory relation for \a name */
1791 virtual QCString trDirRelation(const char *name)
1793 return QCString(name)+" Relació";
1796 /*! Loading message shown when loading search results */
1797 virtual QCString trLoading()
1799 return "Carregant...";
1802 /*! Label used for search results in the global namespace */
1803 virtual QCString trGlobalNamespace()
1805 return "Espai de Noms Global";
1808 /*! Message shown while searching */
1809 virtual QCString trSearching()
1811 return "Cercant...";
1814 /*! Text shown when no search results are found */
1815 virtual QCString trNoMatches()
1817 return "Cap coincidència";
1820 //////////////////////////////////////////////////////////////////////////
1821 // new since 1.6.3 (missing items for the directory pages)
1822 //////////////////////////////////////////////////////////////////////////
1824 /*! introduction text for the directory dependency graph */
1825 virtual QCString trDirDependency(const char *name)
1827 return (QCString)"Graf de dependència de directoris per a "+name;
1830 /*! when clicking a directory dependency label, a page with a
1831 * table is shown. The heading for the first column mentions the
1832 * source file that has a relation to another file.
1834 virtual QCString trFileIn(const char *name)
1836 return (QCString)"Fitxer a "+name;
1839 /*! when clicking a directory dependency label, a page with a
1840 * table is shown. The heading for the second column mentions the
1841 * destination file that is included.
1843 virtual QCString trIncludesFileIn(const char *name)
1845 return (QCString)"Inclou fitxer a "+name;
1848 /** Compiles a date string.
1849 * @param year Year in 4 digits
1850 * @param month Month of the year: 1=January
1851 * @param day Day of the Month: 1..31
1852 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1853 * @param hour Hour of the day: 0..23
1854 * @param minutes Minutes in the hour: 0..59
1855 * @param seconds Seconds within the minute: 0..59
1856 * @param includeTime Include time in the result string?
1858 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1859 int hour,int minutes,int seconds,
1862 static const char *days[] = { "Dl","Dt","Dc","Dj","Dv","Ds","Dg" };
1863 static const char *months[] = { "Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Sep","Oct","Nov","Dec" };
1865 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1869 stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1875 //////////////////////////////////////////////////////////////////////////
1877 //////////////////////////////////////////////////////////////////////////
1879 /*! Header for the page with bibliographic citations */
1880 virtual QCString trCiteReferences()
1881 { return "Referències Bibliogràfiques"; }
1883 /*! Text for copyright paragraph */
1884 virtual QCString trCopyright()
1885 { return "Copyright"; }
1887 /*! Header for the graph showing the directory dependencies */
1888 virtual QCString trDirDepGraph(const char *name)
1889 { return QCString("Graf de dependència de directoris per a ")+name+":"; }