translator_fi.h 72.5 KB
Newer Older
mueller's avatar
mueller committed
1 2
/******************************************************************************
 *
dimitri's avatar
dimitri committed
3
 * 
mueller's avatar
mueller committed
4
 *
dimitri's avatar
dimitri committed
5
 * Copyright (C) 1997-2011 by Dimitri van Heesch.
mueller's avatar
mueller committed
6 7 8 9 10 11 12
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation under the terms of the GNU General Public License is hereby 
 * granted. No representations are made about the suitability of this software 
 * for any purpose. It is provided "as is" without express or implied warranty.
 * See the GNU General Public License for more details.
 *
dimitri's avatar
dimitri committed
13 14
 * Documents produced by Doxygen are derivative works derived from the
 * input used in their production; they are not affected by this license.
mueller's avatar
mueller committed
15 16 17 18
 *
 */
/*
==================================================================================
dimitri's avatar
dimitri committed
19
Suomenkielinen käännös:
dimitri's avatar
dimitri committed
20 21
Olli Korhonen ( -> 0.49-990425)     <olli.korhonen@ccc.fi>
Antti Laine   (0.49-990425 -> )     <antti.a.laine@tut.fi>
mueller's avatar
mueller committed
22 23
==================================================================================
1999/10/19
dimitri's avatar
dimitri committed
24 25 26 27 28 29 30 31 32 33 34
*  Alustava käännös valmis.

*  Huom: Kaikille termeille on keksitty käännösvastine, mikä ei ehkä ole 
         kaikissa tapauksissa hyvä ratkaisu, ja parempikin termi voi 
         olla vakiintuneessa käytössä.

2008-04-08
* Käännetty versioon 1.5.5 asti.
2008-08-26
* MAX_DOT_GRAPH_HEIGHT poistettu, versio 1.5.6
* Tekstit muutettu UTF-8:ksi
dimitri's avatar
dimitri committed
35 36 37 38 39 40
2009-01-17
* versio 1.5.8
* Kantaluokka vaihdettu TranslatorEnglishistä Translatoriksi
* Enumeraatio -> luettelotyyppi
* Paranneltu kieltä ja poistettu kirjoitusvirheitä

dimitri's avatar
dimitri committed
41 42 43
* Tehtävää: 
        - Termien kokoaminen listaksi ja suomennosten järkevyyden tarkastelu. (lista on jo melko kattava)
                Author          = Tekijä
dimitri's avatar
dimitri committed
44
                Class           = Luokka
dimitri's avatar
dimitri committed
45
                Compound        = Kooste
dimitri's avatar
dimitri committed
46 47
                Data            = Data
                Documentation   = Dokumentaatio
dimitri's avatar
dimitri committed
48
                Defines         = Määrittelyt
dimitri's avatar
dimitri committed
49 50
                Description     = Selite
                Detailed        = Yksityiskohtainen
dimitri's avatar
dimitri committed
51
                Diagram         = Kaavio
dimitri's avatar
dimitri committed
52
                Enum            = Luettelotyyppi
dimitri's avatar
dimitri committed
53 54
                Exceptions      = Poikkeukset
                File            = Tiedosto
dimitri's avatar
dimitri committed
55
                Friends         = Ystävät
dimitri's avatar
dimitri committed
56 57 58 59
                Functions       = Funktiot
                Hierarchical    = Hierarkinen
                Index           = Indeksi
                Inherits        = Perii
dimitri's avatar
dimitri committed
60
                Member          = Jäsen
dimitri's avatar
dimitri committed
61
                Module          = Moduli
dimitri's avatar
dimitri committed
62
                Namespace       = Nimiavaruus
dimitri's avatar
dimitri committed
63 64 65 66 67
                Parameters      = Parametrit
                Private         = Yksityinen
                Protected       = Suojattu
                Prototypes      = Prototyypit
                Public          = Julkinen
dimitri's avatar
dimitri committed
68
                Reference Manual= Käsikirja
dimitri's avatar
dimitri committed
69
                Reimplemented   = Uudelleen toteutettu
dimitri's avatar
dimitri committed
70
                Related         = Liittyvä
dimitri's avatar
dimitri committed
71 72
                Signals         = Signaalit
                Slots           = Vastineet
dimitri's avatar
dimitri committed
73
                Static          = Staattinen
dimitri's avatar
dimitri committed
74
                Struct          = Tietue
dimitri's avatar
dimitri committed
75
                Typedef         = Tyyppimäärittely
dimitri's avatar
dimitri committed
76
                Union           = Yhdiste
dimitri's avatar
dimitri committed
77
                Variables       = Muuttujat
dimitri's avatar
dimitri committed
78 79 80
        - Taivutusmuotojen virheettömyyden tarkastelu prepositioiden korvauskohdissa.
        - Sanasta sanaan käännöskohtien mielekkyyden tarkastelu valmiista dokumentista.
        - umlaut vastineiden käyttö scandien kohdalla.
mueller's avatar
mueller committed
81 82 83 84 85

positiiviset kommentit otetaan ilolla vastaan.
===================================================================================
*/

dimitri's avatar
dimitri committed
86 87
#ifndef TRANSLATOR_FI_H
#define TRANSLATOR_FI_H
mueller's avatar
mueller committed
88

dimitri's avatar
dimitri committed
89
class TranslatorFinnish : public TranslatorAdapter_1_6_0
mueller's avatar
mueller committed
90 91
{
  public:
dimitri's avatar
dimitri committed
92 93 94 95
    /*! This method is used to generate a warning message to signal
     *  the user that the translation of his/her language of choice
     *  needs updating.
     */
dimitri's avatar
dimitri committed
96
    /*virtual QCString updateNeededMessage()
dimitri's avatar
dimitri committed
97 98 99 100
    {
      return "Warning: The Finnish translator is really obsolete.\n"
             "It was not updated since version 1.0.0.  As a result,\n"
             "some sentences may appear in English.\n\n";
dimitri's avatar
dimitri committed
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
    }*/
    
    // --- Language control methods -------------------
    
    /*! Used for identification of the language. The identification 
     * should not be translated. It should be replaced by the name 
     * of the language in English using lower-case characters only
     * (e.g. "czech", "japanese", "russian", etc.). It should be equal to 
     * the identification used in language.cpp.
     */
    virtual QCString idLanguage()
    { return "finnish"; }

    /*! Used to get the LaTeX command(s) for the language support. 
     *  This method should return string with commands that switch
     *  LaTeX to the desired language.  For example 
     *  <pre>"\\usepackage[german]{babel}\n"
     *  </pre>
     *  or
     *  <pre>"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  </pre>
     * 
     * The English LaTeX does not use such commands.  Because of this
     * the empty string is returned in this implementation.
     */
    virtual QCString latexLanguageSupportCommand()
    {
      return "\\usepackage[finnish]{babel}\n";
dimitri's avatar
dimitri committed
131 132
    }

dimitri's avatar
dimitri committed
133 134 135
    /*! return the language charset. This will be used for the HTML output */
    virtual QCString idLanguageCharset()
    {
dimitri's avatar
dimitri committed
136
      return "utf-8";
dimitri's avatar
dimitri committed
137 138 139
    }

    // --- Language translation methods -------------------
mueller's avatar
mueller committed
140

dimitri's avatar
dimitri committed
141 142
    /*! used in the compound documentation before a list of related functions. */
    virtual QCString trRelatedFunctions()
dimitri's avatar
dimitri committed
143
    { return "Liittyvät funktiot"; } // "Related Functions";
mueller's avatar
mueller committed
144

dimitri's avatar
dimitri committed
145 146
    /*! subscript for the related functions. */
    virtual QCString trRelatedSubscript()
dimitri's avatar
dimitri committed
147
    { return "(Huomaa, että nämä eivät ole jäsenfunktioita.)"; } // "(Note that these are not member functions.)"
mueller's avatar
mueller committed
148

dimitri's avatar
dimitri committed
149 150 151
    /*! header that is put before the detailed description of files, classes and namespaces. */
    virtual QCString trDetailedDescription()
    { return "Yksityiskohtainen selite"; } // "Detailed Description"
mueller's avatar
mueller committed
152

dimitri's avatar
dimitri committed
153 154
    /*! header that is put before the list of typedefs. */
    virtual QCString trMemberTypedefDocumentation()
mueller's avatar
mueller committed
155
      // header that is put before the list of typedefs.
dimitri's avatar
dimitri committed
156
    { return "Jäsentyyppimäärittelyiden dokumentaatio"; } // "Member Typedef Documentation"
mueller's avatar
mueller committed
157

dimitri's avatar
dimitri committed
158 159
    /*! header that is put before the list of enumerations. */
    virtual QCString trMemberEnumerationDocumentation()
dimitri's avatar
dimitri committed
160
    { return "Jäsenluettelotyyppien dokumentaatio"; } // "Member Enumeration Documentation"
mueller's avatar
mueller committed
161

dimitri's avatar
dimitri committed
162 163
    /*! header that is put before the list of member functions. */
    virtual QCString trMemberFunctionDocumentation()
dimitri's avatar
dimitri committed
164
    { return "Jäsenfunktioiden dokumentaatio"; } // "Member Function Documentation"
mueller's avatar
mueller committed
165

dimitri's avatar
dimitri committed
166 167 168 169 170 171 172 173 174
    /*! header that is put before the list of member attributes. */
    virtual QCString trMemberDataDocumentation()
    { 
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Kenttien dokumentaatio"; // "Field Documentation"; 
      }
      else
      {
dimitri's avatar
dimitri committed
175
        return "Jäsendatan dokumentaatio"; // "Member Data Documentation"
dimitri's avatar
dimitri committed
176 177
      }
    }
mueller's avatar
mueller committed
178

dimitri's avatar
dimitri committed
179 180
    /*! this is the text of a link put after brief descriptions. */
    virtual QCString trMore()
dimitri's avatar
dimitri committed
181
    { return "Lisää..."; } // "More..."
mueller's avatar
mueller committed
182

dimitri's avatar
dimitri committed
183 184
     /*! put in the class documentation */
    virtual QCString trListOfAllMembers()
dimitri's avatar
dimitri committed
185
    { return "Lista kaikista jäsenistä."; } // "List of all members."
dimitri's avatar
dimitri committed
186
    virtual QCString trMemberList()
mueller's avatar
mueller committed
187

