Doxygen
Loading...
Searching...
No Matches
translator_ca.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2026 by Dimitri van Heesch.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
10 *
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
13 *
14 */
15
16#ifndef TRANSLATOR_CA_H
17#define TRANSLATOR_CA_H
18
19/*!
20 When defining a translator class for the new language, follow
21 the description in the documentation. One of the steps says
22 that you should copy the translator_en.h (this) file to your
23 translator_xx.h new file. Your new language should use the
24 Translator class as the base class. This means that you need to
25 implement exactly the same (pure virtual) override methods as the
26 TranslatorEnglish does. Because of this, it is a good idea to
27 start with the copy of TranslatorEnglish and replace the strings
28 one by one.
29
30 It is not necessary to include "translator.h" or
31 "translator_adapter.h" here. The files are included in the
32 language.cpp correctly. Not including any of the mentioned
33 files frees the maintainer from thinking about whether the
34 first, the second, or both files should be included or not, and
35 why. This holds namely for localized translators because their
36 base class is changed occasionally to adapter classes when the
37 Translator class changes the interface, or back to the
38 Translator class (by the local maintainer) when the localized
39 translator is made up-to-date again.
40*/
42{
43 public:
44
45 // --- Language control methods -------------------
46
47 /*! Used for identification of the language. The identification
48 * should not be translated. It should be replaced by the name
49 * of the language in English using lower-case characters only
50 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
51 * the identification used in language.cpp.
52 */
54 { return "catalan"; }
55
56 /*! Used to get the LaTeX command(s) for the language support.
57 * This method should return string with commands that switch
58 * LaTeX to the desired language. For example
59 * <pre>"\\usepackage[german]{babel}\n"
60 * </pre>
61 * or
62 * <pre>"\\usepackage{polski}\n"
63 * "\\usepackage[latin2]{inputenc}\n"
64 * "\\usepackage[T1]{fontenc}\n"
65 * </pre>
66 *
67 * The English LaTeX does not use such commands. Because of this
68 * the empty string is returned in this implementation.
69 */
71 {
72 //return "\\usepackage[catalan]{babel}\n\\usepackage[latin1]{inputenc}";
73 return "\\usepackage[catalan]{babel}\n";
74 }
75
76 DString trISOLang() override
77 {
78 return "ca";
79 }
81 {
82 return "0x403 Catalan";
83 }
84
85 // --- Language translation methods -------------------
86
87 /*! used in the compound documentation before a list of related functions. */
89 { return "Funcions Associades"; }
90
91 /*! subscript for the related functions. */
93 { return "(Remarcar que aquestes funcions no són funcions membre.)"; }
94
95 /*! header that is put before the detailed description of files, classes and namespaces. */
97 { return "Descripció Detallada"; }
98
99 /*! header that is used when the summary tag is missing inside the details tag */
101 { return "Detalls"; }
102
103 /*! header that is put before the list of typedefs. */
105 { return "Documentació de les Definicions de Tipus Membre"; }
106
107 /*! header that is put before the list of enumerations. */
109 { return "Documentació de les Enumeracions Membre"; }
110
111 /*! header that is put before the list of member functions. */
113 { return "Documentació de les Funcions Membre"; }
114
115 /*! header that is put before the list of member attributes. */
117 {
118 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
119 {
120 return "Documentació dels Camps";
121 }
122 else
123 {
124 return "Documentació de les Dades Membre";
125 }
126 }
127
128 /*! this is the text of a link put after brief descriptions. */
129 DString trMore() override
130 { return "Més..."; }
131
132 /*! put in the class documentation */
134 { return "Llista de tots els membres"; }
135
136 /*! used as the title of the "list of all members" page of a class */
138 { return "Llista dels Membres"; }
139
140 /*! this is the first part of a sentence that is followed by a class name */
142 { return "Aquesta és la llista complerta dels membres de"; }
143
144 /*! this is the remainder of the sentence after the class name */
146 { return ", incloent tots els membres heretats."; }
147
148 /*! this is put at the author sections at the bottom of man pages.
149 * parameter s is name of the project name.
150 */
152 { DString result="Generat automàticament per Doxygen";
153 if (!s.empty()) result+=" per a "+s;
154 result+=" a partir del codi font.";
155 return result;
156 }
157
158 /*! put after an enum name in the list of all members */
160 { return "nom de la enum"; }
161
162 /*! put after an enum value in the list of all members */
164 { return "valors de la enum"; }
165
166 /*! put after an undocumented member in the list of all members */
168 { return "definit a"; }
169
170 // quick reference sections
171
172 /*! This is put above each page as a link to the list of all groups of
173 * compounds or files (see the \\group command).
174 */
176 { return "Mòduls"; }
177
178 /*! This is put above each page as a link to the class hierarchy */
180 { return "Jerarquia de Classes"; }
181
182 /*! This is put above each page as a link to the list of annotated classes */
184 {
185 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
186 {
187 return "Estructures de Dades";
188 }
189 else
190 {
191 return "Llista de Classes";
192 }
193 }
194
195 /*! This is put above each page as a link to the list of documented files */
197 { return "Llista dels Fitxers"; }
198
199 /*! This is put above each page as a link to all members of compounds. */
201 {
202 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
203 {
204 return "Camps de Dades";
205 }
206 else
207 {
208 return "Membres de Classes";
209 }
210 }
211
212 /*! This is put above each page as a link to all members of files. */
214 {
215 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
216 {
217 return "Globals";
218 }
219 else
220 {
221 return "Membres de Fitxers";
222 }
223 }
224
225 /*! This is put above each page as a link to all related pages. */
227 { return "Pàgines Relacionades"; }
228
229 /*! This is put above each page as a link to all examples. */
231 { return "Exemples"; }
232
233 /*! This is put above each page as a link to the search engine. */
234 DString trSearch() override
235 { return "Cerca"; }
236
237 /*! This is an introduction to the class hierarchy. */
239 { return "Aquesta llista d'herència està ordenada toscament, "
240 "però no completa, de forma alfabètica:";
241 }
242
243 /*! This is an introduction to the list with all files. */
244 DString trFileListDescription(bool extractAll) override
245 {
246 DString result="Aquesta és la llista de tots els fitxers ";
247 if (!extractAll) result+="documentats ";
248 result+="acompanyats amb breus descripcions:";
249 return result;
250 }
251
252 /*! This is an introduction to the annotated compound list. */
254 {
255
256 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
257 {
258 return "Aquestes són les estructures de dades acompanyades amb breus descripcions:";
259 }
260 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
261 {
262 return "Aquestes són les classes acompanyades amb breus descripcions:";
263 }
264 else
265 {
266 return "Aquestes són les classes, estructures, "
267 "unions i interfícies acompanyades amb breus descripcions:";
268 }
269 }
270
271 /*! This is an introduction to the page with all class members. */
272 DString trCompoundMembersDescription(bool extractAll) override
273 {
274 DString result="Aquesta és la llista de tots els ";
275 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
276 {
277 result+="camps d'estructures i unions";
278 }
279 else
280 {
281 result+="membres de classe";
282 }
283 if (!extractAll)
284 {
285 result+=" documentats";
286 }
287 result+=" amb enllaços a ";
288 if (!extractAll)
289 {
290 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
291 {
292 result+="la documentació de l'estructura/unió per a cada camp:";
293 }
294 else
295 {
296 result+="la documentació de la classe per a cada membre:";
297 }
298 }
299 else
300 {
301 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
302 {
303 result+="les estructures/unions a que pertanyen:";
304 }
305 else
306 {
307 result+="les classes a que pertanyen:";
308 }
309 }
310 return result;
311 }
312 /*! This is an introduction to the page with all file members. */
313 DString trFileMembersDescription(bool extractAll) override
314 {
315 DString result="Aquesta és la llista de ";
316 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
317 {
318 result+="totes les funcions, variables, definicions, enumeracions, i definicions de tipus";
319 if (!extractAll) result+=" documentades";
320 }
321 else
322 {
323 result+="tots els membres de fitxers";
324 if (!extractAll) result+=" documentats";
325 }
326 result+=" amb enllaços ";
327 if (extractAll)
328 result+="als fitxers als quals corresponen:";
329 else
330 result+="a la documentació:";
331 return result;
332 }
333
334 /*! This is an introduction to the page with the list of all examples */
336 { return "Aquesta és la llista de tots els exemples:"; }
337
338 /*! This is an introduction to the page with the list of related pages */
340 { return "Aquesta és la llista de totes les pàgines de documentació associades:"; }
341
342 /*! This is an introduction to the page with the list of class/file groups */
344 { return "Aquesta és la llista de mòduls:"; }
345
346 // index titles (the project name is prepended for these)
347
348
349 /*! This is used in HTML as the title of index.html. */
350 DString trDocumentation(const DString &projName) override
351 { return (!projName.empty()?projName + " " : "") + ": Documentació"; }
352
353 /*! This is used in LaTeX as the title of the chapter with the
354 * index of all groups.
355 */
357 { return "Índex de Mòduls"; }
358
359 /*! This is used in LaTeX as the title of the chapter with the
360 * class hierarchy.
361 */
363 { return "Índex Jeràrquic"; }
364
365 /*! This is used in LaTeX as the title of the chapter with the
366 * annotated compound index.
367 */
369 {
370 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
371 {
372 return "Índex d'Estructures de Dades";
373 }
374 else
375 {
376 return "Índex de Classes";
377 }
378 }
379
380 /*! This is used in LaTeX as the title of the chapter with the
381 * list of all files.
382 */
384 { return "Índex de Fitxers"; }
385
386 /*! This is used in LaTeX as the title of the chapter containing
387 * the documentation of all groups.
388 */
390 { return "Documentació dels Mòduls"; }
391
392 /*! This is used in LaTeX as the title of the chapter containing
393 * the documentation of all classes, structs and unions.
394 */
396 {
397 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
398 {
399 return "Documentació de les Estructures de Dades";
400 }
401 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
402 {
404 }
405 else
406 {
407 return "Documentació de les Classes";
408 }
409 }
410
411 /*! This is used in LaTeX as the title of the chapter containing
412 * the documentation of all files.
413 */
415 { return "Documentació dels Fitxers"; }
416
417 /*! This is used in LaTeX as the title of the document */
419 { return "Manual de Referència"; }
420
421 /*! This is used in the documentation of a file as a header before the
422 * list of defines
423 */
425 { return "Definicions"; }
426
427 /*! This is used in the documentation of a file as a header before the
428 * list of typedefs
429 */
431 { return "Definicions de Tipus"; }
432
433 /*! This is used in the documentation of a file as a header before the
434 * list of enumerations
435 */
437 { return "Enumeracions"; }
438
439 /*! This is used in the documentation of a file as a header before the
440 * list of (global) functions
441 */
443 { return "Funcions"; }
444
445 /*! This is used in the documentation of a file as a header before the
446 * list of (global) variables
447 */
449 { return "Variables"; }
450
451 /*! This is used in the documentation of a file as a header before the
452 * list of (global) variables
453 */
455 { return "Valors de les Enumeracions"; }
456
457 /*! This is used in the documentation of a file before the list of
458 * documentation blocks for defines
459 */
461 { return "Documentació de les Definicions"; }
462
463 /*! This is used in the documentation of a file/namespace before the list
464 * of documentation blocks for typedefs
465 */
467 { return "Documentació de les Definicions de Tipus"; }
468
469 /*! This is used in the documentation of a file/namespace before the list
470 * of documentation blocks for enumeration types
471 */
473 { return "Documentació dels Tipus de les Enumeracions"; }
474
475 /*! This is used in the documentation of a file/namespace before the list
476 * of documentation blocks for functions
477 */
479 { return "Documentació de les Funcions"; }
480
481 /*! This is used in the documentation of a file/namespace before the list
482 * of documentation blocks for variables
483 */
485 { return "Documentació de les Variables"; }
486
487 /*! This is used in the documentation of a file/namespace/group before
488 * the list of links to documented compounds
489 */
491 {
492 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
493 {
494 return "Estructures de Dades";
495 }
496 else
497 {
498 return "Classes";
499 }
500 }
501
502 /*! This is used in the standard footer of each page and indicates when
503 * the page was generated
504 */
505 DString trGeneratedAt(const DString &date,const DString &projName) override
506 {
507 DString result="Generat a "+date;
508 if (!projName.empty()) result+=" per a "+projName;
509 result+=" per";
510 return result;
511 }
512
513 /*! this text is put before a class diagram */
514 DString trClassDiagram(const DString &clName) override
515 {
516 return "Diagrama d'Herència per a "+clName+":";
517 }
518
519 /*! this text is generated when the \\warning command is used. */
521 { return "Atenció"; }
522
523 /*! this text is generated when the \\version command is used. */
525 { return "Versió"; }
526
527 /*! this text is generated when the \\date command is used. */
528 DString trDate() override
529 { return "Data"; }
530
531 /*! this text is generated when the \\return command is used. */
533 { return "Retorna"; }
534
535 /*! this text is generated when the \\sa command is used. */
537 { return "Mireu també"; }
538
539 /*! this text is generated when the \\param command is used. */
541 { return "Paràmetres"; }
542
543 /*! this text is generated when the \\exception command is used. */
545 { return "Excepcions"; }
546
547 /*! this text is used in the title page of a LaTeX document. */
549 { return "Generat per"; }
550
551//////////////////////////////////////////////////////////////////////////
552// new since 0.49-990307
553//////////////////////////////////////////////////////////////////////////
554
555 /*! used as the title of page containing all the index of all namespaces. */
557 { return "Llista dels Espais de Noms"; }
558
559 /*! used as an introduction to the namespace list */
560 DString trNamespaceListDescription(bool extractAll) override
561 {
562 DString result="Aquests són tots els espais de noms ";
563 if (!extractAll) result+="documentats ";
564 result+="amb breus descripcions:";
565 return result;
566 }
567
568 /*! used in the class documentation as a header before the list of all
569 * friends of a class
570 */
572 { return "Classes Amigues"; }
573
574//////////////////////////////////////////////////////////////////////////
575// new since 0.49-990405
576//////////////////////////////////////////////////////////////////////////
577
578 /*! used in the class documentation as a header before the list of all
579 * related classes
580 */
582 { return "Documentació de funcions amigues i relacionades"; }
583
584//////////////////////////////////////////////////////////////////////////
585// new since 0.49-990425
586//////////////////////////////////////////////////////////////////////////
587
588 /*! used as the title of the HTML page of a class/struct/union */
590 ClassDef::CompoundType compType,
591 bool isTemplate) override
592 {
593 DString result="Referència de";
594 switch(compType)
595 {
596 case ClassDef::Class: result+=" la Classe "; break;
597 case ClassDef::Struct: result+=" l'Estructura "; break;
598 case ClassDef::Union: result+=" la Unió "; break;
599 case ClassDef::Interface: result+=" la Interfície "; break;
600 case ClassDef::Protocol: result+="l Protocol "; break;
601 case ClassDef::Category: result+=" la Categoria "; break;
602 case ClassDef::Exception: result+=" l'Excepció "; break;
603 default: break;
604 }
605 if (isTemplate) result+="Template ";
606 result+=clName;
607 return result;
608 }
609
610 /*! used as the title of the HTML page of a file */
611 DString trFileReference(const DString &fileName) override
612 {
613 DString result="Referència del Fitxer ";
614 result+=fileName;
615 return result;
616 }
617
618 /*! used as the title of the HTML page of a namespace */
619 DString trNamespaceReference(const DString &namespaceName) override
620 {
621 DString result="Referència de l'Espai de Noms ";
622 result+=namespaceName;
623 return result;
624 }
625
627 { return "Mètodes públics"; }
629 { return "Slots públics"; }
631 { return "Senyals"; }
633 { return "Mètodes Públics Estàtics"; }
635 { return "Mètodes Protegits"; }
637 { return "Slots Protegits"; }
639 { return "Mètodes Protegits Estàtics"; }
641 { return "Mètodes Privats"; }
643 { return "Slots Privats"; }
645 { return "Mètodes Privats Estàtics"; }
646
647 /*! this function is used to produce a comma-separated list of items.
648 * use generateMarker(i) to indicate where item i should be put.
649 */
650 DString trWriteList(int numEntries) override
651 {
652 DString result;
653 // the inherits list contain `numEntries' classes
654 for (int i=0;i<numEntries;i++)
655 {
656 // use generateMarker to generate placeholders for the class links!
657 result+=generateMarker(i); // generate marker for entry i in the list
658 // (order is left to right)
659
660 if (i!=numEntries-1) // not the last entry, so we need a separator
661 {
662 if (i<numEntries-2) // not the fore last entry
663 result+=", ";
664 else // the fore last entry
665 result+=" i ";
666 }
667 }
668 return result;
669 }
670
671 /*! used in class documentation to produce a list of base classes,
672 * if class diagrams are disabled.
673 */
674 DString trInheritsList(int numEntries) override
675 {
676 return "Hereta de "+trWriteList(numEntries)+".";
677 }
678
679 /*! used in class documentation to produce a list of super classes,
680 * if class diagrams are disabled.
681 */
682 DString trInheritedByList(int numEntries) override
683 {
684 return "Heretat per "+trWriteList(numEntries)+".";
685 }
686
687 /*! used in member documentation blocks to produce a list of
688 * members that are hidden by this one.
689 */
690 DString trReimplementedFromList(int numEntries) override
691 {
692 return "Reimplementat de "+trWriteList(numEntries)+".";
693 }
694
695 /*! used in member documentation blocks to produce a list of
696 * all member that overwrite the implementation of this member.
697 */
698 DString trReimplementedInList(int numEntries) override
699 {
700 return "Reimplementat a "+trWriteList(numEntries)+".";
701 }
702
703 /*! This is put above each page as a link to all members of namespaces. */
705 { return "Membres de l'Espai de Noms"; }
706
707 /*! This is an introduction to the page with all namespace members */
708 DString trNamespaceMemberDescription(bool extractAll) override
709 {
710 DString result="Aquesta és la llista de tots els membres de l'espai de noms ";
711 if (!extractAll) result+="documentats ";
712 result+="amb enllaços a ";
713 if (extractAll)
714 result+="la documentació de l'espai de noms de cada membre:";
715 else
716 result+="l'espai de noms al qual corresponen:";
717 return result;
718 }
719 /*! This is used in LaTeX as the title of the chapter with the
720 * index of all namespaces.
721 */
723 { return "Índex d'Espais de Noms"; }
724
725 /*! This is used in LaTeX as the title of the chapter containing
726 * the documentation of all namespaces.
727 */
729 { return "Documentació de l'Espai de Noms"; }
730
731//////////////////////////////////////////////////////////////////////////
732// new since 0.49-990522
733//////////////////////////////////////////////////////////////////////////
734
735 /*! This is used in the documentation before the list of all
736 * namespaces in a file.
737 */
739 { return "Espais de Noms"; }
740
741//////////////////////////////////////////////////////////////////////////
742// new since 0.49-990728
743//////////////////////////////////////////////////////////////////////////
744
745 /*! This is put at the bottom of a class documentation page and is
746 * followed by a list of files that were used to generate the page.
747 */
749 bool single) override
750 { // here s is one of " Class", " Struct" or " Union"
751 // single is true implies a single file
752 DString result="La documentació d'aquest";
753 switch(compType)
754 {
755 case ClassDef::Class: result+="a classe"; break;
756 case ClassDef::Struct: result+="a estructura"; break;
757 case ClassDef::Union: result+="a unió"; break;
758 case ClassDef::Interface: result+="a interfície"; break;
759 case ClassDef::Protocol: result+=" protocol"; break;
760 case ClassDef::Category: result+="a categoria"; break;
761 case ClassDef::Exception: result+="a excepció"; break;
762 default: break;
763 }
764 result+=" es va generar a partir del";
765 if (!single) result+="s";
766 result+=" següent";
767 if (!single) result+="s";
768 result+=" fitxer";
769 if (!single) result+="s:"; else result+=":";
770 return result;
771 }
772
773//////////////////////////////////////////////////////////////////////////
774// new since 0.49-990901
775//////////////////////////////////////////////////////////////////////////
776
777 /*! This is used as the heading text for the retval command. */
779 { return "Valors de retorn"; }
780
781 /*! This is in the (quick) index as a link to the main page (index.html)
782 */
784 { return "Pàgina principal"; }
785
786 /*! This is used in references to page that are put in the LaTeX
787 * documentation. It should be an abbreviation of the word page.
788 */
790 { return "p."; }
791
792//////////////////////////////////////////////////////////////////////////
793// new since 0.49-991003
794//////////////////////////////////////////////////////////////////////////
795
797 {
798 return "Definició a la línia @0 del fitxer @1.";
799 }
801 {
802 return "Definició al fitxer @0.";
803 }
804
805//////////////////////////////////////////////////////////////////////////
806// new since 0.49-991205
807//////////////////////////////////////////////////////////////////////////
808
810 {
811 return "Antiquat";
812 }
813
814//////////////////////////////////////////////////////////////////////////
815// new since 1.0.0
816//////////////////////////////////////////////////////////////////////////
817
818 /*! this text is put before a collaboration diagram */
819 DString trCollaborationDiagram(const DString &clName) override
820 {
821 return "Diagrama de col·laboració per a "+clName+":";
822 }
823 /*! this text is put before an include dependency graph */
824 DString trInclDepGraph(const DString &fName) override
825 {
826 return "Inclou el graf de dependències per a "+fName+":";
827 }
828 /*! header that is put before the list of constructor/destructors. */
830 {
831 return "Documentació del Constructor i el Destructor";
832 }
833 /*! Used in the file documentation to point to the corresponding sources. */
835 {
836 return "Veure el codi d'aquest fitxer.";
837 }
838 /*! Used in the file sources to point to the corresponding documentation. */
840 {
841 return "Veure la documentació d'aquest fitxer.";
842 }
843 /*! Text for the \\pre command */
845 {
846 return "Precondició";
847 }
848 /*! Text for the \\post command */
850 {
851 return "Postcondició";
852 }
853 /*! Text for the \\invariant command */
855 {
856 return "Invariant";
857 }
858 /*! Text shown before a multi-line variable/enum initialization */
860 {
861 return "Valor inicial:";
862 }
863 /*! Text used the source code in the file index */
864 DString trCode() override
865 {
866 return "codi";
867 }
869 {
870 return "Jerarquia Gràfica de la Classe";
871 }
873 {
874 return "Veure la jerarquia gràfica de la classe";
875 }
877 {
878 return "Veure la jerarquia textual de la classe";
879 }
881 {
882 return "Índex de Pàgines";
883 }
884
885//////////////////////////////////////////////////////////////////////////
886// new since 1.1.0
887//////////////////////////////////////////////////////////////////////////
888
889 DString trNote() override
890 {
891 return "Nota";
892 }
894 {
895 return "Tipus Públics";
896 }
898 {
899 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
900 {
901 return "Camps de Dades";
902 }
903 else
904 {
905 return "Atributs Públics";
906 }
907 }
909 {
910 return "Atributs Públics Estàtics";
911 }
913 {
914 return "Tipus Protegits";
915 }
917 {
918 return "Atributs Protegits";
919 }
921 {
922 return "Atributs Protegits Estàtics";
923 }
925 {
926 return "Tipus Privats";
927 }
929 {
930 return "Atributs Privats";
931 }
933 {
934 return "Atributs Privats Estàtics";
935 }
936
937//////////////////////////////////////////////////////////////////////////
938// new since 1.1.3
939//////////////////////////////////////////////////////////////////////////
940
941 /*! Used as a marker that is put before a \\todo item */
942 DString trTodo() override
943 {
944 return "Per fer";
945 }
946 /*! Used as the header of the todo list */
948 {
949 return "Llista de coses per fer";
950 }
951
952//////////////////////////////////////////////////////////////////////////
953// new since 1.1.4
954//////////////////////////////////////////////////////////////////////////
955
957 {
958 return "Referenciat a";
959 }
961 {
962 return "Remarca";
963 }
965 {
966 return "Atenció";
967 }
969 {
970 return "Aquest gràfic mostra quins fitxers inclouen, "
971 "de forma directa o indirecta, aquest fitxer:";
972 }
973 DString trSince() override
974 {
975 return "Des de";
976 }
977
978//////////////////////////////////////////////////////////////////////////
979// new since 1.1.5
980//////////////////////////////////////////////////////////////////////////
981
982 /*! title of the graph legend page */
984 {
985 return "Llegenda del Gràfic";
986 }
987 /*! page explaining how the dot graph's should be interpreted
988 * The %A in the text below are to prevent link to classes called "A".
989 */
991 {
992 return
993 "Aquesta pàgina explica com s'interpreten els gràfics generats per doxygen.<p>\n"
994 "Considera aquest exemple:\n"
995 "\\code\n"
996 "/*! Classe invisible per culpa del retall */\n"
997 "class Invisible { };\n\n"
998 "/*! Classe truncada, l'herència està amagada */\n"
999 "class Truncated : public Invisible { };\n\n"
1000 "/* Classe no documentada amb comentaris doxygen */\n"
1001 "class Undocumented { };\n\n"
1002 "/*! Classe heredada amb herència pública */\n"
1003 "class PublicBase : public Truncated { };\n\n"
1004 "/*! Una classe Template */\n"
1005 "template<class T> class Templ { };\n\n"
1006 "/*! Classe heredada utilitzant herència protegida */\n"
1007 "class ProtectedBase { };\n\n"
1008 "/*! Classe heredada utiltzant herència privada */\n"
1009 "class PrivateBase { };\n\n"
1010 "/*! Classe usada per la classe heretada */\n"
1011 "class Used { };\n\n"
1012 "/*! Super classe que hereda una quantitat de classes */\n"
1013 "class Inherited : public PublicBase,\n"
1014 " protected ProtectedBase,\n"
1015 " private PrivateBase,\n"
1016 " public Undocumented,\n"
1017 " public Templ<int>\n"
1018 "{\n"
1019 " private:\n"
1020 " Used *m_usedClass;\n"
1021 "};\n"
1022 "\\endcode\n"
1023 "Resultarà el gràfic següent:"
1024 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1025 "<p>\n"
1026 "Les caixes del gràfic superior tenen aquesta interpretació:\n"
1027 "<ul>\n"
1028 "<li>Una caixa negra plena represent l'estructura o classe per la qual el gràfic s'ha generat.\n"
1029 "<li>Una caixa de vora negra representa una estructura o classe documentada.\n"
1030 "<li>Una caixa de vora verda representa una estructura o classe indocumentada.\n"
1031 "<li>Una caixa de vora vermalla representa una estructura o classe documentada de la qual "
1032 "no es mostren totes les relacions d'herència/inclusió. Un gràfic és truncat si no s'ajusta als límits.\n"
1033 "</ul>\n"
1034 "Les sagetes tenen aquest significat:\n"
1035 "<ul>\n"
1036 "<li>Una sageta blau fosc remarca una relació d'herència de tipus pública entre dues classes.\n"
1037 "<li>Una sageta verd fosc remarca una relació d'herència de tipus protegida entre dues classes.\n"
1038 "<li>Una sageta roig fosc remarca una relació d'herència de tipus privada entre dues classes.\n"
1039 "<li>Una sageta puntejada de color porpra indica que una classe és continguda o usada per una altra classe."
1040 " La sageta s'etiqueta amb la variable o variables a través de les quals la classe o estructura apuntada és accessible.\n"
1041 "<li>Una sageta puntejada de color groc indica la relació entre una instància template i la classe template de què ha set instanciada."
1042 " La sageta s'etiqueta amb els paràmetres template de la instància.\n"
1043 "</ul>\n";
1044 }
1045 /*! text for the link to the legend page */
1047 {
1048 return "llegenda";
1049 }
1050
1051//////////////////////////////////////////////////////////////////////////
1052// new since 1.2.0
1053//////////////////////////////////////////////////////////////////////////
1054
1055 /*! Used as a marker that is put before a test item */
1056 DString trTest() override
1057 {
1058 return "Prova";
1059 }
1060 /*! Used as the header of the test list */
1062 {
1063 return "Llista de proves";
1064 }
1065
1066//////////////////////////////////////////////////////////////////////////
1067// new since 1.2.2
1068//////////////////////////////////////////////////////////////////////////
1069
1070 /*! Used as a section header for IDL properties */
1072 {
1073 return "Propietats";
1074 }
1075 /*! Used as a section header for IDL property documentation */
1077 {
1078 return "Documentació de les Propietats";
1079 }
1080
1081//////////////////////////////////////////////////////////////////////////
1082// new since 1.2.4
1083//////////////////////////////////////////////////////////////////////////
1084
1085 /*! Used for Java classes in the summary section of Java packages */
1087 {
1088 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1089 {
1090 return "Estructures de Dades";
1091 }
1092 else
1093 {
1094 return "Classes";
1095 }
1096 }
1097 /*! Used as the title of a Java package */
1098 DString trPackage(const DString &name) override
1099 {
1100 return "Paquet "+name;
1101 }
1102 /*! The description of the package index page */
1104 {
1105 return "Aquesta és la llista de paquets, amb una breu descripció (si se'n disposa):";
1106 }
1107 /*! The link name in the Quick links header for each page */
1109 {
1110 return "Paquets";
1111 }
1112 /*! Text shown before a multi-line define */
1114 {
1115 return "Valor:";
1116 }
1117
1118//////////////////////////////////////////////////////////////////////////
1119// new since 1.2.5
1120//////////////////////////////////////////////////////////////////////////
1121
1122 /*! Used as a marker that is put before a \\bug item */
1123 DString trBug() override
1124 {
1125 return "Error";
1126 }
1127 /*! Used as the header of the bug list */
1129 {
1130 return "Llista d'Errors";
1131 }
1132
1133//////////////////////////////////////////////////////////////////////////
1134// new since 1.2.6
1135//////////////////////////////////////////////////////////////////////////
1136
1137 /*! Used as ansicpg for RTF file
1138 *
1139 * The following table shows the correlation of Charset name, Charset Value and
1140 * <pre>
1141 * Codepage number:
1142 * Charset Name Charset Value(hex) Codepage number
1143 * ------------------------------------------------------
1144 * DEFAULT_CHARSET 1 (x01)
1145 * SYMBOL_CHARSET 2 (x02)
1146 * OEM_CHARSET 255 (xFF)
1147 * ANSI_CHARSET 0 (x00) 1252
1148 * RUSSIAN_CHARSET 204 (xCC) 1251
1149 * EE_CHARSET 238 (xEE) 1250
1150 * GREEK_CHARSET 161 (xA1) 1253
1151 * TURKISH_CHARSET 162 (xA2) 1254
1152 * BALTIC_CHARSET 186 (xBA) 1257
1153 * HEBREW_CHARSET 177 (xB1) 1255
1154 * ARABIC _CHARSET 178 (xB2) 1256
1155 * SHIFTJIS_CHARSET 128 (x80) 932
1156 * HANGEUL_CHARSET 129 (x81) 949
1157 * GB2313_CHARSET 134 (x86) 936
1158 * CHINESEBIG5_CHARSET 136 (x88) 950
1159 * </pre>
1160 *
1161 */
1163 {
1164 return "1252";
1165 }
1166
1167
1168 /*! Used as ansicpg for RTF fcharset
1169 * \see trRTFansicp() for a table of possible values.
1170 */
1172 {
1173 return "0";
1174 }
1175
1176 /*! Used as header RTF general index */
1178 {
1179 return "Índex";
1180 }
1181
1182 /*! This is used for translation of the word that will possibly
1183 * be followed by a single name or by a list of names
1184 * of the category.
1185 */
1186 DString trClass(bool first_capital, bool singular) override
1187 {
1188 return createNoun(first_capital, singular, "classe", "s");
1189 }
1190
1191 /*! This is used for translation of the word that will possibly
1192 * be followed by a single name or by a list of names
1193 * of the category.
1194 */
1195 DString trFile(bool first_capital, bool singular) override
1196 {
1197 return createNoun(first_capital, singular, "fitxer", "s");
1198 }
1199
1200 /*! This is used for translation of the word that will possibly
1201 * be followed by a single name or by a list of names
1202 * of the category.
1203 */
1204 DString trNamespace(bool first_capital, bool singular) override
1205 {
1206 return createNoun(first_capital, singular, "namespace", "s");
1207 }
1208
1209 /*! This is used for translation of the word that will possibly
1210 * be followed by a single name or by a list of names
1211 * of the category.
1212 */
1213 DString trGroup(bool first_capital, bool singular) override
1214 {
1215 return createNoun(first_capital, singular, "grup", "s");
1216 }
1217
1218 /*! This is used for translation of the word that will possibly
1219 * be followed by a single name or by a list of names
1220 * of the category.
1221 */
1222 DString trPage(bool first_capital, bool singular) override
1223 {
1224 return createNoun(first_capital, singular, "pàgin", "es", "a");
1225 }
1226
1227 /*! This is used for translation of the word that will possibly
1228 * be followed by a single name or by a list of names
1229 * of the category.
1230 */
1231 DString trMember(bool first_capital, bool singular) override
1232 {
1233 return createNoun(first_capital, singular, "membre", "s");
1234 }
1235
1236 /*! This is used for translation of the word that will possibly
1237 * be followed by a single name or by a list of names
1238 * of the category.
1239 */
1240 DString trGlobal(bool first_capital, bool singular) override
1241 {
1242 return createNoun(first_capital, singular, "global", "s");
1243 }
1244
1245//////////////////////////////////////////////////////////////////////////
1246// new since 1.2.7
1247//////////////////////////////////////////////////////////////////////////
1248
1249 /*! This text is generated when the \\author command is used and
1250 * for the author section in man pages. */
1251 DString trAuthor(bool first_capital, bool singular) override
1252 {
1253 return createNoun(first_capital, singular, "autor", "s");
1254 }
1255
1256//////////////////////////////////////////////////////////////////////////
1257// new since 1.2.11
1258//////////////////////////////////////////////////////////////////////////
1259
1260 /*! This text is put before the list of members referenced by a member
1261 */
1263 {
1264 return "Referències";
1265 }
1266
1267//////////////////////////////////////////////////////////////////////////
1268// new since 1.2.13
1269//////////////////////////////////////////////////////////////////////////
1270
1271 /*! used in member documentation blocks to produce a list of
1272 * members that are implemented by this one.
1273 */
1274 DString trImplementedFromList(int numEntries) override
1275 {
1276 return "Implementa "+trWriteList(numEntries)+".";
1277 }
1278
1279 /*! used in member documentation blocks to produce a list of
1280 * all members that implement this abstract member.
1281 */
1282 DString trImplementedInList(int numEntries) override
1283 {
1284 return "Implementat a "+trWriteList(numEntries)+".";
1285 }
1286
1287//////////////////////////////////////////////////////////////////////////
1288// new since 1.2.16
1289//////////////////////////////////////////////////////////////////////////
1290
1291 /*! used in RTF documentation as a heading for the Table
1292 * of Contents.
1293 */
1295 {
1296 return "Taula de Continguts";
1297 }
1298
1299//////////////////////////////////////////////////////////////////////////
1300// new since 1.2.17
1301//////////////////////////////////////////////////////////////////////////
1302
1303 /*! Used as the header of the list of item that have been
1304 * flagged deprecated
1305 */
1307 {
1308 return "Llista d'Antiquats";
1309 }
1310
1311//////////////////////////////////////////////////////////////////////////
1312// new since 1.2.18
1313//////////////////////////////////////////////////////////////////////////
1314
1315 /*! Used as a header for declaration section of the events found in
1316 * a C# program
1317 */
1319 {
1320 return "Esdeveniments";
1321 }
1322 /*! Header used for the documentation section of a class' events. */
1324 {
1325 return "Documentació dels Esdeveniments";
1326 }
1327
1328//////////////////////////////////////////////////////////////////////////
1329// new since 1.3
1330//////////////////////////////////////////////////////////////////////////
1331
1332 /*! Used as a heading for a list of Java class types with package scope.
1333 */
1335 {
1336 return "Tipus de paquets";
1337 }
1338 /*! Used as a heading for a list of Java class functions with package
1339 * scope.
1340 */
1342 {
1343 return "Funcions de Paquet";
1344 }
1346 {
1347 return "Membres de Paquet";
1348 }
1349 /*! Used as a heading for a list of static Java class functions with
1350 * package scope.
1351 */
1353 {
1354 return "Funcions Estàtiques de Paquet";
1355 }
1356 /*! Used as a heading for a list of Java class variables with package
1357 * scope.
1358 */
1360 {
1361 return "Atributs de Paquet";
1362 }
1363 /*! Used as a heading for a list of static Java class variables with
1364 * package scope.
1365 */
1367 {
1368 return "Atributs Estàtics de Paquet";
1369 }
1370
1371//////////////////////////////////////////////////////////////////////////
1372// new since 1.3.1
1373//////////////////////////////////////////////////////////////////////////
1374
1375 /*! Used in the quick index of a class/file/namespace member list page
1376 * to link to the unfiltered list of all members.
1377 */
1378 DString trAll() override
1379 {
1380 return "Tot";
1381 }
1382 /*! Put in front of the call graph for a function. */
1384 {
1385 return "Gràfic de crides d'aquesta funció:";
1386 }
1387
1388//////////////////////////////////////////////////////////////////////////
1389// new since 1.3.3
1390//////////////////////////////////////////////////////////////////////////
1391
1392 /*! This string is used as the title for the page listing the search
1393 * results.
1394 */
1396 {
1397 return "Resultats de la Búsqueda";
1398 }
1399 /*! This string is put just before listing the search results. The
1400 * text can be different depending on the number of documents found.
1401 * Inside the text you can put the special marker $num to insert
1402 * the number representing the actual number of search results.
1403 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1404 * value 2 represents 2 or more matches. HTML markup is allowed inside
1405 * the returned string.
1406 */
1407 DString trSearchResults(int numDocuments) override
1408 {
1409 if (numDocuments==0)
1410 {
1411 return "No s'ha trobat cap document.";
1412 }
1413 else if (numDocuments==1)
1414 {
1415 return "Trobat <b>1</b> document.";
1416 }
1417 else
1418 {
1419 return "Trobats <b>$num</b> documents. "
1420 "Mostrant els millors resultats primer.";
1421 }
1422 }
1423 /*! This string is put before the list of matched words, for each search
1424 * result. What follows is the list of words that matched the query.
1425 */
1427 {
1428 return "Resultats:";
1429 }
1430
1431//////////////////////////////////////////////////////////////////////////
1432// new since 1.3.8
1433//////////////////////////////////////////////////////////////////////////
1434
1435 /*! This is used in HTML as the title of page with source code for file filename
1436 */
1437 DString trSourceFile(const DString& filename) override
1438 {
1439 return "Fitxer de Codi " + filename;
1440 }
1441
1442//////////////////////////////////////////////////////////////////////////
1443// new since 1.3.9
1444//////////////////////////////////////////////////////////////////////////
1445
1446 /*! This is used as the name of the chapter containing the directory
1447 * hierarchy.
1448 */
1450 { return "Jerarquia de Directoris"; }
1451
1452 /*! This is used as the name of the chapter containing the documentation
1453 * of the directories.
1454 */
1456 { return "Documentació dels Directoris"; }
1457
1458 /*! This is used as the title of the directory index and also in the
1459 * Quick links of a HTML page, to link to the directory hierarchy.
1460 */
1462 { return "Directoris"; }
1463
1464 /*! This returns the title of a directory page. The name of the
1465 * directory is passed via \a dirName.
1466 */
1467 DString trDirReference(const DString &dirName) override
1468 { DString result="Referència del Directori "; result+=dirName; return result; }
1469
1470 /*! This returns the word directory with or without starting capital
1471 * (\a first_capital) and in singular or plural form (\a singular).
1472 */
1473 DString trDir(bool first_capital, bool singular) override
1474 {
1475 return createNoun(first_capital, singular, "directori", "s");
1476 }
1477
1478//////////////////////////////////////////////////////////////////////////
1479// new since 1.4.1
1480//////////////////////////////////////////////////////////////////////////
1481
1482 /*! This text is added to the documentation when the \\overload command
1483 * is used for a overloaded function.
1484 */
1486 {
1487 return "Aquesta és una funció membre sobrecarregada, "
1488 "proveïda per conveniència. Es diferencia de la funció "
1489 "anterior només en els arguments que accepta.";
1490 }
1491
1492//////////////////////////////////////////////////////////////////////////
1493// new since 1.4.6
1494//////////////////////////////////////////////////////////////////////////
1495
1496 /*! This is used to introduce a caller (or called-by) graph */
1498 {
1499 return "Gràfic de crides a aquesta funció:";
1500 }
1501
1502 /*! This is used in the documentation of a file/namespace before the list
1503 * of documentation blocks for enumeration values
1504 */
1506 { return "Documentació de les Enumeracions"; }
1507
1508//////////////////////////////////////////////////////////////////////////
1509// new since 1.5.4 (mainly for Fortran)
1510//////////////////////////////////////////////////////////////////////////
1511
1512 /*! header that is put before the list of member subprograms (Fortran). */
1514 { return "Documentació de les Funcions/Subrutines Membre"; }
1515
1516 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1518 { return "Llista de Tipus de Dades"; }
1519
1520 /*! This is put above each page as a link to all members of compounds (Fortran). */
1522 { return "Camps de Dades"; }
1523
1524 /*! This is an introduction to the annotated compound list (Fortran). */
1526 { return "Aquests són els tipus de dades acompanyats amb breus descripcions:"; }
1527
1528 /*! This is an introduction to the page with all data types (Fortran). */
1530 {
1531 DString result="Aquesta és la llista de tots els membres de tipus de dades";
1532 if (!extractAll)
1533 {
1534 result+=" documentats";
1535 }
1536 result+=" amb enllaços a ";
1537 if (!extractAll)
1538 {
1539 result+="la documentació del tipus de dades per a cada membre:";
1540 }
1541 else
1542 {
1543 result+="els tipus de dades a que pertanyen:";
1544 }
1545 return result;
1546 }
1547
1548 /*! This is used in LaTeX as the title of the chapter with the
1549 * annotated compound index (Fortran).
1550 */
1552 { return "Índex de Tipus de Dades"; }
1553
1554 /*! This is used in LaTeX as the title of the chapter containing
1555 * the documentation of all data types (Fortran).
1556 */
1558 { return "Documentació dels Tipus de Dades"; }
1559
1560 /*! This is used in the documentation of a file as a header before the
1561 * list of (global) subprograms (Fortran).
1562 */
1564 { return "Funcions/Subrutines"; }
1565
1566 /*! This is used in the documentation of a file/namespace before the list
1567 * of documentation blocks for subprograms (Fortran)
1568 */
1570 { return "Documentació de les Funcions/Subrutines"; }
1571
1572 /*! This is used in the documentation of a file/namespace/group before
1573 * the list of links to documented compounds (Fortran)
1574 */
1576 { return "Tipus de Dades"; }
1577
1578 /*! used as the title of page containing all the index of all modules (Fortran). */
1580 { return "Llista de Mòduls"; }
1581
1582 /*! used as an introduction to the modules list (Fortran) */
1583 DString trModulesListDescription(bool extractAll) override
1584 {
1585 DString result="Aquesta és la llista de tots els mòduls ";
1586 if (!extractAll) result+="documentats ";
1587 result+="amb breus descripcions:";
1588 return result;
1589 }
1590
1591 /*! used as the title of the HTML page of a module/type (Fortran) */
1593 ClassDef::CompoundType compType,
1594 bool isTemplate) override
1595 {
1596 DString result="Referència de";
1597 switch(compType)
1598 {
1599 case ClassDef::Class: result+=" el Mòdul "; break;
1600 case ClassDef::Struct: result+=" el Tipus "; break;
1601 case ClassDef::Union: result+=" la Unió "; break;
1602 case ClassDef::Interface: result+=" la Interfície "; break;
1603 case ClassDef::Protocol: result+="l Protocol "; break;
1604 case ClassDef::Category: result+=" la Categoria "; break;
1605 case ClassDef::Exception: result+=" l'Excepció "; break;
1606 default: break;
1607 }
1608 if (isTemplate) result+="Template ";
1609 result+=clName;
1610 return result;
1611 }
1612
1613 /*! used as the title of the HTML page of a module (Fortran) */
1614 DString trModuleReference(const DString &namespaceName) override
1615 {
1616 DString result="Referència del Mòdul ";
1617 result+=namespaceName;
1618 return result;
1619 }
1620
1621 /*! This is put above each page as a link to all members of modules. (Fortran) */
1623 { return "Membres del Mòdul"; }
1624
1625 /*! This is an introduction to the page with all modules members (Fortran) */
1626 DString trModulesMemberDescription(bool extractAll) override
1627 {
1628 DString result="Aquesta és la llista de tots els membres del mòdul";
1629 if (!extractAll)
1630 {
1631 result+=" documentats";
1632 }
1633 result+=" amb enllaços a ";
1634 if (!extractAll)
1635 {
1636 result+="la documentació del mòdul per a cada membre:";
1637 }
1638 else
1639 {
1640 result+="els mòduls a que pertanyen:";
1641 }
1642 return result;
1643 }
1644
1645 /*! This is used in LaTeX as the title of the chapter with the
1646 * index of all modules (Fortran).
1647 */
1649 { return "Índex de Mòduls"; }
1650
1651 /*! This is used for translation of the word that will possibly
1652 * be followed by a single name or by a list of names
1653 * of the category.
1654 */
1655 DString trModule(bool first_capital, bool singular) override
1656 {
1657 return createNoun(first_capital, singular, "mòdul", "s");
1658 }
1659 /*! This is put at the bottom of a module documentation page and is
1660 * followed by a list of files that were used to generate the page.
1661 */
1663 bool single) override
1664 { // here s is one of " Module", " Struct" or " Union"
1665 // single is true implies a single file
1666 DString result="La documentació d'aquest";
1667 switch(compType)
1668 {
1669 case ClassDef::Class: result+=" mòdul"; break;
1670 case ClassDef::Struct: result+=" tipus"; break;
1671 case ClassDef::Union: result+="a unió"; break;
1672 case ClassDef::Interface: result+="a interfície"; break;
1673 case ClassDef::Protocol: result+=" protocol"; break;
1674 case ClassDef::Category: result+="a categoria"; break;
1675 case ClassDef::Exception: result+="a excepció"; break;
1676 default: break;
1677 }
1678 result+=" es va generar a partir del";
1679 if (!single) result+="s";
1680 result+=" següent";
1681 if (!single) result+="s";
1682 result+=" fitxer";
1683 if (!single) result+="s:"; else result+=":";
1684 return result;
1685 }
1686
1687 /*! This is used for translation of the word that will possibly
1688 * be followed by a single name or by a list of names
1689 * of the category.
1690 */
1691 DString trType(bool first_capital, bool) override
1692 {
1693 return createNoun(first_capital, false, "tipus", "");
1694 }
1695 /*! This is used for translation of the word that will possibly
1696 * be followed by a single name or by a list of names
1697 * of the category.
1698 */
1699 DString trSubprogram(bool first_capital, bool singular) override
1700 {
1701 return createNoun(first_capital, singular, "subprogram", "es", "a");
1702 }
1703
1704 /*! C# Type Constraint list */
1706 {
1707 return "Restriccions de Tipus";
1708 }
1709
1710//////////////////////////////////////////////////////////////////////////
1711// new since 1.6.0 (mainly for the new search engine)
1712//////////////////////////////////////////////////////////////////////////
1713
1714 /*! directory relation for \a name */
1715 DString trDirRelation(const DString &name) override
1716 {
1717 return name+" Relació";
1718 }
1719
1720 /*! Loading message shown when loading search results */
1722 {
1723 return "Carregant...";
1724 }
1725
1726 /*! Label used for search results in the global namespace */
1728 {
1729 return "Espai de Noms Global";
1730 }
1731
1732 /*! Message shown while searching */
1734 {
1735 return "Cercant...";
1736 }
1737
1738 /*! Text shown when no search results are found */
1740 {
1741 return "Cap coincidència";
1742 }
1743
1744//////////////////////////////////////////////////////////////////////////
1745// new since 1.6.3 (missing items for the directory pages)
1746//////////////////////////////////////////////////////////////////////////
1747
1748 /*! when clicking a directory dependency label, a page with a
1749 * table is shown. The heading for the first column mentions the
1750 * source file that has a relation to another file.
1751 */
1752 DString trFileIn(const DString &name) override
1753 {
1754 return "Fitxer a "+name;
1755 }
1756
1757 /*! when clicking a directory dependency label, a page with a
1758 * table is shown. The heading for the second column mentions the
1759 * destination file that is included.
1760 */
1761 DString trIncludesFileIn(const DString &name) override
1762 {
1763 return "Inclou fitxer a "+name;
1764 }
1765
1766 /** Compiles a date string.
1767 * @param year Year in 4 digits
1768 * @param month Month of the year: 1=January
1769 * @param day Day of the Month: 1..31
1770 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1771 * @param hour Hour of the day: 0..23
1772 * @param minutes Minutes in the hour: 0..59
1773 * @param seconds Seconds within the minute: 0..59
1774 * @param includeTime Include time in the result string?
1775 */
1776 DString trDateTime(int year,int month,int day,int dayOfWeek,
1777 int hour,int minutes,int seconds,
1778 DateTimeType includeTime) override
1779 {
1780 static const char *days[] = { "Dl","Dt","Dc","Dj","Dv","Ds","Dg" };
1781 static const char *months[] = { "Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Sep","Oct","Nov","Dec" };
1782 DString sdate;
1783 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1784 {
1785 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1786 }
1787 if (includeTime == DateTimeType::DateTime) sdate += " ";
1788 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1789 {
1790 DString stime;
1791 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1792 sdate+=stime;
1793 }
1794 return sdate;
1795 }
1796 DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1797 {
1798 static const char *days_short[] = { "dl.", "dt.", "dc.", "dj.", "dv.", "ds.", "dg." };
1799 static const char *days_full[] = { "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte", "diumenge" };
1800 DString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1801 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1802 else return text;
1803 }
1804 DString trMonth(int month, bool first_capital, bool full) override
1805 {
1806 static const char *months_short[] = { "gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des." };
1807 static const char *months_full[] = { "gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre" };
1808 DString text = full? months_full[month-1] : months_short[month-1];
1809 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1810 else return text;
1811 }
1812 DString trDayPeriod(bool period) override
1813 {
1814 static const char *dayPeriod[] = { "a.m.", "p.m." };
1815 return dayPeriod[period?1:0];
1816 }
1817
1818//////////////////////////////////////////////////////////////////////////
1819// new since 1.7.5
1820//////////////////////////////////////////////////////////////////////////
1821
1822 /*! Header for the page with bibliographic citations */
1824 { return "Referències Bibliogràfiques"; }
1825
1826 /*! Text for copyright paragraph */
1828 { return "Copyright"; }
1829
1830 /*! Header for the graph showing the directory dependencies */
1831 DString trDirDepGraph(const DString &name) override
1832 { return DString("Graf de dependència de directoris per a ")+name+":"; }
1833
1834
1835};
1836
1837#endif
CompoundType
The various compound types.
Definition classdef.h:105
@ Interface
Definition classdef.h:108
@ Exception
Definition classdef.h:111
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:84
DString upper() const
Definition dstring.h:331
DString mid(size_t index, size_t len=npos) const
Definition dstring.h:318
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:148
DString & sprintf(const char *format,...)
Definition dstring.cpp:34
Adapter class for languages that only contain translations up to version 1.8.0.
DString trDesignUnitDocumentation() override
DString trSourceFile(const DString &filename) override
DString trPrivateMembers() override
DString trNamespaceListDescription(bool extractAll) override
DString trDayPeriod(bool period) override
DString trNamespaceMemberDescription(bool extractAll) override
DString trNamespace(bool first_capital, bool singular) override
DString trStaticPackageAttribs() override
DString trReimplementedInList(int numEntries) override
DString trSignals() override
DString trLegendDocs() override
DString trTodoList() override
DString trMainPage() override
DString trNamespaceDocumentation() override
DString trTypeDocumentation() override
DString trWarning() override
DString trDeprecated() override
DString trFileDocumentation() override
DString trDataTypes() override
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trEnumerations() override
DString trNoMatches() override
DString trClassHierarchyDescription() override
DString trSearching() override
DString trCopyright() override
DString trSearchResults(int numDocuments) override
DString trDefinedInSourceFile() override
DString trNamespaceIndex() override
DString idLanguage() override
DString trRTFGeneralIndex() override
DString trNamespaceReference(const DString &namespaceName) override
DString trDate() override
DString trGroup(bool first_capital, bool singular) override
DString trCompoundMembers() override
DString trGeneratedBy() override
DString trExamples() override
DString trDetailedDescription() override
DString trCompoundListDescription() override
DString trModuleReference(const DString &namespaceName) override
DString trDefines() override
DString trExceptions() override
DString trPackage(const DString &name) override
DString trModules() override
DString trInclByDepGraph() override
DString trProtectedMembers() override
DString trAttention() override
DString trClassDocumentation() override
DString trWriteList(int numEntries) override
DString trModulesDescription() override
DString trRTFCharSet() override
DString trDefinedIn() override
DString trRTFTableOfContents() override
DString trClass(bool first_capital, bool singular) override
DString trCode() override
DString trProtectedSlots() override
DString trPackageFunctions() override
DString trReimplementedFromList(int numEntries) override
DString trSubprograms() override
DString trCompoundMembersDescription(bool extractAll) override
DString trPublicSlots() override
DString trMemberFunctionDocumentationFortran() override
DString trModuleDocumentation() override
DString trDefinedAtLineInSourceFile() override
DString trVersion() override
DString trGeneratedAutomatically(const DString &s) override
DString trPrivateAttribs() override
DString trRelatedPages() override
DString trProtectedAttribs() override
DString trImplementedFromList(int numEntries) override
DString trInheritedByList(int numEntries) override
DString trMember(bool first_capital, bool singular) override
DString trGotoDocumentation() override
DString trParameters() override
DString trPage(bool first_capital, bool singular) override
DString trDirIndex() override
DString trLoading() override
DString trInheritsList(int numEntries) override
DString trEnumerationValues() override
DString trRelatedFunctions() override
DString trOverloadText() override
DString trTypeConstraints() override
DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
DString trFileReference(const DString &fileName) override
DString trSubprogram(bool first_capital, bool singular) override
DString trCiteReferences() override
DString trModulesMemberDescription(bool extractAll) override
DString trDefineDocumentation() override
DString trReturns() override
DString trEventDocumentation() override
DString trDocumentation(const DString &projName) override
DString trFileIndex() override
DString trMemberList() override
DString trMemberEnumerationDocumentation() override
DString trDirDepGraph(const DString &name) override
DString trDetails() override
DString trSearch() override
DString trFileListDescription(bool extractAll) override
DString trCompoundMembersFortran() override
DString trFriends() override
DString trDir(bool first_capital, bool singular) override
DString trDefineValue() override
DString trPackageMembers() override
DString trIncludesFileIn(const DString &name) override
DString trNote() override
DString trSearchMatches() override
DString trFileMembersDescription(bool extractAll) override
DString trDirReference(const DString &dirName) override
DString trCollaborationDiagram(const DString &clName) override
DString trStaticPrivateAttribs() override
DString trPageAbbreviation() override
DString trInitialValue() override
DString trRelatedFunctionDocumentation() override
DString trCompounds() override
DString trConstructorDocumentation() override
DString trInclDepGraph(const DString &fName) override
DString trCompoundIndexFortran() override
DString trSeeAlso() override
DString trModulesMembers() override
DString trAuthor(bool first_capital, bool singular) override
DString trCompoundListFortran() override
DString trStaticProtectedAttribs() override
DString trDirRelation(const DString &name) override
DString trCallGraph() override
DString latexLanguageSupportCommand() override
DString trPublicTypes() override
DString trTest() override
DString trEnumerationValueDocumentation() override
DString trMemberDataDocumentation() override
DString trListOfAllMembers() override
DString trEnumName() override
DString trThisIsTheListOfAllMembers() override
DString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
DString trTypedefDocumentation() override
DString trVariables() override
DString trReferencedBy() override
DString trCompoundMembersDescriptionFortran(bool extractAll) override
DString trCompoundIndex() override
DString trEnumValue() override
DString getLanguageString() override
language codes for Html help
DString trAll() override
DString trLegendTitle() override
DString trIncludingInheritedMembers() override
DString trCallerGraph() override
DString trTypedefs() override
DString trBugList() override
DString trStaticPublicAttribs() override
DString trGotoTextualHierarchy() override
DString trPublicAttribs() override
DString trProperties() override
DString trModulesIndex() override
DString trMonth(int month, bool first_capital, bool full) override
DString trMemberFunctionDocumentation() override
DString trProtectedTypes() override
DString trRTFansicp() override
DString trPackageListDescription() override
DString trStaticPackageFunctions() override
DString trVariableDocumentation() override
DString trClassDiagram(const DString &clName) override
DString trHierarchicalIndex() override
DString trGotoSourceCode() override
DString trModulesList() override
DString trBug() override
DString trDirDocumentation() override
DString trMemberTypedefDocumentation() override
DString trModuleIndex() override
DString trSubprogramDocumentation() override
DString trTestList() override
DString trISOLang() override
DString trPackageAttribs() override
DString trPublicMembers() override
DString trEvents() override
DString trCompoundReferenceFortran(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trNamespaces() override
DString trClassHierarchy() override
DString trTodo() override
DString trRemarks() override
DString trGotoGraphicalHierarchy() override
DString trModule(bool first_capital, bool singular) override
DString trMore() override
DString trCompoundListDescriptionFortran() override
DString trPrivateTypes() override
DString trClasses() override
DString trGlobalNamespace() override
DString trImplementedInList(int numEntries) override
DString trEnumerationTypeDocumentation() override
DString trReturnValues() override
DString trFileIn(const DString &name) override
DString trFileMembers() override
DString trReferenceManual() override
DString trPackages() override
DString trNamespaceList() override
DString trPageIndex() override
DString trModulesListDescription(bool extractAll) override
DString trGeneratedAt(const DString &date, const DString &projName) override
DString trPrivateSlots() override
DString trStaticPublicMembers() override
DString trExamplesDescription() override
DString trPropertyDocumentation() override
DString trStaticPrivateMembers() override
DString trInvariant() override
DString trLegend() override
DString trPrecondition() override
DString trFunctionDocumentation() override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString trSearchResultsTitle() override
DString trFile(bool first_capital, bool singular) override
DString trRelatedPagesDescription() override
DString trStaticProtectedMembers() override
DString trFunctions() override
DString trFileList() override
DString trReferences() override
DString trGraphicalHierarchy() override
DString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, DateTimeType includeTime) override
Compiles a date string.
DString trNamespaceMembers() override
DString trGlobal(bool first_capital, bool singular) override
DString trType(bool first_capital, bool) override
DString trRelatedSubscript() override
DString trPostcondition() override
DString trPackageTypes() override
DString trCompoundList() override
DString trDirectories() override
DString trDeprecatedList() override
DString trSince() override
DString createNoun(bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Definition translator.h:799
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
DString generateMarker(int id)
Definition dstring.h:904
DString getDotImageExtension()
Definition util.cpp:4964