661578b83051ec85d297a2bffd9df786a9c7e15e
[platform/upstream/doxygen.git] / src / translator_ro.h
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 /* Original translation from English to Romanian by Alexandru Iosup [aiosup@yahoo.com].
19  * Updated by Ionuţ Dumitraşcu [reddumy@yahoo.com]
20  *
21  * -------------------------------------------
22  * Project start                : 20.09.2000
23  * Last Doxygen version covered : 1.8.4
24  * Last revision                : 17.05.2013
25  * -------------------------------------------
26  *
27  * Revision history
28  * ----------------
29  * 17.05.2013 - Updated translation to cover Doxygen 1.8.4 (Ionuț Dumitrașcu)
30  * 15.01.2009 - Updated Romanian translation to Doxygen 1.5.8 and modified strings to UTF-8, as well as some other changes (Ionuţ Dumitraşcu)
31  * 28.07.2008 - Updated version - covering Doxygen 1.5.6 - and some minor changes  (Ionuţ Dumitraşcu)
32  *
33  * 01.Mar.2k5  Third revision, covering Doxygen 1.4.1
34  *
35  * 07.Mar.2k2  Second revision, covering Doxygen 1.2.14
36  *             - fixed some bugs
37  *
38  * 20.Sep.2k   First version, covering Doxygen 1.2.1
39  *
40  */
41 #ifndef TRANSLATOR_RO_H
42 #define TRANSLATOR_RO_H
43
44
45 class TranslatorRomanian : public Translator
46 {
47   public:
48
49     // --- Language control methods -------------------
50
51     /*! Used for identification of the language. The identification
52      * should not be translated. It should be replaced by the name
53      * of the language in English using lower-case characters only
54      * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
55      * the identification used in language.cpp.
56      */
57     virtual QCString idLanguage()
58     { return "romanian"; }
59     /*! Used to get the LaTeX command(s) for the language support.
60      *  This method should return string with commands that switch
61      *  LaTeX to the desired language.  For example
62      *  <pre>"\\usepackage[german]{babel}\n"
63      *  </pre>
64      *  or
65      *  <pre>"\\usepackage{polski}\n"
66      *  "\\usepackage[latin2]{inputenc}\n"
67      *  "\\usepackage[T1]{fontenc}\n"
68      *  </pre>
69      *
70      * The English LaTeX does not use such commands.  Because of this
71      * the empty string is returned in this implementation.
72      */
73     virtual QCString latexLanguageSupportCommand()
74     {
75       return "\\usepackage[romanian]{babel}\n";
76     }
77
78     // --- Language translation methods -------------------
79
80     /*! used in the compound documentation before a list of related functions. */
81     virtual QCString trRelatedFunctions()
82     { return "Funcţii înrudite"; }
83
84     /*! subscript for the related functions. */
85     virtual QCString trRelatedSubscript()
86     { return "(Atenţie: acestea nu sunt funcţii membre.)"; }
87
88     /*! header that is put before the detailed description of files, classes and namespaces. */
89     virtual QCString trDetailedDescription()
90     { return "Descriere Detaliată"; }
91
92     /*! header that is put before the list of typedefs. */
93     virtual QCString trMemberTypedefDocumentation()
94     { return "Documentaţia Definiţiilor de Tipuri (typedef) Membre"; }
95
96     /*! header that is put before the list of enumerations. */
97     virtual QCString trMemberEnumerationDocumentation()
98     { return "Documentaţia Enumerărilor Membre"; }
99
100     /*! header that is put before the list of member functions. */
101     virtual QCString trMemberFunctionDocumentation()
102     { return "Documentaţia Funcţiilor Membre"; }
103
104     /*! header that is put before the list of member attributes. */
105     virtual QCString trMemberDataDocumentation()
106     {
107       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
108       {
109         return "Documentaţia Câmpurilor";
110       }
111       else
112       {
113         return "Documentaţia Datelor Membre";
114       }
115
116     }
117
118     /*! this is the text of a link put after brief descriptions. */
119     virtual QCString trMore()
120     { return "Mai mult..."; }
121
122     /*! put in the class documentation */
123     virtual QCString trListOfAllMembers()
124     { return "Lista tuturor membrilor"; }
125
126     /*! used as the title of the "list of all members" page of a class */
127     virtual QCString trMemberList()
128     { return "Lista Membrilor"; }
129
130     /*! this is the first part of a sentence that is followed by a class name */
131     virtual QCString trThisIsTheListOfAllMembers()
132     { return "Lista completă a membrilor din "; }
133
134     /*! this is the remainder of the sentence after the class name */
135     virtual QCString trIncludingInheritedMembers()
136     { return ", inclusiv a tuturor membrilor moşteniţi."; }
137
138     /*! this is put at the author sections at the bottom of man pages.
139      *  parameter s is name of the project name.
140      */
141     virtual QCString trGeneratedAutomatically(const char *s)
142     { QCString result="Generat automat de Doxygen";
143       if (s) result+=(QCString)" pentru "+s;
144       result+=" din codul sursă.";
145       return result;
146     }
147
148     /*! put after an enum name in the list of all members */
149     virtual QCString trEnumName()
150     { return "nume enumerare"; }
151
152     /*! put after an enum value in the list of all members */
153     virtual QCString trEnumValue()
154     { return "valoare enumerare"; }
155
156     /*! put after an undocumented member in the list of all members */
157     virtual QCString trDefinedIn()
158     { return "definit în"; }
159
160     // quick reference sections
161
162     /*! This is put above each page as a link to the list of all groups of
163      *  compounds or files (see the \\group command).
164      */
165     virtual QCString trModules()
166     { return "Module"; }
167
168     /*! This is put above each page as a link to the class hierarchy */
169     virtual QCString trClassHierarchy()
170     { return "Ierarhia Claselor"; }
171
172     /*! This is put above each page as a link to the list of annotated classes */
173     virtual QCString trCompoundList()
174     {
175       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
176       {
177         return "Structuri de Date";
178       }
179       else
180       {
181         return "Lista Claselor";
182       }
183
184     }
185
186     /*! This is put above each page as a link to the list of documented files */
187     virtual QCString trFileList()
188     { return "Lista fişierelor"; }
189
190     /*! This is put above each page as a link to all members of compounds. */
191     virtual QCString trCompoundMembers()
192     {
193       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
194       {
195         return "Câmpurile de Date";
196       }
197       else
198       {
199         return "Membrii Componenţi"; //cu articol hotarat
200       }
201
202     }
203
204     /*! This is put above each page as a link to all members of files. */
205     virtual QCString trFileMembers()
206     {
207       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
208       {
209         return "Globale";
210       }
211       else
212       {
213         return "Membrii din Fişier"; //cu articol hotarat
214       }
215
216     }
217
218     /*! This is put above each page as a link to all related pages. */
219     virtual QCString trRelatedPages()
220     { return "Pagini înrudite"; }
221
222     /*! This is put above each page as a link to all examples. */
223     virtual QCString trExamples()
224     { return "Exemple"; }
225
226     /*! This is put above each page as a link to the search engine. */
227     virtual QCString trSearch()
228     { return "Caută"; }
229
230     /*! This is an introduction to the class hierarchy. */
231     virtual QCString trClassHierarchyDescription()
232     { return "Această listă de moşteniri este sortată în general, "
233              "dar nu complet, în ordine alfabetică:";
234     }
235
236     /*! This is an introduction to the list with all files. */
237     virtual QCString trFileListDescription(bool extractAll)
238     {
239       QCString result="Lista tuturor ";
240       result+="fişierelor";
241           if (!extractAll) result+=" documentate";
242           result+=", cu scurte descrieri:";
243       return result;
244     }
245
246     /*! This is an introduction to the annotated compound list. */
247     virtual QCString trCompoundListDescription()
248     {
249       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
250       {
251         return "Lista structurilor de date, cu scurte descrieri:";
252       }
253       else
254       {
255         return "Lista claselor, structurilor, uniunilor şi interfeţelor"
256                 ", cu scurte descrieri:";
257       }
258
259     }
260
261     /*! This is an introduction to the page with all class members. */
262     virtual QCString trCompoundMembersDescription(bool extractAll)
263     {
264       QCString result="Lista tuturor ";
265
266       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
267       {
268         result+="câmpurilor ";
269         if (!extractAll) result+=" documentate ";
270         result+="din structuri si uniuni ";
271       }
272       else
273       {
274         result+="membrilor ";
275           if (!extractAll) result+="documentaţi ";
276         result+="din toate clasele ";
277       }
278       result+=", cu legături către ";
279       if (!extractAll)
280       {
281         if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
282         {
283           result+="documentaţia structurii/uniunii pentru fiecare câmp în parte:";
284         }
285         else
286         {
287           result+="documentaţia clasei pentru fiecare membru în parte:";
288         }
289       }
290       else
291       {
292         if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
293         {
294           result+="structurile/uniunile de care aparţin:";
295         }
296         else
297         {
298           result+="clasele de care aparţin:";
299         }
300       }
301
302       return result;
303     }
304
305     /*! This is an introduction to the page with all file members. */
306     virtual QCString trFileMembersDescription(bool extractAll)
307     {
308       QCString result="Lista tuturor ";
309       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
310       {
311         result+="funcţiilor, variabilelor, definiţiilor, enumerărilor şi definiţiilor de tip";
312           if (!extractAll) result+=" documentate";
313       }
314       else
315       {
316         result+="membrilor ";
317           if (!extractAll) result+="documentaţi ";
318           result+="din toate fişierele";
319       }
320       result+=", cu legături către ";
321       if (extractAll)
322         result+="fişierele de care aparţin:";
323       else
324         result+="documentaţia aferentă:";
325
326       return result;
327     }
328
329     /*! This is an introduction to the page with the list of all examples */
330     virtual QCString trExamplesDescription()
331     { return "Lista tuturor exemplelor:"; }
332
333     /*! This is an introduction to the page with the list of related pages */
334     virtual QCString trRelatedPagesDescription()
335     { return "Lista tuturor documentaţiilor înrudite:"; }
336
337     /*! This is an introduction to the page with the list of class/file groups */
338     virtual QCString trModulesDescription()
339     { return "Lista tuturor modulelor:"; }
340
341     // index titles (the project name is prepended for these)
342
343
344     /*! This is used in HTML as the title of index.html. */
345     virtual QCString trDocumentation()
346     { return "Documentaţie"; }
347
348     /*! This is used in LaTeX as the title of the chapter with the
349      * index of all groups.
350      */
351     virtual QCString trModuleIndex()
352     { return "Indexul Modulelor"; }
353
354     /*! This is used in LaTeX as the title of the chapter with the
355      * class hierarchy.
356      */
357     virtual QCString trHierarchicalIndex()
358     { return "Index Ierarhic"; }
359
360     /*! This is used in LaTeX as the title of the chapter with the
361      * annotated compound index.
362      */
363     virtual QCString trCompoundIndex()
364     {
365       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
366       {
367         return "Indexul Structurilor de Date";
368       }
369       else
370       {
371         return "Indexul Claselor";
372       }
373
374     }
375
376     /*! This is used in LaTeX as the title of the chapter with the
377      * list of all files.
378      */
379     virtual QCString trFileIndex()
380     { return "Indexul Fişierelor"; }
381
382     /*! This is used in LaTeX as the title of the chapter containing
383      *  the documentation of all groups.
384      */
385     virtual QCString trModuleDocumentation()
386     { return "Documentaţia Modulelor"; }
387
388     /*! This is used in LaTeX as the title of the chapter containing
389      *  the documentation of all classes, structs and unions.
390      */
391     virtual QCString trClassDocumentation()
392     {
393       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
394       {
395         return "Documentaţia Structurilor de Date";
396       }
397       else
398       {
399         return "Documentaţia Claselor";
400       }
401
402     }
403
404     /*! This is used in LaTeX as the title of the chapter containing
405      *  the documentation of all files.
406      */
407     virtual QCString trFileDocumentation()
408     { return "Documentaţia Fişierelor"; }
409
410     /*! This is used in LaTeX as the title of the chapter containing
411      *  the documentation of all examples.
412      */
413     virtual QCString trExampleDocumentation()
414     { return "Documentaţia Exemplelor"; }
415
416     /*! This is used in LaTeX as the title of the chapter containing
417      *  the documentation of all related pages.
418      */
419     virtual QCString trPageDocumentation()
420     { return "Documentaţii înrudite"; }
421
422     /*! This is used in LaTeX as the title of the document */
423     virtual QCString trReferenceManual()
424     { return "Manual de utilizare"; }
425
426     /*! This is used in the documentation of a file as a header before the
427      *  list of defines
428      */
429     virtual QCString trDefines()
430     { return "Definiţii"; }
431
432     /*! This is used in the documentation of a file as a header before the
433      *  list of typedefs
434      */
435     virtual QCString trTypedefs()
436     { return "Definiţii de tipuri"; }
437
438     /*! This is used in the documentation of a file as a header before the
439      *  list of enumerations
440      */
441     virtual QCString trEnumerations()
442     { return "Enumerări"; }
443
444     /*! This is used in the documentation of a file as a header before the
445      *  list of (global) functions
446      */
447     virtual QCString trFunctions()
448     { return "Funcţii"; }
449
450     /*! This is used in the documentation of a file as a header before the
451      *  list of (global) variables
452      */
453     virtual QCString trVariables()
454     { return "Variabile"; }
455
456     /*! This is used in the documentation of a file as a header before the
457      *  list of (global) variables
458      */
459     virtual QCString trEnumerationValues()
460     { return "Valori de enumerări"; }
461
462     /*! This is used in the documentation of a file before the list of
463      *  documentation blocks for defines
464      */
465     virtual QCString trDefineDocumentation()
466     { return "Documentaţia definiţiilor"; }
467
468     /*! This is used in the documentation of a file/namespace before the list
469      *  of documentation blocks for typedefs
470      */
471     virtual QCString trTypedefDocumentation()
472     { return "Documentaţia definiţiilor de tipuri"; }
473
474     /*! This is used in the documentation of a file/namespace before the list
475      *  of documentation blocks for enumeration types
476      */
477     virtual QCString trEnumerationTypeDocumentation()
478     { return "Documentaţia enumerărilor"; }
479
480     /*! This is used in the documentation of a file/namespace before the list
481      *  of documentation blocks for functions
482      */
483     virtual QCString trFunctionDocumentation()
484     { return "Documentaţia funcţiilor"; }
485
486     /*! This is used in the documentation of a file/namespace before the list
487      *  of documentation blocks for variables
488      */
489     virtual QCString trVariableDocumentation()
490     { return "Documentaţia variabilelor"; }
491
492     /*! This is used in the documentation of a file/namespace/group before
493      *  the list of links to documented compounds
494      */
495     virtual QCString trCompounds()
496     {
497       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
498       {
499         return "Structuri de Date";
500       }
501       else
502       {
503         return "Membri";
504       }
505
506     }
507
508     /*! This is used in the standard footer of each page and indicates when
509      *  the page was generated
510      */
511     virtual QCString trGeneratedAt(const char *date,const char *projName)
512     {
513       QCString result=(QCString)"Generat "+date;
514       if (projName) result+=(QCString)" pentru "+projName;
515       result+=(QCString)" de către";
516       return result;
517     }
518
519     /*! this text is put before a class diagram */
520     virtual QCString trClassDiagram(const char *clName)
521     {
522       return (QCString)"Diagrama de relaţii pentru "+clName;
523     }
524
525     /*! this text is generated when the \\internal command is used. */
526     virtual QCString trForInternalUseOnly()
527     { return "Doar pentru uz intern."; }
528
529     /*! this text is generated when the \\warning command is used. */
530     virtual QCString trWarning()
531     { return "Atenţie"; }
532
533     /*! this text is generated when the \\version command is used. */
534     virtual QCString trVersion()
535     { return "Versiunea"; }
536
537     /*! this text is generated when the \\date command is used. */
538     virtual QCString trDate()
539     { return "Data"; }
540
541     /*! this text is generated when the \\return command is used. */
542     virtual QCString trReturns()
543     { return "Întoarce"; }
544
545     /*! this text is generated when the \\sa command is used. */
546     virtual QCString trSeeAlso()
547     { return "Vezi şi"; }
548
549     /*! this text is generated when the \\param command is used. */
550     virtual QCString trParameters()
551     { return "Parametri"; }
552
553     /*! this text is generated when the \\exception command is used. */
554     virtual QCString trExceptions()
555     { return "Excepţii"; }
556
557     /*! this text is used in the title page of a LaTeX document. */
558     virtual QCString trGeneratedBy()
559     { return "Generat de"; }
560
561     // new since 0.49-990307
562
563     /*! used as the title of page containing all the index of all namespaces. */
564     virtual QCString trNamespaceList()
565     { return "Lista de Namespace-uri"; }
566
567     /*! used as an introduction to the namespace list */
568     virtual QCString trNamespaceListDescription(bool extractAll)
569     {
570       QCString result="Lista tuturor ";
571       result+="namespace-urilor ";
572           if (!extractAll) result+="documentate ";
573           result+=", cu scurte descrieri:";
574       return result;
575     }
576
577     /*! used in the class documentation as a header before the list of all
578      *  friends of a class
579      */
580     virtual QCString trFriends()
581     { return "Prieteni"; }
582
583 //////////////////////////////////////////////////////////////////////////
584 // new since 0.49-990405
585 //////////////////////////////////////////////////////////////////////////
586
587     /*! used in the class documentation as a header before the list of all
588      * related classes
589      */
590     virtual QCString trRelatedFunctionDocumentation()
591     { return "Documentaţia funcţiilor prietene sau înrudite"; }
592
593 //////////////////////////////////////////////////////////////////////////
594 // new since 0.49-990425
595 //////////////////////////////////////////////////////////////////////////
596
597     /*! used as the title of the HTML page of a class/struct/union */
598     virtual QCString trCompoundReference(const char *clName,
599                                     ClassDef::CompoundType compType,
600                                     bool isTemplate)
601     {
602           QCString result="Referinţă la ";
603       switch(compType)
604       {
605         case ClassDef::Class:      result+="clasa "; break;
606         case ClassDef::Struct:     result+="structura "; break;
607         case ClassDef::Union:      result+="uniunea "; break;
608         case ClassDef::Interface:  result+="interfaţa "; break;
609         case ClassDef::Protocol:   result+="protocolul "; break;
610         case ClassDef::Category:   result+="categoria "; break;
611         case ClassDef::Exception:  result+="excepţia "; break;
612         default: break;
613       }
614       if (isTemplate) result+=" (Template) ";
615       result+=(QCString)clName;
616
617       return result;
618     }
619
620     /*! used as the title of the HTML page of a file */
621     virtual QCString trFileReference(const char *fileName)
622     {
623       QCString result="Referinţă la fişierul ";
624       result+=fileName;
625       return result;
626     }
627
628     /*! used as the title of the HTML page of a namespace */
629     virtual QCString trNamespaceReference(const char *namespaceName)
630     {
631       QCString result="Referinţă la Namespace-ul ";
632       result+=namespaceName;
633       return result;
634     }
635
636     /* these are for the member sections of a class, struct or union */
637     virtual QCString trPublicMembers()
638     { return "Metode Publice"; }
639     virtual QCString trPublicSlots()
640     { return "Conectori (slots) Publici"; }
641     virtual QCString trSignals()
642     { return "Semnale"; }
643     virtual QCString trStaticPublicMembers()
644     { return "Metode Statice Publice"; }
645     virtual QCString trProtectedMembers()
646     { return "Metode Protejate"; }
647     virtual QCString trProtectedSlots()
648     { return "Conectori (slots) Protejaţi"; }
649     virtual QCString trStaticProtectedMembers()
650     { return "Metode Statice Protejate"; }
651     virtual QCString trPrivateMembers()
652     { return "Metode Private"; }
653     virtual QCString trPrivateSlots()
654     { return "Conectori (slots) Privaţi"; }
655     virtual QCString trStaticPrivateMembers()
656     { return "Metode Statice Private"; }
657
658     /*! this function is used to produce a comma-separated list of items.
659      *  use generateMarker(i) to indicate where item i should be put.
660      */
661     virtual QCString trWriteList(int numEntries)
662     {
663       QCString result;
664       int i;
665       // the inherits list contain `numEntries' classes
666       for (i=0;i<numEntries;i++)
667       {
668         // use generateMarker to generate placeholders for the class links!
669         result+=generateMarker(i); // generate marker for entry i in the list
670                                    // (order is left to right)
671
672         if (i!=numEntries-1)  // not the last entry, so we need a separator
673         {
674           if (i<numEntries-2) // not the fore last entry
675             result+=", ";
676           else                // the fore last entry
677             result+=" şi ";
678         }
679       }
680       return result;
681     }
682
683     /*! used in class documentation to produce a list of base classes,
684      *  if class diagrams are disabled.
685      */
686     virtual QCString trInheritsList(int numEntries)
687     {
688       return "Moşteneşte "+trWriteList(numEntries)+".";
689     }
690
691     /*! used in class documentation to produce a list of super classes,
692      *  if class diagrams are disabled.
693      */
694     virtual QCString trInheritedByList(int numEntries)
695     {
696       return "Moştenit de "+trWriteList(numEntries)+".";
697     }
698
699     /*! used in member documentation blocks to produce a list of
700      *  members that are hidden by this one.
701      */
702     virtual QCString trReimplementedFromList(int numEntries)
703     {
704       return "Reimplementat din "+trWriteList(numEntries)+".";
705     }
706
707     /*! used in member documentation blocks to produce a list of
708      *  all member that overwrite the implementation of this member.
709      */
710     virtual QCString trReimplementedInList(int numEntries)
711     {
712       return "Reimplementat în "+trWriteList(numEntries)+".";
713     }
714
715     /*! This is put above each page as a link to all members of namespaces. */
716     virtual QCString trNamespaceMembers()
717     { return "Membrii Namespace-ului"; }
718
719     /*! This is an introduction to the page with all namespace members */
720     virtual QCString trNamespaceMemberDescription(bool extractAll)
721     {
722       QCString result="Lista tuturor membrilor ";
723       if (!extractAll) result+="documentaţi ";
724           result+="din toate namespace-urile, cu legături către ";
725
726       if (extractAll)
727         result+="documentaţia namespace-ului pentru fiecare membru în parte:";
728       else
729         result+="namespace-urile de care aparţin:";
730       return result;
731     }
732     /*! This is used in LaTeX as the title of the chapter with the
733      *  index of all namespaces.
734      */
735     virtual QCString trNamespaceIndex()
736     { return "Indexul Namespace-ului"; }
737
738     /*! This is used in LaTeX as the title of the chapter containing
739      *  the documentation of all namespaces.
740      */
741     virtual QCString trNamespaceDocumentation()
742     { return "Documentaţia Namespace-ului"; }
743
744 //////////////////////////////////////////////////////////////////////////
745 // new since 0.49-990522
746 //////////////////////////////////////////////////////////////////////////
747
748     /*! This is used in the documentation before the list of all
749      *  namespaces in a file.
750      */
751     virtual QCString trNamespaces()
752     { return "Namespace-uri"; }
753
754 //////////////////////////////////////////////////////////////////////////
755 // new since 0.49-990728
756 //////////////////////////////////////////////////////////////////////////
757
758     /*! This is put at the bottom of a class documentation page and is
759      *  followed by a list of files that were used to generate the page.
760      */
761     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
762         bool single)
763     { // here s is one of " Class", " Struct" or " Union"
764       // single is true implies a single file
765       QCString result=(QCString)"Documentaţia pentru această ";
766       switch(compType)
767       {
768         case ClassDef::Class:      result+="clasă"; break;
769         case ClassDef::Struct:     result+="structură"; break;
770         case ClassDef::Union:      result+="uniune"; break;
771         case ClassDef::Interface:  result+="interfaţă"; break;
772         case ClassDef::Protocol:   result+="protocol"; break;
773         case ClassDef::Category:   result+="categorie"; break;
774         case ClassDef::Exception:  result+="excepţie"; break;
775         default: break;
776       }
777       result+=" a fost generată din fişier";
778       if (single) result+="ul:"; else result+="ele:";
779       return result;
780     }
781
782 //////////////////////////////////////////////////////////////////////////
783 // new since 0.49-990901
784 //////////////////////////////////////////////////////////////////////////
785
786     /*! This is used as the heading text for the retval command. */
787     virtual QCString trReturnValues()
788     { return "Valori returnate"; }
789
790     /*! This is in the (quick) index as a link to the main page (index.html)
791      */
792     virtual QCString trMainPage()
793     { return "Pagina principală"; }
794
795     /*! This is used in references to page that are put in the LaTeX
796      *  documentation. It should be an abbreviation of the word page.
797      */
798     virtual QCString trPageAbbreviation()
799     { return "pg."; }
800
801 //////////////////////////////////////////////////////////////////////////
802 // new since 0.49-991003
803 //////////////////////////////////////////////////////////////////////////
804
805     virtual QCString trDefinedAtLineInSourceFile()
806     {
807       return "Definiţia în linia @0 a fişierului @1.";
808     }
809     virtual QCString trDefinedInSourceFile()
810     {
811       return "Definiţia în fişierul @0.";
812     }
813
814 //////////////////////////////////////////////////////////////////////////
815 // new since 0.49-991205
816 //////////////////////////////////////////////////////////////////////////
817
818     virtual QCString trDeprecated()
819     {
820       return "Învechită(Deprecated)";
821     }
822
823 //////////////////////////////////////////////////////////////////////////
824 // new since 1.0.0
825 //////////////////////////////////////////////////////////////////////////
826
827     /*! this text is put before a collaboration diagram */
828     virtual QCString trCollaborationDiagram(const char *clName)
829     {
830       return (QCString)"Diagrama de relaţii pentru "+clName+":";
831     }
832     /*! this text is put before an include dependency graph */
833     virtual QCString trInclDepGraph(const char *fName)
834     {
835       return (QCString)"Graful dependenţelor prin incluziune pentru "+fName+":";
836     }
837     /*! header that is put before the list of constructor/destructors. */
838     virtual QCString trConstructorDocumentation()
839     {
840       return "Documentaţia pentru Constructori şi Destructori";
841     }
842     /*! Used in the file documentation to point to the corresponding sources. */
843     virtual QCString trGotoSourceCode()
844     {
845       return "Vezi sursele.";
846     }
847     /*! Used in the file sources to point to the corresponding documentation. */
848     virtual QCString trGotoDocumentation()
849     {
850       return "Vezi documentaţia.";
851     }
852     /*! Text for the \\pre command */
853     virtual QCString trPrecondition()
854     {
855       return "Precondiţie";
856     }
857     /*! Text for the \\post command */
858     virtual QCString trPostcondition()
859     {
860       return "Postcondiţie";
861     }
862     /*! Text for the \\invariant command */
863     virtual QCString trInvariant()
864     {
865       return "Invariant";
866     }
867     /*! Text shown before a multi-line variable/enum initialization */
868     virtual QCString trInitialValue()
869     {
870       return "Valoarea iniţială:";
871     }
872     /*! Text used the source code in the file index */
873     virtual QCString trCode()
874     {
875       return "cod";
876     }
877     virtual QCString trGraphicalHierarchy()
878     {
879       return "Ierarhia Claselor în mod grafic";
880     }
881     virtual QCString trGotoGraphicalHierarchy()
882     {
883       return "Vezi ierarhia claselor în mod grafic";
884     }
885     virtual QCString trGotoTextualHierarchy()
886     {
887       return "Vezi ierarhia claselor în mod text";
888     }
889     virtual QCString trPageIndex()
890     {
891       return "Indexul Paginilor";
892     }
893
894 //////////////////////////////////////////////////////////////////////////
895 // new since 1.1.0
896 //////////////////////////////////////////////////////////////////////////
897
898     virtual QCString trNote()
899     {
900       return "Notă";
901     }
902     virtual QCString trPublicTypes()
903     {
904       return "Tipuri Publice";
905     }
906     virtual QCString trPublicAttribs()
907     {
908       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
909       {
910         return "Câmpuri de Date";
911       }
912       else
913       {
914         return "Atribute Publice";
915       }
916
917     }
918     virtual QCString trStaticPublicAttribs()
919     {
920       return "Atribute Statice Publice";
921     }
922     virtual QCString trProtectedTypes()
923     {
924       return "Tipuri Protejate";
925     }
926     virtual QCString trProtectedAttribs()
927     {
928       return "Atribute Protejate";
929     }
930     virtual QCString trStaticProtectedAttribs()
931     {
932       return "Atribute Statice Protejate";
933     }
934     virtual QCString trPrivateTypes()
935     {
936       return "Tipuri Private";
937     }
938     virtual QCString trPrivateAttribs()
939     {
940       return "Atribute Private";
941     }
942     virtual QCString trStaticPrivateAttribs()
943     {
944       return "Atribute Statice Private";
945     }
946
947 //////////////////////////////////////////////////////////////////////////
948 // new since 1.1.3
949 //////////////////////////////////////////////////////////////////////////
950
951     /*! Used as a marker that is put before a todo item */
952     virtual QCString trTodo()
953     {
954       return "De făcut";
955     }
956     /*! Used as the header of the todo list */
957     virtual QCString trTodoList()
958     {
959       return "Lista lucrurilor de făcut";
960     }
961
962 //////////////////////////////////////////////////////////////////////////
963 // new since 1.1.4
964 //////////////////////////////////////////////////////////////////////////
965
966     virtual QCString trReferencedBy()
967     {
968       return "Semnalat de";
969     }
970     virtual QCString trRemarks()
971     {
972       return "Observaţii";
973     }
974     virtual QCString trAttention()
975     {
976       return "Atenţie";
977     }
978     virtual QCString trInclByDepGraph()
979     {
980       return "Acest graf arată care fişiere includ, "
981                   "direct sau indirect, acest fişier:";
982     }
983     virtual QCString trSince()
984     {
985       return "Din";
986     }
987
988 //////////////////////////////////////////////////////////////////////////
989 // new since 1.1.5
990 //////////////////////////////////////////////////////////////////////////
991
992     /*! title of the graph legend page */
993     virtual QCString trLegendTitle()
994     {
995       return "Legenda grafului";
996     }
997     /*! page explaining how the dot graph's should be interpreted */
998     virtual QCString trLegendDocs()
999     {
1000       return
1001         "Această pagină arată modul în care trebuie să interpretaţi "
1002                 "grafurile generate de doxygen.<p>\n"
1003         "Consideraţi următorul exemplu:\n"
1004         "\\code\n"
1005         "/*! Clasă invizibilă, tăiată din cauza depăşirii spaţiului */\n"
1006         "class Invisible { };\n\n"
1007         "/*! Altă clasă tăiată, relaţia de moştenire este ascunsă */\n"
1008         "class Truncated : public Invisible { };\n\n"
1009         "/* Clasă necomentată în stil doxygen */\n"
1010         "class Undocumented { };\n\n"
1011         "/*! Clasă care este moştenită în mod public */\n"
1012         "class PublicBase : public Truncated { };\n\n"
1013         "/*! Clasă template */\n"
1014         "template<class T> class Templ { };\n\n"
1015         "/*! Clasă care este moştenită în mod protejat */\n"
1016         "class ProtectedBase { };\n\n"
1017         "/*! Clasă care este moştenită în mod privat */\n"
1018         "class PrivateBase { };\n\n"
1019         "/*! Clasă care este folosită de clasa Inherited */\n"
1020         "class Used { };\n\n"
1021         "/*! Superclasă care moşteneşte un număr de alte clase */\n"
1022         "class Inherited : public PublicBase,\n"
1023         "                  protected ProtectedBase,\n"
1024         "                  private PrivateBase,\n"
1025         "                  public Undocumented,\n"
1026         "                  public Templ<int>\n"
1027         "{\n"
1028         "  private:\n"
1029         "    Used *m_usedClass;\n"
1030         "};\n"
1031         "\\endcode\n"
1032         "Dacă tagul \\c MAX_DOT_GRAPH_HEIGHT din fişierul de configurare "
1033         "este setat la 200, acesta este graful rezultat:"
1034         "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1035         "<p>\n"
1036         "Căsuţele din partea de sus au următoarea semnificaţie:\n"
1037         "<ul>\n"
1038         "<li>O căsuţă neagră reprezintă structura sau clasa pentru care "
1039         "graful este generat.\n"
1040         "<li>O căsuţă cu marginea neagră reprezintă o structură sau o clasă documentate.\n"
1041         "<li>O căsuţă cu marginea gri reprezintă o structură sau o clasă nedocumentate.\n"
1042         "<li>O căsuţă cu marginea roşie reprezintă o structură sau o clasă documentate, pentru\n"
1043         "care nu toate relaţiile de moştenire/incluziune sunt arătate. Un graf este "
1044         "tăiat dacă nu încape în marginile specificate."
1045         "</ul>\n"
1046         "Săgeţile au următoarea semnificaţie:\n"
1047         "<ul>\n"
1048         "<li>O săgeată de un albastru închis este folosită când avem o relaţie de "
1049         "moştenire publică între două clase.\n"
1050         "<li>O săgeată de un verde închis este folosită când avem o moştenire protejată.\n"
1051         "<li>O săgeată de un roşu închis este folosită când avem o moştenire privată.\n"
1052         "<li>O săgeată violetă punctată este folosită pentru o clasă conţinută sau folosită "
1053         "de o altă clasă. Săgeata este marcată cu variabila(e) "
1054         "prin care este accesibilă clasa sau structura spre care este îndreptată. \n"
1055         "</ul>\n";
1056     }
1057     /*! text for the link to the legend page */
1058     virtual QCString trLegend()
1059     {
1060       return "legenda";
1061     }
1062
1063 //////////////////////////////////////////////////////////////////////////
1064 // new since 1.2.0
1065 //////////////////////////////////////////////////////////////////////////
1066
1067     /*! Used as a marker that is put before a test item */
1068     virtual QCString trTest()
1069     {
1070       return "Test";
1071     }
1072     /*! Used as the header of the test list */
1073     virtual QCString trTestList()
1074     {
1075       return "Listă de teste";
1076     }
1077
1078 //////////////////////////////////////////////////////////////////////////
1079 // new since 1.2.2
1080 //////////////////////////////////////////////////////////////////////////
1081
1082     /*! Used as a section header for IDL properties */
1083     virtual QCString trProperties()
1084     {
1085       return "Proprietăţi";
1086     }
1087     /*! Used as a section header for IDL property documentation */
1088     virtual QCString trPropertyDocumentation()
1089     {
1090       return "Documentaţia Proprietăţilor";
1091     }
1092
1093 //////////////////////////////////////////////////////////////////////////
1094 // new since 1.2.4
1095 //////////////////////////////////////////////////////////////////////////
1096
1097     /*! Used for Java classes in the summary section of Java packages */
1098     virtual QCString trClasses()
1099     {
1100       if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1101       {
1102         return "Structuri de Date";
1103       }
1104       else
1105       {
1106         return "Clase";
1107       }
1108     }
1109     /*! Used as the title of a Java package */
1110     virtual QCString trPackage(const char *name)
1111     {
1112       return (QCString)"Pachet "+name;
1113     }
1114     /*! Title of the package index page */
1115     virtual QCString trPackageList()
1116     {
1117       return "Lista Pachetelor";
1118     }
1119     /*! The description of the package index page */
1120     virtual QCString trPackageListDescription()
1121     {
1122       return "Lista pachetelor, însoţită de scurte explicaţii, acolo unde acestea există:";
1123     }
1124     /*! The link name in the Quick links header for each page */
1125     virtual QCString trPackages()
1126     {
1127       return "Pachete";
1128     }
1129     /*! Text shown before a multi-line define */
1130     virtual QCString trDefineValue()
1131     {
1132       return "Valoare:";
1133     }
1134
1135 //////////////////////////////////////////////////////////////////////////
1136 // new since 1.2.5
1137 //////////////////////////////////////////////////////////////////////////
1138
1139     /*! Used as a marker that is put before a \\bug item */
1140     virtual QCString trBug()
1141     {
1142       return "Problema (Bug)";
1143     }
1144     /*! Used as the header of the bug list */
1145     virtual QCString trBugList()
1146     {
1147       return "Lista de Probleme (Bugs)";
1148     }
1149
1150 //////////////////////////////////////////////////////////////////////////
1151 // new since 1.2.6
1152 //////////////////////////////////////////////////////////////////////////
1153
1154     /*! Used as ansicpg for RTF file
1155      *
1156      * The following table shows the correlation of Charset name, Charset Value and
1157      * <pre>
1158      * Codepage number:
1159      * Charset Name       Charset Value(hex)  Codepage number
1160      * ------------------------------------------------------
1161      * DEFAULT_CHARSET           1 (x01)
1162      * SYMBOL_CHARSET            2 (x02)
1163      * OEM_CHARSET             255 (xFF)
1164      * ANSI_CHARSET              0 (x00)            1252
1165      * RUSSIAN_CHARSET         204 (xCC)            1251
1166      * EE_CHARSET              238 (xEE)            1250
1167      * GREEK_CHARSET           161 (xA1)            1253
1168      * TURKISH_CHARSET         162 (xA2)            1254
1169      * BALTIC_CHARSET          186 (xBA)            1257
1170      * HEBREW_CHARSET          177 (xB1)            1255
1171      * ARABIC _CHARSET         178 (xB2)            1256
1172      * SHIFTJIS_CHARSET        128 (x80)             932
1173      * HANGEUL_CHARSET         129 (x81)             949
1174      * GB2313_CHARSET          134 (x86)             936
1175      * CHINESEBIG5_CHARSET     136 (x88)             950
1176      * </pre>
1177      *
1178      */
1179     virtual QCString trRTFansicp()
1180     {
1181       return "1250"; //EASTEUROPE_CHARSET
1182     }
1183
1184
1185     /*! Used as ansicpg for RTF fcharset
1186      *  \see trRTFansicp() for a table of possible values.
1187      */
1188     virtual QCString trRTFCharSet()
1189     {
1190       return "238";
1191     }
1192
1193     /*! Used as header RTF general index */
1194     virtual QCString trRTFGeneralIndex()
1195     {
1196       return "Index";
1197     }
1198
1199     /*! This is used for translation of the word that will possibly
1200      *  be followed by a single name or by a list of names
1201      *  of the category.
1202      */
1203     virtual QCString trClass(bool first_capital, bool singular)
1204     {
1205       QCString result((first_capital ? "Clas" : "clas"));
1206         result+= singular ? "a":"ele";
1207       return result;
1208     }
1209
1210     /*! This is used for translation of the word that will possibly
1211      *  be followed by a single name or by a list of names
1212      *  of the category.
1213      */
1214     virtual QCString trFile(bool first_capital, bool singular)
1215     {
1216       QCString result((first_capital ? "Fişier" : "fişier"));
1217         result+= singular ? "ul":"ele";
1218       return result;
1219     }
1220
1221     /*! This is used for translation of the word that will possibly
1222      *  be followed by a single name or by a list of names
1223      *  of the category.
1224      */
1225     virtual QCString trNamespace(bool first_capital, bool singular)
1226     {
1227       QCString result((first_capital ? "Namespace" : "namespace"));
1228         result+= singular ? "-ul":"-urile";
1229       return result;
1230     }
1231
1232     /*! This is used for translation of the word that will possibly
1233      *  be followed by a single name or by a list of names
1234      *  of the category.
1235      */
1236     virtual QCString trGroup(bool first_capital, bool singular)
1237     {
1238       QCString result((first_capital ? "Grupu" : "grupu"));
1239         result+= singular ? "l":"rile";
1240       return result;
1241     }
1242
1243     /*! This is used for translation of the word that will possibly
1244      *  be followed by a single name or by a list of names
1245      *  of the category.
1246      */
1247     virtual QCString trPage(bool first_capital, bool singular)
1248     {
1249       QCString result((first_capital ? "Pagin" : "pagin"));
1250         result+= singular ? "a":"ile";
1251       return result;
1252     }
1253
1254     /*! This is used for translation of the word that will possibly
1255      *  be followed by a single name or by a list of names
1256      *  of the category.
1257      */
1258     virtual QCString trMember(bool first_capital, bool singular)
1259     {
1260       QCString result((first_capital ? "Membr" : "membr"));
1261         result+= singular ? "ul":"ii";
1262       return result;
1263     }
1264
1265     /*! This is used for translation of the word that will possibly
1266      *  be followed by a single name or by a list of names
1267      *  of the category.
1268      */
1269     virtual QCString trGlobal(bool first_capital, bool singular)
1270     {
1271       QCString result((first_capital ? "Global" : "global"));
1272       if (!singular)  result+="e";
1273       return result;
1274     }
1275
1276 //////////////////////////////////////////////////////////////////////////
1277 // new since 1.2.7
1278 //////////////////////////////////////////////////////////////////////////
1279
1280     /*! This text is generated when the \\author command is used and
1281      *  for the author section in man pages. */
1282     virtual QCString trAuthor(bool first_capital, bool singular)
1283     {
1284       QCString result((first_capital ? "Autor" : "autor"));
1285         result+= singular ? "ul":"ii";
1286       return result;
1287     }
1288
1289 //////////////////////////////////////////////////////////////////////////
1290 // new since 1.2.11
1291 //////////////////////////////////////////////////////////////////////////
1292
1293     /*! This text is put before the list of members referenced by a member
1294      */
1295     virtual QCString trReferences()
1296     {
1297       return "Referinţe";
1298     }
1299
1300 //////////////////////////////////////////////////////////////////////////
1301 // new since 1.2.13
1302 //////////////////////////////////////////////////////////////////////////
1303
1304     /*! used in member documentation blocks to produce a list of
1305      *  members that are implemented by this one.
1306      */
1307     virtual QCString trImplementedFromList(int numEntries)
1308     {
1309       return "Implementează "+trWriteList(numEntries)+".";
1310     }
1311
1312     /*! used in member documentation blocks to produce a list of
1313      *  all members that implement this abstract member.
1314      */
1315     virtual QCString trImplementedInList(int numEntries)
1316     {
1317       return "Implementat în "+trWriteList(numEntries)+".";
1318     }
1319
1320 //////////////////////////////////////////////////////////////////////////
1321 // new since 1.2.16
1322 //////////////////////////////////////////////////////////////////////////
1323
1324     /*! used in RTF documentation as a heading for the Table
1325      *  of Contents.
1326      */
1327     virtual QCString trRTFTableOfContents()
1328     {
1329       return "Cuprins";
1330     }
1331
1332 //////////////////////////////////////////////////////////////////////////
1333 // new since 1.2.17
1334 //////////////////////////////////////////////////////////////////////////
1335
1336     /*! Used as the header of the list of item that have been
1337      *  flagged deprecated
1338      */
1339     virtual QCString trDeprecatedList()
1340     {
1341       return "Lista elementelor învechite (deprecated)";
1342     }
1343
1344 //////////////////////////////////////////////////////////////////////////
1345 // new since 1.2.18
1346 //////////////////////////////////////////////////////////////////////////
1347
1348     /*! Used as a header for declaration section of the events found in
1349      * a C# program
1350      */
1351     virtual QCString trEvents()
1352     {
1353       return "Evenimente";
1354     }
1355     /*! Header used for the documentation section of a class' events. */
1356     virtual QCString trEventDocumentation()
1357     {
1358       return "Documentaţia aferentă evenimentelor";
1359     }
1360
1361 //////////////////////////////////////////////////////////////////////////
1362 // new since 1.3
1363 //////////////////////////////////////////////////////////////////////////
1364
1365     /*! Used as a heading for a list of Java class types with package scope.
1366      */
1367     virtual QCString trPackageTypes()
1368     {
1369       return "Tipuri în pachet";
1370     }
1371     /*! Used as a heading for a list of Java class functions with package
1372      * scope.
1373      */
1374     virtual QCString trPackageMembers()
1375     {
1376       return "Funcţii în pachet";
1377     }
1378     /*! Used as a heading for a list of static Java class functions with
1379      *  package scope.
1380      */
1381     virtual QCString trStaticPackageMembers()
1382     {
1383       return "Funcţii statice în pachet";
1384     }
1385     /*! Used as a heading for a list of Java class variables with package
1386      * scope.
1387      */
1388     virtual QCString trPackageAttribs()
1389     {
1390       return "Atribute în pachet";
1391     }
1392     /*! Used as a heading for a list of static Java class variables with
1393      * package scope.
1394      */
1395     virtual QCString trStaticPackageAttribs()
1396     {
1397       return "Atribute statice în pachet";
1398     }
1399
1400 //////////////////////////////////////////////////////////////////////////
1401 // new since 1.3.1
1402 //////////////////////////////////////////////////////////////////////////
1403
1404     /*! Used in the quick index of a class/file/namespace member list page
1405      *  to link to the unfiltered list of all members.
1406      */
1407     virtual QCString trAll()
1408     {
1409       return "Toate";
1410     }
1411     /*! Put in front of the call graph for a function. */
1412     virtual QCString trCallGraph()
1413     {
1414       return "Graful de apel al acestei funcţii:";
1415     }
1416
1417 //////////////////////////////////////////////////////////////////////////
1418 // new since 1.3.3
1419 //////////////////////////////////////////////////////////////////////////
1420
1421     /*! This string is used as the title for the page listing the search
1422      *  results.
1423      */
1424     virtual QCString trSearchResultsTitle()
1425     {
1426       return "Rezultatele căutarii";
1427     }
1428     /*! This string is put just before listing the search results. The
1429      *  text can be different depending on the number of documents found.
1430      *  Inside the text you can put the special marker $num to insert
1431      *  the number representing the actual number of search results.
1432      *  The @a numDocuments parameter can be either 0, 1 or 2, where the
1433      *  value 2 represents 2 or more matches. HTML markup is allowed inside
1434      *  the returned string.
1435      */
1436     virtual QCString trSearchResults(int numDocuments)
1437     {
1438       if (numDocuments==0)
1439       {
1440         return "Din păcate nu am găsit nici un document care să corespundă cererii.";
1441       }
1442       else if (numDocuments==1)
1443       {
1444         return "Am găsit <b>1</b> document corespunzând cererii.";
1445       }
1446       else
1447       {
1448         return "Am găsit <b>$num</b> documente corespunzând cererii. "
1449                "Lista documentelor găsite, sortate după relevanţă.";
1450       }
1451     }
1452     /*! This string is put before the list of matched words, for each search
1453      *  result. What follows is the list of words that matched the query.
1454      */
1455     virtual QCString trSearchMatches()
1456     {
1457       return "Găsite:";
1458     }
1459
1460 //////////////////////////////////////////////////////////////////////////
1461 // new since 1.3.8
1462 //////////////////////////////////////////////////////////////////////////
1463
1464      /*! This is used in HTML as the title of page with source code for file filename
1465       */
1466      virtual QCString trSourceFile(QCString& filename)
1467      {
1468        return " Fişierul sursă " + filename;
1469      }
1470
1471 //////////////////////////////////////////////////////////////////////////
1472 // new since 1.3.9
1473 //////////////////////////////////////////////////////////////////////////
1474
1475      /*! This is used as the name of the chapter containing the directory
1476       *  hierarchy.
1477       */
1478      virtual QCString trDirIndex()
1479      { return "Ierarhia directoarelor"; }
1480
1481      /*! This is used as the name of the chapter containing the documentation
1482       *  of the directories.
1483       */
1484      virtual QCString trDirDocumentation()
1485      { return "Documentaţia directoarelor"; }
1486
1487      /*! This is used as the title of the directory index and also in the
1488       *  Quick links of a HTML page, to link to the directory hierarchy.
1489       */
1490      virtual QCString trDirectories()
1491      { return "Directoare"; }
1492
1493      /*! This returns a sentences that introduces the directory hierarchy.
1494       *  and the fact that it is sorted alphabetically per level
1495       */
1496      virtual QCString trDirDescription()
1497      { return "Această ierarhie de directoare este sortată în general, "
1498               "dar nu complet, în ordine alfabetică:";
1499      }
1500
1501      /*! This returns the title of a directory page. The name of the
1502       *  directory is passed via \a dirName.
1503       */
1504      virtual QCString trDirReference(const char *dirName)
1505      {
1506        QCString  result="Director-referinţă "; result+=dirName;
1507        return result;
1508      }
1509
1510      /*! This returns the word directory with or without starting capital
1511       *  (\a first_capital) and in sigular or plural form (\a singular).
1512       */
1513      virtual QCString trDir(bool first_capital, bool singular)
1514      {
1515        QCString result((first_capital ? "Directo" : "directo"));
1516        if (singular) result+="r"; else result="are";
1517        return result;
1518      }
1519
1520 //////////////////////////////////////////////////////////////////////////
1521 // new since 1.4.1
1522 //////////////////////////////////////////////////////////////////////////
1523
1524     /*! This text is added to the documentation when the \\overload command
1525      *  is used for a overloaded function.
1526      */
1527     virtual QCString trOverloadText()
1528     {
1529        return "Aceasta este o funcţie membră suprascrisă. "
1530               "Diferă de funcţia de mai sus "
1531               "doar prin argumentele acceptate.";
1532     }
1533
1534 //////////////////////////////////////////////////////////////////////////
1535 // new since 1.4.6
1536 //////////////////////////////////////////////////////////////////////////
1537
1538     /*! This is used to introduce a caller (or called-by) graph */
1539     virtual QCString trCallerGraph()
1540     {
1541       return "Graful de apeluri pentru această funcţie:";
1542     }
1543
1544     /*! This is used in the documentation of a file/namespace before the list
1545      *  of documentation blocks for enumeration values
1546      */
1547     virtual QCString trEnumerationValueDocumentation()
1548     { return "Documentaţia Enumeratorilor"; }
1549
1550 //////////////////////////////////////////////////////////////////////////
1551 // new since 1.5.4 (mainly for Fortran)
1552 //////////////////////////////////////////////////////////////////////////
1553
1554     /*! header that is put before the list of member subprograms (Fortran). */
1555     virtual QCString trMemberFunctionDocumentationFortran()
1556     { return "Documentaţia Funcţiei Membre/Subrutinei"; }
1557
1558     /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1559     virtual QCString trCompoundListFortran()
1560     { return "Lista Tipurilor de Date"; }
1561
1562     /*! This is put above each page as a link to all members of compounds (Fortran). */
1563     virtual QCString trCompoundMembersFortran()
1564     { return "Câmpuri de date"; }
1565
1566     /*! This is an introduction to the annotated compound list (Fortran). */
1567     virtual QCString trCompoundListDescriptionFortran()
1568     { return "Tipurile de date, cu scurte descrieri:"; }
1569
1570     /*! This is an introduction to the page with all data types (Fortran). */
1571     virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1572     {
1573       QCString result="Lista tuturor tipurilor de date ";
1574       if (!extractAll)
1575       {
1576         result+="documentate ";
1577       }
1578       result+=" cu legături către ";
1579       if (!extractAll)
1580       {
1581          result+="documentaţia structurii de date pentru fiecare membru";
1582       }
1583       else
1584       {
1585          result+="tipurile de date de care aparţin:";
1586       }
1587       return result;
1588     }
1589
1590     /*! This is used in LaTeX as the title of the chapter with the
1591      * annotated compound index (Fortran).
1592      */
1593     virtual QCString trCompoundIndexFortran()
1594     { return "Indexul Tipurilor de Date"; }
1595
1596     /*! This is used in LaTeX as the title of the chapter containing
1597      *  the documentation of all data types (Fortran).
1598      */
1599     virtual QCString trTypeDocumentation()
1600     { return "Documentaţia Tipurilor de Date"; }
1601
1602     /*! This is used in the documentation of a file as a header before the
1603      *  list of (global) subprograms (Fortran).
1604      */
1605     virtual QCString trSubprograms()
1606     { return "Funcţii/Subrutine"; }
1607
1608     /*! This is used in the documentation of a file/namespace before the list
1609      *  of documentation blocks for subprograms (Fortran)
1610      */
1611     virtual QCString trSubprogramDocumentation()
1612     { return "Documentaţia Funcţiilor/Subrutinelor"; }
1613
1614     /*! This is used in the documentation of a file/namespace/group before
1615      *  the list of links to documented compounds (Fortran)
1616      */
1617      virtual QCString trDataTypes()
1618     { return "Tipuri de Date"; }
1619
1620     /*! used as the title of page containing all the index of all modules (Fortran). */
1621     virtual QCString trModulesList()
1622     { return "Lista Modulelor"; }
1623
1624     /*! used as an introduction to the modules list (Fortran) */
1625     virtual QCString trModulesListDescription(bool extractAll)
1626     {
1627       QCString result="Lista tuturor modulelor ";
1628       if (!extractAll) result+="documentate ";
1629       result+="cu scurte descrieri:";
1630       return result;
1631     }
1632
1633     /*! used as the title of the HTML page of a module/type (Fortran) */
1634     virtual QCString trCompoundReferenceFortran(const char *clName,
1635                                     ClassDef::CompoundType compType,
1636                                     bool isTemplate)
1637     {
1638       QCString result="Referinţă la ";
1639       switch(compType)
1640       {
1641         case ClassDef::Class:      result+="Modulul "; break;
1642         case ClassDef::Struct:     result+="Tipul "; break;
1643         case ClassDef::Union:      result+="Uniunea "; break;
1644         case ClassDef::Interface:  result+="Interfaţa "; break;
1645         case ClassDef::Protocol:   result+="Protocolul "; break;
1646         case ClassDef::Category:   result+="Categoria "; break;
1647         case ClassDef::Exception:  result+="Excepţia "; break;
1648         default: break;
1649       }
1650       if (isTemplate) result+="(Template) ";
1651           result+=(QCString)clName;
1652       return result;
1653     }
1654     /*! used as the title of the HTML page of a module (Fortran) */
1655     virtual QCString trModuleReference(const char *namespaceName)
1656     {
1657       QCString result="Referinţă la Modulul ";
1658           result += namespaceName;
1659       return result;
1660     }
1661
1662     /*! This is put above each page as a link to all members of modules. (Fortran) */
1663     virtual QCString trModulesMembers()
1664     { return "Membrii Modulului"; }
1665
1666     /*! This is an introduction to the page with all modules members (Fortran) */
1667     virtual QCString trModulesMemberDescription(bool extractAll)
1668     {
1669       QCString result="Lista tuturor membrilor ";
1670       if (!extractAll) result+="documentaţi ai ";
1671       result+="modulului cu legături către ";
1672       if (extractAll)
1673       {
1674         result+="documentaţia modulului pentru fiecare membru:";
1675       }
1676       else
1677       {
1678         result+="modulele de care aparţin:";
1679       }
1680       return result;
1681     }
1682
1683     /*! This is used in LaTeX as the title of the chapter with the
1684      *  index of all modules (Fortran).
1685      */
1686     virtual QCString trModulesIndex()
1687     { return "Indexul Modulelor"; }
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     virtual QCString trModule(bool first_capital, bool singular)
1694     {
1695       QCString result((first_capital ? "Modul" : "modul"));
1696       if (singular)  result+="ul";
1697           else result += "ele";
1698       return result;
1699     }
1700     /*! This is put at the bottom of a module documentation page and is
1701      *  followed by a list of files that were used to generate the page.
1702      */
1703     virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1704         bool single)
1705     { // here s is one of " Module", " Struct" or " Union"
1706       // single is true implies a single file
1707       QCString result=(QCString)"Documentaţia ";
1708       switch(compType)
1709       {
1710         case ClassDef::Class:      result+="modulului"; break;
1711         case ClassDef::Struct:     result+="tipului"; break;
1712         case ClassDef::Union:      result+="uniunii"; break;
1713         case ClassDef::Interface:  result+="interfeţei"; break;
1714         case ClassDef::Protocol:   result+="protocolului"; break;
1715         case ClassDef::Category:   result+="categoriei"; break;
1716         case ClassDef::Exception:  result+="excepţiei"; break;
1717         default: break;
1718       }
1719       result+=" a fost generată din următo";
1720       if (single) result+="rul fişier:"; else result+="arele fişiere:";
1721       return result;
1722     }
1723     /*! This is used for translation of the word that will possibly
1724      *  be followed by a single name or by a list of names
1725      *  of the category.
1726      */
1727     virtual QCString trType(bool first_capital, bool singular)
1728     {
1729       QCString result((first_capital ? "Tip" : "tip"));
1730       if (singular)  result+="ul";
1731           else result += "urile";
1732       return result;
1733     }
1734     /*! This is used for translation of the word that will possibly
1735      *  be followed by a single name or by a list of names
1736      *  of the category.
1737      */
1738     virtual QCString trSubprogram(bool first_capital, bool singular)
1739     {
1740       QCString result((first_capital ? "Subprogram" : "subprogram"));
1741       if (singular)  result+="ul";
1742           else result += "ele";
1743       return result;
1744     }
1745
1746     /*! C# Type Constraint list */
1747     virtual QCString trTypeConstraints()
1748     {
1749       return "Constrângerile de Tip";
1750     }
1751
1752 //////////////////////////////////////////////////////////////////////////
1753 // new since 1.6.0 (mainly for the new search engine)
1754 //////////////////////////////////////////////////////////////////////////
1755
1756     /*! directory relation for \a name */
1757     virtual QCString trDirRelation(const char *name)
1758     {
1759       return QCString(name)+" Relație";
1760     }
1761
1762     /*! Loading message shown when loading search results */
1763     virtual QCString trLoading()
1764     {
1765       return "Se încarcă...";
1766     }
1767
1768     /*! Label used for search results in the global namespace */
1769     virtual QCString trGlobalNamespace()
1770     {
1771       return "Namespace Global";
1772     }
1773
1774     /*! Message shown while searching */
1775     virtual QCString trSearching()
1776     {
1777       return "Căutare...";
1778     }
1779
1780     /*! Text shown when no search results are found */
1781     virtual QCString trNoMatches()
1782     {
1783       return "Niciun rezultat";
1784     }
1785
1786 //////////////////////////////////////////////////////////////////////////
1787 // new since 1.6.3 (missing items for the directory pages)
1788 //////////////////////////////////////////////////////////////////////////
1789
1790     /*! when clicking a directory dependency label, a page with a
1791      *  table is shown. The heading for the first column mentions the
1792      *  source file that has a relation to another file.
1793      */
1794     virtual QCString trFileIn(const char *name)
1795     {
1796       return (QCString)"Fișierul din "+name;
1797     }
1798
1799     /*! when clicking a directory dependency label, a page with a
1800      *  table is shown. The heading for the second column mentions the
1801      *  destination file that is included.
1802      */
1803     virtual QCString trIncludesFileIn(const char *name)
1804     {
1805       return (QCString)"Include fișierul din "+name;
1806     }
1807
1808     /** Compiles a date string.
1809      *  @param year Year in 4 digits
1810      *  @param month Month of the year: 1=January
1811      *  @param day Day of the Month: 1..31
1812      *  @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1813      *  @param hour Hour of the day: 0..23
1814      *  @param minutes Minutes in the hour: 0..59
1815      *  @param seconds Seconds within the minute: 0..59
1816      *  @param includeTime Include time in the result string?
1817      */
1818     virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1819                                 int hour,int minutes,int seconds,
1820                                 bool includeTime)
1821     {
1822       static const char *days[]   = { "Luni","Marți","Miercuri","Joi","Vineri","Sâmbătă","Duminică" };
1823       static const char *months[] = { "Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Noi","Dec" };
1824       QCString sdate;
1825       sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1826       if (includeTime)
1827       {
1828         QCString stime;
1829         stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1830         sdate+=stime;
1831       }
1832       return sdate;
1833     }
1834
1835 //////////////////////////////////////////////////////////////////////////
1836 // new since 1.7.5
1837 //////////////////////////////////////////////////////////////////////////
1838
1839     /*! Header for the page with bibliographic citations */
1840     virtual QCString trCiteReferences()
1841     { return "Referințe Bibliografice"; }
1842
1843     /*! Text for copyright paragraph */
1844     virtual QCString trCopyright()
1845     { return "Copyright"; }
1846
1847     /*! Header for the graph showing the directory dependencies */
1848     virtual QCString trDirDepGraph(const char *name)
1849     { return QCString("Grafic de dependență a directoarelor pentru ")+name+":"; }
1850
1851 //////////////////////////////////////////////////////////////////////////
1852 // new since 1.8.0
1853 //////////////////////////////////////////////////////////////////////////
1854
1855     /*! Detail level selector shown for hierarchical indices */
1856     virtual QCString trDetailLevel()
1857     { return "nivel de detaliu"; }
1858
1859     /*! Section header for list of template parameters */
1860     virtual QCString trTemplateParameters()
1861     { return "Parametri Template"; }
1862
1863     /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1864     virtual QCString trAndMore(const QCString &number)
1865     { return "și încă " + number; }
1866
1867     /*! Used file list for a Java enum */
1868     virtual QCString trEnumGeneratedFromFiles(bool single)
1869     { QCString result = "Documentația pentru acest enum a fost generată din ";
1870       if (single)
1871         result += "următorul fișier:";
1872       else
1873         result += "următoarele fișiere:";
1874       return result;
1875     }
1876
1877     /*! Header of a Java enum page (Java enums are represented as classes). */
1878     virtual QCString trEnumReference(const char *name)
1879     { return QCString(name)+" Referință Enum"; }
1880
1881     /*! Used for a section containing inherited members */
1882     virtual QCString trInheritedFrom(const char *members,const char *what)
1883     { return QCString(members)+" moștenit(e) din "+what; }
1884
1885     /*! Header of the sections with inherited members specific for the
1886      *  base class(es)
1887      */
1888     virtual QCString trAdditionalInheritedMembers()
1889     { return "Membri Moșteniți Adiționali"; }
1890
1891 //////////////////////////////////////////////////////////////////////////
1892 // new since 1.8.2
1893 //////////////////////////////////////////////////////////////////////////
1894
1895     /*! Used as a tooltip for the toggle button that appears in the
1896      *  navigation tree in the HTML output when GENERATE_TREEVIEW is
1897      *  enabled. This tooltip explains the meaning of the button.
1898      */
1899     virtual QCString trPanelSynchronisationTooltip(bool enable)
1900     {
1901       QCString opt = enable ? "activa" : "dezactiva";
1902       return "apasă click pentru a "+opt+" sincronizarea panourilor";
1903     }
1904
1905     /*! Used in a method of an Objective-C class that is declared in a
1906      *  a category. Note that the @1 marker is required and is replaced
1907      *  by a link.
1908      */
1909     virtual QCString trProvidedByCategory()
1910     {
1911       return "Furnizat de categoria @0.";
1912     }
1913
1914     /*! Used in a method of an Objective-C category that extends a class.
1915      *  Note that the @1 marker is required and is replaced by a link to
1916      *  the class method.
1917      */
1918     virtual QCString trExtendsClass()
1919     {
1920       return "Extinde clasa @0.";
1921     }
1922
1923     /*! Used as the header of a list of class methods in Objective-C.
1924      *  These are similar to static public member functions in C++.
1925      */
1926     virtual QCString trClassMethods()
1927     {
1928       return "Metodele Clasei";
1929     }
1930
1931     /*! Used as the header of a list of instance methods in Objective-C.
1932      *  These are similar to public member functions in C++.
1933      */
1934     virtual QCString trInstanceMethods()
1935     {
1936       return "Metodele Instanței";
1937     }
1938
1939     /*! Used as the header of the member functions of an Objective-C class.
1940      */
1941     virtual QCString trMethodDocumentation()
1942     {
1943       return "Documentația Metodelor";
1944     }
1945
1946     /*! Used as the title of the design overview picture created for the
1947      *  VHDL output.
1948      */
1949     virtual QCString trDesignOverview()
1950     {
1951       return "Vedere de Ansamblu a Designului";
1952     }
1953
1954 //////////////////////////////////////////////////////////////////////////
1955 // new since 1.8.4
1956 //////////////////////////////////////////////////////////////////////////
1957
1958     /** old style UNO IDL services: implemented interfaces */
1959     virtual QCString trInterfaces()
1960     { return "Interfețe exportate"; }
1961
1962     /** old style UNO IDL services: inherited services */
1963     virtual QCString trServices()
1964     { return "Servicii Incluse"; }
1965
1966     /** UNO IDL constant groups */
1967     virtual QCString trConstantGroups()
1968     { return "Grupuri Constante"; }
1969
1970     /** UNO IDL constant groups */
1971     virtual QCString trConstantGroupReference(const char *namespaceName)
1972     {
1973       QCString result=namespaceName;
1974       result+=" Referință Grup Constant";
1975       return result;
1976     }
1977     /** UNO IDL service page title */
1978     virtual QCString trServiceReference(const char *sName)
1979     {
1980       QCString result=(QCString)sName;
1981       result+=" Referință Serviciu";
1982       return result;
1983     }
1984     /** UNO IDL singleton page title */
1985     virtual QCString trSingletonReference(const char *sName)
1986     {
1987       QCString result=(QCString)sName;
1988       result+=" Referință Singleton";
1989       return result;
1990     }
1991     /** UNO IDL service page */
1992     virtual QCString trServiceGeneratedFromFiles(bool single)
1993     {
1994       // single is true implies a single file
1995       QCString result=(QCString)"Documentația pentru acest serviciu "
1996                                 "a fost generată din ";
1997       if (single)
1998         result += "următorul fișier:";
1999       else
2000         result += "următoarele fișiere:";
2001       return result;
2002     }
2003     /** UNO IDL singleton page */
2004     virtual QCString trSingletonGeneratedFromFiles(bool single)
2005     {
2006       // single is true implies a single file
2007       QCString result=(QCString)"Documentația pentru acest singleton "
2008                                 "a fost generată din ";
2009       if (single)
2010         result += "următorul fișier:";
2011       else
2012         result += "următoarele fișiere:";
2013       return result;
2014     }
2015
2016 //////////////////////////////////////////////////////////////////////////
2017
2018 };
2019
2020 #endif