Orb/Doxygen/src/translator_dk.h
changeset 0 42188c7ea2d9
child 4 468f4c8d3d5b
equal deleted inserted replaced
-1:000000000000 0:42188c7ea2d9
       
     1 /*-*- c-basic-offset: 2; tab-width: 8 -*-*/
       
     2 /******************************************************************************
       
     3  *
       
     4  *
       
     5  *
       
     6  * Copyright (C) 1997-2008 by Dimitri van Heesch.
       
     7  *
       
     8  * Permission to use, copy, modify, and distribute this software and its
       
     9  * documentation under the terms of the GNU General Public License is hereby
       
    10  * granted. No representations are made about the suitability of this software
       
    11  * for any purpose. It is provided "as is" without express or implied warranty.
       
    12  * See the GNU General Public License for more details.
       
    13  *
       
    14  * Documents produced by Doxygen are derivative works derived from the
       
    15  * input used in their production; they are not affected by this license.
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * Danish translation by
       
    21  * Erik Søe Sørensen <eriksoe@daimi.au.dk>
       
    22  *
       
    23  * First version (not complete) for Doxygen 1.2.7
       
    24  * Extended and revised for Doxygen 1.3
       
    25  * Extended and revised for Doxygen 1.3.4
       
    26  * Extended and revised for Doxygen 1.3.8
       
    27  */
       
    28 
       
    29 /*  Translator's notes:
       
    30 
       
    31 	Oversættelseskonventioner:
       
    32 	(Konventioner for konventioner:
       
    33 	  '?'    angiver oversættelser, jeg har været i tvivl om
       
    34 	  '??'   angiver tvivlsomme oversættelser
       
    35 	  '..?'  angiver ord, der endnu ikke er fundet en oversættelse til
       
    36  	  '(do.)' angiver ord, der med vilje ikke er oversat, idet jeg selv
       
    37              overvejende bruger det engelske udtryk
       
    38 	  '(-> _)' angiver ord, der er fundet en oversættelse til, men som jeg
       
    39 	        vægrer mig ved at oversætte.
       
    40           'KLID:_' angiver ord, hvor jeg med overlæg har rettet mig efter
       
    41 		KLID.dk's oversættelsesguide (enig eller ej).
       
    42 	)
       
    43 	bug -> 'kendt fejl'
       
    44 	class -> klasse
       
    45 	compound -> 'sammensat type'
       
    46 	constructor -> konstruktør ?
       
    47 	destructor -> destruktør ?
       
    48 	directory -> KLID:katalog (kunne også være 'bibliotek','mappe','folder')
       
    49 	event -> begivenhed ?
       
    50 	exception (-> undtagelse ?)
       
    51 	friend ..?
       
    52 	interface -> grænseflade ?
       
    53 	member -> medlem (TODO)
       
    54 	namespace -> (do.)
       
    55 	overloaded -> KLID:overdefineret
       
    56 	private -> privat
       
    57 	property -> egenskab?
       
    58 	protected -> beskyttet ??
       
    59 	public -> offentlig
       
    60 	reference(vb) -> "indeholde referencer til" (?)
       
    61 	slot ..?
       
    62 	source code -> kildekode
       
    63 	struct -> datastruktur
       
    64 	template (-> skabelon ?)
       
    65 	typedef -> typedefinition (?)
       
    66 	todo -> (do.)
       
    67 	union ..?
       
    68 
       
    69 	Specielle forbindelser:
       
    70 	'Inheritance diagram' -> Stamtræ  (selvom Nedarvningsdiagram også gik an)
       
    71         
       
    72 
       
    73 	-----
       
    74 
       
    75 	(Konstruktivt) input modtages med glæde!
       
    76 	-- Erik Søe Sørensen <eriksoe@daimi.au.dk>
       
    77  */
       
    78 
       
    79 #ifndef TRANSLATOR_DK_H
       
    80 #define TRANSLATOR_DK_H
       
    81 
       
    82 class TranslatorDanish : public TranslatorAdapter_1_5_4
       
    83 {
       
    84   public:
       
    85 
       
    86     // --- Language control methods -------------------
       
    87 
       
    88     /*! Used for identification of the language. The identification
       
    89      * should not be translated. It should be replaced by the name
       
    90      * of the language in English using lower-case characters only
       
    91      * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
       
    92      * the identification used in language.cpp.
       
    93      */
       
    94     virtual QCString idLanguage()
       
    95     { return "danish"; }
       
    96 
       
    97     /*! Used to get the LaTeX command(s) for the language support.
       
    98      *  This method should return string with commands that switch
       
    99      *  LaTeX to the desired language.  For example
       
   100      *  <pre>"\\usepackage[german]{babel}\n"
       
   101      *  </pre>
       
   102      *  or
       
   103      *  <pre>"\\usepackage{polski}\n"
       
   104      *  "\\usepackage[latin2]{inputenc}\n"
       
   105      *  "\\usepackage[T1]{fontenc}\n"
       
   106      *  </pre>
       
   107      */
       
   108     virtual QCString latexLanguageSupportCommand()
       
   109     {
       
   110       return
       
   111 	"\\usepackage[danish]{babel}\n"
       
   112 	"\\usepackage[T1]{fontenc}\n";
       
   113     }
       
   114 
       
   115     /*! return the language charset. This will be used for the HTML output */
       
   116     virtual QCString idLanguageCharset()
       
   117     {
       
   118       return "iso-8859-1";
       
   119     }
       
   120 
       
   121     // --- Language translation methods -------------------
       
   122 
       
   123     /*! used in the compound documentation before a list of related functions. */
       
   124     virtual QCString trRelatedFunctions()
       
   125     { return "Relaterede funktioner"; }
       
   126 
       
   127     /*! subscript for the related functions. */
       
   128     virtual QCString trRelatedSubscript()
       
   129     { return "(Bemærk at disse ikke er medlems-funktioner.)"; }
       
   130 
       
   131     /*! header that is put before the detailed description of files,
       
   132 	 * classes and namespaces. */
       
   133     virtual QCString trDetailedDescription()
       
   134     { return "Detaljeret beskrivelse"; }
       
   135 
       
   136     /*! header that is put before the list of typedefs. */
       
   137     virtual QCString trMemberTypedefDocumentation()
       
   138     { return "Dokumentation af medlems-typedefinitioner"; }
       
   139 
       
   140     /*! header that is put before the list of enumerations. */
       
   141     virtual QCString trMemberEnumerationDocumentation()
       
   142     { return "Dokumentation af medlems-enumerationer"; }
       
   143 	// medlems-enumerationer -> 'indeholdte enumerationer'
       
   144 
       
   145     /*! header that is put before the list of member functions. */
       
   146     virtual QCString trMemberFunctionDocumentation()
       
   147     { return "Dokumentation af medlemsfunktioner"; }
       
   148 
       
   149     /*! header that is put before the list of member attributes. */
       
   150     virtual QCString trMemberDataDocumentation()
       
   151     {
       
   152       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   153         return "Felt-dokumentation";
       
   154       } else {
       
   155 	return "Dokumentation af feltvariable";
       
   156       }
       
   157     }
       
   158 
       
   159     /*! this is the text of a link put after brief descriptions. */
       
   160     virtual QCString trMore()
       
   161     { return "Mere..."; }
       
   162 
       
   163     /*! put in the class documentation */
       
   164     virtual QCString trListOfAllMembers()
       
   165     { return "Liste over alle medlemmer."; }
       
   166 
       
   167     /*! used as the title of the "list of all members" page of a class */
       
   168     virtual QCString trMemberList()
       
   169     { return "Liste over medlemmer"; }
       
   170 
       
   171     /*! this is the first part of a sentence that is followed by a class name */
       
   172     virtual QCString trThisIsTheListOfAllMembers()
       
   173     { return "Dette er den komplette liste over medlemmer i "; }
       
   174 
       
   175     /*! this is the remainder of the sentence after the class name */
       
   176     virtual QCString trIncludingInheritedMembers()
       
   177     { return ", inklusive alle nedarvede medlemmer."; }
       
   178 
       
   179     /*! this is put at the author sections at the bottom of man pages.
       
   180      *  parameter s is name of the project name.
       
   181      */
       
   182     virtual QCString trGeneratedAutomatically(const char *s)
       
   183     { QCString result="Automatisk genereret af Doxygen";
       
   184       if (s) result+=(QCString)" for "+s;
       
   185       result+=" ud fra kildekoden.";
       
   186       return result;
       
   187     }
       
   188 
       
   189     /*! put after an enum name in the list of all members */
       
   190     virtual QCString trEnumName()
       
   191     { return "enumerationsnavn"; }
       
   192 
       
   193     /*! put after an enum value in the list of all members */
       
   194     virtual QCString trEnumValue()
       
   195     { return "enumerationsværdi"; }
       
   196 
       
   197     /*! put after an undocumented member in the list of all members */
       
   198     virtual QCString trDefinedIn()
       
   199     { return "defineret i"; }
       
   200 
       
   201     // quick reference sections
       
   202 
       
   203     /*! This is put above each page as a link to the list of all groups of
       
   204      *  compounds or files (see the \\group command).
       
   205      */
       
   206     virtual QCString trModules()
       
   207     { return "Moduler"; }
       
   208 
       
   209     /*! This is put above each page as a link to the class hierarchy */
       
   210     virtual QCString trClassHierarchy()
       
   211     { return "Klassehierarki"; }
       
   212 
       
   213     /*! This is put above each page as a link to the list of annotated classes */
       
   214     virtual QCString trCompoundList()
       
   215     {
       
   216       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   217         return "Datastrukturer";
       
   218       } else {
       
   219         return "Oversigt over sammensatte typer";
       
   220       }
       
   221     }
       
   222 
       
   223     /*! This is put above each page as a link to the list of documented files */
       
   224     virtual QCString trFileList()
       
   225     { return "Filoversigt"; }
       
   226 
       
   227     /*! This is put above each page as a link to all members of compounds. */
       
   228     virtual QCString trCompoundMembers()
       
   229     {
       
   230       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   231         return "Data-felter";
       
   232       } else {
       
   233         return "Felter i sammensatte typer";
       
   234       }
       
   235     }
       
   236 
       
   237     /*! This is put above each page as a link to all members of files. */
       
   238     virtual QCString trFileMembers()
       
   239     {
       
   240       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   241         return "Globale symboler";
       
   242       } else {
       
   243 	return "Placering i filer"; // Fil-medlemmer"; //TODO
       
   244 	//"Globale definitioner" ?
       
   245       }
       
   246     }
       
   247 
       
   248     /*! This is put above each page as a link to all related pages. */
       
   249     virtual QCString trRelatedPages()
       
   250     { return "Relaterede sider"; }
       
   251 
       
   252     /*! This is put above each page as a link to all examples. */
       
   253     virtual QCString trExamples()
       
   254     { return "Eksempler"; }
       
   255 
       
   256     /*! This is put above each page as a link to the search engine. */
       
   257     virtual QCString trSearch()
       
   258     { return "Søg"; }
       
   259 
       
   260     /*! This is an introduction to the class hierarchy. */
       
   261     virtual QCString trClassHierarchyDescription()
       
   262     { return "Denne nedarvningsliste er sorteret næsten - "
       
   263              "men ikke nødvendigvis helt - alfabetisk:";
       
   264     }
       
   265 
       
   266     /*! This is an introduction to the list with all files. */
       
   267     virtual QCString trFileListDescription(bool extractAll)
       
   268     {
       
   269       QCString result="Her er en liste over alle ";
       
   270       if (!extractAll) result+="dokumenterede ";
       
   271       result+="filer med korte beskrivelser:";
       
   272       return result;
       
   273     }
       
   274 
       
   275     /*! This is an introduction to the annotated compound list. */
       
   276     virtual QCString trCompoundListDescription()
       
   277     {
       
   278 
       
   279       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   280         return "Her er datastrukturerne med korte beskrivelser:";
       
   281       } else {
       
   282         return "Her er klasserne, datastrukturerne, "
       
   283                "unionerne og grænsefladerne med korte beskrivelser:";
       
   284       }
       
   285     }
       
   286 
       
   287     /*! This is an introduction to the page with all class members. */
       
   288     virtual QCString trCompoundMembersDescription(bool extractAll)
       
   289     {
       
   290       QCString result="Her er en liste over alle ";
       
   291       if (!extractAll) {
       
   292         result+="dokumenterede ";
       
   293       }
       
   294       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   295         result+="felter i datastrukturer og unioner";
       
   296       } else {
       
   297         result+="klassemedlemmer";
       
   298       }
       
   299       result+=" med links til ";
       
   300       if (!extractAll) {
       
   301         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   302           result+="datastruktur/unions-dokumentationen for hvert felt:";
       
   303         } else {
       
   304           result+="klassedokumentationen for hvert medlem:";
       
   305         }
       
   306       } else {
       
   307         if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   308           result+="de datastrukturer/unioner, de hører til:";
       
   309         } else {
       
   310           result+="de klasser, de hører til:";
       
   311         }
       
   312       }
       
   313       return result;
       
   314     }
       
   315 
       
   316     /*! This is an introduction to the page with all file members. */
       
   317     virtual QCString trFileMembersDescription(bool extractAll)
       
   318     {
       
   319       QCString result="Her er en liste over alle ";
       
   320       if (!extractAll) result+="dokumenterede ";
       
   321 
       
   322       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   323         result+="funktioner, variable, #defines, enumerationer "
       
   324 	    "og typedefinitioner";
       
   325       } else {
       
   326         result+="fil-medlemmer";
       
   327       }
       
   328       result+=", med links til ";
       
   329       if (extractAll)
       
   330         result+="de filer, de tilhører:";
       
   331       else
       
   332         result+="deres dokumentation:";
       
   333       return result;
       
   334     }
       
   335 
       
   336     /*! This is an introduction to the page with the list of all examples */
       
   337     virtual QCString trExamplesDescription()
       
   338     { return "Her er en liste over alle eksempler:"; }
       
   339 
       
   340     /*! This is an introduction to the page with the list of related pages */
       
   341     virtual QCString trRelatedPagesDescription()
       
   342     { return "Her er en liste over alle relaterede dokumentationssider:"; }
       
   343 
       
   344     /*! This is an introduction to the page with the list of class/file groups */
       
   345     virtual QCString trModulesDescription()
       
   346     { return "Her er en liste over alle moduler:"; }
       
   347 
       
   348     /*! This is used in HTML as the title of index.html. */
       
   349     virtual QCString trDocumentation()
       
   350     { return "Dokumentation"; }
       
   351 
       
   352     /*! This is used in LaTeX as the title of the chapter with the
       
   353      * index of all groups.
       
   354      */
       
   355     virtual QCString trModuleIndex()
       
   356     { return "Modul-indeks"; }
       
   357 
       
   358     /*! This is used in LaTeX as the title of the chapter with the
       
   359      * class hierarchy.
       
   360      */
       
   361     virtual QCString trHierarchicalIndex()
       
   362     { return "Hierarkisk indeks"; }
       
   363 
       
   364     /*! This is used in LaTeX as the title of the chapter with the
       
   365      * annotated compound index.
       
   366      */
       
   367     virtual QCString trCompoundIndex()
       
   368     {
       
   369       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   370         return "Indeks over datastrukturer";
       
   371       } else {
       
   372         return "Indeks over sammensatte typer";
       
   373       }
       
   374     }
       
   375 
       
   376     /*! This is used in LaTeX as the title of the chapter with the
       
   377      * list of all files.
       
   378      */
       
   379     virtual QCString trFileIndex()
       
   380     { return "Fil-indeks"; }
       
   381 
       
   382     /*! This is used in LaTeX as the title of the chapter containing
       
   383      *  the documentation of all groups.
       
   384      */
       
   385     virtual QCString trModuleDocumentation()
       
   386     { return "Modul-dokumentation"; }
       
   387 
       
   388     /*! This is used in LaTeX as the title of the chapter containing
       
   389      *  the documentation of all classes, structs and unions.
       
   390      */
       
   391     virtual QCString trClassDocumentation()
       
   392     {
       
   393       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   394         return "Datastruktur-documentation";
       
   395       } else {
       
   396         return "Klasse-dokumentation";
       
   397       }
       
   398     }
       
   399 
       
   400     /*! This is used in LaTeX as the title of the chapter containing
       
   401      *  the documentation of all files.
       
   402      */
       
   403     virtual QCString trFileDocumentation()
       
   404     { return "Fil-dokumentation"; }
       
   405 
       
   406     /*! This is used in LaTeX as the title of the chapter containing
       
   407      *  the documentation of all examples.
       
   408      */
       
   409     virtual QCString trExampleDocumentation()
       
   410     { return "Eksempel-dokumentation"; }
       
   411 
       
   412     /*! This is used in LaTeX as the title of the chapter containing
       
   413      *  the documentation of all related pages.
       
   414      */
       
   415     virtual QCString trPageDocumentation()
       
   416     { return "Side-dokumentation"; }
       
   417 
       
   418     /*! This is used in LaTeX as the title of the document */
       
   419     virtual QCString trReferenceManual()
       
   420     { return "Referencemanual"; }
       
   421 
       
   422     /*! This is used in the documentation of a file as a header before the
       
   423      *  list of defines
       
   424      */
       
   425     virtual QCString trDefines()
       
   426     { return "#Defines"; }
       
   427 
       
   428     /*! This is used in the documentation of a file as a header before the
       
   429      *  list of function prototypes
       
   430      */
       
   431     virtual QCString trFuncProtos()
       
   432     { return "Funktionsprototyper"; }
       
   433 
       
   434     /*! This is used in the documentation of a file as a header before the
       
   435      *  list of typedefs
       
   436      */
       
   437     virtual QCString trTypedefs()
       
   438     { return "Typedefinitioner"; }
       
   439 
       
   440     /*! This is used in the documentation of a file as a header before the
       
   441      *  list of enumerations
       
   442      */
       
   443     virtual QCString trEnumerations()
       
   444     { return "Enumerationer"; }
       
   445 
       
   446     /*! This is used in the documentation of a file as a header before the
       
   447      *  list of (global) functions
       
   448      */
       
   449     virtual QCString trFunctions()
       
   450     { return "Funktioner"; }
       
   451 
       
   452     /*! This is used in the documentation of a file as a header before the
       
   453      *  list of (global) variables
       
   454      */
       
   455     virtual QCString trVariables()
       
   456     { return "Variable"; }
       
   457 
       
   458     /*! This is used in the documentation of a file as a header before the
       
   459      *  list of (global) variables
       
   460      */
       
   461     virtual QCString trEnumerationValues()
       
   462     { return "Enumerationsværdier"; }
       
   463 
       
   464     /*! This is used in the documentation of a file before the list of
       
   465      *  documentation blocks for defines
       
   466      */
       
   467     virtual QCString trDefineDocumentation()
       
   468     { return "#Define-dokumentation"; }
       
   469 
       
   470     /*! This is used in the documentation of a file/namespace before the list
       
   471      *  of documentation blocks for function prototypes
       
   472      */
       
   473     virtual QCString trFunctionPrototypeDocumentation()
       
   474     { return "Dokumentation af funktionsprototyper"; }
       
   475 
       
   476     /*! This is used in the documentation of a file/namespace before the list
       
   477      *  of documentation blocks for typedefs
       
   478      */
       
   479     virtual QCString trTypedefDocumentation()
       
   480     { return "Dokumentation af typedefinitioner"; }
       
   481 
       
   482     /*! This is used in the documentation of a file/namespace before the list
       
   483      *  of documentation blocks for enumeration types
       
   484      */
       
   485     virtual QCString trEnumerationTypeDocumentation()
       
   486     { return "Dokumentation af enumerations-typer"; }
       
   487 
       
   488     /*! This is used in the documentation of a file/namespace before the list
       
   489      *  of documentation blocks for enumeration values
       
   490      */
       
   491     virtual QCString trEnumerationValueDocumentation()
       
   492     { return "Dokumentation af enumerations-værdier"; }
       
   493 
       
   494     /*! This is used in the documentation of a file/namespace before the list
       
   495      *  of documentation blocks for functions
       
   496      */
       
   497     virtual QCString trFunctionDocumentation()
       
   498     { return "Funktions-dokumentation"; }
       
   499 
       
   500     /*! This is used in the documentation of a file/namespace before the list
       
   501      *  of documentation blocks for variables
       
   502      */
       
   503     virtual QCString trVariableDocumentation()
       
   504     { return "Variabel-dokumentation"; }
       
   505 
       
   506     /*! This is used in the documentation of a file/namespace/group before
       
   507      *  the list of links to documented compounds
       
   508      */
       
   509     virtual QCString trCompounds()
       
   510     {
       
   511       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   512         return "Datastrukturer";
       
   513       } else {
       
   514         return "Sammensatte typer";
       
   515       }
       
   516     }
       
   517 
       
   518     /*! This is used in the standard footer of each page and indicates when
       
   519      *  the page was generated
       
   520      */
       
   521     virtual QCString trGeneratedAt(const char *date,const char *projName)
       
   522     {
       
   523       QCString result=(QCString)"Genereret "+date;
       
   524       if (projName) result+=(QCString)" for "+projName;
       
   525       result+=(QCString)" af";
       
   526       return result;
       
   527     }
       
   528     /*! This is part of the sentence used in the standard footer of each page.
       
   529      */
       
   530     virtual QCString trWrittenBy()
       
   531     { return "skrevet af"; }
       
   532 
       
   533     /*! this text is put before a class diagram */
       
   534     virtual QCString trClassDiagram(const char *clName)
       
   535     {
       
   536       return (QCString)"Stamtræ for "+clName+":";
       
   537     }
       
   538 
       
   539     /*! this text is generated when the \\internal command is used. */
       
   540     virtual QCString trForInternalUseOnly()
       
   541     { return "Kun til intern brug."; }
       
   542 
       
   543     /*! this text is generated when the \\warning command is used. */
       
   544     virtual QCString trWarning()
       
   545     { return "Advarsel"; }
       
   546 
       
   547     /*! this text is generated when the \\version command is used. */
       
   548     virtual QCString trVersion()
       
   549     { return "Version"; }
       
   550 
       
   551     /*! this text is generated when the \\date command is used. */
       
   552     virtual QCString trDate()
       
   553     { return "Dato"; }
       
   554 
       
   555     /*! this text is generated when the \\return command is used. */
       
   556     virtual QCString trReturns()
       
   557     { return "Returnerer"; }
       
   558 
       
   559     /*! this text is generated when the \\sa command is used. */
       
   560     virtual QCString trSeeAlso()
       
   561     { return "Se også"; }
       
   562 
       
   563     /*! this text is generated when the \\param command is used. */
       
   564     virtual QCString trParameters()
       
   565     { return "Parametre"; }
       
   566 
       
   567     /*! this text is generated when the \\exception command is used. */
       
   568     virtual QCString trExceptions()
       
   569     { return "Exceptions"; }
       
   570 
       
   571     /*! this text is used in the title page of a LaTeX document. */
       
   572     virtual QCString trGeneratedBy()
       
   573     { return "Genereret af"; }
       
   574 
       
   575 //////////////////////////////////////////////////////////////////////////
       
   576 // new since 0.49-990307
       
   577 //////////////////////////////////////////////////////////////////////////
       
   578 
       
   579     /*! used as the title of page containing all the index of all namespaces. */
       
   580     virtual QCString trNamespaceList()
       
   581     { return "Oversigt over namespaces"; }
       
   582 
       
   583     /*! used as an introduction to the namespace list */
       
   584     virtual QCString trNamespaceListDescription(bool extractAll)
       
   585     {
       
   586       QCString result="Her er en liste over alle ";
       
   587       if (!extractAll) result+="dokumenterede ";
       
   588       result+="namespaces med korte beskrivelser:";
       
   589       return result;
       
   590     }
       
   591 
       
   592     /*! used in the class documentation as a header before the list of all
       
   593      *  friends of a class
       
   594      */
       
   595     virtual QCString trFriends()
       
   596     { return "Friends"; }
       
   597 
       
   598 //////////////////////////////////////////////////////////////////////////
       
   599 // new since 0.49-990405
       
   600 //////////////////////////////////////////////////////////////////////////
       
   601 
       
   602     /*! used in the class documentation as a header before the list of all
       
   603      * related classes
       
   604      */
       
   605     virtual QCString trRelatedFunctionDocumentation()
       
   606     { return "Dokumentation af friends og af relaterede funktioner"; }
       
   607 
       
   608 //////////////////////////////////////////////////////////////////////////
       
   609 // new since 0.49-990425
       
   610 //////////////////////////////////////////////////////////////////////////
       
   611 
       
   612     /*! used as the title of the HTML page of a class/struct/union */
       
   613     virtual QCString trCompoundReference(const char *clName,
       
   614                                     ClassDef::CompoundType compType,
       
   615                                     bool isTemplate)
       
   616     {
       
   617       QCString result=(QCString)clName+" ";
       
   618       switch(compType)
       
   619       {
       
   620         case ClassDef::Class:      result+=" Klasse-"; break;
       
   621         case ClassDef::Struct:     result+=" Datastruktur-"; break;
       
   622         case ClassDef::Union:      result+=" Union-"; break;
       
   623         case ClassDef::Interface:  result+=" Grænseflade-"; break;
       
   624         case ClassDef::Protocol:   result+=" Protocol-"; break; // translate me!
       
   625         case ClassDef::Category:   result+=" Category-"; break; // translate me!
       
   626         case ClassDef::Exception:  result+=" Exception-"; break;
       
   627       }
       
   628       if (isTemplate) result+="template-";
       
   629       result+="reference";
       
   630       return result;
       
   631     }
       
   632 
       
   633     /*! used as the title of the HTML page of a file */
       
   634     virtual QCString trFileReference(const char *fileName)
       
   635     {
       
   636       QCString result=fileName;
       
   637       result+=" filreference";
       
   638       return result;
       
   639     }
       
   640 
       
   641     /*! used as the title of the HTML page of a namespace */
       
   642     virtual QCString trNamespaceReference(const char *namespaceName)
       
   643     {
       
   644       QCString result=namespaceName;
       
   645       result+=" namespace-reference";
       
   646       return result;
       
   647     }
       
   648 
       
   649     virtual QCString trPublicMembers()
       
   650     { return "Offentlige metoder"; }
       
   651     virtual QCString trPublicSlots()
       
   652     { return "Offentlige slots"; }
       
   653     virtual QCString trSignals()
       
   654     { return "Signaler"; }
       
   655     virtual QCString trStaticPublicMembers()
       
   656     { return "Statiske, offentlige metoder"; }
       
   657     virtual QCString trProtectedMembers()
       
   658     { return "Beskyttede metoder"; }
       
   659     virtual QCString trProtectedSlots()
       
   660     { return "Beskyttede slots"; }
       
   661     virtual QCString trStaticProtectedMembers()
       
   662     { return "Statiske, beskyttede metoder"; }
       
   663     virtual QCString trPrivateMembers()
       
   664     { return "Private metoder"; }
       
   665     virtual QCString trPrivateSlots()
       
   666     { return "Private slots"; }
       
   667     virtual QCString trStaticPrivateMembers()
       
   668     { return "Statiske, private metoder"; }
       
   669 
       
   670     /*! this function is used to produce a comma-separated list of items.
       
   671      *  use generateMarker(i) to indicate where item i should be put.
       
   672      */
       
   673     virtual QCString trWriteList(int numEntries)
       
   674     {
       
   675       QCString result;
       
   676       int i;
       
   677       // the inherits list contain `numEntries' classes
       
   678       for (i=0;i<numEntries;i++) {
       
   679         // use generateMarker to generate placeholders for the class links!
       
   680         result+=generateMarker(i); // generate marker for entry i in the list
       
   681                                    // (order is left to right)
       
   682 
       
   683         if (i!=numEntries-1) { // not the last entry, so we need a separator
       
   684           if (i<numEntries-2) // not the fore last entry
       
   685             result+=", ";
       
   686           else                // the fore last entry
       
   687             result+=" og ";
       
   688         }
       
   689       }
       
   690       return result;
       
   691     }
       
   692 
       
   693     /*! used in class documentation to produce a list of base classes,
       
   694      *  if class diagrams are disabled.
       
   695      */
       
   696     virtual QCString trInheritsList(int numEntries)
       
   697     {
       
   698       return "Nedarver "+trWriteList(numEntries)+".";
       
   699     }
       
   700 
       
   701     /*! used in class documentation to produce a list of super classes,
       
   702      *  if class diagrams are disabled.
       
   703      */
       
   704     virtual QCString trInheritedByList(int numEntries)
       
   705     {
       
   706       return "Nedarvet af "+trWriteList(numEntries)+".";
       
   707     }
       
   708 
       
   709     /*! used in member documentation blocks to produce a list of
       
   710      *  members that are hidden by this one.
       
   711      */
       
   712     virtual QCString trReimplementedFromList(int numEntries)
       
   713     {
       
   714       return "Overskriver metode fra "+trWriteList(numEntries)+".";
       
   715     }
       
   716 
       
   717     /*! used in member documentation blocks to produce a list of
       
   718      *  all member that overwrite the implementation of this member.
       
   719      */
       
   720     virtual QCString trReimplementedInList(int numEntries)
       
   721     {
       
   722       return "Reimplementeret i "+trWriteList(numEntries)+".";
       
   723     }
       
   724 
       
   725     /*! This is put above each page as a link to all members of namespaces. */
       
   726     virtual QCString trNamespaceMembers()
       
   727     { return "Namespace-medlemmer"; }
       
   728 
       
   729     /*! This is an introduction to the page with all namespace members */
       
   730     virtual QCString trNamespaceMemberDescription(bool extractAll)
       
   731     {
       
   732       QCString result="Her er en liste over alle ";
       
   733       if (!extractAll) result+="dokumenterede ";
       
   734       result+="namespace-medlemmer med links til ";
       
   735       if (extractAll)
       
   736         result+="namespace-dokumentationen for hvert medlem:";
       
   737       else
       
   738         result+="det namespace, de hører til:";
       
   739       return result;
       
   740     }
       
   741     /*! This is used in LaTeX as the title of the chapter with the
       
   742      *  index of all namespaces.
       
   743      */
       
   744     virtual QCString trNamespaceIndex()
       
   745     { return "Namespace-indeks"; }
       
   746 
       
   747     /*! This is used in LaTeX as the title of the chapter containing
       
   748      *  the documentation of all namespaces.
       
   749      */
       
   750     virtual QCString trNamespaceDocumentation()
       
   751     { return "Namespace-dokumentation"; }
       
   752 
       
   753 //////////////////////////////////////////////////////////////////////////
       
   754 // new since 0.49-990522
       
   755 //////////////////////////////////////////////////////////////////////////
       
   756 
       
   757     /*! This is used in the documentation before the list of all
       
   758      *  namespaces in a file.
       
   759      */
       
   760     virtual QCString trNamespaces()
       
   761     { return "Namespaces"; }
       
   762 
       
   763 //////////////////////////////////////////////////////////////////////////
       
   764 // new since 0.49-990728
       
   765 //////////////////////////////////////////////////////////////////////////
       
   766 
       
   767     /*! This is put at the bottom of a class documentation page and is
       
   768      *  followed by a list of files that were used to generate the page.
       
   769      */
       
   770     virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
       
   771         bool single)
       
   772     { // here s is one of " Class", " Struct" or " Union"
       
   773       // single is true implies a single file
       
   774       QCString result=(QCString)"Dokumentationen for denne ";
       
   775       switch(compType)
       
   776       {
       
   777         case ClassDef::Class:      result+="klasse"; break;
       
   778         case ClassDef::Struct:     result+="datastruktur"; break;
       
   779         case ClassDef::Union:      result+="union"; break;
       
   780         case ClassDef::Interface:  result+="grænseflade"; break;
       
   781         case ClassDef::Protocol:   result+="protocol"; break; // translate me!
       
   782         case ClassDef::Category:   result+="category"; break; // translate me!
       
   783         case ClassDef::Exception:  result+="exception"; break;
       
   784       }
       
   785       result+=" blev genereret ud fra fil";
       
   786       if (single) result+="en:"; else result+="erne:";
       
   787       return result;
       
   788     }
       
   789 
       
   790     /*! This is in the (quick) index as a link to the alphabetical compound
       
   791      * list.
       
   792      */
       
   793     virtual QCString trAlphabeticalList()
       
   794     { return "Alfabetisk oversigt"; }
       
   795 
       
   796 //////////////////////////////////////////////////////////////////////////
       
   797 // new since 0.49-990901
       
   798 //////////////////////////////////////////////////////////////////////////
       
   799 
       
   800     /*! This is used as the heading text for the retval command. */
       
   801     virtual QCString trReturnValues()
       
   802     { return "Returværdier"; }
       
   803 
       
   804     /*! This is in the (quick) index as a link to the main page (index.html)
       
   805      */
       
   806     virtual QCString trMainPage()
       
   807     { return "Hovedside"; }
       
   808 
       
   809     /*! This is used in references to page that are put in the LaTeX
       
   810      *  documentation. It should be an abbreviation of the word page.
       
   811      */
       
   812     virtual QCString trPageAbbreviation()
       
   813     { return "s."; }
       
   814 
       
   815 //////////////////////////////////////////////////////////////////////////
       
   816 // new since 0.49-991003
       
   817 //////////////////////////////////////////////////////////////////////////
       
   818 
       
   819     virtual QCString trDefinedAtLineInSourceFile()
       
   820     {
       
   821       return "Defineret på linje @0 i filen @1.";
       
   822     }
       
   823 
       
   824     virtual QCString trDefinedInSourceFile()
       
   825     {
       
   826       return "Defineret i filen @0.";
       
   827     }
       
   828 
       
   829 //////////////////////////////////////////////////////////////////////////
       
   830 // new since 0.49-991205
       
   831 //////////////////////////////////////////////////////////////////////////
       
   832 
       
   833     virtual QCString trDeprecated()
       
   834     {
       
   835       return "Frarådes - fortidslevn"; // ?? - What is the context?
       
   836 	  // "Ugleset" :)
       
   837     }
       
   838 
       
   839 //////////////////////////////////////////////////////////////////////////
       
   840 // new since 1.0.0
       
   841 //////////////////////////////////////////////////////////////////////////
       
   842 
       
   843     /*! this text is put before a collaboration diagram */
       
   844     virtual QCString trCollaborationDiagram(const char *clName)
       
   845     {
       
   846       return (QCString)"Samarbejdsdiagram for "+clName+":";
       
   847     }
       
   848     /*! this text is put before an include dependency graph */
       
   849     virtual QCString trInclDepGraph(const char *fName)
       
   850     {
       
   851       return (QCString)"Inklusions-afhængighedsgraf for "+fName+":";
       
   852     }
       
   853     /*! header that is put before the list of constructor/destructors. */
       
   854     virtual QCString trConstructorDocumentation()
       
   855     {
       
   856       return "Dokumentation af konstruktører og destruktører";
       
   857       // "Constructor & Destructor dokumentation";
       
   858     }
       
   859 
       
   860     /*! Used in the file documentation to point to the corresponding sources. */
       
   861     virtual QCString trGotoSourceCode()
       
   862     { return "Hop til denne fils kildekode."; }
       
   863     /*! Used in the file sources to point to the corresponding documentation. */
       
   864     virtual QCString trGotoDocumentation()
       
   865     { return "Hop til denne fils dokumentation."; }
       
   866 
       
   867     /*! Text for the \\pre command */
       
   868     virtual QCString trPrecondition()
       
   869     { return "Forudsætninger (precondition)"; }
       
   870     /*! Text for the \\post command */
       
   871     virtual QCString trPostcondition()
       
   872     { return "Resultat (postcondition)"; }
       
   873     /*! Text for the \\invariant command */
       
   874     virtual QCString trInvariant()
       
   875     { return "Invariant"; }
       
   876 
       
   877     /*! Text shown before a multi-line variable/enum initialization */
       
   878     virtual QCString trInitialValue()
       
   879     { return "Startværdi:"; }
       
   880 
       
   881     /*! Text used the source code in the file index */
       
   882     virtual QCString trCode()
       
   883     { return "kildekode"; }
       
   884     virtual QCString trGraphicalHierarchy()
       
   885     { return "Grafisk klassehierarki"; }
       
   886     virtual QCString trGotoGraphicalHierarchy()
       
   887     { return "Hop til det grafiske klassehierarki"; }
       
   888     virtual QCString trGotoTextualHierarchy()
       
   889     { return "Hop til det tekstuelle klassehierarki"; }
       
   890     virtual QCString trPageIndex()
       
   891     { return "Sideindeks"; }
       
   892 
       
   893 //////////////////////////////////////////////////////////////////////////
       
   894 // new since 1.1.0
       
   895 //////////////////////////////////////////////////////////////////////////
       
   896 
       
   897     virtual QCString trNote()
       
   898     { return "Note"; }
       
   899     virtual QCString trPublicTypes()
       
   900     { return "Offentlige typer"; }
       
   901 
       
   902     virtual QCString trPublicAttribs()
       
   903     {
       
   904       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
   905         return "Datafelter";
       
   906       } else {
       
   907         return "Offentlige attributter";
       
   908       }
       
   909     }
       
   910 
       
   911     virtual QCString trStaticPublicAttribs()
       
   912     { return "Statiske, offentlige attributter"; }
       
   913     virtual QCString trProtectedTypes()
       
   914     { return "Beskyttede typer"; }
       
   915     virtual QCString trProtectedAttribs()
       
   916     { return "Beskyttede attributter"; }
       
   917     virtual QCString trStaticProtectedAttribs()
       
   918     { return "Statiske, beskyttede attributter"; }
       
   919     virtual QCString trPrivateTypes()
       
   920     { return "Private typer"; }
       
   921     virtual QCString trPrivateAttribs()
       
   922     { return "Private attributter"; }
       
   923     virtual QCString trStaticPrivateAttribs()
       
   924     { return "Statiske, private attributter"; }
       
   925 
       
   926 //////////////////////////////////////////////////////////////////////////
       
   927 // new since 1.1.3
       
   928 //////////////////////////////////////////////////////////////////////////
       
   929 
       
   930     /*! Used as a marker that is put before a \\todo item */
       
   931     virtual QCString trTodo()
       
   932     {
       
   933       return "Todo";
       
   934     }
       
   935     /*! Used as the header of the todo list */
       
   936     virtual QCString trTodoList()
       
   937     {
       
   938       return "Todo-liste";
       
   939     }
       
   940 
       
   941 //////////////////////////////////////////////////////////////////////////
       
   942 // new since 1.1.4
       
   943 //////////////////////////////////////////////////////////////////////////
       
   944 
       
   945     virtual QCString trReferencedBy()
       
   946     {
       
   947       return "Refereret til af";
       
   948     }
       
   949     virtual QCString trRemarks()
       
   950     {
       
   951       return "Bemærkninger";
       
   952     }
       
   953     virtual QCString trAttention()
       
   954     {
       
   955       return "OBS";
       
   956     }
       
   957     virtual QCString trInclByDepGraph()
       
   958     {
       
   959       return
       
   960 	"Denne graf viser, hvilke filer der direkte eller "
       
   961 	"indirekte inkluderer denne fil:";
       
   962     }
       
   963     virtual QCString trSince()
       
   964     {
       
   965       return "Siden";
       
   966     }
       
   967 
       
   968 //////////////////////////////////////////////////////////////////////////
       
   969 // new since 1.1.5
       
   970 //////////////////////////////////////////////////////////////////////////
       
   971 
       
   972     /*! title of the graph legend page */
       
   973     virtual QCString trLegendTitle()
       
   974     {
       
   975       return "Graf-forklaring";
       
   976     }
       
   977     /*! page explaining how the dot graph's should be interpreted */
       
   978     virtual QCString trLegendDocs() //TODO
       
   979     {
       
   980       return
       
   981 		"Denne side forklarer, hvordan man skal fortolke de grafer, "
       
   982 		"der genereres af doxygen.<p>\n"
       
   983         "Tag følgende eksempel:\n"
       
   984         "\\code\n"
       
   985         "/*! Klasse der er usynlig pg.a. beskæring */\n"
       
   986         "class Invisible { };\n\n"
       
   987         "/*! Beskåret klasse: nedarvningsrelation er skjult */\n"
       
   988         "class Truncated : public Invisible { };\n\n"
       
   989         "/* Klasse der ikke er dokumenteret med doxygen-kommentarer */\n"
       
   990         "class Undocumented { };\n\n"
       
   991         "/*! Klasse der nedarves fra offentligt */\n"
       
   992         "class PublicBase : public Truncated { };\n\n"
       
   993         "/*! En template-klasse */\n"
       
   994         "template<class T> class Templ { };\n\n"
       
   995         "/*! Klasse der nedarves fra beskyttet */\n"
       
   996         "class ProtectedBase { };\n\n"
       
   997         "/*! Klasse der nedarves fra privat */\n"
       
   998         "class PrivateBase { };\n\n"
       
   999         "/*! Klasse der bruges af Inherited-klassen */\n"
       
  1000         "class Used { };\n\n"
       
  1001         "/*! Klasse der nedarver en masse andre klasser */\n"
       
  1002         "class Inherited : public PublicBase,\n"
       
  1003         "                  protected ProtectedBase,\n"
       
  1004         "                  private PrivateBase,\n"
       
  1005         "                  public Undocumented,\n"
       
  1006         "                  public Templ<int>\n"
       
  1007         "{\n"
       
  1008         "  private:\n"
       
  1009         "    Used *m_usedClass;\n"
       
  1010         "};\n"
       
  1011         "\\endcode\n"
       
  1012         "Hvis \\c MAX_DOT_GRAPH_HEIGHT i konfigurationsfilen "
       
  1013         "er sat til 240, vil dette resultere i følgende graf:"
       
  1014         "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
       
  1015         "<p>\n"
       
  1016         "De forskellige slags kasser i ovenstående graf har følgende "
       
  1017 		"betydninger:\n"
       
  1018         "<ul>\n"
       
  1019         "<li>%En udfyldt sort kasse repræsenterer den datastruktur eller "
       
  1020 		"klasse, grafen er genereret for.\n"
       
  1021         "<li>%En kasse med sort kant betegner en dokumenteret datastruktur "
       
  1022 		" eller klasse.\n"
       
  1023         "<li>%En kasse med grå kant betegner en udokumenteret datastruktur "
       
  1024  		" eller klasse.\n"
       
  1025         "<li>%En kasse med rød kant betegner en dokumenteret datastruktur "
       
  1026  		" eller klasse, for hvilken ikke alle "
       
  1027 		"nedarvnings- og indeholdelses-relationer er vist. "
       
  1028         "%Grafer beskæres, hvis de fylder mere end de specificerede dimensioner.\n "
       
  1029         "</ul>\n"
       
  1030         "Pilene har følgende betydninger:\n"
       
  1031         "<ul>\n"
       
  1032         "<li>%En mørkeblå pil viser en offentlig nedarvningsrelation "
       
  1033 		"mellem to klasser.\n"
       
  1034         "<li>%En mørkegrøn pil viser en beskyttet nedarvningsrelation.\n"
       
  1035         "<li>%En mørkerød pil viser en privat nedarvningsrelation.\n"
       
  1036         "<li>%En lilla, stiplet pil bruges, når en klasse er indeholdt i "
       
  1037 		"eller benyttes af en anden klasse. "
       
  1038         "Ved pilen står navnet på den eller de variable, gennem hvilke(n) "
       
  1039 		"den klasse, pilen peger på, er tilgængelig.\n"
       
  1040         "<li>%En gul, stiplet pil viser forholdet mellem en template-instans "
       
  1041 		"og den template-klasse, den er instantieret fra."
       
  1042         "Ved pilen står template-parametrene brugt ved instantieringen.\n"
       
  1043         "</ul>\n";
       
  1044     }
       
  1045     /*! text for the link to the legend page */
       
  1046     virtual QCString trLegend()
       
  1047     {
       
  1048       return "forklaring til graf";
       
  1049     }
       
  1050 
       
  1051 //////////////////////////////////////////////////////////////////////////
       
  1052 // new since 1.2.0
       
  1053 //////////////////////////////////////////////////////////////////////////
       
  1054 
       
  1055     /*! Used as a marker that is put before a test item */
       
  1056     virtual QCString trTest()
       
  1057     {
       
  1058       return "Test";
       
  1059     }
       
  1060     /*! Used as the header of the test list */
       
  1061     virtual QCString trTestList()
       
  1062     {
       
  1063       return "Testliste";
       
  1064     }
       
  1065 
       
  1066 //////////////////////////////////////////////////////////////////////////
       
  1067 // new since 1.2.1
       
  1068 //////////////////////////////////////////////////////////////////////////
       
  1069 
       
  1070     /*! Used as a section header for KDE-2 IDL methods */
       
  1071     virtual QCString trDCOPMethods()
       
  1072     {
       
  1073       return "DCOP-metoder";
       
  1074     }
       
  1075 
       
  1076 //////////////////////////////////////////////////////////////////////////
       
  1077 // new since 1.2.2
       
  1078 //////////////////////////////////////////////////////////////////////////
       
  1079 
       
  1080     /*! Used as a section header for IDL properties */
       
  1081     virtual QCString trProperties()
       
  1082     {
       
  1083       return "Egenskaber";
       
  1084     }
       
  1085     /*! Used as a section header for IDL property documentation */
       
  1086     virtual QCString trPropertyDocumentation()
       
  1087     {
       
  1088       return "Egenskabsdokumentation";
       
  1089     }
       
  1090 
       
  1091 //////////////////////////////////////////////////////////////////////////
       
  1092 // new since 1.2.4
       
  1093 //////////////////////////////////////////////////////////////////////////
       
  1094 
       
  1095     /*! Used for Java classes in the summary section of Java packages */
       
  1096     virtual QCString trClasses()
       
  1097     {
       
  1098       if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
       
  1099         return "Datastrukturer";
       
  1100       } else {
       
  1101         return "Klasser";
       
  1102       }
       
  1103     }
       
  1104     /*! Used as the title of a Java package */
       
  1105     virtual QCString trPackage(const char *name)
       
  1106     {
       
  1107       return (QCString)"Pakke "+name;
       
  1108     }
       
  1109     /*! Title of the package index page */
       
  1110     virtual QCString trPackageList()
       
  1111     {
       
  1112       return "Pakkeoversigt";
       
  1113     }
       
  1114     /*! The description of the package index page */
       
  1115     virtual QCString trPackageListDescription()
       
  1116     {
       
  1117       return
       
  1118 	"Her er en liste over pakkerne, med korte beskrivelser "
       
  1119 	"(hvor en sådan findes):";
       
  1120     }
       
  1121     /*! The link name in the Quick links header for each page */
       
  1122     virtual QCString trPackages()
       
  1123     {
       
  1124       return "Pakker";
       
  1125     }
       
  1126     /*! Text shown before a multi-line define */
       
  1127     virtual QCString trDefineValue()
       
  1128     {
       
  1129       return "Værdi:";
       
  1130     }
       
  1131 
       
  1132 //////////////////////////////////////////////////////////////////////////
       
  1133 // new since 1.2.5
       
  1134 //////////////////////////////////////////////////////////////////////////
       
  1135 
       
  1136     /*! Used as a marker that is put before a \\bug item */
       
  1137     virtual QCString trBug()
       
  1138     {
       
  1139       return "Kendte fejl";
       
  1140     }
       
  1141     /*! Used as the header of the bug list */
       
  1142     virtual QCString trBugList()
       
  1143     {
       
  1144       return "Liste over kendte fejl";
       
  1145     }
       
  1146 
       
  1147 //////////////////////////////////////////////////////////////////////////
       
  1148 // new since 1.2.6
       
  1149 //////////////////////////////////////////////////////////////////////////
       
  1150 
       
  1151     /*! Used as ansicpg for RTF file
       
  1152 	 * (used table extract:)
       
  1153 	 * <pre>
       
  1154      * Charset Name       Charset Value(hex)  Codepage number
       
  1155      * ------------------------------------------------------
       
  1156      * ANSI_CHARSET              0 (x00)            1252
       
  1157 	 * </pre>
       
  1158 	 */
       
  1159     virtual QCString trRTFansicp()
       
  1160     {
       
  1161       return "1252";
       
  1162     }
       
  1163 
       
  1164     /*! Used as ansicpg for RTF fcharset */
       
  1165     virtual QCString trRTFCharSet()
       
  1166     {
       
  1167       return "0";
       
  1168     }
       
  1169 
       
  1170     /*! Used as header RTF general index */
       
  1171     virtual QCString trRTFGeneralIndex()
       
  1172     {
       
  1173       return "Indeks";
       
  1174     }
       
  1175 
       
  1176     /*! This is used for translation of the word that will possibly
       
  1177      *  be followed by a single name or by a list of names
       
  1178      *  of the category.
       
  1179      */
       
  1180     virtual QCString trClass(bool first_capital, bool singular)
       
  1181     {
       
  1182       return createNoun(first_capital, singular, "klasse", "r");
       
  1183     }
       
  1184 
       
  1185     /*! This is used for translation of the word that will possibly
       
  1186      *  be followed by a single name or by a list of names
       
  1187      *  of the category.
       
  1188      */
       
  1189     virtual QCString trFile(bool first_capital, bool singular)
       
  1190     {
       
  1191       return createNoun(first_capital, singular, "fil", "er");
       
  1192     }
       
  1193 
       
  1194     /*! This is used for translation of the word that will possibly
       
  1195      *  be followed by a single name or by a list of names
       
  1196      *  of the category.
       
  1197      */
       
  1198     virtual QCString trNamespace(bool first_capital, bool singular)
       
  1199     {
       
  1200       return createNoun(first_capital, singular, "namespace", "s");
       
  1201     }
       
  1202 
       
  1203     /*! This is used for translation of the word that will possibly
       
  1204      *  be followed by a single name or by a list of names
       
  1205      *  of the category.
       
  1206      */
       
  1207     virtual QCString trGroup(bool first_capital, bool singular)
       
  1208     {
       
  1209       return createNoun(first_capital, singular, "gruppe", "r");
       
  1210     }
       
  1211 
       
  1212     /*! This is used for translation of the word that will possibly
       
  1213      *  be followed by a single name or by a list of names
       
  1214      *  of the category.
       
  1215      */
       
  1216     virtual QCString trPage(bool first_capital, bool singular)
       
  1217     {
       
  1218       return createNoun(first_capital, singular, "side", "r");
       
  1219     }
       
  1220 
       
  1221     /*! This is used for translation of the word that will possibly
       
  1222      *  be followed by a single name or by a list of names
       
  1223      *  of the category.
       
  1224      */
       
  1225     virtual QCString trMember(bool first_capital, bool singular)
       
  1226     {
       
  1227       return createNoun(first_capital, singular, "medlem", "mer");
       
  1228     }
       
  1229 
       
  1230     /*! This is used for translation of the word that will possibly
       
  1231      *  be followed by a single name or by a list of names
       
  1232      *  of the category.
       
  1233      */
       
  1234     virtual QCString trGlobal(bool first_capital, bool singular)
       
  1235     {
       
  1236       return createNoun(first_capital, singular, "global", "e");
       
  1237     }
       
  1238 
       
  1239 //////////////////////////////////////////////////////////////////////////
       
  1240 // new since 1.2.7
       
  1241 //////////////////////////////////////////////////////////////////////////
       
  1242 
       
  1243     /*! This text is generated when the \\author command is used and
       
  1244      *  for the author section in man pages. */
       
  1245     virtual QCString trAuthor(bool first_capital, bool singular)
       
  1246     {
       
  1247       return createNoun(first_capital, singular, "forfatter", "e");
       
  1248     }
       
  1249 
       
  1250 //////////////////////////////////////////////////////////////////////////
       
  1251 // new since 1.2.11
       
  1252 //////////////////////////////////////////////////////////////////////////
       
  1253 
       
  1254     /*! This text is put before the list of members referenced by a member
       
  1255      */
       
  1256     virtual QCString trReferences()
       
  1257     {
       
  1258       return "Indeholder referencer til";
       
  1259     }
       
  1260 
       
  1261 //////////////////////////////////////////////////////////////////////////
       
  1262 // new since 1.2.13
       
  1263 //////////////////////////////////////////////////////////////////////////
       
  1264 
       
  1265     /*! used in member documentation blocks to produce a list of
       
  1266      *  members that are implemented by this one.
       
  1267      */
       
  1268     virtual QCString trImplementedFromList(int numEntries)
       
  1269     {
       
  1270       return "Implementerer "+trWriteList(numEntries)+".";
       
  1271     }
       
  1272 
       
  1273     /*! used in member documentation blocks to produce a list of
       
  1274      *  all members that implement this abstract member.
       
  1275      */
       
  1276     virtual QCString trImplementedInList(int numEntries)
       
  1277     {
       
  1278       return "Implementeret i "+trWriteList(numEntries)+".";
       
  1279     }
       
  1280 
       
  1281 //////////////////////////////////////////////////////////////////////////
       
  1282 // new since 1.2.16
       
  1283 //////////////////////////////////////////////////////////////////////////
       
  1284 
       
  1285     /*! used in RTF documentation as a heading for the Table
       
  1286      *  of Contents.
       
  1287      */
       
  1288     virtual QCString trRTFTableOfContents()
       
  1289     {
       
  1290       return "Indholdsfortegnelse";
       
  1291     }
       
  1292 
       
  1293 //////////////////////////////////////////////////////////////////////////
       
  1294 // new since 1.2.17
       
  1295 //////////////////////////////////////////////////////////////////////////
       
  1296 
       
  1297     /*! Used as the header of the list of item that have been
       
  1298      *  flagged deprecated
       
  1299      */
       
  1300     virtual QCString trDeprecatedList()
       
  1301     {
       
  1302       return "Liste over fortidslevn, hvis brug frarådes";
       
  1303     }
       
  1304 
       
  1305 //////////////////////////////////////////////////////////////////////////
       
  1306 // new since 1.2.18
       
  1307 //////////////////////////////////////////////////////////////////////////
       
  1308 
       
  1309     /*! Used as a header for declaration section of the events found in
       
  1310      * a C# program
       
  1311      */
       
  1312     virtual QCString trEvents()
       
  1313     {
       
  1314       return "Begivenheder";
       
  1315     }
       
  1316     /*! Header used for the documentation section of a class' events. */
       
  1317     virtual QCString trEventDocumentation()
       
  1318     {
       
  1319       return "Begivenhedsdokumentation";
       
  1320     }
       
  1321 
       
  1322 //////////////////////////////////////////////////////////////////////////
       
  1323 // new since 1.3
       
  1324 //////////////////////////////////////////////////////////////////////////
       
  1325 
       
  1326     /* Java: Entities with package scope... */
       
  1327     virtual QCString trPackageTypes()
       
  1328     { return "Typer med pakke-scope"; }
       
  1329     virtual QCString trPackageMembers()
       
  1330     { return "Metoder med pakke-scope"; }
       
  1331     virtual QCString trStaticPackageMembers()
       
  1332     { return "Statiske metoder med pakke-scope"; }
       
  1333     virtual QCString trPackageAttribs()
       
  1334     { return "Attributter med pakke-scope"; }
       
  1335     virtual QCString trStaticPackageAttribs()
       
  1336     { return "Statiske attributter med pakke-scope"; }
       
  1337 
       
  1338 //////////////////////////////////////////////////////////////////////////
       
  1339 // new since 1.3.1
       
  1340 //////////////////////////////////////////////////////////////////////////
       
  1341 
       
  1342     /*! Used in the quick index of a class/file/namespace member list page
       
  1343      *  to link to the unfiltered list of all members.
       
  1344      */
       
  1345     virtual QCString trAll()
       
  1346     {
       
  1347       return "Alle";
       
  1348     }
       
  1349 
       
  1350     /*! Put in front of the call graph for a function. */
       
  1351     virtual QCString trCallGraph()
       
  1352     {
       
  1353       return "Her er kald-grafen for denne funktion:";
       
  1354     }
       
  1355 
       
  1356 //////////////////////////////////////////////////////////////////////////
       
  1357 // new since 1.3.3
       
  1358 //////////////////////////////////////////////////////////////////////////
       
  1359 
       
  1360     /*! When the search engine is enabled this text is put in the header
       
  1361      *  of each page before the field where one can enter the text to search
       
  1362      *  for.
       
  1363      */
       
  1364     virtual QCString trSearchForIndex()
       
  1365     {
       
  1366       return "Søg efter";
       
  1367     }
       
  1368 
       
  1369     /*! This string is used as the title for the page listing the search
       
  1370      *  results.
       
  1371      */
       
  1372     virtual QCString trSearchResultsTitle()
       
  1373     {
       
  1374       return "Søgeresultater";
       
  1375     }
       
  1376 
       
  1377     /*! This string is put just before listing the search results. The
       
  1378      *  text can be different depending on the number of documents found.
       
  1379      *  Inside the text you can put the special marker $num to insert
       
  1380      *  the number representing the actual number of search results.
       
  1381      *  The @a numDocuments parameter can be either 0, 1 or 2, where the
       
  1382      *  value 2 represents 2 or more matches. HTML markup is allowed inside
       
  1383      *  the returned string.
       
  1384      */
       
  1385     virtual QCString trSearchResults(int numDocuments)
       
  1386     {
       
  1387       if (numDocuments==0) {
       
  1388         return "Beklager - ingen dokumenter passede til din forespørgsel.";
       
  1389       } else if (numDocuments==1) {
       
  1390         return "Fandt <b>1</b> dokument, der passer til din forespørgsel.";
       
  1391       } else {
       
  1392         return
       
  1393 	  "Fandt <b>$num</b> dokumenter, der passer til din forespørgsel. "
       
  1394 	  "De, der passer bedst, vises først.";
       
  1395       }
       
  1396     }
       
  1397 
       
  1398     /*! This string is put before the list of matched words, for each search
       
  1399      *  result. What follows is the list of words that matched the query.
       
  1400      */
       
  1401     virtual QCString trSearchMatches()
       
  1402     {
       
  1403       return "Fundne ord:"; //translation?
       
  1404     }
       
  1405 
       
  1406 //////////////////////////////////////////////////////////////////////////
       
  1407 // new since 1.3.8
       
  1408 //////////////////////////////////////////////////////////////////////////
       
  1409 
       
  1410     /*! This is used in HTML as the title of page with source code for
       
  1411      *  file filename
       
  1412      */
       
  1413     virtual QCString trSourceFile(QCString& filename)
       
  1414     {
       
  1415       return "Kildefilen " + filename;
       
  1416     }
       
  1417 
       
  1418 
       
  1419 //////////////////////////////////////////////////////////////////////////
       
  1420 // new since 1.3.9
       
  1421 //////////////////////////////////////////////////////////////////////////
       
  1422 
       
  1423     /*! This is used as the name of the chapter containing the directory
       
  1424      *  hierarchy.
       
  1425      */
       
  1426     virtual QCString trDirIndex()
       
  1427     { return "Katalogstruktur"; }
       
  1428 
       
  1429     /*! This is used as the name of the chapter containing the documentation
       
  1430      *  of the directories.
       
  1431      */
       
  1432     virtual QCString trDirDocumentation()
       
  1433     { return "Katalog-dokumentation"; }
       
  1434 
       
  1435     /*! This is used as the title of the directory index and also in the
       
  1436      *  Quick links of an HTML page, to link to the directory hierarchy.
       
  1437      */
       
  1438     virtual QCString trDirectories()
       
  1439     { return "Kataloger"; }
       
  1440 
       
  1441     /*! This returns a sentences that introduces the directory hierarchy. 
       
  1442      *  and the fact that it is sorted alphabetically per level
       
  1443      */
       
  1444     virtual QCString trDirDescription()
       
  1445     { return "Denne katalogstruktur er sorteret næsten - "
       
  1446              "men ikke nødvendigvis helt - alfabetisk:";
       
  1447     }
       
  1448 
       
  1449     /*! This returns the title of a directory page. The name of the
       
  1450      *  directory is passed via \a dirName.
       
  1451      */
       
  1452     virtual QCString trDirReference(const char *dirName)
       
  1453       { QCString result="Indhold af kataloget "; result+=dirName; return result;}
       
  1454 
       
  1455     /*! This returns the word directory with or without starting capital
       
  1456      *  (\a first_capital) and in sigular or plural form (\a singular).
       
  1457      */
       
  1458     virtual QCString trDir(bool first_capital, bool singular)
       
  1459     { 
       
  1460       return createNoun(first_capital, singular, "katalog", "er");
       
  1461     }
       
  1462 
       
  1463 //////////////////////////////////////////////////////////////////////////
       
  1464 // new since 1.4.1
       
  1465 //////////////////////////////////////////////////////////////////////////
       
  1466 
       
  1467     /*! This text is added to the documentation when the \\overload command
       
  1468      *  is used for a overloaded function.
       
  1469      */
       
  1470     virtual QCString trOverloadText()
       
  1471     {
       
  1472        return "Dette er en overdefineret medlemsfunktion, "
       
  1473               "defineret af bekvemmelighedshensyn. "
       
  1474 	      "Den adskiller sig kun fra den ovenstående funktion i, "
       
  1475 	      "hvilke argumenter den tager.";
       
  1476     }
       
  1477 
       
  1478 //////////////////////////////////////////////////////////////////////////
       
  1479 // new since 1.4.6
       
  1480 //////////////////////////////////////////////////////////////////////////
       
  1481 
       
  1482     /*! This is used to introduce a caller (or called-by) graph */
       
  1483     virtual QCString trCallerGraph()
       
  1484     {
       
  1485       return "Her er kalder-grafen for denne funktion:";
       
  1486     }
       
  1487 
       
  1488     /*! This is used in the documentation of a file/namespace before the list 
       
  1489      *  of documentation blocks for enumeration values
       
  1490      */
       
  1491     /*
       
  1492     virtual QCString trEnumerationValueDocumentation()
       
  1493       { return "Enumerator-dokumentation"; } //TODO?
       
  1494 */
       
  1495 
       
  1496 
       
  1497 
       
  1498 /*---------- For internal use: ----------------------------------------*/
       
  1499   protected:
       
  1500 	/*! For easy flexible-noun implementation.
       
  1501 	 *  \internal
       
  1502 	 */
       
  1503     QCString createNoun(bool first_capital, bool singular,
       
  1504 			const char* base, const char* plurSuffix)
       
  1505     {
       
  1506       QCString result(base);
       
  1507       if (first_capital) result.at(0) = toupper(result.at(0));
       
  1508       if (!singular)  result+=plurSuffix;
       
  1509       return result;
       
  1510     }
       
  1511 };
       
  1512 
       
  1513 #endif