Doxygen
Loading...
Searching...
No Matches
translator_ca.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 *
4 *
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17
18#ifndef TRANSLATOR_CA_H
19#define TRANSLATOR_CA_H
20
21/*!
22 When defining a translator class for the new language, follow
23 the description in the documentation. One of the steps says
24 that you should copy the translator_en.h (this) file to your
25 translator_xx.h new file. Your new language should use the
26 Translator class as the base class. This means that you need to
27 implement exactly the same (pure virtual) override methods as the
28 TranslatorEnglish does. Because of this, it is a good idea to
29 start with the copy of TranslatorEnglish and replace the strings
30 one by one.
31
32 It is not necessary to include "translator.h" or
33 "translator_adapter.h" here. The files are included in the
34 language.cpp correctly. Not including any of the mentioned
35 files frees the maintainer from thinking about whether the
36 first, the second, or both files should be included or not, and
37 why. This holds namely for localized translators because their
38 base class is changed occasionally to adapter classes when the
39 Translator class changes the interface, or back to the
40 Translator class (by the local maintainer) when the localized
41 translator is made up-to-date again.
42*/
44{
45 public:
46
47 // --- Language control methods -------------------
48
49 /*! Used for identification of the language. The identification
50 * should not be translated. It should be replaced by the name
51 * of the language in English using lower-case characters only
52 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
53 * the identification used in language.cpp.
54 */
56 { return "catalan"; }
57
58 /*! Used to get the LaTeX command(s) for the language support.
59 * This method should return string with commands that switch
60 * LaTeX to the desired language. For example
61 * <pre>"\\usepackage[german]{babel}\n"
62 * </pre>
63 * or
64 * <pre>"\\usepackage{polski}\n"
65 * "\\usepackage[latin2]{inputenc}\n"
66 * "\\usepackage[T1]{fontenc}\n"
67 * </pre>
68 *
69 * The English LaTeX does not use such commands. Because of this
70 * the empty string is returned in this implementation.
71 */
73 {
74 //return "\\usepackage[catalan]{babel}\n\\usepackage[latin1]{inputenc}";
75 return "\\usepackage[catalan]{babel}\n";
76 }
77
79 {
80 return "ca";
81 }
83 {
84 return "0x403 Catalan";
85 }
86
87 // --- Language translation methods -------------------
88
89 /*! used in the compound documentation before a list of related functions. */
91 { return "Funcions Associades"; }
92
93 /*! subscript for the related functions. */
95 { return "(Remarcar que aquestes funcions no són funcions membre.)"; }
96
97 /*! header that is put before the detailed description of files, classes and namespaces. */
99 { return "Descripció Detallada"; }
100
101 /*! header that is used when the summary tag is missing inside the details tag */
103 { return "Detalls"; }
104
105 /*! header that is put before the list of typedefs. */
107 { return "Documentació de les Definicions de Tipus Membre"; }
108
109 /*! header that is put before the list of enumerations. */
111 { return "Documentació de les Enumeracions Membre"; }
112
113 /*! header that is put before the list of member functions. */
115 { return "Documentació de les Funcions Membre"; }
116
117 /*! header that is put before the list of member attributes. */
119 {
120 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
121 {
122 return "Documentació dels Camps";
123 }
124 else
125 {
126 return "Documentació de les Dades Membre";
127 }
128 }
129
130 /*! this is the text of a link put after brief descriptions. */
131 QCString trMore() override
132 { return "Més..."; }
133
134 /*! put in the class documentation */
136 { return "Llista de tots els membres"; }
137
138 /*! used as the title of the "list of all members" page of a class */
140 { return "Llista dels Membres"; }
141
142 /*! this is the first part of a sentence that is followed by a class name */
144 { return "Aquesta és la llista complerta dels membres de"; }
145
146 /*! this is the remainder of the sentence after the class name */
148 { return ", incloent tots els membres heretats."; }
149
150 /*! this is put at the author sections at the bottom of man pages.
151 * parameter s is name of the project name.
152 */
154 { QCString result="Generat automàticament per Doxygen";
155 if (!s.isEmpty()) result+=" per a "+s;
156 result+=" a partir del codi font.";
157 return result;
158 }
159
160 /*! put after an enum name in the list of all members */
162 { return "nom de la enum"; }
163
164 /*! put after an enum value in the list of all members */
166 { return "valors de la enum"; }
167
168 /*! put after an undocumented member in the list of all members */
170 { return "definit a"; }
171
172 // quick reference sections
173
174 /*! This is put above each page as a link to the list of all groups of
175 * compounds or files (see the \\group command).
176 */
178 { return "Mòduls"; }
179
180 /*! This is put above each page as a link to the class hierarchy */
182 { return "Jerarquia de Classes"; }
183
184 /*! This is put above each page as a link to the list of annotated classes */
186 {
187 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
188 {
189 return "Estructures de Dades";
190 }
191 else
192 {
193 return "Llista de Classes";
194 }
195 }
196
197 /*! This is put above each page as a link to the list of documented files */
199 { return "Llista dels Fitxers"; }
200
201 /*! This is put above each page as a link to all members of compounds. */
203 {
204 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
205 {
206 return "Camps de Dades";
207 }
208 else
209 {
210 return "Membres de Classes";
211 }
212 }
213
214 /*! This is put above each page as a link to all members of files. */
216 {
217 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
218 {
219 return "Globals";
220 }
221 else
222 {
223 return "Membres de Fitxers";
224 }
225 }
226
227 /*! This is put above each page as a link to all related pages. */
229 { return "Pàgines Relacionades"; }
230
231 /*! This is put above each page as a link to all examples. */
233 { return "Exemples"; }
234
235 /*! This is put above each page as a link to the search engine. */
237 { return "Cerca"; }
238
239 /*! This is an introduction to the class hierarchy. */
241 { return "Aquesta llista d'herència està ordenada toscament, "
242 "però no completa, de forma alfabètica:";
243 }
244
245 /*! This is an introduction to the list with all files. */
246 QCString trFileListDescription(bool extractAll) override
247 {
248 QCString result="Aquesta és la llista de tots els fitxers ";
249 if (!extractAll) result+="documentats ";
250 result+="acompanyats amb breus descripcions:";
251 return result;
252 }
253
254 /*! This is an introduction to the annotated compound list. */
256 {
257
258 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
259 {
260 return "Aquestes són les estructures de dades acompanyades amb breus descripcions:";
261 }
262 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
263 {
264 return "Aquestes són les classes acompanyades amb breus descripcions:";
265 }
266 else
267 {
268 return "Aquestes són les classes, estructures, "
269 "unions i interfícies acompanyades amb breus descripcions:";
270 }
271 }
272
273 /*! This is an introduction to the page with all class members. */
274 QCString trCompoundMembersDescription(bool extractAll) override
275 {
276 QCString result="Aquesta és la llista de tots els ";
277 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
278 {
279 result+="camps d'estructures i unions";
280 }
281 else
282 {
283 result+="membres de classe";
284 }
285 if (!extractAll)
286 {
287 result+=" documentats";
288 }
289 result+=" amb enllaços a ";
290 if (!extractAll)
291 {
292 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
293 {
294 result+="la documentació de l'estructura/unió per a cada camp:";
295 }
296 else
297 {
298 result+="la documentació de la classe per a cada membre:";
299 }
300 }
301 else
302 {
303 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
304 {
305 result+="les estructures/unions a que pertanyen:";
306 }
307 else
308 {
309 result+="les classes a que pertanyen:";
310 }
311 }
312 return result;
313 }
314 /*! This is an introduction to the page with all file members. */
315 QCString trFileMembersDescription(bool extractAll) override
316 {
317 QCString result="Aquesta és la llista de ";
318 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
319 {
320 result+="totes les funcions, variables, definicions, enumeracions, i definicions de tipus";
321 if (!extractAll) result+=" documentades";
322 }
323 else
324 {
325 result+="tots els membres de fitxers";
326 if (!extractAll) result+=" documentats";
327 }
328 result+=" amb enllaços ";
329 if (extractAll)
330 result+="als fitxers als quals corresponen:";
331 else
332 result+="a la documentació:";
333 return result;
334 }
335
336 /*! This is an introduction to the page with the list of all examples */
338 { return "Aquesta és la llista de tots els exemples:"; }
339
340 /*! This is an introduction to the page with the list of related pages */
342 { return "Aquesta és la llista de totes les pàgines de documentació associades:"; }
343
344 /*! This is an introduction to the page with the list of class/file groups */
346 { return "Aquesta és la llista de mòduls:"; }
347
348 // index titles (the project name is prepended for these)
349
350
351 /*! This is used in HTML as the title of index.html. */
352 QCString trDocumentation(const QCString &projName) override
353 { return (!projName.isEmpty()?projName + " " : "") + ": Documentació"; }
354
355 /*! This is used in LaTeX as the title of the chapter with the
356 * index of all groups.
357 */
359 { return "Índex de Mòduls"; }
360
361 /*! This is used in LaTeX as the title of the chapter with the
362 * class hierarchy.
363 */
365 { return "Índex Jeràrquic"; }
366
367 /*! This is used in LaTeX as the title of the chapter with the
368 * annotated compound index.
369 */
371 {
372 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
373 {
374 return "Índex d'Estructures de Dades";
375 }
376 else
377 {
378 return "Índex de Classes";
379 }
380 }
381
382 /*! This is used in LaTeX as the title of the chapter with the
383 * list of all files.
384 */
386 { return "Índex de Fitxers"; }
387
388 /*! This is used in LaTeX as the title of the chapter containing
389 * the documentation of all groups.
390 */
392 { return "Documentació dels Mòduls"; }
393
394 /*! This is used in LaTeX as the title of the chapter containing
395 * the documentation of all classes, structs and unions.
396 */
398 {
399 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
400 {
401 return "Documentació de les Estructures de Dades";
402 }
403 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
404 {
406 }
407 else
408 {
409 return "Documentació de les Classes";
410 }
411 }
412
413 /*! This is used in LaTeX as the title of the chapter containing
414 * the documentation of all files.
415 */
417 { return "Documentació dels Fitxers"; }
418
419 /*! This is used in LaTeX as the title of the document */
421 { return "Manual de Referència"; }
422
423 /*! This is used in the documentation of a file as a header before the
424 * list of defines
425 */
427 { return "Definicions"; }
428
429 /*! This is used in the documentation of a file as a header before the
430 * list of typedefs
431 */
433 { return "Definicions de Tipus"; }
434
435 /*! This is used in the documentation of a file as a header before the
436 * list of enumerations
437 */
439 { return "Enumeracions"; }
440
441 /*! This is used in the documentation of a file as a header before the
442 * list of (global) functions
443 */
445 { return "Funcions"; }
446
447 /*! This is used in the documentation of a file as a header before the
448 * list of (global) variables
449 */
451 { return "Variables"; }
452
453 /*! This is used in the documentation of a file as a header before the
454 * list of (global) variables
455 */
457 { return "Valors de les Enumeracions"; }
458
459 /*! This is used in the documentation of a file before the list of
460 * documentation blocks for defines
461 */
463 { return "Documentació de les Definicions"; }
464
465 /*! This is used in the documentation of a file/namespace before the list
466 * of documentation blocks for typedefs
467 */
469 { return "Documentació de les Definicions de Tipus"; }
470
471 /*! This is used in the documentation of a file/namespace before the list
472 * of documentation blocks for enumeration types
473 */
475 { return "Documentació dels Tipus de les Enumeracions"; }
476
477 /*! This is used in the documentation of a file/namespace before the list
478 * of documentation blocks for functions
479 */
481 { return "Documentació de les Funcions"; }
482
483 /*! This is used in the documentation of a file/namespace before the list
484 * of documentation blocks for variables
485 */
487 { return "Documentació de les Variables"; }
488
489 /*! This is used in the documentation of a file/namespace/group before
490 * the list of links to documented compounds
491 */
493 {
494 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
495 {
496 return "Estructures de Dades";
497 }
498 else
499 {
500 return "Classes";
501 }
502 }
503
504 /*! This is used in the standard footer of each page and indicates when
505 * the page was generated
506 */
507 QCString trGeneratedAt(const QCString &date,const QCString &projName) override
508 {
509 QCString result="Generat a "+date;
510 if (!projName.isEmpty()) result+=" per a "+projName;
511 result+=" per";
512 return result;
513 }
514
515 /*! this text is put before a class diagram */
516 QCString trClassDiagram(const QCString &clName) override
517 {
518 return "Diagrama d'Herència per a "+clName+":";
519 }
520
521 /*! this text is generated when the \\warning command is used. */
523 { return "Atenció"; }
524
525 /*! this text is generated when the \\version command is used. */
527 { return "Versió"; }
528
529 /*! this text is generated when the \\date command is used. */
530 QCString trDate() override
531 { return "Data"; }
532
533 /*! this text is generated when the \\return command is used. */
535 { return "Retorna"; }
536
537 /*! this text is generated when the \\sa command is used. */
539 { return "Mireu també"; }
540
541 /*! this text is generated when the \\param command is used. */
543 { return "Paràmetres"; }
544
545 /*! this text is generated when the \\exception command is used. */
547 { return "Excepcions"; }
548
549 /*! this text is used in the title page of a LaTeX document. */
551 { return "Generat per"; }
552
553//////////////////////////////////////////////////////////////////////////
554// new since 0.49-990307
555//////////////////////////////////////////////////////////////////////////
556
557 /*! used as the title of page containing all the index of all namespaces. */
559 { return "Llista dels Espais de Noms"; }
560
561 /*! used as an introduction to the namespace list */
562 QCString trNamespaceListDescription(bool extractAll) override
563 {
564 QCString result="Aquests són tots els espais de noms ";
565 if (!extractAll) result+="documentats ";
566 result+="amb breus descripcions:";
567 return result;
568 }
569
570 /*! used in the class documentation as a header before the list of all
571 * friends of a class
572 */
574 { return "Classes Amigues"; }
575
576//////////////////////////////////////////////////////////////////////////
577// new since 0.49-990405
578//////////////////////////////////////////////////////////////////////////
579
580 /*! used in the class documentation as a header before the list of all
581 * related classes
582 */
584 { return "Documentació de funcions amigues i relacionades"; }
585
586//////////////////////////////////////////////////////////////////////////
587// new since 0.49-990425
588//////////////////////////////////////////////////////////////////////////
589
590 /*! used as the title of the HTML page of a class/struct/union */
592 ClassDef::CompoundType compType,
593 bool isTemplate) override
594 {
595 QCString result="Referència de";
596 switch(compType)
597 {
598 case ClassDef::Class: result+=" la Classe "; break;
599 case ClassDef::Struct: result+=" l'Estructura "; break;
600 case ClassDef::Union: result+=" la Unió "; break;
601 case ClassDef::Interface: result+=" la Interfície "; break;
602 case ClassDef::Protocol: result+="l Protocol "; break;
603 case ClassDef::Category: result+=" la Categoria "; break;
604 case ClassDef::Exception: result+=" l'Excepció "; break;
605 default: break;
606 }
607 if (isTemplate) result+="Template ";
608 result+=clName;
609 return result;
610 }
611
612 /*! used as the title of the HTML page of a file */
613 QCString trFileReference(const QCString &fileName) override
614 {
615 QCString result="Referència del Fitxer ";
616 result+=fileName;
617 return result;
618 }
619
620 /*! used as the title of the HTML page of a namespace */
621 QCString trNamespaceReference(const QCString &namespaceName) override
622 {
623 QCString result="Referència de l'Espai de Noms ";
624 result+=namespaceName;
625 return result;
626 }
627
629 { return "Mètodes públics"; }
631 { return "Slots públics"; }
633 { return "Senyals"; }
635 { return "Mètodes Públics Estàtics"; }
637 { return "Mètodes Protegits"; }
639 { return "Slots Protegits"; }
641 { return "Mètodes Protegits Estàtics"; }
643 { return "Mètodes Privats"; }
645 { return "Slots Privats"; }
647 { return "Mètodes Privats Estàtics"; }
648
649 /*! this function is used to produce a comma-separated list of items.
650 * use generateMarker(i) to indicate where item i should be put.
651 */
652 QCString trWriteList(int numEntries) override
653 {
654 QCString result;
655 // the inherits list contain `numEntries' classes
656 for (int i=0;i<numEntries;i++)
657 {
658 // use generateMarker to generate placeholders for the class links!
659 result+=generateMarker(i); // generate marker for entry i in the list
660 // (order is left to right)
661
662 if (i!=numEntries-1) // not the last entry, so we need a separator
663 {
664 if (i<numEntries-2) // not the fore last entry
665 result+=", ";
666 else // the fore last entry
667 result+=" i ";
668 }
669 }
670 return result;
671 }
672
673 /*! used in class documentation to produce a list of base classes,
674 * if class diagrams are disabled.
675 */
676 QCString trInheritsList(int numEntries) override
677 {
678 return "Hereta de "+trWriteList(numEntries)+".";
679 }
680
681 /*! used in class documentation to produce a list of super classes,
682 * if class diagrams are disabled.
683 */
684 QCString trInheritedByList(int numEntries) override
685 {
686 return "Heretat per "+trWriteList(numEntries)+".";
687 }
688
689 /*! used in member documentation blocks to produce a list of
690 * members that are hidden by this one.
691 */
692 QCString trReimplementedFromList(int numEntries) override
693 {
694 return "Reimplementat de "+trWriteList(numEntries)+".";
695 }
696
697 /*! used in member documentation blocks to produce a list of
698 * all member that overwrite the implementation of this member.
699 */
700 QCString trReimplementedInList(int numEntries) override
701 {
702 return "Reimplementat a "+trWriteList(numEntries)+".";
703 }
704
705 /*! This is put above each page as a link to all members of namespaces. */
707 { return "Membres de l'Espai de Noms"; }
708
709 /*! This is an introduction to the page with all namespace members */
710 QCString trNamespaceMemberDescription(bool extractAll) override
711 {
712 QCString result="Aquesta és la llista de tots els membres de l'espai de noms ";
713 if (!extractAll) result+="documentats ";
714 result+="amb enllaços a ";
715 if (extractAll)
716 result+="la documentació de l'espai de noms de cada membre:";
717 else
718 result+="l'espai de noms al qual corresponen:";
719 return result;
720 }
721 /*! This is used in LaTeX as the title of the chapter with the
722 * index of all namespaces.
723 */
725 { return "Índex d'Espais de Noms"; }
726
727 /*! This is used in LaTeX as the title of the chapter containing
728 * the documentation of all namespaces.
729 */
731 { return "Documentació de l'Espai de Noms"; }
732
733//////////////////////////////////////////////////////////////////////////
734// new since 0.49-990522
735//////////////////////////////////////////////////////////////////////////
736
737 /*! This is used in the documentation before the list of all
738 * namespaces in a file.
739 */
741 { return "Espais de Noms"; }
742
743//////////////////////////////////////////////////////////////////////////
744// new since 0.49-990728
745//////////////////////////////////////////////////////////////////////////
746
747 /*! This is put at the bottom of a class documentation page and is
748 * followed by a list of files that were used to generate the page.
749 */
751 bool single) override
752 { // here s is one of " Class", " Struct" or " Union"
753 // single is true implies a single file
754 QCString result="La documentació d'aquest";
755 switch(compType)
756 {
757 case ClassDef::Class: result+="a classe"; break;
758 case ClassDef::Struct: result+="a estructura"; break;
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 */
822 {
823 return "Diagrama de col·laboració per a "+clName+":";
824 }
825 /*! this text is put before an include dependency graph */
826 QCString trInclDepGraph(const QCString &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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString trPackage(const QCString &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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString trSourceFile(const QCString& 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 QCString trDirReference(const QCString &dirName) override
1470 { QCString 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 sigular or plural form (\a singular).
1474 */
1475 QCString 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 QCString 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 QCString trModulesListDescription(bool extractAll) override
1586 {
1587 QCString 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 QCString 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 QCString trModuleReference(const QCString &namespaceName) override
1617 {
1618 QCString 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 QCString trModulesMemberDescription(bool extractAll) override
1629 {
1630 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString trDirRelation(const QCString &name) override
1718 {
1719 return QCString(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 QCString trFileIn(const QCString &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 QCString trIncludesFileIn(const QCString &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 QCString 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 QCString 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 QCString stime;
1793 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1794 sdate+=stime;
1795 }
1796 return sdate;
1797 }
1798 QCString 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 QCString 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 QCString 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 QCString 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 QCString 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 QCString trDirDepGraph(const QCString &name) override
1834 { return QCString("Graf de dependència de directoris per a ")+name+":"; }
1835
1836
1837};
1838
1839#endif
CompoundType
The various compound types.
Definition classdef.h:109
@ Interface
Definition classdef.h:112
@ Exception
Definition classdef.h:115
This is an alternative implementation of QCString.
Definition qcstring.h:101
QCString upper() const
Definition qcstring.h:239
QCString mid(size_t index, size_t len=static_cast< size_t >(-1)) const
Definition qcstring.h:226
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:150
QCString & sprintf(const char *format,...)
Definition qcstring.cpp:29
Adapter class for languages that only contain translations up to version 1.8.0.
QCString trDesignUnitDocumentation() override
QCString trStaticPrivateAttribs() override
QCString getLanguageString() override
language codes for Html help
QCString trCiteReferences() override
QCString trPrivateSlots() override
QCString trGotoTextualHierarchy() override
QCString trCompoundMembersFortran() override
QCString trMemberTypedefDocumentation() override
QCString trGeneratedAutomatically(const QCString &s) override
QCString trDefinedIn() override
QCString trNamespaceIndex() override
QCString trModuleIndex() override
QCString trPropertyDocumentation() override
QCString trModule(bool first_capital, bool singular) override
QCString trPageAbbreviation() override
QCString trDirReference(const QCString &dirName) override
QCString trLegendDocs() override
QCString trReimplementedFromList(int numEntries) override
QCString trEnumerations() override
QCString trRemarks() override
QCString trMemberList() override
QCString trClass(bool first_capital, bool singular) override
QCString trModulesMembers() override
QCString trStaticPrivateMembers() override
QCString trEnumName() override
QCString trDirRelation(const QCString &name) override
QCString trAuthor(bool first_capital, bool singular) override
QCString trImplementedFromList(int numEntries) override
QCString trTest() override
QCString trDirDepGraph(const QCString &name) override
QCString trCompoundIndexFortran() override
QCString trRelatedFunctionDocumentation() override
QCString trTodo() override
QCString trSearchResultsTitle() override
QCString trDefines() override
QCString trPrivateTypes() override
QCString trDetails() override
QCString trMemberFunctionDocumentationFortran() override
QCString trEventDocumentation() override
QCString trStaticPackageAttribs() override
QCString trEnumerationTypeDocumentation() override
QCString trEnumerationValueDocumentation() override
QCString trSearchMatches() override
QCString trGlobalNamespace() override
QCString trIncludingInheritedMembers() override
QCString trNamespaceReference(const QCString &namespaceName) override
QCString trStaticPackageFunctions() override
QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
QCString trPackageAttribs() override
QCString trFunctionDocumentation() override
QCString trPostcondition() override
QCString trMemberEnumerationDocumentation() override
QCString trOverloadText() override
QCString trType(bool first_capital, bool) override
QCString trGroup(bool first_capital, bool singular) override
QCString trPublicTypes() override
QCString trPackage(const QCString &name) override
QCString trStaticProtectedAttribs() override
QCString trCompoundReferenceFortran(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trDir(bool first_capital, bool singular) override
QCString trSearch() override
QCString trTypeConstraints() override
QCString trCompoundList() override
QCString trExceptions() override
QCString trFileListDescription(bool extractAll) override
QCString trClassDocumentation() override
QCString trSince() override
QCString trCompoundIndex() override
QCString trModulesIndex() override
QCString trSubprograms() override
QCString trModuleDocumentation() override
QCString trRTFansicp() override
QCString trNamespaceList() override
QCString trExamples() override
QCString trIncludesFileIn(const QCString &name) override
QCString trProtectedAttribs() override
QCString trListOfAllMembers() override
QCString trGotoSourceCode() override
QCString trSubprogramDocumentation() override
QCString trSeeAlso() override
QCString trTypeDocumentation() override
QCString trThisIsTheListOfAllMembers() override
QCString trClassHierarchyDescription() override
QCString trInheritsList(int numEntries) override
QCString trSearchResults(int numDocuments) override
QCString trDefineValue() override
QCString trGlobal(bool first_capital, bool singular) override
QCString trModuleReference(const QCString &namespaceName) override
QCString trPublicSlots() override
QCString trCollaborationDiagram(const QCString &clName) override
QCString trPrecondition() override
QCString trProtectedMembers() override
QCString trPageIndex() override
QCString trDocumentation(const QCString &projName) override
QCString idLanguage() override
QCString trProtectedSlots() override
QCString trPackageTypes() override
QCString trDate() override
QCString trCallerGraph() override
QCString trGeneratedAt(const QCString &date, const QCString &projName) override
QCString trTypedefDocumentation() override
QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trFileIn(const QCString &name) override
QCString trCopyright() override
QCString trMemberFunctionDocumentation() override
QCString trEnumerationValues() override
QCString trLegend() override
QCString trInvariant() override
QCString trInitialValue() override
QCString trDeprecatedList() override
QCString trDataTypes() override
QCString trTestList() override
QCString trNote() override
QCString trFileDocumentation() override
QCString trVariables() override
QCString trCompoundListDescriptionFortran() override
QCString trTodoList() override
QCString latexLanguageSupportCommand() override
QCString trFunctions() override
QCString trNamespaceDocumentation() override
QCString trFileMembers() override
QCString trFileList() override
QCString trPackageMembers() override
QCString trExamplesDescription() override
QCString trGotoGraphicalHierarchy() override
QCString trRelatedPagesDescription() override
QCString trPrivateMembers() override
QCString trDefineDocumentation() override
QCString trNamespaceMemberDescription(bool extractAll) override
QCString trGeneratedBy() override
QCString trParameters() override
QCString trMemberDataDocumentation() override
QCString trVersion() override
QCString trGotoDocumentation() override
QCString trEvents() override
QCString trNamespace(bool first_capital, bool singular) override
QCString trPackageListDescription() override
QCString trBug() override
QCString trHierarchicalIndex() override
QCString trLoading() override
QCString trClassDiagram(const QCString &clName) override
QCString trModulesMemberDescription(bool extractAll) override
QCString trReimplementedInList(int numEntries) override
QCString trPublicAttribs() override
QCString trDirectories() override
QCString trNamespaces() override
QCString trInclDepGraph(const QCString &fName) override
QCString trSubprogram(bool first_capital, bool singular) override
QCString trPublicMembers() override
QCString trWarning() override
QCString trDirIndex() override
QCString trSearching() override
QCString trTypedefs() override
QCString trReferences() override
QCString trNoMatches() override
QCString trAttention() override
QCString trPackageFunctions() override
QCString trFriends() override
QCString trRelatedPages() override
QCString trCompoundMembers() override
QCString trMore() override
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
QCString trDeprecated() override
QCString trNamespaceListDescription(bool extractAll) override
QCString trPrivateAttribs() override
QCString trVariableDocumentation() override
QCString trConstructorDocumentation() override
QCString trFileIndex() override
QCString trFileMembersDescription(bool extractAll) override
QCString trReturnValues() override
QCString trSourceFile(const QCString &filename) override
QCString trLegendTitle() override
QCString trReferencedBy() override
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
QCString trCompoundListDescription() override
QCString trWriteList(int numEntries) override
QCString trFileReference(const QCString &fileName) override
QCString trImplementedInList(int numEntries) override
QCString trInheritedByList(int numEntries) override
QCString trRelatedSubscript() override
QCString trGraphicalHierarchy() override
QCString trCallGraph() override
QCString trInclByDepGraph() override
QCString trRelatedFunctions() override
QCString trPage(bool first_capital, bool singular) override
QCString trClasses() override
QCString trStaticProtectedMembers() override
QCString trModulesListDescription(bool extractAll) override
QCString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, DateTimeType includeTime) override
Compiles a date string.
QCString trISOLang() override
QCString trReferenceManual() override
QCString trModulesList() override
QCString trMember(bool first_capital, bool singular) override
QCString trProtectedTypes() override
QCString trMonth(int month, bool first_capital, bool full) override
QCString trRTFCharSet() override
QCString trProperties() override
QCString trStaticPublicAttribs() override
QCString trDayPeriod(bool period) override
QCString trCompounds() override
QCString trDefinedAtLineInSourceFile() override
QCString trCompoundMembersDescription(bool extractAll) override
QCString trNamespaceMembers() override
QCString trRTFGeneralIndex() override
QCString trClassHierarchy() override
QCString trModulesDescription() override
QCString trCode() override
QCString trAll() override
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
QCString trDetailedDescription() override
QCString trMainPage() override
QCString trDefinedInSourceFile() override
QCString trStaticPublicMembers() override
QCString trModules() override
QCString trSignals() override
QCString trFile(bool first_capital, bool singular) override
QCString trDirDocumentation() override
QCString trEnumValue() override
QCString trRTFTableOfContents() override
QCString trCompoundListFortran() override
QCString trPackages() override
QCString trReturns() override
QCString trBugList() override
QCString createNoun(bool first_capital, bool singular, const QCString &base, const QCString &plurSuffix, const QCString &singSuffix="")
Definition translator.h:782
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
QCString generateMarker(int id)
Definition util.cpp:290
QCString getDotImageExtension()
Definition util.cpp:6617