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