dimitri's avatar
dimitri committed
188
    /*! used as the title of the "list of all members" page of a class */
dimitri's avatar
dimitri committed
189
    { return "Jäsenlista"; } // "Member List"
mueller's avatar
mueller committed
190

dimitri's avatar
dimitri committed
191 192
    /*! this is the first part of a sentence that is followed by a class name */
    virtual QCString trThisIsTheListOfAllMembers()
dimitri's avatar
dimitri committed
193
    { return "Tämä on lista kaikista jäsenistä luokassa "; } // "This is the complete list of members for "
dimitri's avatar
dimitri committed
194 195 196

    /*! this is the remainder of the sentence after the class name */
    virtual QCString trIncludingInheritedMembers()
dimitri's avatar
dimitri committed
197
    { return ", sisältäen kaikki perityt jäsenet."; } // ", including all inherited members."
dimitri's avatar
dimitri committed
198 199 200 201 202

    /*! this is put at the author sections at the bottom of man pages.
     *  parameter s is name of the project name.
     */
    virtual QCString trGeneratedAutomatically(const char *s)
dimitri's avatar
dimitri committed
203
    { QCString result=(QCString)"Automaattisesti luotu Doxygenilla "
dimitri's avatar
dimitri committed
204
                      "lähdekoodista projektille "+s; // "Generated automatically by Doxygen" ... "for" ... "from the sourcecode"
mueller's avatar
mueller committed
205
      //if (s) result+=(QCString)" voor "+s;
dimitri's avatar
dimitri committed
206 207 208
      // tässä on ongelma, kuinka taivuttaa parametria, esim. "Jcad"+"in"; "IFC2VRML konversio"+"n"
      // mutta ratkaistaan ongelma kätevästi kaksoispisteellä -> "Jcad:n" / "IFC2VRML konversio:n"
      // lopputulos on vähemmän kökkö ja täysin luettava, mutta ei kuitenkaan täydellinen.
dimitri's avatar
dimitri committed
209
      //
dimitri's avatar
dimitri committed
210
      // kierretään ongelma taivuttamalla sanaa projekti :)
mueller's avatar
mueller committed
211 212 213
      return result;
    }

dimitri's avatar
dimitri committed
214 215
    /*! put after an enum name in the list of all members */
    virtual QCString trEnumName()
dimitri's avatar
dimitri committed
216
    { return "luettelotyypin nimi"; } // "enum name"
mueller's avatar
mueller committed
217

dimitri's avatar
dimitri committed
218 219
    /*! put after an enum value in the list of all members */
    virtual QCString trEnumValue()
dimitri's avatar
dimitri committed
220
    { return "luettelotyypin arvo"; } // "enum value"
mueller's avatar
mueller committed
221

dimitri's avatar
dimitri committed
222 223
    /*! put after an undocumented member in the list of all members */
    virtual QCString trDefinedIn()
dimitri's avatar
dimitri committed
224
    { return "määritelty"; } // "defined in"
mueller's avatar
mueller committed
225 226

    // quick reference sections
dimitri's avatar
dimitri committed
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259

    /*! This is put above each page as a link to the list of all groups of 
     *  compounds or files (see the \\group command).
     */
    virtual QCString trModules()
    { return "Moduulit"; } // "Modules"
    
    /*! This is put above each page as a link to the class hierarchy */
    virtual QCString trClassHierarchy()
    { return "Luokkahierarkia"; } // "Class Hierarchy"
   
    /*! This is put above each page as a link to the list of annotated classes */ 
    virtual QCString trCompoundList()
    { 
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Tietueet"; // "Data Structures"
      }
      else
      {
        return "Luokkalista"; // "Class List"
      }
    }

    /*! This is put above each page as a link to the list of documented files */
    virtual QCString trFileList()
    { return "Tiedostolista"; } // "File List"
   
    /*! This is put above each page as a link to all members of compounds. */ 
    virtual QCString trCompoundMembers()
    { 
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
dimitri's avatar
dimitri committed
260
        return "Tietueen kentät"; // "Data Fields" 
dimitri's avatar
dimitri committed
261 262 263
      }
      else
      {
dimitri's avatar
dimitri committed
264
        return "Luokan jäsenet"; // "Class Members"
dimitri's avatar
dimitri committed
265 266 267 268 269 270 271 272 273 274 275 276
      }
    }
    
    /*! This is put above each page as a link to all members of files. */
    virtual QCString trFileMembers()
    { 
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Globaalit"; // "Globals" 
      }
      else
      {
dimitri's avatar
dimitri committed
277
        return "Tiedoston jäsenet"; // "File Members"
dimitri's avatar
dimitri committed
278 279 280 281 282
      }
    }

    /*! This is put above each page as a link to all related pages. */
    virtual QCString trRelatedPages()
dimitri's avatar
dimitri committed
283
    { return "Liittyvät sivut"; } // "Related Pages"
dimitri's avatar
dimitri committed
284 285 286
   
    /*! This is put above each page as a link to all examples. */ 
    virtual QCString trExamples()
mueller's avatar
mueller committed
287
    { return "Esimerkit"; } // "Examples"
dimitri's avatar
dimitri committed
288 289 290
   
    /*! This is put above each page as a link to the search engine. */ 
    virtual QCString trSearch()
mueller's avatar
mueller committed
291
    { return "Etsi"; } // "Search"
dimitri's avatar
dimitri committed
292 293 294
   
    /*! This is an introduction to the class hierarchy. */ 
    virtual QCString trClassHierarchyDescription()
dimitri's avatar
dimitri committed
295 296
    { return "Tämä periytymislista on päätasoltaan aakkostettu " // "This inheritance list is sorted roughly, "
             "mutta alijäsenet on aakkostettu itsenäisesti:"; // "but not completely, alphabetically:";
mueller's avatar
mueller committed
297
    }
dimitri's avatar
dimitri committed
298 299 300

    /*! This is an introduction to the list with all files. */
    virtual QCString trFileListDescription(bool extractAll)
mueller's avatar
mueller committed
301
    {
dimitri's avatar
dimitri committed
302
      QCString result="Tässä on lista kaikista ";
mueller's avatar
mueller committed
303
      if (!extractAll) result+="dokumentoiduista "; // "documented "
dimitri's avatar
dimitri committed
304
      result+="tiedostoista lyhyen selitteen kanssa:"; // "files with brief descriptions:"
mueller's avatar
mueller committed
305 306
      return result;
    }
dimitri's avatar
dimitri committed
307 308 309 310 311 312 313
    
    /*! This is an introduction to the annotated compound list. */
    virtual QCString trCompoundListDescription()
    {
    
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
dimitri's avatar
dimitri committed
314
        return "Tässä ovat tietueet lyhyen selitteen kanssa:"; // "Here are the data structures with brief descriptions:"
dimitri's avatar
dimitri committed
315 316 317
      }
      else
      {
dimitri's avatar
dimitri committed
318
        return "Tässä ovat luokat, tietueet ja " // "Here are the classes, structs and "
dimitri's avatar
dimitri committed
319
             "yhdisteet lyhyen selitteen kanssa:"; // "unions with brief descriptions:"
dimitri's avatar
dimitri committed
320
      }
mueller's avatar
mueller committed
321
    }
dimitri's avatar
dimitri committed
322 323 324
    
    /*! This is an introduction to the page with all class members. */
    virtual QCString trCompoundMembersDescription(bool extractAll)
mueller's avatar
mueller committed
325
    {
dimitri's avatar
dimitri committed
326
      QCString result="Tässä on lista kaikista "; // "Here is a list of all "
dimitri's avatar
dimitri committed
327 328 329 330 331 332
      if (!extractAll)
      {
        result+="dokumentoiduista "; // "documented "
      }
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
dimitri's avatar
dimitri committed
333
        result+="tietuiden ja yhdisteiden kentistä"; // "struct and union fields"
dimitri's avatar
dimitri committed
334 335 336
      }
      else
      {
dimitri's avatar
dimitri committed
337
        result+="luokkien jäsenistä"; // "class members"
dimitri's avatar
dimitri committed
338
      }
dimitri's avatar
dimitri committed
339
      result+=" linkitettyinä "; // " with links to "
dimitri's avatar
dimitri committed
340
      if (!extractAll) 
dimitri's avatar
dimitri committed
341 342 343
      {
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
        {
dimitri's avatar
dimitri committed
344
          result+="jokaisen kentän tietueen/yhdisteen dokumentaatioon:"; // "the struct/union documentation for each field:"
dimitri's avatar
dimitri committed
345 346 347
        }
        else
        {
dimitri's avatar
dimitri committed
348
          result+="jokaisen jäsenen luokkadokumentaatioon:"; // "the class documentation for each member:"
dimitri's avatar
dimitri committed
349 350
        }
      }
mueller's avatar
mueller committed
351
      else 
dimitri's avatar
dimitri committed
352 353 354 355 356 357 358 359 360 361
      {
        if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
        {
          result+= "tietueisiin/yhdisteisiin, joihin ne kuuluvat:"; // "the structures/unions they belong to:"
        }
        else
        {
          result+="luokkiin, joihin ne kuuluvat"; //"the classes they belong to:"
        }
      }
mueller's avatar
mueller committed
362 363
      return result;
    }
dimitri's avatar
dimitri committed
364 365 366

    /*! This is an introduction to the page with all file members. */
    virtual QCString trFileMembersDescription(bool extractAll)
mueller's avatar
mueller committed
367
    {
dimitri's avatar
dimitri committed
368
      QCString result="Tässä on lista kaikista "; // "Here is a list of all "
dimitri's avatar
dimitri committed
369 370 371 372
      if (!extractAll) result+="dokumentoiduista "; // "documented "
      
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
dimitri's avatar
dimitri committed
373
        result+="funktioista, muuttujista, määrittelyistä, luettelotyypeistä ja tyyppimäärittelyistä"; // "functions, variables, defines, enums, and typedefs"
dimitri's avatar
dimitri committed
374 375 376
      }
      else
      {
dimitri's avatar
dimitri committed
377
        result+="tiedoston jäsenistä"; // "file members"
dimitri's avatar
dimitri committed
378
      }
dimitri's avatar
dimitri committed
379
      result+=" linkitettyinä "; // " with links to "
mueller's avatar
mueller committed
380
      if (extractAll) 
