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::Record: return english.trCompoundReference(clName,compType,isTemplate);
599 case ClassDef::Union: result+=" la Unió "; break;
600 case ClassDef::Interface: result+=" la Interfície "; break;
601 case ClassDef::Protocol: result+="l Protocol "; break;
602 case ClassDef::Category: result+=" la Categoria "; break;
603 case ClassDef::Exception: result+=" l'Excepció "; break;
604 default: break;
605 }
606 if (isTemplate) result+="Template ";
607 result+=clName;
608 return result;
609 }
610
611 /*! used as the title of the HTML page of a file */
612 DString trFileReference(const DString &fileName) override
613 {
614 DString result="Referència del Fitxer ";
615 result+=fileName;
616 return result;
617 }
618
619 /*! used as the title of the HTML page of a namespace */
620 DString trNamespaceReference(const DString &namespaceName) override
621 {
622 DString result="Referència de l'Espai de Noms ";
623 result+=namespaceName;
624 return result;
625 }
626
628 { return "Mètodes públics"; }
630 { return "Slots públics"; }
632 { return "Senyals"; }
634 { return "Mètodes Públics Estàtics"; }
636 { return "Mètodes Protegits"; }
638 { return "Slots Protegits"; }
640 { return "Mètodes Protegits Estàtics"; }
642 { return "Mètodes Privats"; }
644 { return "Slots Privats"; }
646 { return "Mètodes Privats Estàtics"; }
647
648 /*! this function is used to produce a comma-separated list of items.
649 * use generateMarker(i) to indicate where item i should be put.
650 */
651 DString trWriteList(int numEntries) override
652 {
653 DString result;
654 // the inherits list contain `numEntries' classes
655 for (int i=0;i<numEntries;i++)
656 {
657 // use generateMarker to generate placeholders for the class links!
658 result+=generateMarker(i); // generate marker for entry i in the list
659 // (order is left to right)
660
661 if (i!=numEntries-1) // not the last entry, so we need a separator
662 {
663 if (i<numEntries-2) // not the fore last entry
664 result+=", ";
665 else // the fore last entry
666 result+=" i ";
667 }
668 }
669 return result;
670 }
671
672 /*! used in class documentation to produce a list of base classes,
673 * if class diagrams are disabled.
674 */
675 DString trInheritsList(int numEntries) override
676 {
677 return "Hereta de "+trWriteList(numEntries)+".";
678 }
679
680 /*! used in class documentation to produce a list of super classes,
681 * if class diagrams are disabled.
682 */
683 DString trInheritedByList(int numEntries) override
684 {
685 return "Heretat per "+trWriteList(numEntries)+".";
686 }
687
688 /*! used in member documentation blocks to produce a list of
689 * members that are hidden by this one.
690 */
691 DString trReimplementedFromList(int numEntries) override
692 {
693 return "Reimplementat de "+trWriteList(numEntries)+".";
694 }
695
696 /*! used in member documentation blocks to produce a list of
697 * all member that overwrite the implementation of this member.
698 */
699 DString trReimplementedInList(int numEntries) override
700 {
701 return "Reimplementat a "+trWriteList(numEntries)+".";
702 }
703
704 /*! This is put above each page as a link to all members of namespaces. */
706 { return "Membres de l'Espai de Noms"; }
707
708 /*! This is an introduction to the page with all namespace members */
709 DString trNamespaceMemberDescription(bool extractAll) override
710 {
711 DString result="Aquesta és la llista de tots els membres de l'espai de noms ";
712 if (!extractAll) result+="documentats ";
713 result+="amb enllaços a ";
714 if (extractAll)
715 result+="la documentació de l'espai de noms de cada membre:";
716 else
717 result+="l'espai de noms al qual corresponen:";
718 return result;
719 }
720 /*! This is used in LaTeX as the title of the chapter with the
721 * index of all namespaces.
722 */
724 { return "Índex d'Espais de Noms"; }
725
726 /*! This is used in LaTeX as the title of the chapter containing
727 * the documentation of all namespaces.
728 */
730 { return "Documentació de l'Espai de Noms"; }
731
732//////////////////////////////////////////////////////////////////////////
733// new since 0.49-990522
734//////////////////////////////////////////////////////////////////////////
735
736 /*! This is used in the documentation before the list of all
737 * namespaces in a file.
738 */
740 { return "Espais de Noms"; }
741
742//////////////////////////////////////////////////////////////////////////
743// new since 0.49-990728
744//////////////////////////////////////////////////////////////////////////
745
746 /*! This is put at the bottom of a class documentation page and is
747 * followed by a list of files that were used to generate the page.
748 */
750 bool single) override
751 { // here s is one of " Class", " Struct" or " Union"
752 // single is true implies a single file
753 DString result="La documentació d'aquest";
754 switch(compType)
755 {
756 case ClassDef::Class: result+="a classe"; break;
757 case ClassDef::Struct: result+="a estructura"; break;
758 case ClassDef::Record: return english.trGeneratedFromFiles(compType,single);
759 case ClassDef::Union: result+="a unió"; break;
760 case ClassDef::Interface: result+="a interfície"; break;
761 case ClassDef::Protocol: result+=" protocol"; break;
762 case ClassDef::Category: result+="a categoria"; break;
763 case ClassDef::Exception: result+="a excepció"; break;
764 default: break;
765 }
766 result+=" es va generar a partir del";
767 if (!single) result+="s";
768 result+=" següent";
769 if (!single) result+="s";
770 result+=" fitxer";
771 if (!single) result+="s:"; else result+=":";
772 return result;
773 }
774
775//////////////////////////////////////////////////////////////////////////
776// new since 0.49-990901
777//////////////////////////////////////////////////////////////////////////
778
779 /*! This is used as the heading text for the retval command. */
781 { return "Valors de retorn"; }
782
783 /*! This is in the (quick) index as a link to the main page (index.html)
784 */
786 { return "Pàgina principal"; }
787
788 /*! This is used in references to page that are put in the LaTeX
789 * documentation. It should be an abbreviation of the word page.
790 */
792 { return "p."; }
793
794//////////////////////////////////////////////////////////////////////////
795// new since 0.49-991003
796//////////////////////////////////////////////////////////////////////////
797
799 {
800 return "Definició a la línia @0 del fitxer @1.";
801 }
803 {
804 return "Definició al fitxer @0.";
805 }
806
807//////////////////////////////////////////////////////////////////////////
808// new since 0.49-991205
809//////////////////////////////////////////////////////////////////////////
810
812 {
813 return "Antiquat";
814 }
815
816//////////////////////////////////////////////////////////////////////////
817// new since 1.0.0
818//////////////////////////////////////////////////////////////////////////
819
820 /*! this text is put before a collaboration diagram */
821 DString trCollaborationDiagram(const DString &clName) override
822 {
823 return "Diagrama de col·laboració per a "+clName+":";
824 }
825 /*! this text is put before an include dependency graph */
826 DString trInclDepGraph(const DString &fName) override
827 {
828 return "Inclou el graf de dependències per a "+fName+":";
829 }
830 /*! header that is put before the list of constructor/destructors. */
832 {
833 return "Documentació del Constructor i el Destructor";
834 }
835 /*! Used in the file documentation to point to the corresponding sources. */
837 {
838 return "Veure el codi d'aquest fitxer.";
839 }
840 /*! Used in the file sources to point to the corresponding documentation. */
842 {
843 return "Veure la documentació d'aquest fitxer.";
844 }
845 /*! Text for the \\pre command */
847 {
848 return "Precondició";
849 }
850 /*! Text for the \\post command */
852 {
853 return "Postcondició";
854 }
855 /*! Text for the \\invariant command */
857 {
858 return "Invariant";
859 }
860 /*! Text shown before a multi-line variable/enum initialization */
862 {
863 return "Valor inicial:";
864 }
865 /*! Text used the source code in the file index */
866 DString trCode() override
867 {
868 return "codi";
869 }
871 {
872 return "Jerarquia Gràfica de la Classe";
873 }
875 {
876 return "Veure la jerarquia gràfica de la classe";
877 }
879 {
880 return "Veure la jerarquia textual de la classe";
881 }
883 {
884 return "Índex de Pàgines";
885 }
886
887//////////////////////////////////////////////////////////////////////////
888// new since 1.1.0
889//////////////////////////////////////////////////////////////////////////
890
891 DString trNote() override
892 {
893 return "Nota";
894 }
896 {
897 return "Tipus Públics";
898 }
900 {
901 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
902 {
903 return "Camps de Dades";
904 }
905 else
906 {
907 return "Atributs Públics";
908 }
909 }
911 {
912 return "Atributs Públics Estàtics";
913 }
915 {
916 return "Tipus Protegits";
917 }
919 {
920 return "Atributs Protegits";
921 }
923 {
924 return "Atributs Protegits Estàtics";
925 }
927 {
928 return "Tipus Privats";
929 }
931 {
932 return "Atributs Privats";
933 }
935 {
936 return "Atributs Privats Estàtics";
937 }
938
939//////////////////////////////////////////////////////////////////////////
940// new since 1.1.3
941//////////////////////////////////////////////////////////////////////////
942
943 /*! Used as a marker that is put before a \\todo item */
944 DString trTodo() override
945 {
946 return "Per fer";
947 }
948 /*! Used as the header of the todo list */
950 {
951 return "Llista de coses per fer";
952 }
953
954//////////////////////////////////////////////////////////////////////////
955// new since 1.1.4
956//////////////////////////////////////////////////////////////////////////
957
959 {
960 return "Referenciat a";
961 }
963 {
964 return "Remarca";
965 }
967 {
968 return "Atenció";
969 }
971 {
972 return "Aquest gràfic mostra quins fitxers inclouen, "
973 "de forma directa o indirecta, aquest fitxer:";
974 }
975 DString trSince() override
976 {
977 return "Des de";
978 }
979
980//////////////////////////////////////////////////////////////////////////
981// new since 1.1.5
982//////////////////////////////////////////////////////////////////////////
983
984 /*! title of the graph legend page */
986 {
987 return "Llegenda del Gràfic";
988 }
989 /*! page explaining how the dot graph's should be interpreted
990 * The %A in the text below are to prevent link to classes called "A".
991 */
993 {
994 return
995 "Aquesta pàgina explica com s'interpreten els gràfics generats per doxygen.<p>\n"
996 "Considera aquest exemple:\n"
997 "\\code\n"
998 "/*! Classe invisible per culpa del retall */\n"
999 "class Invisible { };\n\n"
1000 "/*! Classe truncada, l'herència està amagada */\n"
1001 "class Truncated : public Invisible { };\n\n"
1002 "/* Classe no documentada amb comentaris doxygen */\n"
1003 "class Undocumented { };\n\n"
1004 "/*! Classe heredada amb herència pública */\n"
1005 "class PublicBase : public Truncated { };\n\n"
1006 "/*! Una classe Template */\n"
1007 "template<class T> class Templ { };\n\n"
1008 "/*! Classe heredada utilitzant herència protegida */\n"
1009 "class ProtectedBase { };\n\n"
1010 "/*! Classe heredada utiltzant herència privada */\n"
1011 "class PrivateBase { };\n\n"
1012 "/*! Classe usada per la classe heretada */\n"
1013 "class Used { };\n\n"
1014 "/*! Super classe que hereda una quantitat de classes */\n"
1015 "class Inherited : public PublicBase,\n"
1016 " protected ProtectedBase,\n"
1017 " private PrivateBase,\n"
1018 " public Undocumented,\n"
1019 " public Templ<int>\n"
1020 "{\n"
1021 " private:\n"
1022 " Used *m_usedClass;\n"
1023 "};\n"
1024 "\\endcode\n"
1025 "Resultarà el gràfic següent:"
1026 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1027 "<p>\n"
1028 "Les caixes del gràfic superior tenen aquesta interpretació:\n"
1029 "<ul>\n"
1030 "<li>Una caixa negra plena represent l'estructura o classe per la qual el gràfic s'ha generat.\n"
1031 "<li>Una caixa de vora negra representa una estructura o classe documentada.\n"
1032 "<li>Una caixa de vora verda representa una estructura o classe indocumentada.\n"
1033 "<li>Una caixa de vora vermalla representa una estructura o classe documentada de la qual "
1034 "no es mostren totes les relacions d'herència/inclusió. Un gràfic és truncat si no s'ajusta als límits.\n"
1035 "</ul>\n"
1036 "Les sagetes tenen aquest significat:\n"
1037 "<ul>\n"
1038 "<li>Una sageta blau fosc remarca una relació d'herència de tipus pública entre dues classes.\n"
1039 "<li>Una sageta verd fosc remarca una relació d'herència de tipus protegida entre dues classes.\n"
1040 "<li>Una sageta roig fosc remarca una relació d'herència de tipus privada entre dues classes.\n"
1041 "<li>Una sageta puntejada de color porpra indica que una classe és continguda o usada per una altra classe."
1042 " La sageta s'etiqueta amb la variable o variables a través de les quals la classe o estructura apuntada és accessible.\n"
1043 "<li>Una sageta puntejada de color groc indica la relació entre una instància template i la classe template de què ha set instanciada."
1044 " La sageta s'etiqueta amb els paràmetres template de la instància.\n"
1045 "</ul>\n";
1046 }
1047 /*! text for the link to the legend page */
1049 {
1050 return "llegenda";
1051 }
1052
1053//////////////////////////////////////////////////////////////////////////
1054// new since 1.2.0
1055//////////////////////////////////////////////////////////////////////////
1056
1057 /*! Used as a marker that is put before a test item */
1058 DString trTest() override
1059 {
1060 return "Prova";
1061 }
1062 /*! Used as the header of the test list */
1064 {
1065 return "Llista de proves";
1066 }
1067
1068//////////////////////////////////////////////////////////////////////////
1069// new since 1.2.2
1070//////////////////////////////////////////////////////////////////////////
1071
1072 /*! Used as a section header for IDL properties */
1074 {
1075 return "Propietats";
1076 }
1077 /*! Used as a section header for IDL property documentation */
1079 {
1080 return "Documentació de les Propietats";
1081 }
1082
1083//////////////////////////////////////////////////////////////////////////
1084// new since 1.2.4
1085//////////////////////////////////////////////////////////////////////////
1086
1087 /*! Used for Java classes in the summary section of Java packages */
1089 {
1090 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1091 {
1092 return "Estructures de Dades";
1093 }
1094 else
1095 {
1096 return "Classes";
1097 }
1098 }
1099 /*! Used as the title of a Java package */
1100 DString trPackage(const DString &name) override
1101 {
1102 return "Paquet "+name;
1103 }
1104 /*! The description of the package index page */
1106 {
1107 return "Aquesta és la llista de paquets, amb una breu descripció (si se'n disposa):";
1108 }
1109 /*! The link name in the Quick links header for each page */
1111 {
1112 return "Paquets";
1113 }
1114 /*! Text shown before a multi-line define */
1116 {
1117 return "Valor:";
1118 }
1119
1120//////////////////////////////////////////////////////////////////////////
1121// new since 1.2.5
1122//////////////////////////////////////////////////////////////////////////
1123
1124 /*! Used as a marker that is put before a \\bug item */
1125 DString trBug() override
1126 {
1127 return "Error";
1128 }
1129 /*! Used as the header of the bug list */
1131 {
1132 return "Llista d'Errors";
1133 }
1134
1135//////////////////////////////////////////////////////////////////////////
1136// new since 1.2.6
1137//////////////////////////////////////////////////////////////////////////
1138
1139 /*! Used as ansicpg for RTF file
1140 *
1141 * The following table shows the correlation of Charset name, Charset Value and
1142 * <pre>
1143 * Codepage number:
1144 * Charset Name Charset Value(hex) Codepage number
1145 * ------------------------------------------------------
1146 * DEFAULT_CHARSET 1 (x01)
1147 * SYMBOL_CHARSET 2 (x02)
1148 * OEM_CHARSET 255 (xFF)
1149 * ANSI_CHARSET 0 (x00) 1252
1150 * RUSSIAN_CHARSET 204 (xCC) 1251
1151 * EE_CHARSET 238 (xEE) 1250
1152 * GREEK_CHARSET 161 (xA1) 1253
1153 * TURKISH_CHARSET 162 (xA2) 1254
1154 * BALTIC_CHARSET 186 (xBA) 1257
1155 * HEBREW_CHARSET 177 (xB1) 1255
1156 * ARABIC _CHARSET 178 (xB2) 1256
1157 * SHIFTJIS_CHARSET 128 (x80) 932
1158 * HANGEUL_CHARSET 129 (x81) 949
1159 * GB2313_CHARSET 134 (x86) 936
1160 * CHINESEBIG5_CHARSET 136 (x88) 950
1161 * </pre>
1162 *
1163 */
1165 {
1166 return "1252";
1167 }
1168
1169
1170 /*! Used as ansicpg for RTF fcharset
1171 * \see trRTFansicp() for a table of possible values.
1172 */
1174 {
1175 return "0";
1176 }
1177
1178 /*! Used as header RTF general index */
1180 {
1181 return "Índex";
1182 }
1183
1184 /*! This is used for translation of the word that will possibly
1185 * be followed by a single name or by a list of names
1186 * of the category.
1187 */
1188 DString trClass(bool first_capital, bool singular) override
1189 {
1190 return createNoun(first_capital, singular, "classe", "s");
1191 }
1192
1193 /*! This is used for translation of the word that will possibly
1194 * be followed by a single name or by a list of names
1195 * of the category.
1196 */
1197 DString trFile(bool first_capital, bool singular) override
1198 {
1199 return createNoun(first_capital, singular, "fitxer", "s");
1200 }
1201
1202 /*! This is used for translation of the word that will possibly
1203 * be followed by a single name or by a list of names
1204 * of the category.
1205 */
1206 DString trNamespace(bool first_capital, bool singular) override
1207 {
1208 return createNoun(first_capital, singular, "namespace", "s");
1209 }
1210
1211 /*! This is used for translation of the word that will possibly
1212 * be followed by a single name or by a list of names
1213 * of the category.
1214 */
1215 DString trGroup(bool first_capital, bool singular) override
1216 {
1217 return createNoun(first_capital, singular, "grup", "s");
1218 }
1219
1220 /*! This is used for translation of the word that will possibly
1221 * be followed by a single name or by a list of names
1222 * of the category.
1223 */
1224 DString trPage(bool first_capital, bool singular) override
1225 {
1226 return createNoun(first_capital, singular, "pàgin", "es", "a");
1227 }
1228
1229 /*! This is used for translation of the word that will possibly
1230 * be followed by a single name or by a list of names
1231 * of the category.
1232 */
1233 DString trMember(bool first_capital, bool singular) override
1234 {
1235 return createNoun(first_capital, singular, "membre", "s");
1236 }
1237
1238 /*! This is used for translation of the word that will possibly
1239 * be followed by a single name or by a list of names
1240 * of the category.
1241 */
1242 DString trGlobal(bool first_capital, bool singular) override
1243 {
1244 return createNoun(first_capital, singular, "global", "s");
1245 }
1246
1247//////////////////////////////////////////////////////////////////////////
1248// new since 1.2.7
1249//////////////////////////////////////////////////////////////////////////
1250
1251 /*! This text is generated when the \\author command is used and
1252 * for the author section in man pages. */
1253 DString trAuthor(bool first_capital, bool singular) override
1254 {
1255 return createNoun(first_capital, singular, "autor", "s");
1256 }
1257
1258//////////////////////////////////////////////////////////////////////////
1259// new since 1.2.11
1260//////////////////////////////////////////////////////////////////////////
1261
1262 /*! This text is put before the list of members referenced by a member
1263 */
1265 {
1266 return "Referències";
1267 }
1268
1269//////////////////////////////////////////////////////////////////////////
1270// new since 1.2.13
1271//////////////////////////////////////////////////////////////////////////
1272
1273 /*! used in member documentation blocks to produce a list of
1274 * members that are implemented by this one.
1275 */
1276 DString trImplementedFromList(int numEntries) override
1277 {
1278 return "Implementa "+trWriteList(numEntries)+".";
1279 }
1280
1281 /*! used in member documentation blocks to produce a list of
1282 * all members that implement this abstract member.
1283 */
1284 DString trImplementedInList(int numEntries) override
1285 {
1286 return "Implementat a "+trWriteList(numEntries)+".";
1287 }
1288
1289//////////////////////////////////////////////////////////////////////////
1290// new since 1.2.16
1291//////////////////////////////////////////////////////////////////////////
1292
1293 /*! used in RTF documentation as a heading for the Table
1294 * of Contents.
1295 */
1297 {
1298 return "Taula de Continguts";
1299 }
1300
1301//////////////////////////////////////////////////////////////////////////
1302// new since 1.2.17
1303//////////////////////////////////////////////////////////////////////////
1304
1305 /*! Used as the header of the list of item that have been
1306 * flagged deprecated
1307 */
1309 {
1310 return "Llista d'Antiquats";
1311 }
1312
1313//////////////////////////////////////////////////////////////////////////
1314// new since 1.2.18
1315//////////////////////////////////////////////////////////////////////////
1316
1317 /*! Used as a header for declaration section of the events found in
1318 * a C# program
1319 */
1321 {
1322 return "Esdeveniments";
1323 }
1324 /*! Header used for the documentation section of a class' events. */
1326 {
1327 return "Documentació dels Esdeveniments";
1328 }
1329
1330//////////////////////////////////////////////////////////////////////////
1331// new since 1.3
1332//////////////////////////////////////////////////////////////////////////
1333
1334 /*! Used as a heading for a list of Java class types with package scope.
1335 */
1337 {
1338 return "Tipus de paquets";
1339 }
1340 /*! Used as a heading for a list of Java class functions with package
1341 * scope.
1342 */
1344 {
1345 return "Funcions de Paquet";
1346 }
1348 {
1349 return "Membres de Paquet";
1350 }
1351 /*! Used as a heading for a list of static Java class functions with
1352 * package scope.
1353 */
1355 {
1356 return "Funcions Estàtiques de Paquet";
1357 }
1358 /*! Used as a heading for a list of Java class variables with package
1359 * scope.
1360 */
1362 {
1363 return "Atributs de Paquet";
1364 }
1365 /*! Used as a heading for a list of static Java class variables with
1366 * package scope.
1367 */
1369 {
1370 return "Atributs Estàtics de Paquet";
1371 }
1372
1373//////////////////////////////////////////////////////////////////////////
1374// new since 1.3.1
1375//////////////////////////////////////////////////////////////////////////
1376
1377 /*! Used in the quick index of a class/file/namespace member list page
1378 * to link to the unfiltered list of all members.
1379 */
1380 DString trAll() override
1381 {
1382 return "Tot";
1383 }
1384 /*! Put in front of the call graph for a function. */
1386 {
1387 return "Gràfic de crides d'aquesta funció:";
1388 }
1389
1390//////////////////////////////////////////////////////////////////////////
1391// new since 1.3.3
1392//////////////////////////////////////////////////////////////////////////
1393
1394 /*! This string is used as the title for the page listing the search
1395 * results.
1396 */
1398 {
1399 return "Resultats de la Búsqueda";
1400 }
1401 /*! This string is put just before listing the search results. The
1402 * text can be different depending on the number of documents found.
1403 * Inside the text you can put the special marker $num to insert
1404 * the number representing the actual number of search results.
1405 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1406 * value 2 represents 2 or more matches. HTML markup is allowed inside
1407 * the returned string.
1408 */
1409 DString trSearchResults(int numDocuments) override
1410 {
1411 if (numDocuments==0)
1412 {
1413 return "No s'ha trobat cap document.";
1414 }
1415 else if (numDocuments==1)
1416 {
1417 return "Trobat <b>1</b> document.";
1418 }
1419 else
1420 {
1421 return "Trobats <b>$num</b> documents. "
1422 "Mostrant els millors resultats primer.";
1423 }
1424 }
1425 /*! This string is put before the list of matched words, for each search
1426 * result. What follows is the list of words that matched the query.
1427 */
1429 {
1430 return "Resultats:";
1431 }
1432
1433//////////////////////////////////////////////////////////////////////////
1434// new since 1.3.8
1435//////////////////////////////////////////////////////////////////////////
1436
1437 /*! This is used in HTML as the title of page with source code for file filename
1438 */
1439 DString trSourceFile(const DString& filename) override
1440 {
1441 return "Fitxer de Codi " + filename;
1442 }
1443
1444//////////////////////////////////////////////////////////////////////////
1445// new since 1.3.9
1446//////////////////////////////////////////////////////////////////////////
1447
1448 /*! This is used as the name of the chapter containing the directory
1449 * hierarchy.
1450 */
1452 { return "Jerarquia de Directoris"; }
1453
1454 /*! This is used as the name of the chapter containing the documentation
1455 * of the directories.
1456 */
1458 { return "Documentació dels Directoris"; }
1459
1460 /*! This is used as the title of the directory index and also in the
1461 * Quick links of a HTML page, to link to the directory hierarchy.
1462 */
1464 { return "Directoris"; }
1465
1466 /*! This returns the title of a directory page. The name of the
1467 * directory is passed via \a dirName.
1468 */
1469 DString trDirReference(const DString &dirName) override
1470 { DString result="Referència del Directori "; result+=dirName; return result; }
1471
1472 /*! This returns the word directory with or without starting capital
1473 * (\a first_capital) and in singular or plural form (\a singular).
1474 */
1475 DString trDir(bool first_capital, bool singular) override
1476 {
1477 return createNoun(first_capital, singular, "directori", "s");
1478 }
1479
1480//////////////////////////////////////////////////////////////////////////
1481// new since 1.4.1
1482//////////////////////////////////////////////////////////////////////////
1483
1484 /*! This text is added to the documentation when the \\overload command
1485 * is used for a overloaded function.
1486 */
1488 {
1489 return "Aquesta és una funció membre sobrecarregada, "
1490 "proveïda per conveniència. Es diferencia de la funció "
1491 "anterior només en els arguments que accepta.";
1492 }
1493
1494//////////////////////////////////////////////////////////////////////////
1495// new since 1.4.6
1496//////////////////////////////////////////////////////////////////////////
1497
1498 /*! This is used to introduce a caller (or called-by) graph */
1500 {
1501 return "Gràfic de crides a aquesta funció:";
1502 }
1503
1504 /*! This is used in the documentation of a file/namespace before the list
1505 * of documentation blocks for enumeration values
1506 */
1508 { return "Documentació de les Enumeracions"; }
1509
1510//////////////////////////////////////////////////////////////////////////
1511// new since 1.5.4 (mainly for Fortran)
1512//////////////////////////////////////////////////////////////////////////
1513
1514 /*! header that is put before the list of member subprograms (Fortran). */
1516 { return "Documentació de les Funcions/Subrutines Membre"; }
1517
1518 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1520 { return "Llista de Tipus de Dades"; }
1521
1522 /*! This is put above each page as a link to all members of compounds (Fortran). */
1524 { return "Camps de Dades"; }
1525
1526 /*! This is an introduction to the annotated compound list (Fortran). */
1528 { return "Aquests són els tipus de dades acompanyats amb breus descripcions:"; }
1529
1530 /*! This is an introduction to the page with all data types (Fortran). */
1532 {
1533 DString result="Aquesta és la llista de tots els membres de tipus de dades";
1534 if (!extractAll)
1535 {
1536 result+=" documentats";
1537 }
1538 result+=" amb enllaços a ";
1539 if (!extractAll)
1540 {
1541 result+="la documentació del tipus de dades per a cada membre:";
1542 }
1543 else
1544 {
1545 result+="els tipus de dades a que pertanyen:";
1546 }
1547 return result;
1548 }
1549
1550 /*! This is used in LaTeX as the title of the chapter with the
1551 * annotated compound index (Fortran).
1552 */
1554 { return "Índex de Tipus de Dades"; }
1555
1556 /*! This is used in LaTeX as the title of the chapter containing
1557 * the documentation of all data types (Fortran).
1558 */
1560 { return "Documentació dels Tipus de Dades"; }
1561
1562 /*! This is used in the documentation of a file as a header before the
1563 * list of (global) subprograms (Fortran).
1564 */
1566 { return "Funcions/Subrutines"; }
1567
1568 /*! This is used in the documentation of a file/namespace before the list
1569 * of documentation blocks for subprograms (Fortran)
1570 */
1572 { return "Documentació de les Funcions/Subrutines"; }
1573
1574 /*! This is used in the documentation of a file/namespace/group before
1575 * the list of links to documented compounds (Fortran)
1576 */
1578 { return "Tipus de Dades"; }
1579
1580 /*! used as the title of page containing all the index of all modules (Fortran). */
1582 { return "Llista de Mòduls"; }
1583
1584 /*! used as an introduction to the modules list (Fortran) */
1585 DString trModulesListDescription(bool extractAll) override
1586 {
1587 DString result="Aquesta és la llista de tots els mòduls ";
1588 if (!extractAll) result+="documentats ";
1589 result+="amb breus descripcions:";
1590 return result;
1591 }
1592
1593 /*! used as the title of the HTML page of a module/type (Fortran) */
1595 ClassDef::CompoundType compType,
1596 bool isTemplate) override
1597 {
1598 DString result="Referència de";
1599 switch(compType)
1600 {
1601 case ClassDef::Class: result+=" el Mòdul "; break;
1602 case ClassDef::Struct: result+=" el Tipus "; break;
1603 case ClassDef::Union: result+=" la Unió "; break;
1604 case ClassDef::Interface: result+=" la Interfície "; break;
1605 case ClassDef::Protocol: result+="l Protocol "; break;
1606 case ClassDef::Category: result+=" la Categoria "; break;
1607 case ClassDef::Exception: result+=" l'Excepció "; break;
1608 default: break;
1609 }
1610 if (isTemplate) result+="Template ";
1611 result+=clName;
1612 return result;
1613 }
1614
1615 /*! used as the title of the HTML page of a module (Fortran) */
1616 DString trModuleReference(const DString &namespaceName) override
1617 {
1618 DString result="Referència del Mòdul ";
1619 result+=namespaceName;
1620 return result;
1621 }
1622
1623 /*! This is put above each page as a link to all members of modules. (Fortran) */
1625 { return "Membres del Mòdul"; }
1626
1627 /*! This is an introduction to the page with all modules members (Fortran) */
1628 DString trModulesMemberDescription(bool extractAll) override
1629 {
1630 DString result="Aquesta és la llista de tots els membres del mòdul";
1631 if (!extractAll)
1632 {
1633 result+=" documentats";
1634 }
1635 result+=" amb enllaços a ";
1636 if (!extractAll)
1637 {
1638 result+="la documentació del mòdul per a cada membre:";
1639 }
1640 else
1641 {
1642 result+="els mòduls a que pertanyen:";
1643 }
1644 return result;
1645 }
1646
1647 /*! This is used in LaTeX as the title of the chapter with the
1648 * index of all modules (Fortran).
1649 */
1651 { return "Índex de Mòduls"; }
1652
1653 /*! This is used for translation of the word that will possibly
1654 * be followed by a single name or by a list of names
1655 * of the category.
1656 */
1657 DString trModule(bool first_capital, bool singular) override
1658 {
1659 return createNoun(first_capital, singular, "mòdul", "s");
1660 }
1661 /*! This is put at the bottom of a module documentation page and is
1662 * followed by a list of files that were used to generate the page.
1663 */
1665 bool single) override
1666 { // here s is one of " Module", " Struct" or " Union"
1667 // single is true implies a single file
1668 DString result="La documentació d'aquest";
1669 switch(compType)
1670 {
1671 case ClassDef::Class: result+=" mòdul"; break;
1672 case ClassDef::Struct: result+=" tipus"; break;
1673 case ClassDef::Union: result+="a unió"; break;
1674 case ClassDef::Interface: result+="a interfície"; break;
1675 case ClassDef::Protocol: result+=" protocol"; break;
1676 case ClassDef::Category: result+="a categoria"; break;
1677 case ClassDef::Exception: result+="a excepció"; break;
1678 default: break;
1679 }
1680 result+=" es va generar a partir del";
1681 if (!single) result+="s";
1682 result+=" següent";
1683 if (!single) result+="s";
1684 result+=" fitxer";
1685 if (!single) result+="s:"; else result+=":";
1686 return result;
1687 }
1688
1689 /*! This is used for translation of the word that will possibly
1690 * be followed by a single name or by a list of names
1691 * of the category.
1692 */
1693 DString trType(bool first_capital, bool) override
1694 {
1695 return createNoun(first_capital, false, "tipus", "");
1696 }
1697 /*! This is used for translation of the word that will possibly
1698 * be followed by a single name or by a list of names
1699 * of the category.
1700 */
1701 DString trSubprogram(bool first_capital, bool singular) override
1702 {
1703 return createNoun(first_capital, singular, "subprogram", "es", "a");
1704 }
1705
1706 /*! C# Type Constraint list */
1708 {
1709 return "Restriccions de Tipus";
1710 }
1711
1712//////////////////////////////////////////////////////////////////////////
1713// new since 1.6.0 (mainly for the new search engine)
1714//////////////////////////////////////////////////////////////////////////
1715
1716 /*! directory relation for \a name */
1717 DString trDirRelation(const DString &name) override
1718 {
1719 return name+" Relació";
1720 }
1721
1722 /*! Loading message shown when loading search results */
1724 {
1725 return "Carregant...";
1726 }
1727
1728 /*! Label used for search results in the global namespace */
1730 {
1731 return "Espai de Noms Global";
1732 }
1733
1734 /*! Message shown while searching */
1736 {
1737 return "Cercant...";
1738 }
1739
1740 /*! Text shown when no search results are found */
1742 {
1743 return "Cap coincidència";
1744 }
1745
1746//////////////////////////////////////////////////////////////////////////
1747// new since 1.6.3 (missing items for the directory pages)
1748//////////////////////////////////////////////////////////////////////////
1749
1750 /*! when clicking a directory dependency label, a page with a
1751 * table is shown. The heading for the first column mentions the
1752 * source file that has a relation to another file.
1753 */
1754 DString trFileIn(const DString &name) override
1755 {
1756 return "Fitxer a "+name;
1757 }
1758
1759 /*! when clicking a directory dependency label, a page with a
1760 * table is shown. The heading for the second column mentions the
1761 * destination file that is included.
1762 */
1763 DString trIncludesFileIn(const DString &name) override
1764 {
1765 return "Inclou fitxer a "+name;
1766 }
1767
1768 /** Compiles a date string.
1769 * @param year Year in 4 digits
1770 * @param month Month of the year: 1=January
1771 * @param day Day of the Month: 1..31
1772 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1773 * @param hour Hour of the day: 0..23
1774 * @param minutes Minutes in the hour: 0..59
1775 * @param seconds Seconds within the minute: 0..59
1776 * @param includeTime Include time in the result string?
1777 */
1778 DString trDateTime(int year,int month,int day,int dayOfWeek,
1779 int hour,int minutes,int seconds,
1780 DateTimeType includeTime) override
1781 {
1782 static const char *days[] = { "Dl","Dt","Dc","Dj","Dv","Ds","Dg" };
1783 static const char *months[] = { "Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Sep","Oct","Nov","Dec" };
1784 DString sdate;
1785 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1786 {
1787 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1788 }
1789 if (includeTime == DateTimeType::DateTime) sdate += " ";
1790 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1791 {
1792 DString stime;
1793 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1794 sdate+=stime;
1795 }
1796 return sdate;
1797 }
1798 DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1799 {
1800 static const char *days_short[] = { "dl.", "dt.", "dc.", "dj.", "dv.", "ds.", "dg." };
1801 static const char *days_full[] = { "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte", "diumenge" };
1802 DString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1803 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1804 else return text;
1805 }
1806 DString trMonth(int month, bool first_capital, bool full) override
1807 {
1808 static const char *months_short[] = { "gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des." };
1809 static const char *months_full[] = { "gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre" };
1810 DString text = full? months_full[month-1] : months_short[month-1];
1811 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1812 else return text;
1813 }
1814 DString trDayPeriod(bool period) override
1815 {
1816 static const char *dayPeriod[] = { "a.m.", "p.m." };
1817 return dayPeriod[period?1:0];
1818 }
1819
1820//////////////////////////////////////////////////////////////////////////
1821// new since 1.7.5
1822//////////////////////////////////////////////////////////////////////////
1823
1824 /*! Header for the page with bibliographic citations */
1826 { return "Referències Bibliogràfiques"; }
1827
1828 /*! Text for copyright paragraph */
1830 { return "Copyright"; }
1831
1832 /*! Header for the graph showing the directory dependencies */
1833 DString trDirDepGraph(const DString &name) override
1834 { return DString("Graf de dependència de directoris per a ")+name+":"; }
1835
1836
1837};
1838
1839#endif
CompoundType
The various compound types.
Definition classdef.h:105
@ Interface
Definition classdef.h:109
@ Exception
Definition classdef.h:112
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
TranslatorEnglish english
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 trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString createNoun(bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Definition translator.h:807
#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:5100