1 /******************************************************************************
5 * Copyright (C) 1997-2012 by Dimitri van Heesch.
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.
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
17 // translation by Boris Bralo <boris.bralo@gmail.com>
21 // - Better handling of ISO-8859-2/ WIN 1250 stuff based on (actualy stolen from :-)) Czech translations
22 // implemented by Petr Prikryl (prikrylp@skil.cz).
23 // As opposed to Czech translation this one assumes that Doxygen strings are written in Linux ( it's true,
24 // I don't have QT pro licence ) , and uses ISOToWin function when built in WIN32
27 // - Added strings from 1.2.1
28 // - Removed unneeeded decode() calls
29 // - Changed some CS terminology
32 // - Added strings from 1.2.4
35 // - Added strings and up to and including 1.2.7_20010524
36 // - Removed obsolete method trFiles()
37 // - Removed obsolete method trAuthor()
38 // - Removed obsolete method trAuthor()
39 // - Removed obsolete method trVerbatimHeadert()
40 // - Method latexBabelPackage() removed, ude latexLanguageSupportCommand
43 // - inherits from Translator
44 // - Added strings for 1.2.11
45 // - better output for C documentation (trCompoundMembersDescription(), trClassDocumentation())
48 // - Added strings for 1.2.13
51 // - Added strings for 1.2.18
54 // - Added strings for 1.3.0
57 // - Added strings for 1.3.8
60 // - Added strings for 1.3.9
63 // - Removed obsolete (unused) methods
66 // - Added strings for 1.4.1
69 // - Added strings for 1.4.6
72 // - Updated trLegendDocs
75 // - Updates for "new since 1.6.0 (mainly for the new search engine)".
80 // - Updates for 1.6.3
82 // - Updates for 1.8.0
83 #ifndef TRANSLATOR_HR_H
84 #define TRANSLATOR_HR_H
86 class TranslatorCroatian : public TranslatorAdapter_1_8_2
92 { return "croatian"; }
93 QCString idLanguageCharset()
97 QCString latexLanguageSupportCommand()
98 { return "\\usepackage[croatian]{babel}\n"; }
99 QCString trRelatedFunctions()
100 { return "Povezane funkcije"; }
101 QCString trRelatedSubscript()
102 { return "(To nisu member funkcije.)"; }
103 QCString trDetailedDescription()
104 { return "Detaljno objašnjenje"; }
105 QCString trMemberTypedefDocumentation()
106 { return "Dokumentacija typedef članova"; }
107 QCString trMemberEnumerationDocumentation()
108 { return "Dokumentacija enumeracijskih članova"; }
109 QCString trMemberFunctionDocumentation()
110 { return "Dokumentacija funkcija"; }
111 QCString trMemberDataDocumentation()
112 { return "Documentacija varijabli"; }
114 { return "Opširnije..."; }
115 QCString trListOfAllMembers()
116 { return "Popis svih članova"; }
117 QCString trMemberList()
118 { return "Popis članova."; }
119 QCString trThisIsTheListOfAllMembers()
120 { return "Ovo je popis svih članova"; }
121 QCString trIncludingInheritedMembers()
122 { return ", uključujući naslijeđene članove."; }
123 QCString trGeneratedAutomatically(const char *s)
124 { QCString result="napravljeno automatski Doxygen-om";
125 if (s) result+=(QCString)" za "+s;
126 result+=" iz programskog koda.";
129 QCString trEnumName()
130 { return "enum ime"; }
131 QCString trEnumValue()
132 { return "enum vrijednost"; }
133 QCString trDefinedIn()
134 { return "definirano u"; }
137 QCString trClassHierarchy()
138 { return "Stablo klasa"; }
139 QCString trCompoundList()
141 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
143 return "Sve strukture";
150 QCString trFileList()
151 { return "Popis datoteka"; }
152 QCString trCompoundMembers()
154 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
155 return "Svi članovi struktura";
157 return "Svi članovi klasa";
159 QCString trFileMembers()
160 { return "članovi klasa u datoteci"; }
161 QCString trRelatedPages()
162 { return "Stranice povezane s ovom"; }
163 QCString trExamples()
164 { return "Primjeri"; }
167 QCString trClassHierarchyDescription()
168 { return "Stablo naslijeđivanja je složeno "
169 "približno po abecedi:";
171 QCString trFileListDescription(bool extractAll)
173 QCString result="Popis svih ";
174 if (!extractAll) result+="dokumentiranih ";
175 result+="datoteka, s kratkim opisom:";
178 QCString trCompoundListDescription()
179 { return "Popis svih klasa, unija i struktura "
180 "s kratkim opisom :";
182 QCString trCompoundMembersDescription(bool extractAll)
184 QCString result="Popis svih ";
186 result+="dokumentiranih ";
188 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
189 result+="članova klasa s linkovima na ";
191 result+="članova struktura s linkovima na ";
195 result+="dokumentaciju svakog člana:";
199 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
200 result+="dokumentaciju klase :";
202 result +="dokumentaciju strukture";
206 QCString trFileMembersDescription(bool extractAll)
208 QCString result="Popis svih ";
210 result+="dokumentiranih ";
211 result+="članova s linkovima na ";
213 result+="dokumentaciju datoteke u kojima se nalaze:";
215 result+="datoteke u kojima se nalaze:";
218 QCString trExamplesDescription()
219 { return "Popis primjera :"; }
220 QCString trRelatedPagesDescription()
221 { return "Popis povezanih stranica:"; }
222 QCString trModulesDescription()
223 { return "Popis svih modula:"; }
225 QCString trDocumentation()
226 { return "Dokumentacija"; }
227 QCString trModuleIndex()
228 { return "Kazalo modula"; }
229 QCString trHierarchicalIndex()
230 { return "Hijerarhijsko kazalo"; }
231 QCString trCompoundIndex()
233 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
235 return "Kazalo struktura podataka";
239 return "Skupno kazalo ";
242 QCString trFileIndex()
243 { return "Kazalo datoteka"; }
244 QCString trModuleDocumentation()
245 { return "Dokumentacija modula"; }
246 QCString trClassDocumentation()
248 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
250 return "Dokumentacija struktura podataka";
254 return "Dokumentacija klasa";
257 QCString trFileDocumentation()
258 { return "Dokumentacija datoteka"; }
259 QCString trExampleDocumentation()
260 { return "Dokumentacija primjera"; }
261 QCString trPageDocumentation()
262 { return "Dokumentacija vezane stranice"; }
263 QCString trReferenceManual()
264 { return "Priručnik"; }
267 { return "Definicije"; }
268 QCString trFuncProtos()
269 { return "Prototipi funkcija"; }
270 QCString trTypedefs()
271 { return "Typedef-ovi"; }
272 QCString trEnumerations()
273 { return "Enumeracije"; }
274 QCString trFunctions()
275 { return "Funkcije"; }
276 QCString trVariables()
277 { return "Varijable"; }
278 QCString trEnumerationValues()
279 { return "Vrijednosti enumeracija"; }
280 QCString trDefineDocumentation()
281 { return "Dokumentacija definicija"; }
282 QCString trFunctionPrototypeDocumentation()
283 { return "Dokumentacija prototipa funkcije"; }
284 QCString trTypedefDocumentation()
285 { return "Dokumentacija typedef-a"; }
286 QCString trEnumerationTypeDocumentation()
287 { return "Dokumentacija enumeracijskog tipa"; }
288 QCString trFunctionDocumentation()
289 { return "Dokumentacije funkcija"; }
290 QCString trVariableDocumentation()
291 { return "Dokumentacija varijable"; }
292 QCString trCompounds()
293 { return "Strukture"; }
294 QCString trGeneratedAt(const char *date,const char *projName)
296 QCString result=(QCString)"Napravljeno "+date;
297 if (projName) result+=(QCString)" projekt: "+projName;
298 result+=" generator: ";
301 QCString trWrittenBy()
305 QCString trClassDiagram(const char *clName)
307 return QCString("Dijagram klasa za ")+clName;
309 QCString trForInternalUseOnly()
310 { return "Isključivo za internu uporabu."; }
312 { return "Upozorenje"; }
314 { return "Verzija"; }
318 { return "Povratne vrijednosti"; }
320 { return "Vidi također"; }
321 QCString trParameters()
322 { return "Parametri"; }
323 QCString trExceptions()
324 { return "Iznimke"; }
325 QCString trGeneratedBy()
326 { return "Generirao"; }
328 //////////////////////////////////////////////////////////////////////////
329 // new since 0.49-990307
330 //////////////////////////////////////////////////////////////////////////
332 QCString trNamespaceList()
333 { return "Popis imenika"; }
334 QCString trNamespaceListDescription(bool extractAll)
336 QCString result="Popis svih ";
337 if (!extractAll) result+="dokumentiranih ";
338 result+="imenika s kratkim opisom:";
342 { return "Friend-ovi "; }
344 //////////////////////////////////////////////////////////////////////////
345 // new since 0.49-990405
346 //////////////////////////////////////////////////////////////////////////
348 QCString trRelatedFunctionDocumentation()
349 { return "Dokumentacija povezanih funkcija"; }
351 //////////////////////////////////////////////////////////////////////////
352 // new since 0.49-990425
353 //////////////////////////////////////////////////////////////////////////
355 QCString trCompoundReference(const char *clName,
356 ClassDef::CompoundType compType,
358 // used as the title of the HTML page of a class/struct/union
360 QCString result="Opis ";
363 case ClassDef::Class: result+=" klase "; break;
364 case ClassDef::Struct: result+=" strukture "; break;
365 case ClassDef::Union: result+=" unije "; break;
366 case ClassDef::Interface: result+=" sučelja (interface) "; break;
367 case ClassDef::Protocol: result+=" protokola "; break;
368 case ClassDef::Category: result+=" kategorije "; break;
369 case ClassDef::Exception: result+=" iznimke (exception) "; break;
375 QCString trFileReference(const char *fileName)
376 // used as the title of the HTML page of a file
378 QCString result="Opis datoteke ";
382 QCString trNamespaceReference(const char *namespaceName)
383 // used as the title of the HTML page of a namespace
385 QCString result ="Opis imenika ";
386 result+=namespaceName;
391 // these are for the member sections of a class, struct or union
392 QCString trPublicMembers()
393 { return "Public članovi"; }
394 QCString trPublicSlots()
395 { return "Public slotovi"; }
397 { return "Signali"; }
398 QCString trStaticPublicMembers()
399 { return "Static public članovi"; }
400 QCString trProtectedMembers()
401 { return "Protected članovi"; }
402 QCString trProtectedSlots()
403 { return "Protected slotovi"; }
404 QCString trStaticProtectedMembers()
405 { return "Static protected članovi"; }
406 QCString trPrivateMembers()
407 { return "Privatni članovi"; }
408 QCString trPrivateSlots()
409 { return "Privatni slotovi"; }
410 QCString trStaticPrivateMembers()
411 { return "Statični privatni članovi"; }
412 // end of member sections
414 QCString trWriteList(int numEntries)
416 // this function is used to produce a comma-separated list of items.
417 // use generateMarker(i) to indicate where item i should be put.
420 // the inherits list contain `numEntries' classes
421 for (i=0;i<numEntries;i++)
423 // use generateMarker to generate placeholders for the class links!
424 result+=generateMarker(i); // generate marker for entry i in the list
425 // (order is left to right)
427 if (i!=numEntries-1) // not the last entry, so we need a separator
429 if (i<numEntries-2) // not the fore last entry
431 else // the fore last entry
438 QCString trInheritsList(int numEntries)
439 // used in class documentation to produce a list of base classes,
440 // if class diagrams are disabled.
442 return "Naslijeđuje od "+trWriteList(numEntries)+".";
444 QCString trInheritedByList(int numEntries)
445 // used in class documentation to produce a list of super classes,
446 // if class diagrams are disabled.
448 return "Naslijeđena u "+trWriteList(numEntries)+".";
450 QCString trReimplementedFromList(int numEntries)
451 // used in member documentation blocks to produce a list of
452 // members that are hidden by this one.
454 return "Reimplementirano od "+trWriteList(numEntries)+".";
456 QCString trReimplementedInList(int numEntries)
458 // used in member documentation blocks to produce a list of
459 // all member that overwrite the implementation of this member.
460 return "Reimplementacija u "+trWriteList(numEntries)+".";
463 QCString trNamespaceMembers()
464 // This is put above each page as a link to all members of namespaces.
465 { return "članovi imenika"; }
466 QCString trNamespaceMemberDescription(bool extractAll)
467 // This is an introduction to the page with all namespace members
469 QCString result="Lista svih ";
470 if (!extractAll) result+="dokumentiranih ";
471 result+="članova imenika s linkovima na ";
473 result+="imeničku dokumentaciju svakog člana:";
475 result+="imenike kojima pripadaju:";
478 QCString trNamespaceIndex()
479 // This is used in LaTeX as the title of the chapter with the
480 // index of all namespaces.
481 { return "Kazalo imenika"; }
482 QCString trNamespaceDocumentation()
483 // This is used in LaTeX as the title of the chapter containing
484 // the documentation of all namespaces.
485 { return "Dokumentacija namespace-a"; }
487 //////////////////////////////////////////////////////////////////////////
488 // new since 0.49-990522
489 //////////////////////////////////////////////////////////////////////////
491 /*! This is used in the documentation before the list of all
492 * namespaces in a file.
494 QCString trNamespaces()
499 //////////////////////////////////////////////////////////////////////////
500 // new since 0.49-990728
501 //////////////////////////////////////////////////////////////////////////
503 /*! This is put at the bottom of a class documentation page and is
504 * followed by a list of files that were used to generate the page.
506 QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
508 { // here s is one of " Class", " Struct" or " Union"
509 // single is true implies a single file
510 QCString result="Dokumentacija ";
513 case ClassDef::Class: result+="klase"; break;
514 case ClassDef::Struct: result+="strukture"; break;
515 case ClassDef::Union: result+="unije"; break;
516 case ClassDef::Interface: result+="sučelja (interface)"; break;
517 case ClassDef::Protocol: result+="protokola"; break;
518 case ClassDef::Category: result+="kategorije"; break;
519 case ClassDef::Exception: result+="iznimke (exception)"; break;
521 result+=" je napravljena iz " + trFile(FALSE, single) + ": ";
525 /*! This is in the (quick) index as a link to the alphabetical compound
528 QCString trAlphabeticalList()
529 { return "Abecedni popis"; }
531 //////////////////////////////////////////////////////////////////////////
532 // new since 0.49-990901
533 //////////////////////////////////////////////////////////////////////////
535 /*! This is used as the heading text for the retval command. */
536 QCString trReturnValues()
537 { return "Povratna vrijednost"; }
539 /*! This is in the (quick) index as a link to the main page (index.html)
541 QCString trMainPage()
542 { return "Glavna stranica"; }
544 /*! This is used in references to page that are put in the LaTeX
545 * documentation. It should be an abbreviation of the word page.
547 QCString trPageAbbreviation()
550 //////////////////////////////////////////////////////////////////////////
551 // new since 0.49-991106
552 //////////////////////////////////////////////////////////////////////////
554 QCString trDefinedAtLineInSourceFile()
556 return "Definirano u liniji @0 datoteke @1.";
558 QCString trDefinedInSourceFile()
560 return "Definirano u datoteci @0.";
563 //////////////////////////////////////////////////////////////////////////
564 // new since 0.49-991205
565 //////////////////////////////////////////////////////////////////////////
567 QCString trDeprecated()
572 //////////////////////////////////////////////////////////////////////////
574 //////////////////////////////////////////////////////////////////////////
576 /*! this text is put before a collaboration diagram */
577 QCString trCollaborationDiagram(const char *clName)
579 return (QCString)"Kolaboracijski dijagram za "+clName+ ":";
581 /*! this text is put before an include dependency graph */
582 QCString trInclDepGraph(const char *fName)
584 return (QCString)"Graf include međuovisnosti za "+fName+":";
586 /*! header that is put before the list of constructor/destructors. */
587 QCString trConstructorDocumentation()
589 return "Dokumentacija konstruktora i destruktora ";
591 /*! Used in the file documentation to point to the corresponding sources. */
592 QCString trGotoSourceCode()
594 return "Izvorni kod";
596 /*! Used in the file sources to point to the corresponding documentation. */
597 QCString trGotoDocumentation()
599 return "Dokumenacija za ovu datoteku.";
601 /*! Text for the \\pre command */
602 QCString trPrecondition()
606 /*! Text for the \\post command */
607 QCString trPostcondition()
611 /*! Text for the \\invariant command */
612 QCString trInvariant()
614 return "Invarijanta";
616 /*! Text shown before a multi-line variable/enum initialization */
617 QCString trInitialValue()
619 return "Početna vrijednost:";
621 /*! Text used the source code in the file index */
626 QCString trGraphicalHierarchy()
628 return "Grafičko stablo klasa";
630 QCString trGotoGraphicalHierarchy()
632 return "Grafičko stablo klasa";
634 QCString trGotoTextualHierarchy()
636 return "Tekstualno stablo klasa";
638 QCString trPageIndex()
640 return "Indeks stranice";
643 //////////////////////////////////////////////////////////////////////////
645 //////////////////////////////////////////////////////////////////////////
651 QCString trPublicTypes()
653 return "Public tipovi";
655 QCString trPublicAttribs()
657 return "Public atributi";
659 QCString trStaticPublicAttribs()
661 return "Static public atributi";
663 QCString trProtectedTypes()
665 return "Protected tipovi";
667 QCString trProtectedAttribs()
669 return "Protected atributi";
671 QCString trStaticProtectedAttribs()
673 return "Static protected atributi";
675 QCString trPrivateTypes()
677 return "Private tipovi";
679 QCString trPrivateAttribs()
681 return "Private atributi";
683 QCString trStaticPrivateAttribs()
685 return "Static private atributi";
687 //////////////////////////////////////////////////////////////////////////
689 //////////////////////////////////////////////////////////////////////////
691 /*! Used as a marker that is put before a todo item */
692 virtual QCString trTodo()
696 /*! Used as the header of the todo list */
697 virtual QCString trTodoList()
699 return "Ostalo za uraditi";
702 //////////////////////////////////////////////////////////////////////////
704 //////////////////////////////////////////////////////////////////////////
706 virtual QCString trReferencedBy()
708 return "Referencirano od";
710 virtual QCString trRemarks()
714 virtual QCString trAttention()
718 virtual QCString trInclByDepGraph()
720 return "Ovaj graf pokazuje koje datoteke izravno "
721 "ili neizravno uključuju ovu datoteku:";
723 virtual QCString trSince()
728 //////////////////////////////////////////////////////////////////////////
730 //////////////////////////////////////////////////////////////////////////
732 /*! title of the graph legend page */
733 virtual QCString trLegendTitle()
737 /*! page explaining how the dot graph's should be interpreted */
738 virtual QCString trLegendDocs()
741 "Ova stranica objašnjava kako interpretirati grafikone koje je generirao "
745 "/*! Nevidljiva klasa (neće stati na graf date visine) */\n"
746 "class Invisible { };\n\n"
747 "/*! Odrezana klasa, inheritance je skriven (klase se vidi na grafu, ali ne i sve bazne klase) */\n"
748 "class Truncated : public Invisible { };\n\n"
749 "/* Nedokumentirana klasa */\n"
750 "class Undocumented { };\n\n"
751 "/*! Klasa koja je naslijeđena public */\n"
752 "class PublicBase : public Truncated { };\n\n"
753 "/*! A template class */\n"
754 "template<class T> class Templ { };\n\n"
755 "/*! Klasa koje je naslijeđena protected */\n"
756 "class ProtectedBase { };\n\n"
757 "/*! Klasa koje je naslijeđena private */\n"
758 "class PrivateBase { };\n\n"
759 "/*! Klasa koja se koristi agregacijom */\n"
760 "class Used { };\n\n"
761 "/*! Super klasa koja naslijeđuje/koristi ostale */\n"
762 "class Inherited : public PublicBase,\n"
763 " protected ProtectedBase,\n"
764 " private PrivateBase,\n"
765 " public Undocumented,\n"
766 " public Templ<int>\n"
769 " Used *m_usedClass;\n"
772 "To će rezultirati grafikonom:"
773 "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
775 "Pravokutnici imaju slijedeće značenje:\n"
777 "<li>Puni crni predstavlja klasu za koji je napravljen graf.\n"
778 "<li>Pravokutnik s crnim rubom predstavlja dokumentiranu klasu.\n"
779 "<li>Pravokutnik s sivim rubom predstavlja nedokumentiranu klasu.\n"
780 "<li>Pravokutnik s crvenim rubom predstavlja dokumentiranu klasu\n"
781 "Za koju nije prikazan graf naslijeđivanja. Graf je odrezan "
782 "ako ne stane unutar određenih granica."
784 "Strelice imaju slijedeće značenje:\n"
786 "<li>Tamnoplava strelica označava public naslijeđivanje.\n"
787 "<li>Tamnozelena strelica označava protected naslijeđivanje.\n"
788 "<li>Tamnocrvena strelica označava private naslijeđivanje.\n"
789 "<li>Ljubičasta isprekidana strelica se koristi ako je klasa dio "
790 "druge klase ili ako se klasa koristi u drugoj klasi. Natpis na "
791 "strelici je ime varijable u drugoj klasi\n"
792 "Strelica je označena imenom varijable.\n"
793 "<li>Žuta isprekidana strelica označava relaciju između template instance "
794 "i template klase. Označena je imenom template parametra\n"
797 /*! text for the link to the legend page */
798 virtual QCString trLegend()
802 //////////////////////////////////////////////////////////////////////////
804 //////////////////////////////////////////////////////////////////////////
806 /*! Used as a marker that is put before a test item */
807 virtual QCString trTest()
811 /*! Used as the header of the test list */
812 virtual QCString trTestList()
817 //////////////////////////////////////////////////////////////////////////
819 //////////////////////////////////////////////////////////////////////////
821 /*! Used as a section header for KDE-2 IDL methods */
822 virtual QCString trDCOPMethods()
824 return "DCOP metode";
826 //////////////////////////////////////////////////////////////////////////
828 //////////////////////////////////////////////////////////////////////////
830 /*! Used as a section header for IDL properties */
831 virtual QCString trProperties()
833 return "Svojstva (property)";
835 /*! Used as a section header for IDL property documentation */
836 virtual QCString trPropertyDocumentation()
838 return "Dokumentacija svojstava";
841 //////////////////////////////////////////////////////////////////////////
843 //////////////////////////////////////////////////////////////////////////
845 /*! Used for Java classes in the summary section of Java packages */
846 virtual QCString trClasses()
850 /*! Used as the title of a Java package */
851 virtual QCString trPackage(const char *name)
853 return (QCString)"Paket "+name;
855 /*! Title of the package index page */
856 virtual QCString trPackageList()
858 return "Lista paketa";
860 /*! The description of the package index page */
861 virtual QCString trPackageListDescription()
863 return "Paketi s kratkim opisom (ukoliko postoji):";
865 /*! The link name in the Quick links header for each page */
866 virtual QCString trPackages()
870 /*! Text shown before a multi-line define */
871 virtual QCString trDefineValue()
873 return "Vrijednost:";
876 //////////////////////////////////////////////////////////////////////////
878 //////////////////////////////////////////////////////////////////////////
880 /*! Used as a marker that is put before a \\bug item */
881 virtual QCString trBug()
885 /*! Used as the header of the bug list */
886 virtual QCString trBugList()
888 return "Popis grešaka";
891 //////////////////////////////////////////////////////////////////////////
893 //////////////////////////////////////////////////////////////////////////
894 /*! Used as ansicpg for RTF file */
895 virtual QCString trRTFansicp()
899 /*! Used as ansicpg for RTF fcharset */
900 virtual QCString trRTFCharSet()
904 /*! Used as header RTF general index */
905 virtual QCString trRTFGeneralIndex()
910 /*! This is used for translation of the word that will possibly
911 * be followed by a single name or by a list of names
914 virtual QCString trClass(bool first_capital, bool singular)
916 QCString result((first_capital ? "Klas" : "klas"));
917 result+= (singular ? "a" : "e");
921 /*! This is used for translation of the word that will possibly
922 * be followed by a single name or by a list of names
925 virtual QCString trFile(bool first_capital, bool singular)
927 QCString result((first_capital ? "Datotek" : "datotek"));
928 result+= (singular ? "a" : "e");
932 /*! This is used for translation of the word that will possibly
933 * be followed by a single name or by a list of names
936 virtual QCString trNamespace(bool first_capital, bool singular)
940 result = ((first_capital ? "Imenik" : "imenik"));
942 result = ((first_capital ? "Imenici" : "imenici"));
946 /*! This is used for translation of the word that will possibly
947 * be followed by a single name or by a list of names
950 virtual QCString trGroup(bool first_capital, bool singular)
952 QCString result((first_capital ? "Grup" : "grup"));
953 result+= (singular ? "a" : "e");
957 /*! This is used for translation of the word that will possibly
958 * be followed by a single name or by a list of names
961 virtual QCString trPage(bool first_capital, bool singular)
963 QCString result((first_capital ? "Stranic" : "stranic"));
964 result+= (singular ? "a" : "e");
968 /*! This is used for translation of the word that will possibly
969 * be followed by a single name or by a list of names
972 virtual QCString trMember(bool first_capital, bool singular)
974 QCString result((first_capital ? "član" : "član"));
975 if (!singular) result+="ovi";
979 /*! This is used for translation of the word that will possibly
980 * be followed by a single name or by a list of names
983 virtual QCString trGlobal(bool first_capital, bool singular)
985 QCString result((first_capital ? "G" : "g"));
987 result += "lobalna varijabla";
989 result += "lobalne varijable";
994 //////////////////////////////////////////////////////////////////////////
996 //////////////////////////////////////////////////////////////////////////
998 /*! This text is generated when the \\author command is used and
999 * for the author section in man pages. */
1000 virtual QCString trAuthor(bool first_capital, bool singular)
1002 QCString result((first_capital ? "Autor" : "autor"));
1003 if (!singular) result+="i";
1007 //////////////////////////////////////////////////////////////////////////
1009 //////////////////////////////////////////////////////////////////////////
1011 /*! This text is put before the list of members referenced by a member
1013 virtual QCString trReferences()
1017 //////////////////////////////////////////////////////////////////////////
1019 //////////////////////////////////////////////////////////////////////////
1021 /*! used in member documentation blocks to produce a list of
1022 * members that are implemented by this one.
1024 virtual QCString trImplementedFromList(int numEntries)
1026 return "Implementira "+trWriteList(numEntries)+".";
1029 /*! used in member documentation blocks to produce a list of
1030 * all members that implementation this member.
1032 virtual QCString trImplementedInList(int numEntries)
1034 return "Implementirano u "+trWriteList(numEntries)+".";
1036 //////////////////////////////////////////////////////////////////////////
1038 //////////////////////////////////////////////////////////////////////////
1040 /*! used in RTF documentation as a heading for the Table
1043 virtual QCString trRTFTableOfContents()
1047 //////////////////////////////////////////////////////////////////////////
1049 //////////////////////////////////////////////////////////////////////////
1051 /*! Used as the header of the list of item that have been
1052 * flagged deprecated
1054 virtual QCString trDeprecatedList()
1056 return "Popis zastarjelih metoda";
1058 //////////////////////////////////////////////////////////////////////////
1060 //////////////////////////////////////////////////////////////////////////
1062 /*! Used as a header for declaration section of the events found in
1065 virtual QCString trEvents()
1069 /*! Header used for the documentation section of a class' events. */
1070 virtual QCString trEventDocumentation()
1072 return "Dokumentacija događaja";
1074 //////////////////////////////////////////////////////////////////////////
1076 //////////////////////////////////////////////////////////////////////////
1078 /*! Used as a heading for a list of Java class types with package scope.
1080 virtual QCString trPackageTypes()
1082 return "Tipovi u paketu";
1084 /*! Used as a heading for a list of Java class functions with package
1087 virtual QCString trPackageMembers()
1089 return "Funkcije u paketu";
1091 /*! Used as a heading for a list of static Java class functions with
1094 virtual QCString trStaticPackageMembers()
1096 return "Statičke funkcije u paketu";
1098 /*! Used as a heading for a list of Java class variables with package
1101 virtual QCString trPackageAttribs()
1103 return "Atributi u paketu";
1105 /*! Used as a heading for a list of static Java class variables with
1108 virtual QCString trStaticPackageAttribs()
1110 return "Statički atributi u paketu";
1112 //////////////////////////////////////////////////////////////////////////
1114 //////////////////////////////////////////////////////////////////////////
1116 /*! Used in the quick index of a class/file/namespace member list page
1117 * to link to the unfiltered list of all members.
1119 virtual QCString trAll()
1123 /*! Put in front of the call graph for a function. */
1124 virtual QCString trCallGraph()
1126 return "Ovo je dijagram poziva za ovu funkciju:";
1129 //////////////////////////////////////////////////////////////////////////
1131 //////////////////////////////////////////////////////////////////////////
1133 /*! When the search engine is enabled this text is put in the header
1134 * of each page before the field where one can enter the text to search
1137 virtual QCString trSearchForIndex()
1141 /*! This string is used as the title for the page listing the search
1144 virtual QCString trSearchResultsTitle()
1146 return "Rezultati pretrage";
1148 /*! This string is put just before listing the search results. The
1149 * text can be different depending on the number of documents found.
1150 * Inside the text you can put the special marker $num to insert
1151 * the number representing the actual number of search results.
1152 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1153 * value 2 represents 2 or more matches. HTML markup is allowed inside
1154 * the returned string.
1156 virtual QCString trSearchResults(int numDocuments)
1158 if (numDocuments==0)
1160 return "Nema dokumenta koji odgovaraju vašem upitu";
1162 else if (numDocuments==1)
1164 return "Nađen <b>1</b> dokument koji odgovara vašem upitu.";
1166 else if (numDocuments<5)
1168 // Croatian (AFAIK all Slavic languages except Macedonian and Bulgarian)
1169 // have different plural form for 2,3,4.
1170 return "Nađena <b>$num</b> dokumenta koji odgovaraju vašem upitu."
1171 "Najbolji su prikazani prvi.";
1175 return "Nađeno <b>$num</b> dokumenata koji odgovaraju vašem upitu."
1176 "Najbolji su prikazani prvi.";
1179 /*! This string is put before the list of matched words, for each search
1180 * result. What follows is the list of words that matched the query.
1182 virtual QCString trSearchMatches()
1184 return "Pronađeno:";
1187 //////////////////////////////////////////////////////////////////////////
1189 //////////////////////////////////////////////////////////////////////////
1191 /*! This is used in HTML as the title of page with source code for file filename
1193 virtual QCString trSourceFile(QCString& filename)
1195 return "Izvorni kod datoteke " + filename;
1198 //////////////////////////////////////////////////////////////////////////
1200 //////////////////////////////////////////////////////////////////////////
1202 /*! This is used as the name of the chapter containing the directory
1205 virtual QCString trDirIndex()
1206 { return "Stablo direktorija"; }
1208 /*! This is used as the name of the chapter containing the documentation
1209 * of the directories.
1211 virtual QCString trDirDocumentation()
1212 { return "Dokumentacija direktorija"; }
1214 /*! This is used as the title of the directory index and also in the
1215 * Quick links of a HTML page, to link to the directory hierarchy.
1217 virtual QCString trDirectories()
1218 { return "Direktoriji"; }
1220 /*! This returns a sentences that introduces the directory hierarchy.
1221 * and the fact that it is sorted alphabetically per level
1223 virtual QCString trDirDescription()
1224 { return "Stablo direktorija sortirano abecednim redom:"; }
1226 /*! This returns the title of a directory page. The name of the
1227 * directory is passed via \a dirName.
1229 virtual QCString trDirReference(const char *dirName)
1230 { QCString result= "Opis direktorija "; result += dirName; return result; }
1232 /*! This returns the word directory with or without starting capital
1233 * (\a first_capital) and in sigular or plural form (\a singular).
1235 virtual QCString trDir(bool first_capital, bool singular)
1237 QCString result((first_capital ? "Direktorij" : "direktorij"));
1238 if (!singular) result+="i";
1241 //////////////////////////////////////////////////////////////////////////
1243 //////////////////////////////////////////////////////////////////////////
1245 /*! This text is added to the documentation when the \\overload command
1246 * is used for a overloaded function.
1248 virtual QCString trOverloadText()
1250 return "Ovo je preopterećena funkcija (overload). "
1251 "Razlikuje se od navedene metode "
1252 "samo po vrsti argumenata koje prihvaća.";
1255 //////////////////////////////////////////////////////////////////////////
1257 //////////////////////////////////////////////////////////////////////////
1259 /*! This is used to introduce a caller (or called-by) graph */
1260 virtual QCString trCallerGraph()
1262 return "Ovo je graf funkcija koje pozivaju ovu funkciju:";
1265 /*! This is used in the documentation of a file/namespace before the list
1266 * of documentation blocks for enumeration values
1268 virtual QCString trEnumerationValueDocumentation()
1269 { return "Dokumentacija enumeracija"; }
1270 //////////////////////////////////////////////////////////////////////////
1271 // new since 1.5.4 (mainly for Fortran)
1272 //////////////////////////////////////////////////////////////////////////
1274 /*! header that is put before the list of member subprograms (Fortran). */
1275 virtual QCString trMemberFunctionDocumentationFortran()
1276 { return "Dokumentacija member funkcija/subrutina"; }
1278 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1279 virtual QCString trCompoundListFortran()
1280 { return "Lista tipova podataka"; }
1282 /*! This is put above each page as a link to all members of compounds (Fortran). */
1283 virtual QCString trCompoundMembersFortran()
1286 /*! This is an introduction to the annotated compound list (Fortran). */
1287 virtual QCString trCompoundListDescriptionFortran()
1288 { return "Tipovi podataka s kratkim opisom:"; }
1290 /*! This is an introduction to the page with all data types (Fortran). */
1291 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1293 QCString result="Lista svih ";
1296 result+="dokumentiranih ";
1299 result+=" s linkovima na ";
1302 result+="dokumentaciju struktura podataka za svako polje";
1306 result+="strukture kojima pripadaju:";
1311 /*! This is used in LaTeX as the title of the chapter with the
1312 * annotated compound index (Fortran).
1314 virtual QCString trCompoundIndexFortran()
1315 { return "Kazalo data tipova"; }
1317 /*! This is used in LaTeX as the title of the chapter containing
1318 * the documentation of all data types (Fortran).
1320 virtual QCString trTypeDocumentation()
1321 { return "Dokumentacija tipova podataka"; }
1323 /*! This is used in the documentation of a file as a header before the
1324 * list of (global) subprograms (Fortran).
1326 virtual QCString trSubprograms()
1327 { return "Funkcije/Subrutine"; }
1329 /*! This is used in the documentation of a file/namespace before the list
1330 * of documentation blocks for subprograms (Fortran)
1332 virtual QCString trSubprogramDocumentation()
1333 { return "Documentacija funkcija/subrutina"; }
1335 /*! This is used in the documentation of a file/namespace/group before
1336 * the list of links to documented compounds (Fortran)
1338 virtual QCString trDataTypes()
1339 { return "Tipovi podataka"; }
1341 /*! used as the title of page containing all the index of all modules (Fortran). */
1342 virtual QCString trModulesList()
1343 { return "Popis modula"; }
1345 /*! used as an introduction to the modules list (Fortran) */
1346 virtual QCString trModulesListDescription(bool extractAll)
1348 QCString result="Lista svih ";
1349 if (!extractAll) result+="dokumentiranih ";
1350 result+="modula s kratkim opisom:";
1354 /*! used as the title of the HTML page of a module/type (Fortran) */
1355 virtual QCString trCompoundReferenceFortran(const char *clName,
1356 ClassDef::CompoundType compType,
1359 QCString result=(QCString)clName;
1362 case ClassDef::Class: result+=" Modul"; break;
1363 case ClassDef::Struct: result+=" Tip"; break;
1364 case ClassDef::Union: result+=" Unija"; break;
1365 case ClassDef::Interface: result+=" Sučelje"; break;
1366 case ClassDef::Protocol: result+=" Protokol"; break;
1367 case ClassDef::Category: result+=" Kategorija"; break;
1368 case ClassDef::Exception: result+=" Iznimka"; break;
1370 if (isTemplate) result+=" Predložak";
1371 result+=" Referenca";
1374 /*! used as the title of the HTML page of a module (Fortran) */
1375 virtual QCString trModuleReference(const char *namespaceName)
1377 QCString result=namespaceName;
1378 result+=" - Sadržaj modula";
1382 /*! This is put above each page as a link to all members of modules. (Fortran) */
1383 virtual QCString trModulesMembers()
1384 { return "članovi modula"; }
1386 /*! This is an introduction to the page with all modules members (Fortran) */
1387 virtual QCString trModulesMemberDescription(bool extractAll)
1389 QCString result="Lista svih ";
1390 if (!extractAll) result+="dokumentiranih ";
1391 result+="članova modula s linkovima na ";
1394 result+="dokumentaciju modula za svaki član:";
1398 result+="modul kojem pripadaju:";
1403 /*! This is used in LaTeX as the title of the chapter with the
1404 * index of all modules (Fortran).
1406 virtual QCString trModulesIndex()
1407 { return "Kazalo modula"; }
1409 /*! This is used for translation of the word that will possibly
1410 * be followed by a single name or by a list of names
1413 virtual QCString trModule(bool first_capital, bool singular)
1415 QCString result((first_capital ? "Modul" : "modul"));
1416 if (!singular) result+="i";
1419 /*! This is put at the bottom of a module documentation page and is
1420 * followed by a list of files that were used to generate the page.
1422 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1424 { // here s is one of " Module", " Struct" or " Union"
1425 // single is true implies a single file
1426 QCString result=(QCString)"Dokumentacija ovog ";
1429 case ClassDef::Class: result+="modula"; break;
1430 case ClassDef::Struct: result+="tipa"; break;
1431 case ClassDef::Union: result+="unije"; break;
1432 case ClassDef::Interface: result+="sučelja"; break;
1433 case ClassDef::Protocol: result+="protokola"; break;
1434 case ClassDef::Category: result+="kategorije"; break;
1435 case ClassDef::Exception: result+="iznimke"; break;
1437 result+=" je napravljena iz :";
1440 /*! This is used for translation of the word that will possibly
1441 * be followed by a single name or by a list of names
1444 virtual QCString trType(bool first_capital, bool singular)
1446 QCString result((first_capital ? "Tip" : "tip"));
1447 if (!singular) result+="ovi";
1450 /*! This is used for translation of the word that will possibly
1451 * be followed by a single name or by a list of names
1454 virtual QCString trSubprogram(bool first_capital, bool singular)
1456 QCString result((first_capital ? "Subprogram" : "subprogram"));
1457 if (!singular) result+="i";
1461 /*! C# Type Constraint list */
1462 virtual QCString trTypeConstraints()
1464 return "Ograničenja tipova (Type Constraints)";
1466 //////////////////////////////////////////////////////////////////////////
1467 // new since 1.6.0 (mainly for the new search engine)
1468 //////////////////////////////////////////////////////////////////////////
1470 /*! directory relation for \a name */
1471 virtual QCString trDirRelation(const char *name)
1473 return QCString("Relacije ") + QCString(name);
1476 /*! Loading message shown when loading search results */
1477 virtual QCString trLoading()
1479 return "Učitavam...";
1482 /*! Label used for search results in the global namespace */
1483 virtual QCString trGlobalNamespace()
1485 return "Globalni namespace";
1488 /*! Message shown while searching */
1489 virtual QCString trSearching()
1494 /*! Text shown when no search results are found */
1495 virtual QCString trNoMatches()
1497 return "Nema traženih podataka";
1500 //////////////////////////////////////////////////////////////////////////
1501 // new since 1.6.3 (missing items for the directory pages)
1502 //////////////////////////////////////////////////////////////////////////
1504 /*! introduction text for the directory dependency graph */
1505 virtual QCString trDirDependency(const char *name)
1507 return (QCString)"Graf povezanih direktorija za "+name;
1510 /*! when clicking a directory dependency label, a page with a
1511 * table is shown. The heading for the first column mentions the
1512 * source file that has a relation to another file.
1514 virtual QCString trFileIn(const char *name)
1516 return (QCString)"Datoteka u "+name;
1519 /*! when clicking a directory dependency label, a page with a
1520 * table is shown. The heading for the second column mentions the
1521 * destination file that is included.
1523 virtual QCString trIncludesFileIn(const char *name)
1525 return (QCString)"Uključuje datotake u "+name;
1528 /** Compiles a date string.
1529 * @param year Year in 4 digits
1530 * @param month Month of the year: 1=January
1531 * @param day Day of the Month: 1..31
1532 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1533 * @param hour Hour of the day: 0..23
1534 * @param minutes Minutes in the hour: 0..59
1535 * @param seconds Seconds within the minute: 0..59
1536 * @param includeTime Include time in the result string?
1538 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1539 int hour,int minutes,int seconds,
1542 static const char *days[] = { "Pon","Uto","Sri","Čet","Pet","Sub","Ned" };
1543 static const char *months[] = { "Sje","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro" };
1545 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1549 stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1554 //////////////////////////////////////////////////////////////////////////
1556 //////////////////////////////////////////////////////////////////////////
1558 /*! Header for the page with bibliographic citations */
1559 virtual QCString trCiteReferences()
1560 { return "Bibliografija"; }
1562 /*! Text for copyright paragraph */
1563 virtual QCString trCopyright()
1564 { return "Copyright"; }
1566 /*! Header for the graph showing the directory dependencies */
1567 virtual QCString trDirDepGraph(const char *name)
1568 { return QCString("Direktoriji o kojima ovisi ")+name+":"; }
1570 //////////////////////////////////////////////////////////////////////////
1572 //////////////////////////////////////////////////////////////////////////
1574 /*! Detail level selector shown for hierarchical indices */
1575 virtual QCString trDetailLevel()
1576 { return "razina detalja"; }
1578 /*! Section header for list of template parameters */
1579 virtual QCString trTemplateParameters()
1580 { return "Parametri predloška"; }
1582 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1583 virtual QCString trAndMore(const QCString &number)
1584 { return "i još "+number+" ..."; }
1586 /*! Used file list for a Java enum */
1587 virtual QCString trEnumGeneratedFromFiles(bool single)
1588 { QCString result = "Dokumatacija za ovu enumeraciju je generirana iz ";
1589 if (!single) result += "datoteka:";
1590 else result += "datoteke:";
1594 /*! Header of a Java enum page (Java enums are represented as classes). */
1595 virtual QCString trEnumReference(const char *name)
1596 { return "Opis enumeracije " + QCString(name); }
1598 /*! Used for a section containing inherited members */
1599 virtual QCString trInheritedFrom(const char *members,const char *what)
1600 { return QCString(members)+" naslijeđeni od "+what; }
1602 /*! Header of the sections with inherited members specific for the
1605 virtual QCString trAdditionalInheritedMembers()
1606 { return "Dodatni naslijeđeni članovi"; }
1608 //////////////////////////////////////////////////////////////////////////