dimitri's avatar
dimitri committed
381
        result+="tiedostoihin, joihin ne kuuluvat:"; // "the files they belong to:"
mueller's avatar
mueller committed
382
      else 
dimitri's avatar
dimitri committed
383
        result+="dokumentaatioon:"; // "the documentation:"
mueller's avatar
mueller committed
384 385
      return result;
    }
dimitri's avatar
dimitri committed
386 387 388
    
    /*! This is an introduction to the page with the list of all examples */
    virtual QCString trExamplesDescription()
dimitri's avatar
dimitri committed
389
    { return "Tässä on lista kaikista esimerkeistä:"; } //  "Here is a list of all examples:"
dimitri's avatar
dimitri committed
390 391 392
   
    /*! This is an introduction to the page with the list of related pages */ 
    virtual QCString trRelatedPagesDescription()
dimitri's avatar
dimitri committed
393
    { return "Tässä on lista kaikista liittyvistä dokumentaatiosivuista:"; } // "Here is a list of all related documentation pages:"
dimitri's avatar
dimitri committed
394 395 396
   
    /*! This is an introduction to the page with the list of class/file groups */ 
    virtual QCString trModulesDescription()
dimitri's avatar
dimitri committed
397
    { return "Tässä on lista kaikista moduleista:"; } // "Here is a list of all modules:"
dimitri's avatar
dimitri committed
398
    
mueller's avatar
mueller committed
399
    // index titles (the project name is prepended for these) 
dimitri's avatar
dimitri committed
400 401 402
    
    /*! This is used in HTML as the title of index.html. */
    virtual QCString trDocumentation()
mueller's avatar
mueller committed
403
    { return "Dokumentaatio"; } // "Documentation"
dimitri's avatar
dimitri committed
404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 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 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478
    
    /*! This is used in LaTeX as the title of the chapter with the 
     * index of all groups.
     */
    virtual QCString trModuleIndex()
    { return "Moduuliluettelo"; } // "Module Index"
    
    /*! This is used in LaTeX as the title of the chapter with the 
     * class hierarchy.
     */
    virtual QCString trHierarchicalIndex()
    { return "Hierarkinen luettelo"; } // "Hierarchical Index"
    
    /*! This is used in LaTeX as the title of the chapter with the 
     * annotated compound index.
     */
    virtual QCString trCompoundIndex()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      { 
        return "Tietueluettelo"; // "Data Structure Index"
      }
      else
      {
        return "Luokkaluettelo"; // "Class Index"
      }
    }
    
    /*! This is used in LaTeX as the title of the chapter with the
     * list of all files.
     */
    virtual QCString trFileIndex() 
    { return "Tiedostoluettelo"; } // "File Index"
    
    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all groups.
     */
    virtual QCString trModuleDocumentation()
    { return "Moduulien dokumentaatio"; } // "Module Documentation"
    
    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all classes, structs and unions.
     */
    virtual QCString trClassDocumentation()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Tietueiden dokumentaatio"; // "Data Structure Documentation"
      }
      else
      {
        return "Luokkien dokumentaatio"; // "Class Documentation"
      }
    }

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all files.
     */
    virtual QCString trFileDocumentation()
    { return "Tiedostojen dokumentaatio"; } // "File Documentation"
    
    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all examples.
     */
    virtual QCString trExampleDocumentation()
    { return "Esimerkkien dokumentaatio"; } // "Example Documentation"
    
    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all related pages.
     */
    virtual QCString trPageDocumentation()
    { return "Sivujen dokumentaatio"; } // "Page Documentation"
    
    /*! This is used in LaTeX as the title of the document */
    virtual QCString trReferenceManual()
dimitri's avatar
dimitri committed
479
    { return "Käsikirja"; } // "Reference Manual"
mueller's avatar
mueller committed
480

dimitri's avatar
dimitri committed
481 482 483 484
    /*! This is used in the documentation of a file as a header before the 
     *  list of defines
     */
    virtual QCString trDefines()
dimitri's avatar
dimitri committed
485
    { return "Määrittelyt"; } // "Defines"
dimitri's avatar
dimitri committed
486 487 488 489 490 491 492 493 494 495 496
    
    /*! This is used in the documentation of a file as a header before the 
     *  list of function prototypes
     */
    virtual QCString trFuncProtos()
    { return "Funktioiden prototyypit"; } // "Function Prototypes"
    
    /*! This is used in the documentation of a file as a header before the 
     *  list of typedefs
     */
    virtual QCString trTypedefs()
dimitri's avatar
dimitri committed
497
    { return "Tyyppimäärittelyt"; } // "Typedefs"
dimitri's avatar
dimitri committed
498 499 500 501 502 503 504 505 506 507 508
    
    /*! This is used in the documentation of a file as a header before the 
     *  list of enumerations
     */
    virtual QCString trEnumerations()
    { return "Luettelotyypit"; } // "Enumerations"
    
    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) functions
     */
    virtual QCString trFunctions()
mueller's avatar
mueller committed
509
    { return "Funktiot"; } // "Functions"
dimitri's avatar
dimitri committed
510 511 512 513 514
    
    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) variables
     */
    virtual QCString trVariables()
mueller's avatar
mueller committed
515
    { return "Muuttujat"; } // "Variables"
dimitri's avatar
dimitri committed
516 517 518 519 520 521 522 523 524 525 526
    
    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) variables
     */
    virtual QCString trEnumerationValues()
    { return "Luettelotyyppien arvot"; } // "Enumerator"

    /*! This is used in the documentation of a file before the list of
     *  documentation blocks for defines
     */
    virtual QCString trDefineDocumentation()
dimitri's avatar
dimitri committed
527
    { return "Määritysten dokumentointi"; } // "Define Documentation"
dimitri's avatar
dimitri committed
528 529 530 531 532 533 534 535 536 537 538
    
    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for function prototypes
     */
    virtual QCString trFunctionPrototypeDocumentation()
    { return "Funktioprototyyppien dokumentaatio"; } // "Function Prototype Documentation"
    
    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for typedefs
     */
    virtual QCString trTypedefDocumentation()
dimitri's avatar
dimitri committed
539
    { return "Tyyppimääritysten dokumentaatio"; } // "Typedef Documentation"
dimitri's avatar
dimitri committed
540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
    
    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for enumeration types
     */
    virtual QCString trEnumerationTypeDocumentation()
    { return "Luettelotyyppien dokumentaatio"; } // "Enumeration Type Documentation"
    
    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for functions
     */
    virtual QCString trFunctionDocumentation()
    { return "Funktioiden dokumentaatio"; } // "Function Documentation"
    
    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for variables
     */
    virtual QCString trVariableDocumentation()
    { return "Muuttujien dokumentaatio"; } // "Variable Documentation"
    
    /*! This is used in the documentation of a file/namespace/group before 
     *  the list of links to documented compounds
     */
    virtual QCString trCompounds()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Tietueet"; // "Data Structures"
      }
      else
      {
        return "Luokat"; // "Classes"
      }
    }
    
    /*! This is used in the standard footer of each page and indicates when 
     *  the page was generated 
     */
    virtual QCString trGeneratedAt(const char *date,const char *projName)
mueller's avatar
mueller committed
578
    { 
dimitri's avatar
dimitri committed
579
        // funktio on hiukan vaikea kääntää prepositioihin sidotun rakenteen vuoksi.
dimitri's avatar
dimitri committed
580 581 582 583 584 585
        // Muutetaan siis lauserakennetta suomalaisemmaksi
        // Generated on $date for $project by:
        // -> Generated for $project on $date by:
      QCString result=(QCString)"Generoinut ";
      if (projName) result+=(QCString)"projektille "+projName+" ";
      result+=(QCString)date+" ";
mueller's avatar
mueller committed
586 587
      return result;
    }
dimitri's avatar
dimitri committed
588 589 590
    /*! This is part of the sentence used in the standard footer of each page.
     */
    virtual QCString trWrittenBy()
mueller's avatar
mueller committed
591 592 593
    {
      return "kirjoittanut"; // "written by"
    }
dimitri's avatar
dimitri committed
594 595 596

    /*! this text is put before a class diagram */
    virtual QCString trClassDiagram(const char *clName)
mueller's avatar
mueller committed
597
    {
dimitri's avatar
dimitri committed
598
      return "Luokan "+(QCString)clName+" luokkakaavio"; // "Inheritance diagram for "
mueller's avatar
mueller committed
599 600
    }

dimitri's avatar
dimitri committed
601 602
    /*! this text is generated when the \\internal command is used. */
    virtual QCString trForInternalUseOnly()
dimitri's avatar
dimitri committed
603
    { return "Vain sisäiseen käyttöön."; } // "For internal use only."
dimitri's avatar
dimitri committed
604 605 606
    
    /*! this text is generated when the \\warning command is used. */
    virtual QCString trWarning()
mueller's avatar
mueller committed
607
    { return "Varoitus"; } // "Warning"
dimitri's avatar
dimitri committed
608 609 610
    
    /*! this text is generated when the \\version command is used. */
    virtual QCString trVersion()
mueller's avatar
mueller committed
611
    { return "Versio"; } // "Version"
dimitri's avatar
dimitri committed
612 613 614
    
    /*! this text is generated when the \\date command is used. */
    virtual QCString trDate()
dimitri's avatar
dimitri committed
615
    { return "Päiväys"; } // "Date"
dimitri's avatar
dimitri committed
616 617 618
    
    /*! this text is generated when the \\return command is used. */
    virtual QCString trReturns()
mueller's avatar
mueller committed
619
    { return "Palauttaa"; } // "Returns"
dimitri's avatar
dimitri committed
620 621 622
    
    /*! this text is generated when the \\sa command is used. */
    virtual QCString trSeeAlso()
dimitri's avatar
dimitri committed
623
    { return "Katso myös"; } // "See also"
dimitri's avatar
dimitri committed
624 625 626
    
    /*! this text is generated when the \\param command is used. */
    virtual QCString trParameters()
mueller's avatar
mueller committed
627
    { return "Parametrit"; } // "Parameters"
dimitri's avatar
dimitri committed
628 629 630
    
    /*! this text is generated when the \\exception command is used. */
    virtual QCString trExceptions()
mueller's avatar
mueller committed
631
    { return "Poikkeukset"; } // "Exceptions"
