translator_si.h 41.4 KB
Newer Older
1 2
/******************************************************************************
 *
3
 *
4
 *
Dimitri van Heesch's avatar
Dimitri van Heesch committed
5
 * Copyright (C) 1997-2013 by Dimitri van Heesch.
6 7
 *
 * Permission to use, copy, modify, and distribute this software and its
8 9
 * documentation under the terms of the GNU General Public License is hereby
 * granted. No representations are made about the suitability of this software
10 11 12 13 14 15 16 17 18 19 20 21 22 23
 * for any purpose. It is provided "as is" without express or implied warranty.
 * See the GNU General Public License for more details.
 *
 * Documents produced by Doxygen are derivative works derived from the
 * input used in their production; they are not affected by this license.
 *
 */

// translation by Matjaz Ostroversnik <matjaz.ostroversnik@zrs-tk.si>

#ifndef TRANSLATOR_SI_H
#define TRANSLATOR_SI_H


24
class TranslatorSlovene : public TranslatorAdapter_1_4_6
25
{
26 27 28
  protected:
    friend class TranslatorAdapterBase;
    virtual ~TranslatorSlovene() {}
29 30 31 32 33 34 35 36 37 38
  public:
    QCString idLanguage()
    { return "slovene"; }
    /*! Used to get the command(s) for the language support. This method
     *  was designed for languages which do not prefer babel package.
     *  If this methods returns empty string, then the latexBabelPackage()
     *  method is used to generate the command for using the babel package.
     */
    QCString latexLanguageSupportCommand()
    {
39
      return "\\usepackage[slovene]{babel}\n\\usepackage[T1]{fontenc}\n";
40 41
    }
    QCString idLanguageCharset()
42 43
    {
      return "utf-8";
44 45 46 47 48 49 50 51
    }
    QCString trRelatedFunctions()
    { return "Povezane funkcije"; }
    QCString trRelatedSubscript()
    { return "(To niso metode.)"; }
    QCString trDetailedDescription()
    { return "Podroben opis"; }
    QCString trMemberTypedefDocumentation()
52
    { return "Opis uporabniško definiranih tipov"; }
53
    QCString trMemberEnumerationDocumentation()
54
    { return "Opis komponent  naštevnih tipov"; }
55
/*     QCString trEnumerationValueDocumentation() */
56
/*     { return "Opis vrednosti naštevnih tipov (enum) "; } */
57 58 59 60 61 62 63
    QCString trMemberFunctionDocumentation()
    { return "Opis metod"; }
    QCString trMemberDataDocumentation()
    { return "Opis atributov"; }
    QCString trMore()
    { return "..."; }
    QCString trListOfAllMembers()
Dimitri van Heesch's avatar
Dimitri van Heesch committed
64
    { return "Seznam vseh metod / atributov"; }
65
    QCString trMemberList()
66
    { return " - seznam metod in atributov."; }
67
    QCString trThisIsTheListOfAllMembers()
68
    { return "Seznam metod razreda "; }
69
    QCString trIncludingInheritedMembers()
70
    { return ", vključujoč dedovane metode in atribute."; }
71
    QCString trGeneratedAutomatically(const char *s)
72
    { QCString result="zgenerirano z Doxygen-om";
73
      if (s) result+=(QCString)" za "+s;
74
      result+=" iz izvorne kode.";
75 76 77
      return result;
    }
    QCString trEnumName()
78
    { return "naštevno ime"; }
79
    QCString trEnumValue()
80
    { return "naštevna vrednost"; }
81 82 83
    QCString trDefinedIn()
    { return "definirano v"; }
    QCString trModules()
84
    { return "moduli"; }
85 86 87 88 89 90
    QCString trClassHierarchy()
    { return "dedovalna hierarhija"; }
    QCString trCompoundList()
    { return "kratek opis razredov"; }
    QCString trFileList()
    { return "seznam datotek"; }
91 92
/*     QCString trHeaderFiles() */
/*     { return "'Header' datoteka"; } */
93 94 95 96 97
    QCString trCompoundMembers()
    { return "metode in atributi"; }
    QCString trFileMembers()
    { return "komponente v datotekah"; }
    QCString trRelatedPages()
98
    { return "dodatni opisi"; }
99 100 101
    QCString trExamples()
    { return "Primeri"; }
    QCString trSearch()
102
    { return "Išči"; }
103
    QCString trClassHierarchyDescription()
104
      { return "Hierarhično drevo je (okvirno) sortirano po abecedi. ";
105 106 107 108 109
    }
    QCString trFileListDescription(bool extractAll)
    {
      QCString result="Seznam vseh ";
      if (!extractAll) result+="dokumentiranih ";
110
      result+="datotek s kratkim opisom:";
111 112 113
      return result;
    }
    QCString trCompoundListDescription()
114 115
    { return "Seznam razredov, množic in struktur "
             "s kratkim opisom :";
116 117 118 119 120 121 122 123 124 125 126 127 128 129
    }
    QCString trCompoundMembersDescription(bool extractAll)
    {
      QCString result="Seznam vseh ";
      if (!extractAll) result+="dokumentiranih ";
      result+="metod in atributov s povezavami na ";
      if (extractAll) result+="opis posamezne metode in/ali atributa:";
      else result+="opis razreda :";
      return result;
    }
    QCString trFileMembersDescription(bool extractAll)
    {
      QCString result="Seznam ";
      if (!extractAll) result+="dokumentiranih ";
130
      result+="entitet v datotekah ";
131
      if (extractAll) result+="skupaj z opisom datoteke v kateri se nahajajo:";
132
      else result+="s povezavami na datoteke v katerih se nahajajo:";
133 134
      return result;
    }
135 136
/*     QCString trHeaderFilesDescription() */
/*     { return "Seznam header datotek, ki tvorijo aplikacijski vmesnik (API) :"; } */
137 138 139
    QCString trExamplesDescription()
    { return "Seznam primerov :"; }
    QCString trRelatedPagesDescription()
140
    { return "Seznam strani z dodatnimi opisi:"; }
141 142
    QCString trModulesDescription()
    { return "Seznam modulov:"; }
143 144
/*     QCString trNoDescriptionAvailable() */
/*     { return "Opis ni dostopen"; } */
145 146 147 148 149 150

    QCString trDocumentation()
    { return "Dokumentacija"; }
    QCString trModuleIndex()
    { return "seznam modulov"; }
    QCString trHierarchicalIndex()
151
    { return "Hierarhični indeks"; }
152 153
    QCString trCompoundIndex()
    { return "abecedni seznam"; }
154
    QCString trFileIndex()
155 156 157 158 159 160 161 162 163 164
    { return "seznam datotek"; }
    QCString trModuleDocumentation()
    { return "Dokumentacija modulov"; }
    QCString trClassDocumentation()
    { return "Opis razreda"; }
    QCString trFileDocumentation()
    { return "Opis datoteke"; }
    QCString trExampleDocumentation()
    { return "Opis primera"; }
    QCString trPageDocumentation()
165
    { return "Opis povezanih strani"; }
166
    QCString trReferenceManual()
167
    { return "Priročnik"; }
168 169 170 171 172 173

    QCString trDefines()
    { return "Makro deklaracije"; }
    QCString trFuncProtos()
    { return "Prototipi funkcij"; }
    QCString trTypedefs()
174
    { return "Uporabniško definirani tipi"; }
175
    QCString trEnumerations()
176
    { return "Naštevni tipi"; }
177 178 179 180 181
    QCString trFunctions()
    { return "Funkcije"; }
    QCString trVariables()
    { return "Spremenljivke"; }
    QCString trEnumerationValues()
182
    { return "Vrednosti naštevnih tipov"; }
183 184 185 186 187
    QCString trDefineDocumentation()
    { return "Opis makro definicije"; }
    QCString trFunctionPrototypeDocumentation()
    { return "Opis prototipa funkcije"; }
    QCString trTypedefDocumentation()
188
    { return "Opis uporabniško definiranega tipa"; }
189
    QCString trEnumerationTypeDocumentation()
190
    { return "Opis naštevnega (enum) tipa"; }
191 192 193 194 195 196 197
    QCString trFunctionDocumentation()
    { return "Opis funkcije"; }
    QCString trVariableDocumentation()
    { return "Opis spremenljivke"; }
    QCString trCompounds()
    { return "Strukture"; }
    QCString trGeneratedAt(const char *date,const char *projName)
198
    {
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
      QCString result=(QCString)"Generirano "+date;
      if (projName) result+=(QCString)" projekt: "+projName;
      result+=(QCString)" generator: ";
      return result;
    }
    QCString trWrittenBy()
    {
      return "napisal ";
    }
    QCString trClassDiagram(const char *clName)
    {
      return (QCString)"Diagram razredov za "+clName;
    }
    QCString trForInternalUseOnly()
    { return "Samo za interno uporabo."; }
214 215 216 217
/*     QCString trReimplementedForInternalReasons() */
/*     { return "Ponovno implementirano zaradi internih razlogov. " */
/*              "Nima vpliva na API.";  */
/*     } */
218 219
    QCString trWarning()
    { return "Opozorilo"; }
220 221
/*     QCString trBugsAndLimitations() */
/*     { return "Napake in omejtive"; } */
222 223 224 225 226 227 228 229 230 231 232
    QCString trVersion()
    { return "Verzija"; }
    QCString trDate()
    { return "Datum"; }
    QCString trReturns()
    { return "Rezultat(i)"; }
    QCString trSeeAlso()
    { return "Glej"; }
    QCString trParameters()
    { return "Parametri"; }
    QCString trExceptions()
233
    { return "Prekinitve"; }
234
    QCString trGeneratedBy()
235 236
    { return "Izdelano s pomočjo"; }

237
//////////////////////////////////////////////////////////////////////////
238
// new since 0.49-990307
239
//////////////////////////////////////////////////////////////////////////
240

241
    QCString trNamespaceList()
242
    { return "imenski prostori"; }
243 244 245 246 247 248 249 250 251 252 253 254 255
    QCString trNamespaceListDescription(bool extractAll)
    {
      QCString result="Seznam ";
      if (!extractAll) result+="dokumentiranih ";
      result+="imenskih prostorov z opisom:";
      return result;
    }
    QCString trFriends()
    { return "Prijatelji (Friends) "; }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
256

257 258
    QCString trRelatedFunctionDocumentation()
    { return "Podatki o poveznih funkcijah"; }
259

260 261 262 263 264 265 266 267 268
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////

    QCString trCompoundReference(const char *clName,
                                    ClassDef::CompoundType compType,
                                    bool /*isTemplate*/)
      // used as the title of the HTML page of a class/struct/union
    {
269
      QCString result="";
270 271
      switch(compType)
      {
272 273
        case ClassDef::Class:  result+=" Razred "; break;
        case ClassDef::Struct: result+=" Struktura "; break;
274
        case ClassDef::Union:  result+=" Množica "; break;
275
        case ClassDef::Interface:  result+=" IDL vmesnik "; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
276 277
        case ClassDef::Protocol:   result+=" protocol "; break; // translate me!
        case ClassDef::Category:   result+=" category "; break; // translate me!
278
        case ClassDef::Exception:  result+=" IDL prekinitev "; break;
279
        default: break;
280
      }
281
      result += (QCString)clName;
282

283 284 285 286 287
      return result;
    }
    QCString trFileReference(const char *fileName)
      // used as the title of the HTML page of a file
    {
288
      QCString result="Datoteka ";
289 290 291 292 293 294
	  result+=fileName;
	  return result;
    }
    QCString trNamespaceReference(const char *namespaceName)
      // used as the title of the HTML page of a namespace
    {
295
      QCString result ="Imenski prostor ";
296
	  result+=namespaceName;
297

298 299
      return result;
    }
300 301

    // these are for the member sections of a class, struct or union
302 303 304 305 306 307 308
    QCString trPublicMembers()
    { return "Javne metode"; }
    QCString trPublicSlots()
    { return "Public slotovi"; }
    QCString trSignals()
    { return "Programske prekinitve"; }
    QCString trStaticPublicMembers()
309
    { return "Statične javne metode in atributi"; }
310
    QCString trProtectedMembers()
311
    { return "Zaščitene metode in atributi"; }
312
    QCString trProtectedSlots()
313
    { return "Zaščiteni sloti"; }
314
    QCString trStaticProtectedMembers()
315
    { return "Statične zaščitene metode in atributi"; }
316 317 318 319 320
    QCString trPrivateMembers()
    { return "Skrite metode in atributi"; }
    QCString trPrivateSlots()
    { return "Skriti slotovi"; }
    QCString trStaticPrivateMembers()
321 322 323
    { return "Statične skrite metode in atributi"; }
    // end of member sections

324 325 326 327 328 329 330
    QCString trWriteList(int numEntries)
    {
      // this function is used to produce a comma-separated list of items.
      // use generateMarker(i) to indicate where item i should be put.
      QCString result;
      int i;
      // the inherits list contain `numEntries' classes
331
      for (i=0;i<numEntries;i++)
332 333
      {
        // use generateMarker to generate placeholders for the class links!
334
        result+=generateMarker(i); // generate marker for entry i in the list
335
                                   // (order is left to right)
336

337 338
        if (i!=numEntries-1)  // not the last entry, so we need a separator
        {
339
          if (i<numEntries-2) // not the fore last entry
340 341 342 343 344
            result+=", ";
          else                // the fore last entry
            result+=" in ";
        }
      }
345
      return result;
346
    }
347

348 349 350 351 352 353 354 355 356 357
    QCString trInheritsList(int numEntries)
      // used in class documentation to produce a list of base classes,
      // if class diagrams are disabled.
    {
      return "Deduje od "+trWriteList(numEntries)+".";
    }
    QCString trInheritedByList(int numEntries)
      // used in class documentation to produce a list of super classes,
      // if class diagrams are disabled.
    {
358
      return "Naslijeðena u "+trWriteList(numEntries)+".";
359 360
    }
    QCString trReimplementedFromList(int numEntries)
361
      // used in member documentation blocks to produce a list of
362 363
      // members that are hidden by this one.
    {
364
      return "Skrije implementacijo iz "+trWriteList(numEntries)+".";
365 366 367 368 369
    }
    QCString trReimplementedInList(int numEntries)
    {
      // used in member documentation blocks to produce a list of
      // all member that overwrite the implementation of this member.
370
      return "Metodo skrijejo implementacije v razredih "+trWriteList(numEntries)+".";
371 372 373 374
    }

    QCString trNamespaceMembers()
      // This is put above each page as a link to all members of namespaces.
375
    { return "elementi imenskega prostora"; }
376 377
    QCString trNamespaceMemberDescription(bool extractAll)
      // This is an introduction to the page with all namespace members
378
    {
379
      QCString result="Seznam vseh ";
380
      if (!extractAll) result+="dokumentiranih ";
381
      result+="elementov imenskega prostora s povezavami na ";
382
      if (extractAll)
383
        result+="opis vsakega elementa:";
384
      else
385
        result+="imenski prostor, ki mu pripadajo:";
386 387 388
      return result;
    }
    QCString trNamespaceIndex()
389
      // This is used in LaTeX as the title of the chapter with the
390
      // index of all namespaces.
391
    { return "Indeks imenskih prostorov"; }
392 393 394
    QCString trNamespaceDocumentation()
      // This is used in LaTeX as the title of the chapter containing
      // the documentation of all namespaces.
395
    { return "Podatki o imenskih prostorih"; }
Dimitri van Heesch's avatar
Dimitri van Heesch committed
396 397 398 399 400 401 402
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////

    /*! This is used in the documentation before the list of all
     *  namespaces in a file.
     */
403 404 405
    virtual QCString trNamespaces()
    { return "Imenski prostori"; }

Dimitri van Heesch's avatar
Dimitri van Heesch committed
406

407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////

    /*! This is put at the bottom of a class documentation page and is
     *  followed by a list of files that were used to generate the page.
     */
    QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
        bool single)
    { // here s is one of " Class", " Struct" or " Union"
      // single is true implies a single file
      QCString result=(QCString)"Opis ";
      switch(compType)
      {
        case ClassDef::Class:      result+="razreda"; break;
        case ClassDef::Struct:     result+="strukture"; break;
        case ClassDef::Union:      result+="unije"; break;
        case ClassDef::Interface:  result+="vmesnika (interface)"; break;
Dimitri van Heesch's avatar
Dimitri van Heesch committed
425 426
        case ClassDef::Protocol:   result+="protocol"; break; // translate me!
        case ClassDef::Category:   result+="category"; break; // translate me!
427
        case ClassDef::Exception:  result+="prekinitve (exception)"; break;
428
        default: break;
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
      }
      result+=" je zgrajen na podlagi naslednj";
      if (single) result+="e "; else result+="ih";
      result+=" datotek";
      if (single) result+="e :"; else result+=" :";
      return result;
    }

    /*! This is in the (quick) index as a link to the alphabetical compound
     * list.
     */
    QCString trAlphabeticalList()
    { return "abecedni seznam"; }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////

    /*! This is used as the heading text for the retval command. */
    QCString trReturnValues()
    { return "Povratna vrednost"; }

    /*! This is in the (quick) index as a link to the main page (index.html)
     */
    QCString trMainPage()
    { return "prva stran"; }

