Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/translator_hr.h

Source at commit 1322 created 12 years 8 months ago.
By meklort, Add doxygen to utils folder
1/******************************************************************************
2 *
3 *
4 *
5 * Copyright (C) 1997-2011 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// translation by Boris Bralo <boris.bralo@gmail.com>
18// Updates:
19// --------
20// 2000/08/20
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
25//
26// 2000/09/18
27// - Added strings from 1.2.1
28// - Removed unneeeded decode() calls
29// - Changed some CS terminology
30//
31// 2001/01/22
32// - Added strings from 1.2.4
33//
34// 2001/05/25
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
41//
42// 2001/11/13
43// - inherits from Translator
44// - Added strings for 1.2.11
45// - better output for C documentation (trCompoundMembersDescription(), trClassDocumentation())
46//
47// 2001/11/13
48// - Added strings for 1.2.13
49//
50// 2003/02/26
51// - Added strings for 1.2.18
52//
53// 2003/04/29
54// - Added strings for 1.3.0
55//
56// 2004/06/21
57// - Added strings for 1.3.8
58//
59// 2004/09/15
60// - Added strings for 1.3.9
61//
62// 2005/02/28
63// - Removed obsolete (unused) methods
64//
65// 2005/03/21
66// - Added strings for 1.4.1
67//
68// 2006/06/11
69// - Added strings for 1.4.6
70//
71// 2009/01/09
72// - Updated trLegendDocs
73//
74// 2010/03/04
75// - Updates for "new since 1.6.0 (mainly for the new search engine)".
76// - UTF-8
77// - removed decode()
78//
79// 2010/05/27
80// - Updates for 1.6.3
81#ifndef TRANSLATOR_HR_H
82#define TRANSLATOR_HR_H
83
84class TranslatorCroatian : public Translator
85{
86 private:
87
88 public:
89 QCString idLanguage()
90 { return "croatian"; }
91 QCString idLanguageCharset()
92 {
93 return "utf-8";
94 }
95 QCString latexLanguageSupportCommand()
96 { return "\\usepackage[croatian]{babel}\n"; }
97 QCString trRelatedFunctions()
98 { return "Povezane funkcije"; }
99 QCString trRelatedSubscript()
100 { return "(To nisu member funkcije.)"; }
101 QCString trDetailedDescription()
102 { return "Detaljno objašnjenje"; }
103 QCString trMemberTypedefDocumentation()
104 { return "Dokumentacija typedef članova"; }
105 QCString trMemberEnumerationDocumentation()
106 { return "Dokumentacija enumeracijskih članova"; }
107 QCString trMemberFunctionDocumentation()
108 { return "Dokumentacija funkcija"; }
109 QCString trMemberDataDocumentation()
110 { return "Documentacija varijabli"; }
111 QCString trMore()
112 { return "Opširnije..."; }
113 QCString trListOfAllMembers()
114 { return "Popis svih članova."; }
115 QCString trMemberList()
116 { return "Popis članova."; }
117 QCString trThisIsTheListOfAllMembers()
118 { return "Ovo je popis svih članova"; }
119 QCString trIncludingInheritedMembers()
120 { return ", uključujući naslijeđene članove."; }
121 QCString trGeneratedAutomatically(const char *s)
122 { QCString result="napravljeno automatski Doxygen-om";
123 if (s) result+=(QCString)" za "+s;
124 result+=" iz programskog koda.";
125 return result;
126 }
127 QCString trEnumName()
128 { return "enum ime"; }
129 QCString trEnumValue()
130 { return "enum vrijednost"; }
131 QCString trDefinedIn()
132 { return "definirano u"; }
133 QCString trModules()
134 { return "Moduli"; }
135 QCString trClassHierarchy()
136 { return "Stablo klasa"; }
137 QCString trCompoundList()
138{
139if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
140{
141return "Sve strukture";
142}
143else
144{
145return "Sve klase";
146}
147}
148 QCString trFileList()
149 { return "Popis datoteka"; }
150 QCString trCompoundMembers()
151{
152if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
153return "Svi članovi struktura";
154else
155return "Svi članovi klasa";
156}
157 QCString trFileMembers()
158 { return "članovi klasa u datoteci"; }
159 QCString trRelatedPages()
160 { return "Stranice povezane s ovom"; }
161 QCString trExamples()
162 { return "Primjeri"; }
163 QCString trSearch()
164 { return "Traži"; }
165 QCString trClassHierarchyDescription()
166 { return "Stablo naslijeđivanja je složeno "
167 "približno po abecedi:";
168 }
169 QCString trFileListDescription(bool extractAll)
170 {
171 QCString result="Popis svih ";
172 if (!extractAll) result+="dokumentiranih ";
173 result+="datoteka, s kratkim opisom:";
174 return result;
175 }
176 QCString trCompoundListDescription()
177 { return "Popis svih klasa, unija i struktura "
178 "s kratkim opisom :";
179 }
180 QCString trCompoundMembersDescription(bool extractAll)
181 {
182 QCString result="Popis svih ";
183 if (!extractAll)
184 result+="dokumentiranih ";
185
186 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
187 result+="članova klasa s linkovima na ";
188 else
189 result+="članova struktura s linkovima na ";
190
191 if (!extractAll)
192 {
193 result+="dokumentaciju svakog člana:";
194 }
195 else
196 {
197 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
198 result+="dokumentaciju klase :";
199 else
200 result +="dokumentaciju strukture";
201 }
202 return result;
203 }
204 QCString trFileMembersDescription(bool extractAll)
205 {
206 QCString result="Popis svih ";
207 if (!extractAll)
208 result+="dokumentiranih ";
209 result+="članova s linkovima na ";
210 if (extractAll)
211 result+="dokumentaciju datoteke u kojima se nalaze:";
212 else
213 result+="datoteke u kojima se nalaze:";
214 return result;
215 }
216 QCString trExamplesDescription()
217 { return "Popis primjera :"; }
218 QCString trRelatedPagesDescription()
219 { return "Popis povezanih stranica:"; }
220 QCString trModulesDescription()
221 { return "Popis svih modula:"; }
222
223 QCString trDocumentation()
224 { return "Dokumentacija"; }
225 QCString trModuleIndex()
226 { return "Kazalo modula"; }
227 QCString trHierarchicalIndex()
228 { return "Hijerarhijsko kazalo"; }
229 QCString trCompoundIndex()
230 {
231 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
232 {
233 return "Kazalo struktura podataka";
234 }
235 else
236 {
237return "Skupno kazalo ";
238 }
239}
240 QCString trFileIndex()
241 { return "Kazalo datoteka"; }
242 QCString trModuleDocumentation()
243 { return "Dokumentacija modula"; }
244 QCString trClassDocumentation()
245 {
246if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
247{
248return "Dokumentacija struktura podataka";
249}
250else
251{
252return "Dokumentacija klasa";
253}
254}
255 QCString trFileDocumentation()
256 { return "Dokumentacija datoteka"; }
257 QCString trExampleDocumentation()
258 { return "Dokumentacija primjera"; }
259 QCString trPageDocumentation()
260 { return "Dokumentacija vezane stranice"; }
261 QCString trReferenceManual()
262 { return "Priručnik"; }
263
264 QCString trDefines()
265 { return "Definicije"; }
266 QCString trFuncProtos()
267 { return "Prototipi funkcija"; }
268 QCString trTypedefs()
269 { return "Typedef-ovi"; }
270 QCString trEnumerations()
271 { return "Enumeracije"; }
272 QCString trFunctions()
273 { return "Funkcije"; }
274 QCString trVariables()
275 { return "Varijable"; }
276 QCString trEnumerationValues()
277 { return "Vrijednosti enumeracija"; }
278 QCString trDefineDocumentation()
279 { return "Dokumentacija definicija"; }
280 QCString trFunctionPrototypeDocumentation()
281 { return "Dokumentacija prototipa funkcije"; }
282 QCString trTypedefDocumentation()
283 { return "Dokumentacija typedef-a"; }
284 QCString trEnumerationTypeDocumentation()
285 { return "Dokumentacija enumeracijskog tipa"; }
286 QCString trFunctionDocumentation()
287 { return "Dokumentacije funkcija"; }
288 QCString trVariableDocumentation()
289 { return "Dokumentacija varijable"; }
290 QCString trCompounds()
291 { return "Strukture"; }
292 QCString trGeneratedAt(const char *date,const char *projName)
293 {
294 QCString result=(QCString)"Napravljeno "+date;
295 if (projName) result+=(QCString)" projekt: "+projName;
296 result+=" generator: ";
297 return result;
298 }
299 QCString trWrittenBy()
300 {
301 return "napisao ";
302 }
303 QCString trClassDiagram(const char *clName)
304 {
305 return QCString("Dijagram klasa za ")+clName;
306 }
307 QCString trForInternalUseOnly()
308 { return "Isključivo za internu uporabu."; }
309 QCString trWarning()
310 { return "Upozorenje"; }
311 QCString trVersion()
312 { return "Verzija"; }
313 QCString trDate()
314 { return "Datum"; }
315 QCString trReturns()
316 { return "Povratne vrijednosti"; }
317 QCString trSeeAlso()
318 { return "Vidi također"; }
319 QCString trParameters()
320 { return "Parametri"; }
321 QCString trExceptions()
322 { return "Iznimke"; }
323 QCString trGeneratedBy()
324 { return "Generirao"; }
325
326//////////////////////////////////////////////////////////////////////////
327// new since 0.49-990307
328//////////////////////////////////////////////////////////////////////////
329
330 QCString trNamespaceList()
331 { return "Popis imenika"; }
332 QCString trNamespaceListDescription(bool extractAll)
333 {
334 QCString result="Popis svih ";
335 if (!extractAll) result+="dokumentiranih ";
336 result+="imenika s kratkim opisom:";
337 return result;
338 }
339 QCString trFriends()
340 { return "Friend-ovi "; }
341
342//////////////////////////////////////////////////////////////////////////
343// new since 0.49-990405
344//////////////////////////////////////////////////////////////////////////
345
346 QCString trRelatedFunctionDocumentation()
347 { return "Dokumentacija povezanih funkcija"; }
348
349//////////////////////////////////////////////////////////////////////////
350// new since 0.49-990425
351//////////////////////////////////////////////////////////////////////////
352
353 QCString trCompoundReference(const char *clName,
354 ClassDef::CompoundType compType,
355 bool /*isTemplate*/)
356 // used as the title of the HTML page of a class/struct/union
357 {
358 QCString result="Opis ";
359 switch(compType)
360 {
361 case ClassDef::Class: result+=" klase "; break;
362 case ClassDef::Struct: result+=" strukture "; break;
363 case ClassDef::Union: result+=" unije "; break;
364 case ClassDef::Interface: result+=" sučelja (interface) "; break;
365 case ClassDef::Protocol: result+=" protokola "; break;
366 case ClassDef::Category: result+=" kategorije "; break;
367 case ClassDef::Exception: result+=" iznimke (exception) "; break;
368 }
369 result += clName;
370
371 return result;
372 }
373 QCString trFileReference(const char *fileName)
374 // used as the title of the HTML page of a file
375 {
376 QCString result="Opis datoteke ";
377 result+=fileName;
378 return result;
379 }
380 QCString trNamespaceReference(const char *namespaceName)
381 // used as the title of the HTML page of a namespace
382 {
383 QCString result ="Opis imenika ";
384 result+=namespaceName;
385
386 return result;
387 }
388
389 // these are for the member sections of a class, struct or union
390 QCString trPublicMembers()
391 { return "Public članovi"; }
392 QCString trPublicSlots()
393 { return "Public slotovi"; }
394 QCString trSignals()
395 { return "Signali"; }
396 QCString trStaticPublicMembers()
397 { return "Static public članovi"; }
398 QCString trProtectedMembers()
399 { return "Protected članovi"; }
400 QCString trProtectedSlots()
401 { return "Protected slotovi"; }
402 QCString trStaticProtectedMembers()
403 { return "Static protected članovi"; }
404 QCString trPrivateMembers()
405 { return "Privatni članovi"; }
406 QCString trPrivateSlots()
407 { return "Privatni slotovi"; }
408 QCString trStaticPrivateMembers()
409 { return "Statični privatni članovi"; }
410 // end of member sections
411
412 QCString trWriteList(int numEntries)
413 {
414 // this function is used to produce a comma-separated list of items.
415 // use generateMarker(i) to indicate where item i should be put.
416 QCString result;
417 int i;
418 // the inherits list contain `numEntries' classes
419 for (i=0;i<numEntries;i++)
420 {
421 // use generateMarker to generate placeholders for the class links!
422 result+=generateMarker(i); // generate marker for entry i in the list
423 // (order is left to right)
424
425 if (i!=numEntries-1) // not the last entry, so we need a separator
426 {
427 if (i<numEntries-2) // not the fore last entry
428 result+=", ";
429 else // the fore last entry
430 result+="";
431 }
432 }
433 return result;
434 }
435
436 QCString trInheritsList(int numEntries)
437 // used in class documentation to produce a list of base classes,
438 // if class diagrams are disabled.
439 {
440 return "Naslijeđuje od "+trWriteList(numEntries)+".";
441 }
442 QCString trInheritedByList(int numEntries)
443 // used in class documentation to produce a list of super classes,
444 // if class diagrams are disabled.
445 {
446 return "Naslijeđena u "+trWriteList(numEntries)+".";
447 }
448 QCString trReimplementedFromList(int numEntries)
449 // used in member documentation blocks to produce a list of
450 // members that are hidden by this one.
451 {
452 return "Reimplementirano od "+trWriteList(numEntries)+".";
453 }
454 QCString trReimplementedInList(int numEntries)
455 {
456 // used in member documentation blocks to produce a list of
457 // all member that overwrite the implementation of this member.
458 return "Reimplementacija u "+trWriteList(numEntries)+".";
459 }
460
461 QCString trNamespaceMembers()
462 // This is put above each page as a link to all members of namespaces.
463 { return "članovi imenika"; }
464 QCString trNamespaceMemberDescription(bool extractAll)
465 // This is an introduction to the page with all namespace members
466 {
467 QCString result="Lista svih ";
468 if (!extractAll) result+="dokumentiranih ";
469 result+="članova imenika s linkovima na ";
470 if (extractAll)
471 result+="imeničku dokumentaciju svakog člana:";
472 else
473 result+="imenike kojima pripadaju:";
474 return result;
475 }
476 QCString trNamespaceIndex()
477 // This is used in LaTeX as the title of the chapter with the
478 // index of all namespaces.
479 { return "Kazalo imenika"; }
480 QCString trNamespaceDocumentation()
481 // This is used in LaTeX as the title of the chapter containing
482 // the documentation of all namespaces.
483 { return "Dokumentacija namespace-a"; }
484
485//////////////////////////////////////////////////////////////////////////
486// new since 0.49-990522
487//////////////////////////////////////////////////////////////////////////
488
489 /*! This is used in the documentation before the list of all
490 * namespaces in a file.
491 */
492 QCString trNamespaces()
493 {
494 return "Imenici";
495 }
496
497//////////////////////////////////////////////////////////////////////////
498// new since 0.49-990728
499//////////////////////////////////////////////////////////////////////////
500
501 /*! This is put at the bottom of a class documentation page and is
502 * followed by a list of files that were used to generate the page.
503 */
504 QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
505 bool single)
506 { // here s is one of " Class", " Struct" or " Union"
507 // single is true implies a single file
508 QCString result="Dokumentacija ";
509 switch(compType)
510 {
511 case ClassDef::Class: result+="klase"; break;
512 case ClassDef::Struct: result+="strukture"; break;
513 case ClassDef::Union: result+="unije"; break;
514 case ClassDef::Interface: result+="sučelja (interface)"; break;
515 case ClassDef::Protocol: result+="protokola"; break;
516 case ClassDef::Category: result+="kategorije"; break;
517 case ClassDef::Exception: result+="iznimke (exception)"; break;
518 }
519 result+=" je napravljena iz " + trFile(FALSE, single) + ": ";
520 return result;
521 }
522
523 /*! This is in the (quick) index as a link to the alphabetical compound
524 * list.
525 */
526 QCString trAlphabeticalList()
527 { return "Abecedni popis"; }
528
529//////////////////////////////////////////////////////////////////////////
530// new since 0.49-990901
531//////////////////////////////////////////////////////////////////////////
532
533 /*! This is used as the heading text for the retval command. */
534 QCString trReturnValues()
535 { return "Povratna vrijednost"; }
536
537 /*! This is in the (quick) index as a link to the main page (index.html)
538 */
539 QCString trMainPage()
540 { return "Glavna stranica"; }
541
542 /*! This is used in references to page that are put in the LaTeX
543 * documentation. It should be an abbreviation of the word page.
544 */
545 QCString trPageAbbreviation()
546 { return "str."; }
547
548//////////////////////////////////////////////////////////////////////////
549// new since 0.49-991106
550//////////////////////////////////////////////////////////////////////////
551
552 QCString trDefinedAtLineInSourceFile()
553 {
554 return "Definirano u liniji @0 datoteke @1.";
555 }
556 QCString trDefinedInSourceFile()
557 {
558 return "Definirano u datoteci @0.";
559 }
560
561//////////////////////////////////////////////////////////////////////////
562// new since 0.49-991205
563//////////////////////////////////////////////////////////////////////////
564
565 QCString trDeprecated()
566 {
567 return "Zastarjelo";
568 }
569
570//////////////////////////////////////////////////////////////////////////
571// new since 1.0.0
572//////////////////////////////////////////////////////////////////////////
573
574 /*! this text is put before a collaboration diagram */
575 QCString trCollaborationDiagram(const char *clName)
576 {
577 return (QCString)"Kolaboracijski dijagram za "+clName+ ":";
578 }
579 /*! this text is put before an include dependency graph */
580 QCString trInclDepGraph(const char *fName)
581 {
582 return (QCString)"Graf include međuovisnosti za "+fName+":";
583 }
584 /*! header that is put before the list of constructor/destructors. */
585 QCString trConstructorDocumentation()
586 {
587 return "Dokumentacija konstruktora i destruktora ";
588 }
589 /*! Used in the file documentation to point to the corresponding sources. */
590 QCString trGotoSourceCode()
591 {
592 return "Izvorni kod";
593 }
594 /*! Used in the file sources to point to the corresponding documentation. */
595 QCString trGotoDocumentation()
596 {
597 return "Dokumenacija za ovu datoteku.";
598 }
599 /*! Text for the \\pre command */
600 QCString trPrecondition()
601 {
602 return "Preduvjeti";
603 }
604 /*! Text for the \\post command */
605 QCString trPostcondition()
606 {
607 return "Postuvjeti";
608 }
609 /*! Text for the \\invariant command */
610 QCString trInvariant()
611 {
612 return "Invarijanta";
613 }
614 /*! Text shown before a multi-line variable/enum initialization */
615 QCString trInitialValue()
616 {
617 return "Početna vrijednost:";
618 }
619 /*! Text used the source code in the file index */
620 QCString trCode()
621 {
622 return "kod";
623 }
624 QCString trGraphicalHierarchy()
625 {
626 return "Grafičko stablo klasa";
627 }
628 QCString trGotoGraphicalHierarchy()
629 {
630 return "Grafičko stablo klasa";
631 }
632 QCString trGotoTextualHierarchy()
633 {
634 return "Tekstualno stablo klasa";
635 }
636 QCString trPageIndex()
637 {
638 return "Indeks stranice";
639 }
640
641//////////////////////////////////////////////////////////////////////////
642// new since 1.1.0
643//////////////////////////////////////////////////////////////////////////
644
645 QCString trNote()
646 {
647 return "Primjedba";
648 }
649 QCString trPublicTypes()
650 {
651 return "Public tipovi";
652 }
653 QCString trPublicAttribs()
654 {
655 return "Public atributi";
656 }
657 QCString trStaticPublicAttribs()
658 {
659 return "Static public atributi";
660 }
661 QCString trProtectedTypes()
662 {
663 return "Protected tipovi";
664 }
665 QCString trProtectedAttribs()
666 {
667 return "Protected atributi";
668 }
669 QCString trStaticProtectedAttribs()
670 {
671 return "Static protected atributi";
672 }
673 QCString trPrivateTypes()
674 {
675 return "Private tipovi";
676 }
677 QCString trPrivateAttribs()
678 {
679 return "Private atributi";
680 }
681 QCString trStaticPrivateAttribs()
682 {
683 return "Static private atributi";
684 }
685//////////////////////////////////////////////////////////////////////////
686// new since 1.1.3
687//////////////////////////////////////////////////////////////////////////
688
689 /*! Used as a marker that is put before a todo item */
690 virtual QCString trTodo()
691 {
692 return "Za uraditi";
693 }
694 /*! Used as the header of the todo list */
695 virtual QCString trTodoList()
696 {
697 return "Ostalo za uraditi";
698 }
699
700//////////////////////////////////////////////////////////////////////////
701// new since 1.1.4
702//////////////////////////////////////////////////////////////////////////
703
704 virtual QCString trReferencedBy()
705 {
706 return "Referencirano od";
707 }
708 virtual QCString trRemarks()
709 {
710 return "Napomene";
711 }
712 virtual QCString trAttention()
713 {
714 return "Pažnja";
715 }
716 virtual QCString trInclByDepGraph()
717 {
718 return "Ovaj graf pokazuje koje datoteke izravno "
719 "ili neizravno uključuju ovu datoteku:";
720 }
721 virtual QCString trSince()
722 {
723 return "Od";
724 }
725
726//////////////////////////////////////////////////////////////////////////
727// new since 1.1.5
728//////////////////////////////////////////////////////////////////////////
729
730 /*! title of the graph legend page */
731 virtual QCString trLegendTitle()
732 {
733 return "Legenda";
734 }
735 /*! page explaining how the dot graph's should be interpreted */
736 virtual QCString trLegendDocs()
737 {
738 return
739 "Ova stranica objašnjava kako interpretirati grafikone koje je generirao "
740 "doxygen.<p>\n"
741 "Na primjer:\n"
742 "\\code\n"
743 "/*! Nevidljiva klasa (neće stati na graf date visine) */\n"
744 "class Invisible { };\n\n"
745 "/*! Odrezana klasa, inheritance je skriven (klase se vidi na grafu, ali ne i sve bazne klase) */\n"
746 "class Truncated : public Invisible { };\n\n"
747 "/* Nedokumentirana klasa */\n"
748 "class Undocumented { };\n\n"
749 "/*! Klasa koja je naslijeđena public */\n"
750 "class PublicBase : public Truncated { };\n\n"
751 "/*! A template class */\n"
752 "template<class T> class Templ { };\n\n"
753 "/*! Klasa koje je naslijeđena protected */\n"
754 "class ProtectedBase { };\n\n"
755 "/*! Klasa koje je naslijeđena private */\n"
756 "class PrivateBase { };\n\n"
757 "/*! Klasa koja se koristi agregacijom */\n"
758 "class Used { };\n\n"
759 "/*! Super klasa koja naslijeđuje/koristi ostale */\n"
760 "class Inherited : public PublicBase,\n"
761 " protected ProtectedBase,\n"
762 " private PrivateBase,\n"
763 " public Undocumented,\n"
764 " public Templ<int>\n"
765 "{\n"
766 " private:\n"
767 " Used *m_usedClass;\n"
768 "};\n"
769 "\\endcode\n"
770 "To će rezultirati grafikonom:"
771 "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
772 "<p>\n"
773 "Pravokutnici imaju slijedeće značenje:\n"
774 "<ul>\n"
775 "<li>Puni crni predstavlja klasu za koji je napravljen graf.\n"
776 "<li>Pravokutnik s crnim rubom predstavlja dokumentiranu klasu.\n"
777 "<li>Pravokutnik s sivim rubom predstavlja nedokumentiranu klasu.\n"
778 "<li>Pravokutnik s crvenim rubom predstavlja dokumentiranu klasu\n"
779 "Za koju nije prikazan graf naslijeđivanja. Graf je odrezan "
780 "ako ne stane unutar određenih granica."
781 "</ul>\n"
782 "Strelice imaju slijedeće značenje:\n"
783 "<ul>\n"
784 "<li>Tamnoplava strelica označava public naslijeđivanje.\n"
785 "<li>Tamnozelena strelica označava protected naslijeđivanje.\n"
786 "<li>Tamnocrvena strelica označava private naslijeđivanje.\n"
787 "<li>Ljubičasta isprekidana strelica se koristi ako je klasa dio "
788 "druge klase ili ako se klasa koristi u drugoj klasi. Natpis na "
789 "strelici je ime varijable u drugoj klasi\n"
790 "Strelica je označena imenom varijable.\n"
791 "<li>Žuta isprekidana strelica označava relaciju između template instance "
792 "i template klase. Označena je imenom template parametra\n"
793 "</ul>\n";
794 }
795 /*! text for the link to the legend page */
796 virtual QCString trLegend()
797 {
798 return "legenda";
799 }
800//////////////////////////////////////////////////////////////////////////
801// new since 1.2.0
802//////////////////////////////////////////////////////////////////////////
803
804 /*! Used as a marker that is put before a test item */
805 virtual QCString trTest()
806 {
807 return "Test";
808 }
809 /*! Used as the header of the test list */
810 virtual QCString trTestList()
811 {
812 return "Test lista";
813 }
814
815//////////////////////////////////////////////////////////////////////////
816// new since 1.2.1
817//////////////////////////////////////////////////////////////////////////
818
819 /*! Used as a section header for KDE-2 IDL methods */
820 virtual QCString trDCOPMethods()
821 {
822 return "DCOP metode";
823 }
824//////////////////////////////////////////////////////////////////////////
825// new since 1.2.2
826//////////////////////////////////////////////////////////////////////////
827
828 /*! Used as a section header for IDL properties */
829 virtual QCString trProperties()
830 {
831 return "Svojstva (property)";
832 }
833 /*! Used as a section header for IDL property documentation */
834 virtual QCString trPropertyDocumentation()
835 {
836 return "Dokumentacija svojstava";
837 }
838
839//////////////////////////////////////////////////////////////////////////
840// new since 1.2.4
841//////////////////////////////////////////////////////////////////////////
842
843 /*! Used for Java classes in the summary section of Java packages */
844 virtual QCString trClasses()
845 {
846 return "Klase";
847 }
848 /*! Used as the title of a Java package */
849 virtual QCString trPackage(const char *name)
850 {
851 return (QCString)"Paket "+name;
852 }
853 /*! Title of the package index page */
854 virtual QCString trPackageList()
855 {
856 return "Lista paketa";
857 }
858 /*! The description of the package index page */
859 virtual QCString trPackageListDescription()
860 {
861 return "Paketi s kratkim opisom (ukoliko postoji):";
862 }
863 /*! The link name in the Quick links header for each page */
864 virtual QCString trPackages()
865 {
866 return "Paketi";
867 }
868 /*! Text shown before a multi-line define */
869 virtual QCString trDefineValue()
870 {
871 return "Vrijednost:";
872 }
873
874//////////////////////////////////////////////////////////////////////////
875// new since 1.2.5
876//////////////////////////////////////////////////////////////////////////
877
878 /*! Used as a marker that is put before a \\bug item */
879 virtual QCString trBug()
880 {
881 return "Greška";
882 }
883 /*! Used as the header of the bug list */
884 virtual QCString trBugList()
885 {
886 return "Popis grešaka";
887 }
888
889//////////////////////////////////////////////////////////////////////////
890// new since 1.2.6
891//////////////////////////////////////////////////////////////////////////
892 /*! Used as ansicpg for RTF file */
893 virtual QCString trRTFansicp()
894 {
895 return "1252";
896 }
897 /*! Used as ansicpg for RTF fcharset */
898 virtual QCString trRTFCharSet()
899 {
900 return "238";
901 }
902 /*! Used as header RTF general index */
903 virtual QCString trRTFGeneralIndex()
904 {
905 return "Sadržaj";
906 }
907
908 /*! This is used for translation of the word that will possibly
909 * be followed by a single name or by a list of names
910 * of the category.
911 */
912 virtual QCString trClass(bool first_capital, bool singular)
913 {
914 QCString result((first_capital ? "Klas" : "klas"));
915 result+= (singular ? "a" : "e");
916 return result;
917 }
918
919 /*! This is used for translation of the word that will possibly
920 * be followed by a single name or by a list of names
921 * of the category.
922 */
923 virtual QCString trFile(bool first_capital, bool singular)
924 {
925 QCString result((first_capital ? "Datotek" : "datotek"));
926 result+= (singular ? "a" : "e");
927 return result;
928 }
929
930 /*! This is used for translation of the word that will possibly
931 * be followed by a single name or by a list of names
932 * of the category.
933 */
934 virtual QCString trNamespace(bool first_capital, bool singular)
935 {
936QCString result;
937if (singular)
938result = ((first_capital ? "Imenik" : "imenik"));
939else
940result = ((first_capital ? "Imenici" : "imenici"));
941 return result;
942 }
943
944 /*! This is used for translation of the word that will possibly
945 * be followed by a single name or by a list of names
946 * of the category.
947 */
948 virtual QCString trGroup(bool first_capital, bool singular)
949 {
950 QCString result((first_capital ? "Grup" : "grup"));
951 result+= (singular ? "a" : "e");
952 return result;
953 }
954
955 /*! This is used for translation of the word that will possibly
956 * be followed by a single name or by a list of names
957 * of the category.
958 */
959 virtual QCString trPage(bool first_capital, bool singular)
960 {
961 QCString result((first_capital ? "Stranic" : "stranic"));
962 result+= (singular ? "a" : "e");
963 return result;
964 }
965
966 /*! This is used for translation of the word that will possibly
967 * be followed by a single name or by a list of names
968 * of the category.
969 */
970 virtual QCString trMember(bool first_capital, bool singular)
971 {
972 QCString result((first_capital ? "član" : "član"));
973 if (!singular) result+="ovi";
974 return result;
975 }
976
977 /*! This is used for translation of the word that will possibly
978 * be followed by a single name or by a list of names
979 * of the category.
980 */
981 virtual QCString trGlobal(bool first_capital, bool singular)
982 {
983 QCString result((first_capital ? "G" : "g"));
984 if( singular )
985 result += "lobalna varijabla";
986 else
987 result += "lobalne varijable";
988
989 return result;
990 }
991
992//////////////////////////////////////////////////////////////////////////
993// new since 1.2.7
994//////////////////////////////////////////////////////////////////////////
995
996 /*! This text is generated when the \\author command is used and
997 * for the author section in man pages. */
998 virtual QCString trAuthor(bool first_capital, bool singular)
999 {
1000 QCString result((first_capital ? "Autor" : "autor"));
1001 if (!singular) result+="i";
1002 return result;
1003 }
1004
1005//////////////////////////////////////////////////////////////////////////
1006// new since 1.2.11
1007//////////////////////////////////////////////////////////////////////////
1008
1009 /*! This text is put before the list of members referenced by a member
1010 */
1011 virtual QCString trReferences()
1012 {
1013 return "Reference";
1014 }
1015//////////////////////////////////////////////////////////////////////////
1016// new since 1.2.13
1017//////////////////////////////////////////////////////////////////////////
1018
1019 /*! used in member documentation blocks to produce a list of
1020 * members that are implemented by this one.
1021 */
1022 virtual QCString trImplementedFromList(int numEntries)
1023 {
1024 return "Implementira "+trWriteList(numEntries)+".";
1025 }
1026
1027 /*! used in member documentation blocks to produce a list of
1028 * all members that implementation this member.
1029 */
1030 virtual QCString trImplementedInList(int numEntries)
1031 {
1032 return "Implementirano u "+trWriteList(numEntries)+".";
1033 }
1034//////////////////////////////////////////////////////////////////////////
1035// new since 1.2.16
1036//////////////////////////////////////////////////////////////////////////
1037
1038 /*! used in RTF documentation as a heading for the Table
1039 * of Contents.
1040 */
1041 virtual QCString trRTFTableOfContents()
1042 {
1043 return "Sadržaj";
1044 }
1045//////////////////////////////////////////////////////////////////////////
1046// new since 1.2.17
1047//////////////////////////////////////////////////////////////////////////
1048
1049 /*! Used as the header of the list of item that have been
1050 * flagged deprecated
1051 */
1052 virtual QCString trDeprecatedList()
1053 {
1054 return "Popis zastarjelih metoda";
1055 }
1056//////////////////////////////////////////////////////////////////////////
1057// new since 1.2.18
1058//////////////////////////////////////////////////////////////////////////
1059
1060 /*! Used as a header for declaration section of the events found in
1061 * a C# program
1062 */
1063 virtual QCString trEvents()
1064 {
1065 return "Događaji";
1066 }
1067 /*! Header used for the documentation section of a class' events. */
1068 virtual QCString trEventDocumentation()
1069 {
1070 return "Dokumentacija događaja";
1071 }
1072//////////////////////////////////////////////////////////////////////////
1073// new since 1.3
1074//////////////////////////////////////////////////////////////////////////
1075
1076 /*! Used as a heading for a list of Java class types with package scope.
1077 */
1078 virtual QCString trPackageTypes()
1079 {
1080 return "Tipovi u paketu";
1081 }
1082 /*! Used as a heading for a list of Java class functions with package
1083 * scope.
1084 */
1085 virtual QCString trPackageMembers()
1086 {
1087 return "Funkcije u paketu";
1088 }
1089 /*! Used as a heading for a list of static Java class functions with
1090 * package scope.
1091 */
1092 virtual QCString trStaticPackageMembers()
1093 {
1094 return "Statičke funkcije u paketu";
1095 }
1096 /*! Used as a heading for a list of Java class variables with package
1097 * scope.
1098 */
1099 virtual QCString trPackageAttribs()
1100 {
1101 return "Atributi u paketu";
1102 }
1103 /*! Used as a heading for a list of static Java class variables with
1104 * package scope.
1105 */
1106 virtual QCString trStaticPackageAttribs()
1107 {
1108 return "Statički atributi u paketu";
1109 }
1110//////////////////////////////////////////////////////////////////////////
1111// new since 1.3.1
1112//////////////////////////////////////////////////////////////////////////
1113
1114/*! Used in the quick index of a class/file/namespace member list page
1115* to link to the unfiltered list of all members.
1116*/
1117virtual QCString trAll()
1118{
1119return "Sve";
1120}
1121/*! Put in front of the call graph for a function. */
1122virtual QCString trCallGraph()
1123{
1124return "Ovo je dijagram poziva za ovu funkciju:";
1125}
1126
1127//////////////////////////////////////////////////////////////////////////
1128// new since 1.3.3
1129//////////////////////////////////////////////////////////////////////////
1130
1131/*! When the search engine is enabled this text is put in the header
1132* of each page before the field where one can enter the text to search
1133* for.
1134*/
1135virtual QCString trSearchForIndex()
1136{
1137return "Traži";
1138}
1139/*! This string is used as the title for the page listing the search
1140* results.
1141*/
1142virtual QCString trSearchResultsTitle()
1143{
1144return "Rezultati pretrage";
1145}
1146/*! This string is put just before listing the search results. The
1147* text can be different depending on the number of documents found.
1148* Inside the text you can put the special marker $num to insert
1149* the number representing the actual number of search results.
1150* The @a numDocuments parameter can be either 0, 1 or 2, where the
1151* value 2 represents 2 or more matches. HTML markup is allowed inside
1152* the returned string.
1153*/
1154virtual QCString trSearchResults(int numDocuments)
1155{
1156if (numDocuments==0)
1157{
1158return "Nema dokumenta koji odgovaraju vašem upitu";
1159}
1160else if (numDocuments==1)
1161{
1162return "Nađen <b>1</b> dokument koji odgovara vašem upitu.";
1163}
1164else if (numDocuments<5)
1165{
1166// Croatian (AFAIK all Slavic languages except Macedonian and Bulgarian)
1167 // have different plural form for 2,3,4.
1168return "Nađena <b>$num</b> dokumenta koji odgovaraju vašem upitu."
1169"Najbolji su prikazani prvi.";
1170}
1171else
1172{
1173return "Nađeno <b>$num</b> dokumenata koji odgovaraju vašem upitu."
1174"Najbolji su prikazani prvi.";
1175}
1176}
1177/*! This string is put before the list of matched words, for each search
1178* result. What follows is the list of words that matched the query.
1179*/
1180virtual QCString trSearchMatches()
1181{
1182return "Pronađeno:";
1183}
1184
1185//////////////////////////////////////////////////////////////////////////
1186// new since 1.3.8
1187//////////////////////////////////////////////////////////////////////////
1188
1189 /*! This is used in HTML as the title of page with source code for file filename
1190 */
1191 virtual QCString trSourceFile(QCString& filename)
1192 {
1193 return "Izvorni kod datoteke " + filename;
1194 }
1195
1196//////////////////////////////////////////////////////////////////////////
1197// new since 1.3.9
1198//////////////////////////////////////////////////////////////////////////
1199
1200 /*! This is used as the name of the chapter containing the directory
1201 * hierarchy.
1202 */
1203 virtual QCString trDirIndex()
1204 { return "Stablo direktorija"; }
1205
1206 /*! This is used as the name of the chapter containing the documentation
1207 * of the directories.
1208 */
1209 virtual QCString trDirDocumentation()
1210 { return "Dokumentacija direktorija"; }
1211
1212 /*! This is used as the title of the directory index and also in the
1213 * Quick links of a HTML page, to link to the directory hierarchy.
1214 */
1215 virtual QCString trDirectories()
1216 { return "Direktoriji"; }
1217
1218 /*! This returns a sentences that introduces the directory hierarchy.
1219 * and the fact that it is sorted alphabetically per level
1220 */
1221 virtual QCString trDirDescription()
1222 { return "Stablo direktorija sortirano abecednim redom:"; }
1223
1224 /*! This returns the title of a directory page. The name of the
1225 * directory is passed via \a dirName.
1226 */
1227 virtual QCString trDirReference(const char *dirName)
1228 { QCString result= "Opis direktorija "; result += dirName; return result; }
1229
1230 /*! This returns the word directory with or without starting capital
1231 * (\a first_capital) and in sigular or plural form (\a singular).
1232 */
1233 virtual QCString trDir(bool first_capital, bool singular)
1234 {
1235 QCString result((first_capital ? "Direktorij" : "direktorij"));
1236 if (!singular) result+="i";
1237 return result;
1238 }
1239//////////////////////////////////////////////////////////////////////////
1240// new since 1.4.1
1241//////////////////////////////////////////////////////////////////////////
1242
1243 /*! This text is added to the documentation when the \\overload command
1244 * is used for a overloaded function.
1245 */
1246 virtual QCString trOverloadText()
1247 {
1248 return "Ovo je preopterećena funkcija (overload). "
1249 "Razlikuje se od navedene metode "
1250 "samo po vrsti argumenata koje prihvaća.";
1251 }
1252
1253//////////////////////////////////////////////////////////////////////////
1254// new since 1.4.6
1255//////////////////////////////////////////////////////////////////////////
1256
1257 /*! This is used to introduce a caller (or called-by) graph */
1258 virtual QCString trCallerGraph()
1259 {
1260 return "Ovo je graf funkcija koje pozivaju ovu funkciju:";
1261 }
1262
1263 /*! This is used in the documentation of a file/namespace before the list
1264 * of documentation blocks for enumeration values
1265 */
1266 virtual QCString trEnumerationValueDocumentation()
1267 { return "Dokumentacija enumeracija"; }
1268//////////////////////////////////////////////////////////////////////////
1269// new since 1.5.4 (mainly for Fortran)
1270//////////////////////////////////////////////////////////////////////////
1271
1272 /*! header that is put before the list of member subprograms (Fortran). */
1273 virtual QCString trMemberFunctionDocumentationFortran()
1274 { return "Dokumentacija member funkcija/subrutina"; }
1275
1276 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1277 virtual QCString trCompoundListFortran()
1278 { return "Lista tipova podataka"; }
1279
1280 /*! This is put above each page as a link to all members of compounds (Fortran). */
1281 virtual QCString trCompoundMembersFortran()
1282 { return "Polja"; }
1283
1284 /*! This is an introduction to the annotated compound list (Fortran). */
1285 virtual QCString trCompoundListDescriptionFortran()
1286 { return "Tipovi podataka s kratkim opisom:"; }
1287
1288 /*! This is an introduction to the page with all data types (Fortran). */
1289 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1290 {
1291 QCString result="Lista svih ";
1292 if (!extractAll)
1293 {
1294 result+="dokumentiranih ";
1295 }
1296 result+="polja";
1297 result+=" s linkovima na ";
1298 if (!extractAll)
1299 {
1300 result+="dokumentaciju struktura podataka za svako polje";
1301 }
1302 else
1303 {
1304 result+="strukture kojima pripadaju:";
1305 }
1306 return result;
1307 }
1308
1309 /*! This is used in LaTeX as the title of the chapter with the
1310 * annotated compound index (Fortran).
1311 */
1312 virtual QCString trCompoundIndexFortran()
1313 { return "Kazalo data tipova"; }
1314
1315 /*! This is used in LaTeX as the title of the chapter containing
1316 * the documentation of all data types (Fortran).
1317 */
1318 virtual QCString trTypeDocumentation()
1319 { return "Dokumentacija tipova podataka"; }
1320
1321 /*! This is used in the documentation of a file as a header before the
1322 * list of (global) subprograms (Fortran).
1323 */
1324 virtual QCString trSubprograms()
1325 { return "Funkcije/Subrutine"; }
1326
1327 /*! This is used in the documentation of a file/namespace before the list
1328 * of documentation blocks for subprograms (Fortran)
1329 */
1330 virtual QCString trSubprogramDocumentation()
1331 { return "Documentacija funkcija/subrutina"; }
1332
1333 /*! This is used in the documentation of a file/namespace/group before
1334 * the list of links to documented compounds (Fortran)
1335 */
1336 virtual QCString trDataTypes()
1337 { return "Tipovi podataka"; }
1338
1339 /*! used as the title of page containing all the index of all modules (Fortran). */
1340 virtual QCString trModulesList()
1341 { return "Popis modula"; }
1342
1343 /*! used as an introduction to the modules list (Fortran) */
1344 virtual QCString trModulesListDescription(bool extractAll)
1345 {
1346 QCString result="Lista svih ";
1347 if (!extractAll) result+="dokumentiranih ";
1348 result+="modula s kratkim opisom:";
1349 return result;
1350 }
1351
1352 /*! used as the title of the HTML page of a module/type (Fortran) */
1353 virtual QCString trCompoundReferenceFortran(const char *clName,
1354 ClassDef::CompoundType compType,
1355 bool isTemplate)
1356 {
1357 QCString result=(QCString)clName;
1358 switch(compType)
1359 {
1360 case ClassDef::Class: result+=" Modul"; break;
1361 case ClassDef::Struct: result+=" Tip"; break;
1362 case ClassDef::Union: result+=" Unija"; break;
1363 case ClassDef::Interface: result+=" Sučelje"; break;
1364 case ClassDef::Protocol: result+=" Protokol"; break;
1365 case ClassDef::Category: result+=" Kategorija"; break;
1366 case ClassDef::Exception: result+=" Iznimka"; break;
1367 }
1368 if (isTemplate) result+=" Predložak";
1369 result+=" Referenca";
1370 return result;
1371 }
1372 /*! used as the title of the HTML page of a module (Fortran) */
1373 virtual QCString trModuleReference(const char *namespaceName)
1374 {
1375 QCString result=namespaceName;
1376 result+=" - Sadržaj modula";
1377 return result;
1378 }
1379
1380 /*! This is put above each page as a link to all members of modules. (Fortran) */
1381 virtual QCString trModulesMembers()
1382 { return "članovi modula"; }
1383
1384 /*! This is an introduction to the page with all modules members (Fortran) */
1385 virtual QCString trModulesMemberDescription(bool extractAll)
1386 {
1387 QCString result="Lista svih ";
1388 if (!extractAll) result+="dokumentiranih ";
1389 result+="članova modula s linkovima na ";
1390 if (extractAll)
1391 {
1392 result+="dokumentaciju modula za svaki član:";
1393 }
1394 else
1395 {
1396 result+="modul kojem pripadaju:";
1397 }
1398 return result;
1399 }
1400
1401 /*! This is used in LaTeX as the title of the chapter with the
1402 * index of all modules (Fortran).
1403 */
1404 virtual QCString trModulesIndex()
1405 { return "Kazalo modula"; }
1406
1407 /*! This is used for translation of the word that will possibly
1408 * be followed by a single name or by a list of names
1409 * of the category.
1410 */
1411 virtual QCString trModule(bool first_capital, bool singular)
1412 {
1413 QCString result((first_capital ? "Modul" : "modul"));
1414 if (!singular) result+="i";
1415 return result;
1416 }
1417 /*! This is put at the bottom of a module documentation page and is
1418 * followed by a list of files that were used to generate the page.
1419 */
1420 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1421 bool)
1422 { // here s is one of " Module", " Struct" or " Union"
1423 // single is true implies a single file
1424 QCString result=(QCString)"Dokumentacija ovog ";
1425 switch(compType)
1426 {
1427 case ClassDef::Class: result+="modula"; break;
1428 case ClassDef::Struct: result+="tipa"; break;
1429 case ClassDef::Union: result+="unije"; break;
1430 case ClassDef::Interface: result+="sučelja"; break;
1431 case ClassDef::Protocol: result+="protokola"; break;
1432 case ClassDef::Category: result+="kategorije"; break;
1433 case ClassDef::Exception: result+="iznimke"; break;
1434 }
1435 result+=" je napravljena iz :";
1436 return result;
1437 }
1438 /*! This is used for translation of the word that will possibly
1439 * be followed by a single name or by a list of names
1440 * of the category.
1441 */
1442 virtual QCString trType(bool first_capital, bool singular)
1443 {
1444 QCString result((first_capital ? "Tip" : "tip"));
1445 if (!singular) result+="ovi";
1446 return result;
1447 }
1448 /*! This is used for translation of the word that will possibly
1449 * be followed by a single name or by a list of names
1450 * of the category.
1451 */
1452 virtual QCString trSubprogram(bool first_capital, bool singular)
1453 {
1454 QCString result((first_capital ? "Subprogram" : "subprogram"));
1455 if (!singular) result+="i";
1456 return result;
1457 }
1458
1459 /*! C# Type Constraint list */
1460 virtual QCString trTypeConstraints()
1461 {
1462 return "Ograničenja tipova (Type Constraints)";
1463 }
1464 //////////////////////////////////////////////////////////////////////////
1465 // new since 1.6.0 (mainly for the new search engine)
1466 //////////////////////////////////////////////////////////////////////////
1467
1468 /*! directory relation for \a name */
1469 virtual QCString trDirRelation(const char *name)
1470 {
1471 return QCString("Relacije ") + QCString(name);
1472 }
1473
1474 /*! Loading message shown when loading search results */
1475 virtual QCString trLoading()
1476 {
1477 return "Učitavam...";
1478 }
1479
1480 /*! Label used for search results in the global namespace */
1481 virtual QCString trGlobalNamespace()
1482 {
1483 return "Globalni namespace";
1484 }
1485
1486 /*! Message shown while searching */
1487 virtual QCString trSearching()
1488 {
1489 return "Tražim...";
1490 }
1491
1492 /*! Text shown when no search results are found */
1493 virtual QCString trNoMatches()
1494 {
1495 return "Nema traženih podataka";
1496 }
1497
1498//////////////////////////////////////////////////////////////////////////
1499// new since 1.6.3 (missing items for the directory pages)
1500//////////////////////////////////////////////////////////////////////////
1501
1502 /*! introduction text for the directory dependency graph */
1503 virtual QCString trDirDependency(const char *name)
1504 {
1505 return (QCString)"Graf povezanih direktorija za "+name;
1506 }
1507
1508 /*! when clicking a directory dependency label, a page with a
1509 * table is shown. The heading for the first column mentions the
1510 * source file that has a relation to another file.
1511 */
1512 virtual QCString trFileIn(const char *name)
1513 {
1514 return (QCString)"Datoteka u "+name;
1515 }
1516
1517 /*! when clicking a directory dependency label, a page with a
1518 * table is shown. The heading for the second column mentions the
1519 * destination file that is included.
1520 */
1521 virtual QCString trIncludesFileIn(const char *name)
1522 {
1523 return (QCString)"Uključuje datotake u "+name;
1524 }
1525
1526 /** Compiles a date string.
1527 * @param year Year in 4 digits
1528 * @param month Month of the year: 1=January
1529 * @param day Day of the Month: 1..31
1530 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1531 * @param hour Hour of the day: 0..23
1532 * @param minutes Minutes in the hour: 0..59
1533 * @param seconds Seconds within the minute: 0..59
1534 * @param includeTime Include time in the result string?
1535 */
1536 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1537 int hour,int minutes,int seconds,
1538 bool includeTime)
1539 {
1540 static const char *days[] = { "Pon","Uto","Sri","Čet","Pet","Sub","Ned" };
1541 static const char *months[] = { "Sje","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro" };
1542 QCString sdate;
1543 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1544 if (includeTime)
1545 {
1546 QCString stime;
1547 stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1548 sdate+=stime;
1549 }
1550 return sdate;
1551 }
1552
1553};
1554
1555#endif
1556
1557
1558

Archive Download this file

Revision: 1322