dimitri's avatar
dimitri committed
632 633 634
    
    /*! this text is used in the title page of a LaTeX document. */
    virtual QCString trGeneratedBy()
mueller's avatar
mueller committed
635 636 637 638 639 640
    { return "Generoinut"; } // "Generated by"
    
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 
//////////////////////////////////////////////////////////////////////////
    
dimitri's avatar
dimitri committed
641 642
    /*! used as the title of page containing all the index of all namespaces. */
    virtual QCString trNamespaceList()
mueller's avatar
mueller committed
643
    { return "Nimiavaruus Lista"; } // "Namespace List"
dimitri's avatar
dimitri committed
644 645 646
    
    /*! used as an introduction to the namespace list */
    virtual QCString trNamespaceListDescription(bool extractAll)
mueller's avatar
mueller committed
647
    {
dimitri's avatar
dimitri committed
648
      QCString result="Tässä on lista kaikista "; // "Here is a list of all "
dimitri's avatar
dimitri committed
649
      if (!extractAll) result+="dokumentoiduista "; // "documented "
dimitri's avatar
dimitri committed
650
      result+="nimiavaruuksista lyhyen selitteen kanssa:"; // "namespaces with brief descriptions:"
mueller's avatar
mueller committed
651 652
      return result;
    }
dimitri's avatar
dimitri committed
653 654 655 656 657
    
    /*! used in the class documentation as a header before the list of all
     *  friends of a class
     */
    virtual QCString trFriends()
dimitri's avatar
dimitri committed
658
    { return "Ystävät"; } // "Friends"
mueller's avatar
mueller committed
659 660 661 662 663

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
    
dimitri's avatar
dimitri committed
664 665 666 667
    /*! used in the class documentation as a header before the list of all
     * related classes 
     */
    virtual QCString trRelatedFunctionDocumentation()
dimitri's avatar
dimitri committed
668
    { return "Ystävät ja niihin liittyvien funktioiden dokumentaatio"; } // "Friends And Related Function Documentation"
mueller's avatar
mueller committed
669 670 671 672 673
    
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////

dimitri's avatar
dimitri committed
674
    /*! used as the title of the HTML page of a class/struct/union */
mueller's avatar
mueller committed
675
    virtual QCString trCompoundReference(const char *clName,
dimitri's avatar
dimitri committed
676
                                    ClassDef::CompoundType compType,
dimitri's avatar
dimitri committed
677
                                    bool isTemplate)
mueller's avatar
mueller committed
678
    {
dimitri's avatar
dimitri committed
679
      QCString result=(QCString)clName;
mueller's avatar
mueller committed
680 681
      switch(compType)
      {
dimitri's avatar
dimitri committed
682 683 684 685 686 687 688
        case ClassDef::Class:      result+=" luokka"; break; // " Class"
        case ClassDef::Struct:     result+=" tietue"; break; // " Struct"
        case ClassDef::Union:      result+=" yhdiste"; break; // " Union"
        case ClassDef::Interface:  result+=" rajapinta"; break; // " Interface"
        case ClassDef::Protocol:   result+=" protokolla"; break; // " Protocol"
        case ClassDef::Category:   result+=" kategoria"; break; // " Category"
        case ClassDef::Exception:  result+=" poikkeus"; break; // " Exception"
mueller's avatar
mueller committed
689
      }
dimitri's avatar
dimitri committed
690 691
      if (isTemplate) result+="malli"; // " Template"
      result+="referenssi"; // " Reference"
mueller's avatar
mueller committed
692 693
      return result;
    }
dimitri's avatar
dimitri committed
694 695

    /*! used as the title of the HTML page of a file */
mueller's avatar
mueller committed
696 697 698
    virtual QCString trFileReference(const char *fileName)
    {
      QCString result=fileName;
dimitri's avatar
dimitri committed
699
      result+=" tiedostoreferenssi"; // " File Reference"
mueller's avatar
mueller committed
700 701
      return result;
    }
dimitri's avatar
dimitri committed
702 703
    
    /*! used as the title of the HTML page of a namespace */
mueller's avatar
mueller committed
704 705 706
    virtual QCString trNamespaceReference(const char *namespaceName)
    {
      QCString result=namespaceName;
dimitri's avatar
dimitri committed
707
      result+=" nimiavaruusreferenssi"; // " Namespace Reference"
mueller's avatar
mueller committed
708 709 710 711
      return result;
    }
    
    virtual QCString trPublicMembers()
dimitri's avatar
dimitri committed
712
    { return "Julkiset jäsenfunktiot"; } // "Public Member Functions"
mueller's avatar
mueller committed
713
    virtual QCString trPublicSlots()
dimitri's avatar
dimitri committed
714
    { return "Julkiset vastineet"; } // "Public Slots"
mueller's avatar
mueller committed
715 716 717
    virtual QCString trSignals()
    { return "Signaalit"; } // "Signals"
    virtual QCString trStaticPublicMembers()
dimitri's avatar
dimitri committed
718
    { return "Staattiset julkiset jäsenfunktiot"; } // "Static Public Member Functions"
mueller's avatar
mueller committed
719
    virtual QCString trProtectedMembers()
dimitri's avatar
dimitri committed
720
    { return "Suojatut jäsenfunktiot"; } // "Protected Member Functions"
mueller's avatar
mueller committed
721
    virtual QCString trProtectedSlots()
dimitri's avatar
dimitri committed
722
    { return "Suojatut vastineet"; } // "Protected Slots"
mueller's avatar
mueller committed
723
    virtual QCString trStaticProtectedMembers()
dimitri's avatar
dimitri committed
724
    { return "Staattiset suojatut jäsenfunktiot"; } // "Static Protected Member Functions"
mueller's avatar
mueller committed
725
    virtual QCString trPrivateMembers()
dimitri's avatar
dimitri committed
726
    { return "Yksityiset jäsenfunktiot"; } // "Private Member Functions"
mueller's avatar
mueller committed
727
    virtual QCString trPrivateSlots()
dimitri's avatar
dimitri committed
728
    { return "Yksityiset vastineet"; } // "Private Slots"
mueller's avatar
mueller committed
729
    virtual QCString trStaticPrivateMembers()
dimitri's avatar
dimitri committed
730
    { return "Staattiset yksityiset jäsenfunktiot"; } // "Static Private Member Functions"
dimitri's avatar
dimitri committed
731 732 733 734

    /*! this function is used to produce a comma-separated list of items.
     *  use generateMarker(i) to indicate where item i should be put.
     */
mueller's avatar
mueller committed
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756
    virtual QCString trWriteList(int numEntries)
    {
      QCString result;
      int i;
      // the inherits list contain `numEntries' classes
      for (i=0;i<numEntries;i++) 
      {
        // use generateMarker to generate placeholders for the class links!
        result+=generateMarker(i); // generate marker for entry i in the list 
                                   // (order is left to right)
        
        if (i!=numEntries-1)  // not the last entry, so we need a separator
        {
          if (i<numEntries-2) // not the fore last entry 
            result+=", ";
          else                // the fore last entry
            result+=" ja "; // ", and "
        }
      }
      return result; 
    }
    
dimitri's avatar
dimitri committed
757 758 759
    /*! used in class documentation to produce a list of base classes,
     *  if class diagrams are disabled.
     */
mueller's avatar
mueller committed
760 761
    virtual QCString trInheritsList(int numEntries)
    {
dimitri's avatar
dimitri committed
762
      return (QCString)"Periytyy "+(numEntries > 1 ? "luokista " : "luokasta ")+trWriteList(numEntries)+"."; // "Inherits "
mueller's avatar
mueller committed
763
    }
dimitri's avatar
dimitri committed
764 765 766 767
    
    /*! used in class documentation to produce a list of super classes,
     *  if class diagrams are disabled.
     */
mueller's avatar
mueller committed
768 769
    virtual QCString trInheritedByList(int numEntries)
    {
dimitri's avatar
dimitri committed
770
      return (QCString)"Periytetään "+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Inherited by "
mueller's avatar
mueller committed
771
    }
dimitri's avatar
dimitri committed
772 773 774 775
    
    /*! used in member documentation blocks to produce a list of 
     *  members that are hidden by this one.
     */
mueller's avatar
mueller committed
776 777
    virtual QCString trReimplementedFromList(int numEntries)
    {
dimitri's avatar
dimitri committed
778
      return (QCString)"Uudelleentoteuttaa "+(numEntries > 1 ? "luokat " : "luokan  ")+trWriteList(numEntries)+"."; // "Reimplemented from "
mueller's avatar
mueller committed
779
    }
dimitri's avatar
dimitri committed
780 781 782 783
    
    /*! used in member documentation blocks to produce a list of
     *  all member that overwrite the implementation of this member.
     */
mueller's avatar
mueller committed
784 785
    virtual QCString trReimplementedInList(int numEntries)
    {
dimitri's avatar
dimitri committed
786
      return (QCString)"Uudelleentoteutetaan "+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Reimplemented in "
mueller's avatar
mueller committed
787 788
    }

dimitri's avatar
dimitri committed
789
    /*! This is put above each page as a link to all members of namespaces. */
mueller's avatar
mueller committed
790
    virtual QCString trNamespaceMembers()
dimitri's avatar
dimitri committed
791
    { return "Nimiavaruuden jäsenet"; } // "Namespace Members"
dimitri's avatar
dimitri committed
792 793
    
    /*! This is an introduction to the page with all namespace members */
mueller's avatar
mueller committed
794 795
    virtual QCString trNamespaceMemberDescription(bool extractAll)
    { 
dimitri's avatar
dimitri committed
796
      QCString result="Tässä on lista kaikista "; // "Here is a list of all "
mueller's avatar
mueller committed
797
      if (!extractAll) result+="dokumentoiduista "; // "documented "
dimitri's avatar
dimitri committed
798
      result+="nimiavaruuden jäsenistä linkitettynä "; // "namespace members with links to "
mueller's avatar
mueller committed
799 800 801
      if (extractAll) 
        result+="nimiavaruuden dokumentaatioon johon ne kuuluvat:"; // "the namespace documentation for each member:";
      else 
dimitri's avatar
dimitri committed
802
        result+="nimiavaruuksiin joihin ne kuuluvat:"; // "the namespaces they belong to:"
mueller's avatar
mueller committed
803 804
      return result;
    }
dimitri's avatar
dimitri committed
805 806 807
    /*! This is used in LaTeX as the title of the chapter with the 
     *  index of all namespaces.
     */ 