456
    /*! This is used in references to page that are put in the LaTeX
457 458 459 460 461 462 463 464 465
     *  documentation. It should be an abbreviation of the word page.
     */
    QCString trPageAbbreviation()
    { return "str."; }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991106
//////////////////////////////////////////////////////////////////////////

466 467 468 469
/*     QCString trSources() */
/*     { */
/*       return "Izvorne datoteke"; */
/*     } */
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501
    QCString trDefinedAtLineInSourceFile()
    {
      return "Definirano v @0 vrstici datoteke @1.";
    }
    QCString trDefinedInSourceFile()
    {
      return "Definirano v datoteki @0.";
    }

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////

    QCString trDeprecated()
    {
      return "Zastarelo";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////

    /*! this text is put before a collaboration diagram */
    QCString trCollaborationDiagram(const char *clName)
    {
      return (QCString)"Kolaboracijski diagram razreda "+clName+":";
    }
    /*! this text is put before an include dependency graph */
    QCString trInclDepGraph(const char *fName)
    {
      return (QCString)"Graf prikazuje seznam datotek, "
          "ki jih datoteka \""+fName+"\" "
502
          "direktno ali indirektno vključuje. Pravokotniki ponazarjajo datoteke, puščice "
503
	  "predstavljajo relacije med njimi. "
504 505
	  "črn pravokotnik ponazarja datoteko "+fName+". Puščice A->B ponazarjajo "
	  "usmerjeno relacijo \"A vključuje B\"."
506
;
507 508 509 510
    }
    /*! header that is put before the list of constructor/destructors. */
    QCString trConstructorDocumentation()
    {
511
      return "Opis konstruktorjev in destruktorjev ";
512 513 514 515 516 517 518 519 520
    }
    /*! Used in the file documentation to point to the corresponding sources. */
    QCString trGotoSourceCode()
    {
      return "izvorna koda";
    }
    /*! Used in the file sources to point to the corresponding documentation. */
    QCString trGotoDocumentation()
    {
521
      return "dokumenacija tekoče datoteke.";
522
    }
523
    /*! Text for the \pre command */
524 525 526 527
    QCString trPrecondition()
    {
      return "Predpogoji (preconditions)";
    }
528
    /*! Text for the \post command */
529 530 531 532
    QCString trPostcondition()
    {
      return "Naknadni pogoji (posconditions)";
    }
533
    /*! Text for the \invariant command */
534 535 536 537 538 539 540
    QCString trInvariant()
    {
      return "Invarianta";
    }
    /*! Text shown before a multi-line variable/enum initialization */
    QCString trInitialValue()
    {
541
      return "Začetna vrednost / definicija :";
542 543 544 545 546 547 548 549
    }
    /*! Text used the source code in the file index */
    QCString trCode()
    {
      return "koda";
    }
    QCString trGraphicalHierarchy()
    {
550
      return "Hierarhija razredov v grafični obliki";
551 552 553
    }
    QCString trGotoGraphicalHierarchy()
    {
554
      return "Dedovalna hierarhija v grafični obliki";
555 556 557 558 559 560 561 562 563 564 565 566 567
    }
    QCString trGotoTextualHierarchy()
    {
      return "Dedovalna hierarhija v tekstovni obliki";
    }
    QCString trPageIndex()
    {
      return "Indeks strani";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
568

569 570 571 572 573 574 575 576 577 578 579 580 581 582
    QCString trNote()
    {
      return "Opomba";
    }
    QCString trPublicTypes()
    {
      return "Javni tipi";
    }
    QCString trPublicAttribs()
    {
      return "Javni atributi";
    }
    QCString trStaticPublicAttribs()
    {
583
      return "Statični javni atributi";
584 585 586
    }
    QCString trProtectedTypes()
    {
587
      return "Zaščiteni tipi";
588 589 590
    }
    QCString trProtectedAttribs()
    {
591
      return "Zaščiteni atributi";
592 593 594
    }
    QCString trStaticProtectedAttribs()
    {
595
      return "Statični zaščiteni tipi";
596 597 598 599 600 601 602 603 604 605 606
    }
    QCString trPrivateTypes()
    {
      return "Skriti tipi";
    }
    QCString trPrivateAttribs()
    {
      return "Skriti atributi";
    }
    QCString trStaticPrivateAttribs()
    {
607
      return "Statični skriti atributi";
608 609 610 611 612 613
    }
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a marker that is put before a todo item */
614
    virtual QCString trTodo()
615 616 617 618
    {
      return "TODO";
    }
    /*! Used as the header of the todo list */
619
    virtual QCString trTodoList()
620
    {
621
      return "Seznam nedokončanih opravil";
622 623 624 625 626 627
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////

628
    virtual QCString trReferencedBy()
629 630 631
    {
      return "Uporabniki entitete:  ";
    }
632
    virtual QCString trRemarks()
633 634 635
    {
      return "Opomba";
    }
636
    virtual QCString trAttention()
637 638 639
    {
      return "Pozor";
    }
640
    virtual QCString trInclByDepGraph()
641 642
    {
      return "Graf prikazuje datoteke, ki posredno ali neposredno "
643 644 645 646 647 648
             "vključujejo tekočo datoteko. Pravokotniki simbolizirajo datoteke, "
             "puščice pa relacije med datotekami. Tekoča datoteka je prikazana "
	     "kot pravokotnik s črno podlago, ostale pa kot pravokotnik brez podlage. "
	     "Smer puščice A->B definira relacijo \"A vključuje B\". "
	     "Vse datoteke, ki torej mejijo na tekočo (t.j. obstaja povezava med črnim in "
	     "praznim pravokotnikom), jo direktno vključujejo, medtem, ko jo ostale vključujejo "
649 650 651
	     "le posredno. "
	;
    }
652
    virtual QCString trSince()
653 654 655 656
    {
      return "Od";
    }

657 658 659 660 661 662 663 664 665
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////

    /*! title of the graph legend page */
    virtual QCString trLegendTitle()
    {
      return "Legenda grafa";
    }
666
    /*! page explaining how the dot graph's should be interpreted
667 668 669 670
     *  The %A in the text below are to prevent link to classes called "A".
     */
    virtual QCString trLegendDocs()
    {
671 672
      return
        "Tekoča stran pojasnjuje način interpretacije grafov, ki jih izriše "
673 674 675 676 677 678 679 680 681
        "doxygen.<p>\n"
        "Poglejmo si naslednji primer:\n"
        "\\code\n"
        "/*! Nevide razred zaradi rezanja */\n"
        "class Invisible { };\n\n"
        "/*! Odrezan razred, dedovalna relacija je skrita */\n"
        "class Truncated : public Invisible { };\n\n"
        "/* razred, ki ni opisan z doxygen komentarji */\n"
        "class Undocumented { };\n\n"
682
        "/*! Razred, ki ga dedujemo s pomočjo javnega dedovanja */\n"
683
        "class PublicBase : public Truncated { };\n\n"
684 685
        "/*! A template class */\n"
        "template<class T> class Templ { };\n\n"
686
        "/*! Razred, ki ga dedujemo s pomočjo zaščitenega dedovanja */\n"
687
        "class ProtectedBase { };\n\n"
688
        "/*! Razred, ki ga dedujemo s pomočjo skritega dedovanja */\n"
689 690 691 692 693 694 695
        "class PrivateBase { };\n\n"
        "/*! Razred, ki ga uporablja dedovani razred */\n"
        "class Used { };\n\n"
        "/*! Super class that inherits a number of other classes */\n"
        "class Inherited : public PublicBase,\n"
        "                  protected ProtectedBase,\n"
        "                  private PrivateBase,\n"
696 697
        "                  public Undocumented,\n"
        "                  public Templ<int>\n"
698 699 700 701 702 703 704
        "{\n"
        "  private:\n"
        "    Used *m_usedClass;\n"
        "};\n"
        "\\endcode\n"
        "If the \\c MAX_DOT_GRAPH_HEIGHT tag in the configuration file "
        "is set to 200 this will result in the following graph:"
705
        "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732
        "<p>\n"
        "The boxes in the above graph have the following meaning:\n"
        "<ul>\n"
        "<li>%A filled black box represents the struct or class for which the "
        "graph is generated.\n"
        "<li>%A box with a black border denotes a documented struct or class.\n"
        "<li>%A box with a grey border denotes an undocumented struct or class.\n"
        "<li>%A box with a red border denotes a documented struct or class for\n"
        "which not all inheritance/containment relations are shown. %A graph is "
        "truncated if it does not fit within the specified boundaries."
        "</ul>\n"
        "The arrows have the following meaning:\n"
        "<ul>\n"
        "<li>%A dark blue arrow is used to visualize a public inheritance "
        "relation between two classes.\n"
        "<li>%A dark green arrow is used for protected inheritance.\n"
        "<li>%A dark red arrow is used for private inheritance.\n"
        "<li>%A purple dashed arrow is used if a class is contained or used "
        "by another class. The arrow is labeled with the variable(s) "
        "through which the pointed class or struct is accessible. \n"
        "</ul>\n";
    }
    /*! text for the link to the legend page */
    virtual QCString trLegend()
    {
      return "legenda";
    }
733

734 735 736
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
737

738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778
    /*! Used as a marker that is put before a test item */
    virtual QCString trTest()
    {
      return "Test";
    }
    /*! Used as the header of the test list */
    virtual QCString trTestList()
    {
      return "Test List";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////

    /*! Used as a section header for KDE-2 IDL methods */
    virtual QCString trDCOPMethods()
    {
      return "DCOP metode";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////

    /*! Used as a section header for IDL properties */
    virtual QCString trProperties()
    {
      return "IDL Lastnosti";
    }
    /*! Used as a section header for IDL property documentation */
    virtual QCString trPropertyDocumentation()
    {
      return "Opis IDL lastnosti";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////

    /*! Used for Java interfaces in the summary section of Java packages */
779 780 781 782
/*     virtual QCString trInterfaces() */
/*     { */
/*       return "Vmesniki"; */
/*     } */
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815
    /*! Used for Java classes in the summary section of Java packages */
    virtual QCString trClasses()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Podatkovne strukture";
      }
      else
      {
        return "Razredi";
      }
    }
    /*! Used as the title of a Java package */
    virtual QCString trPackage(const char *name)
    {
      return (QCString)"JAVA paket "+name;
    }
    /*! Title of the package index page */
    virtual QCString trPackageList()
    {
      return "Seznam JAVA paketov";
    }
    /*! The description of the package index page */
    virtual QCString trPackageListDescription()
    {
      return "Seznam JAVA paketov in njihovih kratkih opisov v primeru, da obstajajo:";
    }
    /*! The link name in the Quick links header for each page */
    virtual QCString trPackages()
    {
      return "JAVA paketi";
    }
    /*! Used as a chapter title for Latex & RTF output */
816 817 818 819
/*     virtual QCString trPackageDocumentation() */
/*     { */
/*       return "Opisi JAVA paketov"; */
/*     } */
820 821 822 823 824
    /*! Text shown before a multi-line define */
    virtual QCString trDefineValue()
    {
      return "Vrednost:";
    }
825

826 827 828
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
829

830 831 832 833 834 835 836 837 838 839 840 841 842 843 844
    /*! Used as a marker that is put before a \\bug item */
    virtual QCString trBug()
    {
      return "Programska napaka";
    }
    /*! Used as the header of the bug list */
    virtual QCString trBugList()
    {
      return "Seznam programskih napak";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////

845 846 847
    /*! Used as ansicpg for RTF file
     *
     * The following table shows the correlation of Charset name, Charset Value and
848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867
     * <pre>
     * Codepage number:
     * Charset Name       Charset Value(hex)  Codepage number
     * ------------------------------------------------------
     * DEFAULT_CHARSET           1 (x01)
     * SYMBOL_CHARSET            2 (x02)
     * OEM_CHARSET             255 (xFF)
     * ANSI_CHARSET              0 (x00)            1252
     * RUSSIAN_CHARSET         204 (xCC)            1251
     * EE_CHARSET              238 (xEE)            1250
     * GREEK_CHARSET           161 (xA1)            1253
     * TURKISH_CHARSET         162 (xA2)            1254
     * BALTIC_CHARSET          186 (xBA)            1257
     * HEBREW_CHARSET          177 (xB1)            1255
     * ARABIC _CHARSET         178 (xB2)            1256
     * SHIFTJIS_CHARSET        128 (x80)             932
     * HANGEUL_CHARSET         129 (x81)             949
     * GB2313_CHARSET          134 (x86)             936
     * CHINESEBIG5_CHARSET     136 (x88)             950
     * </pre>
868
     *
869 870 871 872 873 874
     */
    virtual QCString trRTFansicp()
    {
      return "1250";
    }

875 876

    /*! Used as ansicpg for RTF fcharset
877 878 879 880 881 882 883 884 885 886 887 888
     *  \see trRTFansicp() for a table of possible values.
     */
    virtual QCString trRTFCharSet()
    {
      return "0";
    }

    /*! Used as header RTF general index */
    virtual QCString trRTFGeneralIndex()
    {
      return "Indeks";
    }
889

890
    /*! This is used for translation of the word that will possibly
891
     *  be followed by a single name or by a list of names
892 893 894
     *  of the category.
     */
    virtual QCString trClass(bool first_capital, bool singular)
895
    {
896 897
      QCString result((first_capital ? "Razred" : "razred"));
      if (!singular)  result+="i";
898
      return result;
899 900 901
    }

    /*! This is used for translation of the word that will possibly
902
     *  be followed by a single name or by a list of names
903 904 905
     *  of the category.
     */
    virtual QCString trFile(bool first_capital, bool singular)
906
    {
907 908 909
      QCString result((first_capital ? "Datotek" : "datotek"));
      if (!singular)  result+="e";
      else result += "a";
910
      return result;
911 912 913
    }

    /*! This is used for translation of the word that will possibly
914
     *  be followed by a single name or by a list of names
915 916 917
     *  of the category.
     */
    virtual QCString trNamespace(bool first_capital, bool singular)
918
    {
919 920
      QCString result((first_capital ? "Imenski prostor" : "imenski prostor"));
      if (!singular)  result+="i";
921
      return result;
922 923 924
    }

    /*! This is used for translation of the word that will possibly
925
     *  be followed by a single name or by a list of names
926 927 928
     *  of the category.
     */
    virtual QCString trGroup(bool first_capital, bool singular)
929
    {
930 931
      QCString result((first_capital ? "Skupina" : "skupina"));
      if (!singular)  result+="s";
932
      return result;
933 934 935
    }

    /*! This is used for translation of the word that will possibly
936
     *  be followed by a single name or by a list of names
937 938 939
     *  of the category.
     */
    virtual QCString trPage(bool first_capital, bool singular)
940
    {
941 942
      QCString result((first_capital ? "Stran" : "stran"));
      if (!singular)  result+="i";
943
      return result;
944 945 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
948 949 950
     *  of the category.
     */
    virtual QCString trMember(bool first_capital, bool singular)
951
    {
952 953
      QCString result((first_capital ? "Element" : "element"));
      if (!singular)  result+="i";
954
      return result;
955
    }
956

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
959 960
     *  of the category.
     */
961 962 963 964 965 966 967
/*     virtual QCString trField(bool first_capital, bool singular) */
/*     {  */
/*       QCString result((first_capital ? "Polj" : "polj")); */
/*       if (!singular)  result+="a"; */
/*       else result += "e"; */
/*       return result;  */
/*     } */
968 969

    /*! This is used for translation of the word that will possibly
970
     *  be followed by a single name or by a list of names
971 972 973
     *  of the category.
     */
    virtual QCString trGlobal(bool first_capital, bool singular)
974
    {
975 976
      QCString result((first_capital ? "Global" : "global"));
      if (!singular)  result+="s";
977
      return result;
978 979 980 981 982 983 984 985 986
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.7
//////////////////////////////////////////////////////////////////////////

    /*! This text is generated when the \\author command is used and
     *  for the author section in man pages. */
    virtual QCString trAuthor(bool first_capital, bool singular)
987
    {
988 989
      QCString result((first_capital ? "Avtor" : "avtor"));
      if (!singular)  result+="ji";
990
      return result;
991
    }
992 993 994
//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////
995

996 997 998 999 1000 1001
    /*! This text is put before the list of members referenced by a member
     */
    virtual QCString trReferences()
    {
      return "Reference";
    }
1002 1003 1004 1005
//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////

1006
    /*! used in member documentation blocks to produce a list of
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
     *  members that are implemented by this one.
     */
    virtual QCString trImplementedFromList(int numEntries)
    {
      return "Implementira "+trWriteList(numEntries)+".";
    }

    /*! used in member documentation blocks to produce a list of
     *  all members that implement this abstract member.
     */
    virtual QCString trImplementedInList(int numEntries)
    {
      return "Implementirano v "+trWriteList(numEntries)+".";
    }

1022 1023 1024
//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////
1025

1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037
    /*! used in RTF documentation as a heading for the Table
     *  of Contents.
     */
    virtual QCString trRTFTableOfContents()
    {
      return "Vsebina";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////

1038 1039
    /*! Used as the header of the list of item that have been
     *  flagged deprecated
1040 1041 1042 1043 1044 1045 1046 1047 1048 1049
     */
    virtual QCString trDeprecatedList()
    {
      return "Seznam opuščenih";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.18
//////////////////////////////////////////////////////////////////////////

1050
    /*! Used as a header for declaration section of the events found in
1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
     * a C# program
     */
    virtual QCString trEvents()
    {
      return "Dogodki";
    }
    /*! Header used for the documentation section of a class' events. */
    virtual QCString trEventDocumentation()
    {
      return "Opisi dogodkov";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a heading for a list of Java class types with package scope.
     */
    virtual QCString trPackageTypes()
1070
    {
1071 1072
      return "Tipi paketov";
    }
1073 1074
    /*! Used as a heading for a list of Java class functions with package
     * scope.
1075 1076
     */
    virtual QCString trPackageMembers()
1077
    {
1078 1079
      return "Funkcije paketa";   /* don't know the context */
    }
1080
    /*! Used as a heading for a list of static Java class functions with
1081 1082 1083
     *  package scope.
     */
    virtual QCString trStaticPackageMembers()
1084
    {
1085 1086
      return "Statične funkcije paketa";
    }
1087
    /*! Used as a heading for a list of Java class variables with package
1088 1089 1090
     * scope.
     */
    virtual QCString trPackageAttribs()
1091
    {
1092 1093
      return "Atributi paketa";
    }
1094
    /*! Used as a heading for a list of static Java class variables with
1095 1096 1097
     * package scope.
     */
    virtual QCString trStaticPackageAttribs()
1098
    {
1099 1100
      return "Statični atributi paketa";
    }
1101

1102 1103 1104 1105
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////

1106
    /*! Used in the quick index of a class/file/namespace member list page
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122
     *  to link to the unfiltered list of all members.
     */
    virtual QCString trAll()
    {
      return "Vse";
    }
    /*! Put in front of the call graph for a function. */
    virtual QCString trCallGraph()
    {
      return "Graf klicev tekoče funkcije:";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////

1123 1124 1125
    /*! When the search engine is enabled this text is put in the header
     *  of each page before the field where one can enter the text to search
     *  for.
1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141
     */
    virtual QCString trSearchForIndex()
    {
      return "Išči";
    }
    /*! This string is used as the title for the page listing the search
     *  results.
     */
    virtual QCString trSearchResultsTitle()
    {
      return "Rezultat(i) iskanja";
    }
    /*! This string is put just before listing the search results. The
     *  text can be different depending on the number of documents found.
     *  Inside the text you can put the special marker $num to insert
     *  the number representing the actual number of search results.
1142
     *  The @a numDocuments parameter can be either 0, 1 or 2, where the
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159
     *  value 2 represents 2 or more matches. HTML markup is allowed inside
     *  the returned string.
     */
    virtual QCString trSearchResults(int numDocuments)
    {
      if (numDocuments==0)
      {
        return "Oprostite, noben dokument ne ustreza vašemu povpraševanju.";
      }
      else if (numDocuments==1)
      {
        return "Našel sem <b>1</b> dokument, ki ustreza vašemu povpraševanju.";
      }
      else if (numDocuments==2)
      {
        return "Našel sem <b>2</b> dokumenta, ki ustrezata vašemu povpraševanju.";
      }
1160
      else
1161 1162 1163 1164 1165
      {
        return "Našel sem <b>$num</b> dokumentov, ki ustrezajo vašemu povpraševanju. "
               "Dokumenti z najboljšo stopnjo ujemanja se nahajajo na začetku.";
      }
    }
1166
    /*! This string is put before the list of matched words, for each search
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176
     *  result. What follows is the list of words that matched the query.
     */
    virtual QCString trSearchMatches()
    {
      return "Zadetki:";
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3.8
//////////////////////////////////////////////////////////////////////////
1177

1178 1179 1180 1181 1182 1183
    /*! This is used in HTML as the title of page with source code for file filename
     */
    virtual QCString trSourceFile(QCString& filename)
    {
      return filename + " izvorna koda";
    }
1184

1185 1186 1187
//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////
1188

1189 1190 1191 1192 1193
    /*! This is used as the name of the chapter containing the directory
     *  hierarchy.
     */
    virtual QCString trDirIndex()
    { return "Hierarhija imenikov"; }
1194

1195 1196 1197 1198 1199
    /*! This is used as the name of the chapter containing the documentation
     *  of the directories.
     */
    virtual QCString trDirDocumentation()
    { return "Opisi imenikov"; }
1200

1201 1202 1203 1204 1205
    /*! This is used as the title of the directory index and also in the
     *  Quick links of an HTML page, to link to the directory hierarchy.
     */
    virtual QCString trDirectories()
    { return "Imeniki"; }
1206

1207
    /*! This returns a sentences that introduces the directory hierarchy.
1208 1209 1210 1211 1212
     *  and the fact that it is sorted alphabetically per level
     */
    virtual QCString trDirDescription()
    { return "Imeniška hierarhija je urejena v glavnem, toda ne popolnoma, po abecedi, ";
    }
1213

1214 1215 1216 1217
    /*! This returns the title of a directory page. The name of the
     *  directory is passed via \a dirName.
     */
    virtual QCString trDirReference(const char *dirName)
1218
    { QCString result=dirName;
1219
      result+=" imeniške reference"; /* not sure for context */
1220
      return result;
1221
    }
1222

1223 1224 1225 1226
    /*! This returns the word directory with or without starting capital
     *  (\a first_capital) and in sigular or plural form (\a singular).
     */
    virtual QCString trDir(bool first_capital, bool singular)
1227
    {
1228 1229
      QCString result((first_capital ? "Imenik" : "imenik"));
      if (singular) result+="i"; else result+="";
1230
      return result;
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////

    /*! This text is added to the documentation when the \\overload command
     *  is used for a overloaded function.
     */
    virtual QCString trOverloadText()
    {
      return "To je ponovno definirana metoda, " /* don't know Slovene expresion for overloaded */
             "podana je zaradi priročnosti. Metoda se od predhodnje razlikuje "
             "samo v številu in/ali tipu formalnih argumentov.";
    }
};

#endif