mueller's avatar
mueller committed
808
    virtual QCString trNamespaceIndex()
dimitri's avatar
dimitri committed
809 810 811 812 813
    { return "Nimiavaruuksien luettelo"; } // "Namespace Index"
    
    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all namespaces.
     */
mueller's avatar
mueller committed
814
    virtual QCString trNamespaceDocumentation()
dimitri's avatar
dimitri committed
815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837
    { return "Nimiavaruuden dokumentaatio"; } // "Namespace Documentation"

//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////

    /*! This is used in the documentation before the list of all
     *  namespaces in a file.
     */
    virtual QCString trNamespaces()
    { return "Nimiavaruudet"; } // "Namespaces"; }

//////////////////////////////////////////////////////////////////////////
// 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.
     */
    virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
        bool single)
    { // here s is one of " Class", " Struct" or " Union"
      // single is true implies a single file
dimitri's avatar
dimitri committed
838
      QCString result=(QCString)"Dokumentaatio tälle "; // "The documentation for this "
dimitri's avatar
dimitri committed
839 840 841 842 843 844 845 846 847 848
      switch(compType)
      {
        case ClassDef::Class:      result+="luokalle"; break; // "class"
        case ClassDef::Struct:     result+="tietueelle"; break; // "struct"
        case ClassDef::Union:      result+="yhdisteelle"; break; // "union"
        case ClassDef::Interface:  result+="rajapinnalle"; break; // "interface"
        case ClassDef::Protocol:   result+="protokollalle"; break; // "protocol"
        case ClassDef::Category:   result+="kategorialle"; break; // "category"
        case ClassDef::Exception:  result+="poikkeukselle"; break; // "exception"
      }
dimitri's avatar
dimitri committed
849 850
      if (single) result+=" luotiin seuraavasta tiedostosta:"; // " was generated from the following file"
      else result+=" luotiin seuraavista tiedostoista:"; // ":" or "s:"
dimitri's avatar
dimitri committed
851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870
      return result;
    }

    /*! This is in the (quick) index as a link to the alphabetical compound
     * list.
     */
    virtual QCString trAlphabeticalList()
    { return "Aakkosellinen lista"; } // "Alphabetical List"

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

    /*! This is used as the heading text for the retval command. */
    virtual QCString trReturnValues()
    { return "Paluuarvot"; } // "Return values"

    /*! This is in the (quick) index as a link to the main page (index.html)
     */
    virtual QCString trMainPage()
dimitri's avatar
dimitri committed
871
    { return "Pääsivu"; } // "Main Page"
dimitri's avatar
dimitri committed
872 873 874 875 876 877 878 879 880 881 882 883 884

    /*! This is used in references to page that are put in the LaTeX 
     *  documentation. It should be an abbreviation of the word page.
     */
    virtual QCString trPageAbbreviation()
    { return "s."; } // "p."

//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////

    virtual QCString trDefinedAtLineInSourceFile()
    {
dimitri's avatar
dimitri committed
885
      return "Määrittely tiedoston @1 rivillä @0."; //  "Definition at line @0 of file @1."
dimitri's avatar
dimitri committed
886 887 888
    }
    virtual QCString trDefinedInSourceFile()
    {
dimitri's avatar
dimitri committed
889
      return "Määrittely tiedostossa @0."; // "Definition in file @0."
dimitri's avatar
dimitri committed
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907
    }

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

    virtual QCString trDeprecated()
    {
      return "Vanhentunut"; // "Deprecated"
    }

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

    /*! this text is put before a collaboration diagram */
    virtual QCString trCollaborationDiagram(const char *clName)
    {
dimitri's avatar
dimitri committed
908
      return (QCString)"Yhteistyökaavio luokalle "+clName+":"; // "Collaboration diagram for "+clName+":"
dimitri's avatar
dimitri committed
909 910 911 912
    }
    /*! this text is put before an include dependency graph */
    virtual QCString trInclDepGraph(const char *fName)
    {
dimitri's avatar
dimitri committed
913
      return (QCString)"Sisällytysriippuvuuskaavio tiedostolle "+fName+":"; // "Include dependency graph for "+fName+":"
dimitri's avatar
dimitri committed
914 915 916 917 918 919 920 921 922
    }
    /*! header that is put before the list of constructor/destructors. */
    virtual QCString trConstructorDocumentation()
    {
      return "Rakentajien & purkajien dokumentaatio"; // "Constructor & Destructor Documentation";
    }
    /*! Used in the file documentation to point to the corresponding sources. */
    virtual QCString trGotoSourceCode()
    {
dimitri's avatar
dimitri committed
923
      return "Siirry tämän tiedoston lähdekoodiin."; // "Go to the source code of this file."
dimitri's avatar
dimitri committed
924 925 926 927
    }
    /*! Used in the file sources to point to the corresponding documentation. */
    virtual QCString trGotoDocumentation()
    {
dimitri's avatar
dimitri committed
928
      return "Siirry tämän tiedoston dokumentaatioon."; // "Go to the documentation of this file."
dimitri's avatar
dimitri committed
929 930 931 932 933 934 935 936 937
    }
    /*! Text for the \\pre command */
    virtual QCString trPrecondition()
    {
      return "Esiehto"; //"Precondition"
    }
    /*! Text for the \\post command */
    virtual QCString trPostcondition()
    {
dimitri's avatar
dimitri committed
938
      return "Jälkiehto"; // "Postcondition"
dimitri's avatar
dimitri committed
939 940 941 942
    }
    /*! Text for the \\invariant command */
    virtual QCString trInvariant()
    {
dimitri's avatar
dimitri committed
943
      return "Invariantti"; // vai "Pysyväisväittämä"? "Invariant"
dimitri's avatar
dimitri committed
944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960
    }
    /*! Text shown before a multi-line variable/enum initialization */
    virtual QCString trInitialValue()
    {
      return "Alkuarvo:"; // "Initial value:"
    }
    /*! Text used the source code in the file index */
    virtual QCString trCode()
    {
      return "koodi"; // "code"
    }
    virtual QCString trGraphicalHierarchy()
    {
      return "Graafinen luokkahierarkia"; // "Graphical Class Hierarchy"
    }
    virtual QCString trGotoGraphicalHierarchy()
    {
dimitri's avatar
dimitri committed
961
      return "Siirry graafiseen luokkahierarkiaan"; // "Go to the graphical class hierarchy"
dimitri's avatar
dimitri committed
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977
    }
    virtual QCString trGotoTextualHierarchy()
    {
      return "Siirry tekstimuotoiseen luokkahierarkiaan"; // "Go to the textual class hierarchy"
    }
    virtual QCString trPageIndex()
    {
      return "Sivuhakemisto"; // "Page Index"
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
    
    virtual QCString trNote()
    {
dimitri's avatar
dimitri committed
978
        // FIXME: Missähän merkityksessä tätä käytetään?
dimitri's avatar
dimitri committed
979 980 981 982 983 984 985 986 987 988
      return "Huomautus"; // "Note"
    }
    virtual QCString trPublicTypes()
    {
      return "Julkiset tyypit"; // "Public Types"
    }
    virtual QCString trPublicAttribs()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
dimitri's avatar
dimitri committed
989
        return "Tietueen kentät"; // "Data Fields"
dimitri's avatar
dimitri committed
990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
      }
      else
      {
        return "Julkiset attribuutit"; // "Public Attributes"
      }
    }
    virtual QCString trStaticPublicAttribs()
    {
      return "Staattiset julkiset attribuutit"; // "Static Public Attributes"
    }
    virtual QCString trProtectedTypes()
    {
      return "Suojellut tyypit"; // "Protected Types"
    }
    virtual QCString trProtectedAttribs()
    {
      return "Suojellut attribuutit"; // "Protected Attributes"
    }
    virtual QCString trStaticProtectedAttribs()
    {
dimitri's avatar
dimitri committed
1010
      return "Staattiset suojellut attribuutit"; // "Static Protected Attributes"
dimitri's avatar
dimitri committed
1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031
    }
    virtual QCString trPrivateTypes()
    {
      return "Yksityiset tyypit"; // "Private Types"
    }
    virtual QCString trPrivateAttribs()
    {
      return "Yksityiset attribuutit"; // "Private Attributes"
    }
    virtual QCString trStaticPrivateAttribs()
    {
      return "Staattiset yksityiset attribuutit"; // "Static Private Attributes"
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////

    /*! Used as a marker that is put before a \\todo item */
    virtual QCString trTodo()
    {
dimitri's avatar
dimitri committed
1032
      return "Vielä tehtävänä"; // "Todo"
dimitri's avatar
dimitri committed
1033 1034 1035 1036
    }
    /*! Used as the header of the todo list */
    virtual QCString trTodoList()
    {
dimitri's avatar
dimitri committed
1037
      return "Tehtävälista"; // "Todo List"
dimitri's avatar
dimitri committed
1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
    }

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

    virtual QCString trReferencedBy()
    {
      return "Viitattu"; // "Referenced by"
    }
    virtual QCString trRemarks()
    {
      return "Huomioita"; // "Remarks"
    }
    virtual QCString trAttention()
    {
      return "Huomio"; // "Attention"
    }
    virtual QCString trInclByDepGraph()
    {
dimitri's avatar
dimitri committed
1058
      return "Tämä kaavio näyttää, mitkä tiedostot suorasti "
dimitri's avatar
dimitri committed
1059
             "tai epäsuorasti sisällyttävät tämän tiedoston";
dimitri's avatar
dimitri committed
1060 1061 1062 1063 1064
             // "This graph shows which files directly or "
             // "indirectly include this file:"
    }
    virtual QCString trSince()
    {
dimitri's avatar
dimitri committed
1065 1066
        // FIXME: Missä merkityksessä tätä käytetään?
      return "Lähtien"; // "Since"
dimitri's avatar
dimitri committed
1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////

    /*! title of the graph legend page */
    virtual QCString trLegendTitle()
    {
      return "Kaavion selite"; // "Graph Legend"
    }
    /*! page explaining how the dot graph's should be interpreted 
     *  The %A in the text below are to prevent link to classes called "A".
     */
    virtual QCString trLegendDocs()
    {
      return 
dimitri's avatar
dimitri committed
1084
        "Tämä sivu selittää, kuinka doxygenin luomia kaavioita tulkitaan.<p>\n"
dimitri's avatar
dimitri committed
1085 1086
        // "This page explains how to interpret the graphs that are generated "
        // "by doxygen.<p>\n"
dimitri's avatar
dimitri committed
1087
        "Ajattele seuraavaa esimerkkiä:\n"
dimitri's avatar
dimitri committed
1088 1089
        // "Consider the following example:\n"
        "\\code\n"
dimitri's avatar
dimitri committed
1090
        "/*! Näkymätön luokka katkaisun vuoksi */\n"
dimitri's avatar
dimitri committed
1091 1092 1093 1094 1095 1096 1097 1098 1099
        // "/*! Invisible class because of truncation */\n"
        "class Nakymaton { };\n\n"
        // "class Invisible { };\n\n"
        "/*! Katkaistu luokka, periytymissuhde on piilotettu */\n"
        // "/*! Truncated class, inheritance relation is hidden */\n"
        "class Katkaistu : public Nakymaton { };\n\n"
        // "class Truncated : public Invisible { };\n\n"
        "/* Luokkaa ei ole dokumentoitu doxygen-kommenteilla */\n"
        // "/* Class not documented with doxygen comments */\n"
dimitri's avatar
dimitri committed
1100
        "class Dokumentoimaton { };\n\n"
dimitri's avatar
dimitri committed
1101
        // "class Undocumented { };\n\n"
dimitri's avatar
dimitri committed
1102
        "/*! Julkista periyttämistä käyttäen periytetty luokka */\n"
dimitri's avatar
dimitri committed
1103 1104 1105 1106 1107 1108 1109
        // "/*! Class that is inherited using public inheritance */\n"
        "class JulkinenKanta : public Katkaistu { };\n\n"
        // "class PublicBase : public Truncated { };\n\n"
        "/*! Malliluokka */\n"
        // "/*! A template class */\n"
        "template<class T> class Malli { };\n\n"
        // "template<class T> class Templ { };\n\n"
dimitri's avatar
dimitri committed
1110
        "/*! Suojeltua periytymistä käyttäen periytetty luokka */\n"
dimitri's avatar
dimitri committed
1111 1112 1113
        // "/*! Class that is inherited using protected inheritance */\n"
        "class SuojeltuKanta { };\n\n"
        // "class ProtectedBase { };\n\n"
dimitri's avatar
dimitri committed
1114
        "/*! Yksityistä periytymistä käyttäen periytetty luokka */\n"
dimitri's avatar
dimitri committed
1115 1116 1117
        // "/*! Class that is inherited using private inheritance */\n"
        "class YksityisKanta { };\n\n"
        // "class PrivateBase { };\n\n"
dimitri's avatar
dimitri committed
1118
        "/*! Luokka jota periytetty luokka käyttää */\n"
dimitri's avatar
dimitri committed
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142
        // "/*! Class that is used by the Inherited class */\n"
        "class Kaytetty { };\n\n"
        // "class Used { };\n\n"
        "/*! Kantaluokka joka periytyy useasta muusta luokasta */\n"
        // "/*! Super class that inherits a number of other classes */\n"
        "class Periytetty : public JulkinenKanta,\n"
        "                 : protected SuojeltuKanta,\n"
        "                 : private YksityisKanta,\n"
        "                 : public Dokumentoimaton,\n"
        "                 : public Malli<int>\n"
        "{\n"
        "  private:\n"
        "    Kaytetty *m_kaytettyLuokka;\n"
        "}\n";
        // "class Inherited : public PublicBase,\n"
        // "                  protected ProtectedBase,\n"
        // "                  private PrivateBase,\n"
        // "                  public Undocumented,\n"
        // "                  public Templ<int>\n"
        // "{\n"
        // "  private:\n"
        // "    Used *m_usedClass;\n"
        // "};\n"
        "\\endcode\n"
dimitri's avatar
dimitri committed
1143 1144
        "Tuloksena on seuraavanlainen kaavio:"
        //"This will result in the following graph:"
dimitri's avatar
dimitri committed
1145 1146
        "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
        "<p>\n"
dimitri's avatar
dimitri committed
1147
        "Ylläolevassa kaaviossa laatikoilla on seuraavat merkitykset\n:"
dimitri's avatar
dimitri committed
1148 1149
        // "The boxes in the above graph have the following meaning:\n"
        "<ul>\n"
dimitri's avatar
dimitri committed
1150
        "<li>Täytetty harmaa laatikko esittää tietuetta tai luokkaa, jolle "
dimitri's avatar
dimitri committed
1151
        // "<li>%A filled gray box represents the struct or class for which the "
dimitri's avatar
dimitri committed
1152
        "kaavio on luotu.\n"
dimitri's avatar
dimitri committed
1153 1154 1155 1156 1157 1158 1159
        // "graph is generated.\n"
        "<li>Mustareunainen laatikko merkitsee dokumentoitua tietuetta tai luokkaa.\n"
        // "<li>%A box with a black border denotes a documented struct or class.\n"
        "<li>Harmaareunainen laatikko merkitsee dokumentoimatonta tietuetta tai luokkaa.\n"
        // "<li>%A box with a grey border denotes an undocumented struct or class.\n"
        "<li>Punareunainen laatikko merkistee dokumentoitua luokkaa tai structia "
        // "<li>%A box with a red border denotes a documented struct or class for"
dimitri's avatar
dimitri committed
1160
        "jolle ei näytetä kaikkia periytymis-/sisällyssuhteita. Kaavio "
dimitri's avatar
dimitri committed
1161
        // "which not all inheritance/containment relations are shown. %A graph is "
dimitri's avatar
dimitri committed
1162
        "katkaistaan, jos se ei mahdu määriteltyjen rajojen sisään.\n"
dimitri's avatar
dimitri committed
1163 1164 1165 1166 1167
        // "truncated if it does not fit within the specified boundaries.\n"
        "</ul>\n"
        "Nuolilla on seuraavat merkitykset:\n"
        // "The arrows have the following meaning:\n"
        "<ul>\n"
dimitri's avatar
dimitri committed
1168
        "<li>Tummansinistä nuolta käytetään osoittamaan julkista periytymis"
dimitri's avatar
dimitri committed
1169
        // "<li>%A dark blue arrow is used to visualize a public inheritance "
dimitri's avatar
dimitri committed
1170
        "suhdetta kahden luokan välillä.\n"
dimitri's avatar
dimitri committed
1171
        // "relation between two classes.\n"
dimitri's avatar
dimitri committed
1172
        "<li>Tummanvihreää nuolta käytetään suojellussa periytymisessä.\n"
dimitri's avatar
dimitri committed
1173
        // "<li>%A dark green arrow is used for protected inheritance.\n"
dimitri's avatar
dimitri committed
1174
        "<li>Tummanpunaista nuolta käytetään yksityisessä periytymisessä.\n"
dimitri's avatar
dimitri committed
1175
        // "<li>%A dark red arrow is used for private inheritance.\n"
dimitri's avatar
dimitri committed
1176
        "<li>Purppuranväristä katkoviivaa käytetään, jos luokka sisältyy tai "
dimitri's avatar
dimitri committed
1177
        // "<li>%A purple dashed arrow is used if a class is contained or used "
dimitri's avatar
dimitri committed
1178
        "on toisen luokan käyttämä. Nuoli nimetään sillä muuttujalla/muuttujilla "
dimitri's avatar
dimitri committed
1179
        // "by another class. The arrow is labeled with the variable(s) "
dimitri's avatar
dimitri committed
1180
        "jonka läpi osoitettua luokkaa tai tietuetta käytetään.\n"
dimitri's avatar
dimitri committed
1181
        // "through which the pointed class or struct is accessible.\n"
dimitri's avatar
dimitri committed
1182
        "<li>Keltainen katkoviivalla piirretty nuoli merkitsee suhdetta mallin esiintymän ja "
dimitri's avatar
dimitri committed
1183
        // "<li>%A yellow dashed arrow denotes a relation between a template instance and "
dimitri's avatar
dimitri committed
1184
        "malliluokan välillä. Nuoli nimetään "
dimitri's avatar
dimitri committed
1185
        // "the template class it was instantiated from. The arrow is labeled with "
dimitri's avatar
dimitri committed
1186
        "mallin esiintymän malliparametrilla.\n"
dimitri's avatar
dimitri committed
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
        // "the template parameters of the instance.\n"
        "</ul>\n";
    }
    /*! text for the link to the legend page */
    virtual QCString trLegend()
    {
      return "selite"; // "legend"
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
    
    /*! Used as a marker that is put before a test item */
    virtual QCString trTest()
    {
      return "Testi"; // "Test"
    }
    /*! Used as the header of the test list */
    virtual QCString trTestList()
    {
      return "Testilista"; // "Test List"
    }

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

    /*! Used as a section header for KDE-2 IDL methods */
    virtual QCString trDCOPMethods()
    {
dimitri's avatar
dimitri committed
1218
      return "DCOP-jäsenfunktiot"; // "DCOP Member Functions"
dimitri's avatar
dimitri committed
1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264
    }

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

    /*! Used as a section header for IDL properties */
    virtual QCString trProperties()
    {
      return "Ominaisuudet"; // "Properties"
    }
    /*! Used as a section header for IDL property documentation */
    virtual QCString trPropertyDocumentation()
    {
      return "Ominaisuuksien dokumentaatio"; // "Property Documentation"
    }

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

    /*! Used for Java classes in the summary section of Java packages */
    virtual QCString trClasses()
    {
      if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
      {
        return "Tietueet"; // "Data Structures"
      }
      else
      {
        return "Luokat"; // "Classes"
      }
    }
    /*! Used as the title of a Java package */
    virtual QCString trPackage(const char *name)
    {
      return (QCString)"Paketti "+name; // "Package "
    }
    /*! Title of the package index page */
    virtual QCString trPackageList()
    {
      return "Pakettilista"; // "Package List"
    }
    /*! The description of the package index page */
    virtual QCString trPackageListDescription()
    {
dimitri's avatar
dimitri committed
1265
      return "Tässä ovat paketit lyhyiden selitysten kanssa (jos saatavilla):"; // "Here are the packages with brief descriptions (if available):"
dimitri's avatar
dimitri committed
1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380
    }
    /*! The link name in the Quick links header for each page */
    virtual QCString trPackages()
    {
      return "Paketit"; // "Packages"
    }
    /*! Text shown before a multi-line define */
    virtual QCString trDefineValue()
    {
      return "Arvo:"; // "Value:"
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
    
    /*! Used as a marker that is put before a \\bug item */
    virtual QCString trBug()
    {
      return "Bugi"; // "Bug"
    }
    /*! Used as the header of the bug list */
    virtual QCString trBugList()
    {
      return "Bugilista"; // "Bug List"
    }

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

    /*! Used as ansicpg for RTF file 
     * 
     * The following table shows the correlation of Charset name, Charset Value and 
     * <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>
     * 
     */
    virtual QCString trRTFansicp()
    {
      return "1252";
    }
    

    /*! Used as ansicpg for RTF fcharset 
     *  \see trRTFansicp() for a table of possible values.
     */
    virtual QCString trRTFCharSet()
    {
      return "0";
    }

    /*! Used as header RTF general index */
    virtual QCString trRTFGeneralIndex()
    {
      return "Hakemisto"; // "Index"
    }
   
    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trClass(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Luokka" : "luokka")); // "Class" / "class"
      if (!singular)  result=(first_capital ? "Luokat" : "luokat"); // "+es" -> "Classes" / "classes"
      return result; 
    }

    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trFile(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Tiedosto" : "tiedosto")); // "File" / "file"
      if (!singular)  result+="t"; // "+s" -> "Files" / "files"
      return result; 
    }

    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trNamespace(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Nimiavaruus" : "nimiavaruus")); // "Namespace" / "namespace"
      if (!singular)  result=(first_capital ? "Nimiavaruudet" : "nimiavaruudet"); // "+s"
      return result; 
    }

    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trGroup(bool first_capital, bool singular)
    { 
dimitri's avatar
dimitri committed
1381
      QCString result((first_capital ? "Ryhmä" : "ryhmä")); // "Group" / "group"
dimitri's avatar
dimitri committed
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402
      if (!singular)  result+="t"; // "+s"
      return result; 
    }

    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trPage(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Sivu" : "sivu")); // "Page" / "page"
      if (!singular)  result+="t"; // "+s"
      return result; 
    }

    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trMember(bool first_capital, bool singular)
    { 
dimitri's avatar
dimitri committed
1403
      QCString result((first_capital ? "Jäsen" : "jäsen")); // "Member" / "member"
dimitri's avatar
dimitri committed
1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426
      if (!singular)  result+="et"; // "+s"
      return result; 
    }
   
    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trGlobal(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Globaali" : "globaali")); // "Global" / "global"
      if (!singular)  result+="t"; // "+s"
      return result; 
    }

//////////////////////////////////////////////////////////////////////////
// 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)
    {                                                                         
dimitri's avatar
dimitri committed
1427
      QCString result((first_capital ? "Tekijä" : "tekijä")); // "Author" / "author"
dimitri's avatar
dimitri committed
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451
      if (!singular)  result+="t"; // "+s"
      return result; 
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.11
//////////////////////////////////////////////////////////////////////////

    /*! This text is put before the list of members referenced by a member
     */
    virtual QCString trReferences()
    {
      return "Viittaukset"; // "References"
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.13
//////////////////////////////////////////////////////////////////////////

    /*! used in member documentation blocks to produce a list of 
     *  members that are implemented by this one.
     */
    virtual QCString trImplementedFromList(int numEntries)
    {
dimitri's avatar
dimitri committed
1452
      return "Toteuttaa luokan "+trWriteList(numEntries)+"."; // "Implements "
dimitri's avatar
dimitri committed
1453 1454 1455 1456 1457 1458 1459
    }

    /*! used in member documentation blocks to produce a list of
     *  all members that implement this abstract member.
     */
    virtual QCString trImplementedInList(int numEntries)
    {
dimitri's avatar
dimitri committed
1460
      return "Toteutettu luokassa "+trWriteList(numEntries)+"."; // "Implemented in "
dimitri's avatar
dimitri committed
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.2.16
//////////////////////////////////////////////////////////////////////////

    /*! used in RTF documentation as a heading for the Table
     *  of Contents.
     */
    virtual QCString trRTFTableOfContents()
    {
dimitri's avatar
dimitri committed
1472
      return "Sisällysluettelo"; // "Table of Contents"
dimitri's avatar
dimitri committed
1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556
    }

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

    /*! Used as the header of the list of item that have been 
     *  flagged deprecated 
     */
    virtual QCString trDeprecatedList()
    {
      return "Vanhentuneiden lista"; // "Deprecated List"
    }

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

    /*! Used as a header for declaration section of the events found in 
     * a C# program
     */
    virtual QCString trEvents()
    {
      return "Tapahtumat"; // "Events"
    }
    /*! Header used for the documentation section of a class' events. */
    virtual QCString trEventDocumentation()
    {
      return "Tapahtumien dokumentaatio"; // "Event Documentation"
    }

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

    /*! Used as a heading for a list of Java class types with package scope.
     */
    virtual QCString trPackageTypes()
    { 
      return "Paketin tyypit"; // "Package Types"
    }
    /*! Used as a heading for a list of Java class functions with package 
     * scope. 
     */
    virtual QCString trPackageMembers()
    { 
      return "Paketin funktiot"; // "Package Functions"
    }
    /*! Used as a heading for a list of static Java class functions with 
     *  package scope.
     */
    virtual QCString trStaticPackageMembers()
    { 
      return "Paketin staattiset funktiot"; // "Static Package Functions"
    }
    /*! Used as a heading for a list of Java class variables with package 
     * scope.
     */
    virtual QCString trPackageAttribs()
    { 
      return "Paketin attribuutit"; // "Package Attributes"
    }
    /*! Used as a heading for a list of static Java class variables with 
     * package scope.
     */
    virtual QCString trStaticPackageAttribs()
    { 
      return "Paketin staattiset attribuutit"; // "Static Package Attributes"
    }
    
//////////////////////////////////////////////////////////////////////////
// new since 1.3.1
//////////////////////////////////////////////////////////////////////////

    /*! Used in the quick index of a class/file/namespace member list page 
     *  to link to the unfiltered list of all members.
     */
    virtual QCString trAll()
    {
      return "Kaikki"; // "All"
    }
    /*! Put in front of the call graph for a function. */
    virtual QCString trCallGraph()
    {
dimitri's avatar
dimitri committed
1557
      return "Tässä on kutsukaavio tälle funktiolle:"; // "Here is the call graph for this function:"
dimitri's avatar
dimitri committed
1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590
    }

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

    /*! 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. 
     */
    virtual QCString trSearchForIndex()
    {
      return "Etsi"; // "Search for"
    }
    /*! This string is used as the title for the page listing the search
     *  results.
     */
    virtual QCString trSearchResultsTitle()
    {
      return "Hakutulokset"; // "Search Results"
    }
    /*! 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.
     *  The @a numDocuments parameter can be either 0, 1 or 2, where the 
     *  value 2 represents 2 or more matches. HTML markup is allowed inside
     *  the returned string.
     */
    virtual QCString trSearchResults(int numDocuments)
    {
      if (numDocuments==0)
      {
dimitri's avatar
dimitri committed
1591
        return "Valitettavasti yksikään dokumentti ei vastannut hakuasi."; // "Sorry, no documents matching your query."
dimitri's avatar
dimitri committed
1592 1593 1594
      }
      else if (numDocuments==1)
      {
dimitri's avatar
dimitri committed
1595
        return "Löytyi <b>1</b> dokumentti, joka vastasi hakuasi."; // "Found <b>1</b> document matching your query.";
dimitri's avatar
dimitri committed
1596 1597 1598
      }
      else 
      {
dimitri's avatar
dimitri committed
1599
        return "Löytyi <b>$num</b> dokumenttia, jotka vastasivat hakuasi. " // "Found <b>$num</b> documents matching your query. "
dimitri's avatar
dimitri committed
1600
                "Parhaat tulokset näytetään ensin."; // "Showing best matches first."
dimitri's avatar
dimitri committed
1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618
      }
    }
    /*! This string is put before the list of matched words, for each search 
     *  result. What follows is the list of words that matched the query.
     */
    virtual QCString trSearchMatches()
    {
      return "Osumat:"; // "Matches:"
    }

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

    /*! This is used in HTML as the title of page with source code for file filename
     */
    virtual QCString trSourceFile(QCString& filename)
    {
dimitri's avatar
dimitri committed
1619
      return filename + " lähdekooditiedosto"; // " Source File"
dimitri's avatar
dimitri committed
1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.3.9
//////////////////////////////////////////////////////////////////////////

    /*! This is used as the name of the chapter containing the directory
     *  hierarchy.
     */
    virtual QCString trDirIndex()
    { return "Hakemistohierarkia"; } // "Directory Hierarchy"

    /*! This is used as the name of the chapter containing the documentation
     *  of the directories.
     */
    virtual QCString trDirDocumentation()
    { return "Hakemistojen dokumentaatio"; } // "Directory Documentation"

    /*! 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 "Hakemistot"; } // "Directories"

    /*! This returns a sentences that introduces the directory hierarchy. 
     *  and the fact that it is sorted alphabetically per level
     */
    virtual QCString trDirDescription()
dimitri's avatar
dimitri committed
1648
    { return "Tämä hakemistohierarkia on järjestetty aakkosellisesti tasoittain:";
dimitri's avatar
dimitri committed
1649 1650 1651 1652 1653 1654 1655 1656
             //This directory hierarchy is sorted roughly, "
             // "but not completely, alphabetically:";
    }

    /*! This returns the title of a directory page. The name of the
     *  directory is passed via \a dirName.
     */
    virtual QCString trDirReference(const char *dirName)
dimitri's avatar
dimitri committed
1657
    { QCString result=dirName; result+=" hakemistoreferenssi"; return result; }
dimitri's avatar
dimitri committed
1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678
        // " Directory Reference"

    /*! 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)
    { 
      QCString result((first_capital ? "Hakemisto" : "hakemisto")); // "Director" / "director"
      if (singular) result+=""; else result+="t"; // "+y" / "+ies"
      return result; 
    }

//////////////////////////////////////////////////////////////////////////
// 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()
    {
dimitri's avatar
dimitri committed
1679 1680
       return "Tämä on ylikuormitettu jäsenfunktio, ja se tarjotaan "
              "käytön helpottamiseksi. Se eroaa ylläolevasta "
dimitri's avatar
dimitri committed
1681
              "funktiosta ainoastaan hyväksymiltään parametreilta.";
dimitri's avatar
dimitri committed
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693
              // "This is an overloaded member function, "
              // "provided for convenience. It differs from the above "
              // "function only in what argument(s) it accepts."
    }

//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////

    /*! This is used to introduce a caller (or called-by) graph */
    virtual QCString trCallerGraph()
    {
dimitri's avatar
dimitri committed
1694
      return "Tässä on kutsukaavio tälle funktiolle:"; // "Here is the caller graph for this function:"
dimitri's avatar
dimitri committed
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708
    }

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for enumeration values
     */
    virtual QCString trEnumerationValueDocumentation()
    { return "Luettelotyypin dokumentaatio"; } // "Enumerator Documentation"

//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
    
    /*! header that is put before the list of member subprograms (Fortran). */
    virtual QCString trMemberFunctionDocumentationFortran()
dimitri's avatar
dimitri committed
1709
    { return "Jäsenfunktioiden/aliohjelmien dokumentaatio"; } // "Member Function/Subroutine Documentation"
dimitri's avatar
dimitri committed
1710 1711 1712 1713 1714 1715 1716

    /*! This is put above each page as a link to the list of annotated data types (Fortran). */    
    virtual QCString trCompoundListFortran()
    { return "Tietotyyppien lista"; } // "Data Types List"

    /*! This is put above each page as a link to all members of compounds (Fortran). */
    virtual QCString trCompoundMembersFortran()
dimitri's avatar
dimitri committed
1717
    { return "Kentät"; } // "Data Fields";
dimitri's avatar
dimitri committed
1718 1719 1720

    /*! This is an introduction to the annotated compound list (Fortran). */
    virtual QCString trCompoundListDescriptionFortran()
dimitri's avatar
dimitri committed
1721
    { return "Tässä ovat tietotyypit lyhyiden selitysten kanssa:"; } // "Here are the data types with brief descriptions:"
dimitri's avatar
dimitri committed
1722 1723 1724 1725

    /*! This is an introduction to the page with all data types (Fortran). */
    virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
    {
dimitri's avatar
dimitri committed
1726
      QCString result="Tässä on lista kaikista "; // "Here is a list of all "
dimitri's avatar
dimitri committed
1727 1728 1729 1730
      if (!extractAll)
      {
        result+="dokumentoiduista "; // "documented "
      }
dimitri's avatar
dimitri committed
1731 1732
      result+="tietotyyppien jäsenistä"; // "data types members"
      result+=", sekä linkit "; // " with links to "
dimitri's avatar
dimitri committed
1733 1734
      if (!extractAll) 
      {
dimitri's avatar
dimitri committed
1735
         result+="tietueen dokumentaatioon jokaiselle jäsenelle"; // "the data structure documentation for each member"
dimitri's avatar
dimitri committed
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780
      }
      else 
      {
         result+="tietotyyppeihin, joihin ne kuuluvat:"; // "the data types they belong to:"
      }
      return result;
    }

    /*! This is used in LaTeX as the title of the chapter with the 
     * annotated compound index (Fortran).
     */
    virtual QCString trCompoundIndexFortran()
    { return "Tietotyyppien hakemisto"; } // "Data Type Index"

    /*! This is used in LaTeX as the title of the chapter containing
     *  the documentation of all data types (Fortran).
     */
    virtual QCString trTypeDocumentation()
    { return "Tietotyyppien dokumentaatio"; } // "Data Type Documentation"

    /*! This is used in the documentation of a file as a header before the 
     *  list of (global) subprograms (Fortran).
     */
    virtual QCString trSubprograms()
    { return "Funktiot/aliohjelmat"; } // "Functions/Subroutines"

    /*! This is used in the documentation of a file/namespace before the list 
     *  of documentation blocks for subprograms (Fortran)
     */
    virtual QCString trSubprogramDocumentation()
    { return "Funktioiden/aliohjelmien dokumentaatio"; } // "Function/Subroutine Documentation"

    /*! This is used in the documentation of a file/namespace/group before 
     *  the list of links to documented compounds (Fortran)
     */
     virtual QCString trDataTypes()
    { return "Tietotyypit"; } // "Data Types"
    
    /*! used as the title of page containing all the index of all modules (Fortran). */
    virtual QCString trModulesList()
    { return "Moduulilista"; } // "Modules List"

    /*! used as an introduction to the modules list (Fortran) */
    virtual QCString trModulesListDescription(bool extractAll)
    {
dimitri's avatar
dimitri committed
1781
      QCString result="Tässä on lista kaikista "; // "Here is a list of all "
dimitri's avatar
dimitri committed
1782
      if (!extractAll) result+="dokumentoiduista "; // "documented "
dimitri's avatar
dimitri committed
1783
      result+="moduuleista lyhyiden selitysten kanssa:"; // "modules with brief descriptions:"
dimitri's avatar
dimitri committed
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794
      return result;
    }

    /*! used as the title of the HTML page of a module/type (Fortran) */
    virtual QCString trCompoundReferenceFortran(const char *clName,
                                    ClassDef::CompoundType compType,
                                    bool isTemplate)
    {
      QCString result=(QCString)clName;
      switch(compType)
      {
dimitri's avatar
dimitri committed
1795 1796 1797 1798 1799 1800 1801
        case ClassDef::Class:      result+=" moduuli"; break; // " Module"
        case ClassDef::Struct:     result+=" tyyppi"; break; // " Type"
        case ClassDef::Union:      result+=" yhdiste"; break; // " Union"
        case ClassDef::Interface:  result+=" rajapinta"; break; // " Interface"
        case ClassDef::Protocol:   result+=" protokolla"; break; // " Protocol"
        case ClassDef::Category:   result+=" kategoria"; break; // " Category"
        case ClassDef::Exception:  result+=" poikkeus"; break; // " Exception"
dimitri's avatar
dimitri committed
1802 1803 1804 1805 1806 1807 1808 1809 1810
      }
      if (isTemplate) result+="malli"; // " Template"
      result+="referenssi"; // " Reference"
      return result;
    }
    /*! used as the title of the HTML page of a module (Fortran) */
    virtual QCString trModuleReference(const char *namespaceName)
    {
      QCString result=namespaceName;
dimitri's avatar
dimitri committed
1811
      result+=" moduulin referenssi"; // " Module Reference"
dimitri's avatar
dimitri committed
1812 1813 1814 1815 1816
      return result;
    }
    
    /*! This is put above each page as a link to all members of modules. (Fortran) */
    virtual QCString trModulesMembers()
dimitri's avatar
dimitri committed
1817
    { return "Moduulin jäsenet"; } // "Module Members"
dimitri's avatar
dimitri committed
1818 1819 1820 1821

    /*! This is an introduction to the page with all modules members (Fortran) */
    virtual QCString trModulesMemberDescription(bool extractAll)
    { 
dimitri's avatar
dimitri committed
1822
      QCString result="Tässä on lista moduulin kaikista "; // "Here is a list of all "
dimitri's avatar
dimitri committed
1823
      if (!extractAll) result+="dokumentoiduista"; // "documented "
dimitri's avatar
dimitri committed
1824
      result+="jäsenistä, sekä linkit "; // "module members with links to "
dimitri's avatar
dimitri committed
1825 1826
      if (extractAll) 
      {
dimitri's avatar
dimitri committed
1827
        result+="moduulin dokumentaatioon jokaiselle jäsenelle:"; // "the module documentation for each member:"
dimitri's avatar
dimitri committed
1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858
      }
      else 
      {
        result+="moduuleihin, joihin ne kuuluvat:"; // "the modules they belong to:"
      }
      return result;
    }

    /*! This is used in LaTeX as the title of the chapter with the 
     *  index of all modules (Fortran).
     */
    virtual QCString trModulesIndex()
    { return "Moduulien hakemisto"; } // "Modules Index"
    
    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trModule(bool first_capital, bool singular)
    {       
      QCString result((first_capital ? "Moduuli" : "moduuli")); // "Module" / "module"
      if (!singular)  result+="t"; // "+s"
      return result; 
    }
    /*! This is put at the bottom of a module documentation page and is
     *  followed by a list of files that were used to generate the page.
     */
    virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
        bool single)
    { // here s is one of " Module", " Struct" or " Union"
      // single is true implies a single file
dimitri's avatar
dimitri committed
1859
      QCString result=(QCString)"Dokumentaatio tälle "; // "The documentation for this "
dimitri's avatar
dimitri committed
1860 1861 1862 1863 1864 1865 1866 1867 1868 1869
      switch(compType)
      {
        case ClassDef::Class:      result+="moduulille"; break; // "module"
        case ClassDef::Struct:     result+="tyypille"; break; // "type"
        case ClassDef::Union:      result+="yhdisteelle"; break; // "union"
        case ClassDef::Interface:  result+="rajapinnalle"; break; // "interface"
        case ClassDef::Protocol:   result+="protokollalle"; break; // "protocol"
        case ClassDef::Category:   result+="kategorialle"; break; // "category"
        case ClassDef::Exception:  result+="poikkeukselle"; break; // "exception"
      }
dimitri's avatar
dimitri committed
1870
      result+=" luotiin "; // " was generated from the following file"
dimitri's avatar
dimitri committed
1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900
      if (single) result+="seuraavasta tiedostosta:"; else result+="seuraavista tiedostoista:"; // ":" / "s:"
      return result;
    }
    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trType(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Tyyppi" : "tyyppi")); // "Type" / "type"
      if (!singular)  result=(first_capital ? "Tyypit" : "tyypit"); // "+s"
      return result; 
    }
    /*! This is used for translation of the word that will possibly
     *  be followed by a single name or by a list of names 
     *  of the category.
     */
    virtual QCString trSubprogram(bool first_capital, bool singular)
    { 
      QCString result((first_capital ? "Aliohjelma" : "aliohjelma")); // "Subprogram" / "subprogram"
      if (!singular)  result+="t"; // "+s"
      return result; 
    }

    /*! C# Type Constraint list */
    virtual QCString trTypeConstraints()
    {
      return "Tyyppien rajoitteet"; // "Type Constraints"
    }

mueller's avatar
mueller committed
1901 1902 1903
};

#endif