1 /*-*- c-basic-offset: 2; tab-width: 8 -*-*/
2 /******************************************************************************
6 * Copyright (C) 1997-2012 by Dimitri van Heesch.
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.
14 * Documents produced by Doxygen are derivative works derived from the
15 * input used in their production; they are not affected by this license.
19 * @brief ´Danish translation
23 * Danish translation by
24 * Erik Søe Sørensen <eriksoe@daimi.au.dk>
26 * First version (not complete) for Doxygen 1.2.7
27 * Extended and revised for Doxygen 1.3
28 * Extended and revised for Doxygen 1.3.4
29 * Extended and revised for Doxygen 1.3.8
32 /* Translator's notes:
34 Oversættelseskonventioner:
35 (Konventioner for konventioner:
36 '?' angiver oversættelser, jeg har været i tvivl om
37 '??' angiver tvivlsomme oversættelser
38 '..?' angiver ord, der endnu ikke er fundet en oversættelse til
39 '(do.)' angiver ord, der med vilje ikke er oversat, idet jeg selv
40 overvejende bruger det engelske udtryk
41 '(-> _)' angiver ord, der er fundet en oversættelse til, men som jeg
42 vægrer mig ved at oversætte.
43 'KLID:_' angiver ord, hvor jeg med overlæg har rettet mig efter
44 KLID.dk's oversættelsesguide (enig eller ej).
48 compound -> 'sammensat type'
49 constructor -> konstruktør ?
50 destructor -> destruktør ?
51 directory -> KLID:katalog (kunne også være 'bibliotek','mappe','folder')
53 exception (-> undtagelse ?)
55 interface -> grænseflade ?
56 member -> medlem (TODO)
58 overloaded -> KLID:overdefineret
61 protected -> beskyttet ??
63 reference(vb) -> "indeholde referencer til" (?)
65 source code -> kildekode
66 struct -> datastruktur
67 template (-> skabelon ?)
68 typedef -> typedefinition (?)
72 Specielle forbindelser:
73 'Inheritance diagram' -> Stamtræ (selvom Nedarvningsdiagram også gik an)
78 (Konstruktivt) input modtages med glæde!
79 -- Erik Søe Sørensen <eriksoe@daimi.au.dk>
87 #ifndef TRANSLATOR_DK_H
88 #define TRANSLATOR_DK_H
90 class TranslatorDanish : public TranslatorAdapter_1_8_0
94 // --- Language control methods -------------------
96 /*! Used for identification of the language. The identification
97 * should not be translated. It should be replaced by the name
98 * of the language in English using lower-case characters only
99 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
100 * the identification used in language.cpp.
102 virtual QCString idLanguage()
105 /*! Used to get the LaTeX command(s) for the language support.
106 * This method should return string with commands that switch
107 * LaTeX to the desired language. For example
108 * <pre>"\\usepackage[german]{babel}\n"
111 * <pre>"\\usepackage{polski}\n"
112 * "\\usepackage[latin2]{inputenc}\n"
113 * "\\usepackage[T1]{fontenc}\n"
116 virtual QCString latexLanguageSupportCommand()
119 "\\usepackage[danish]{babel}\n"
120 "\\usepackage[T1]{fontenc}\n";
123 /*! return the language charset. This will be used for the HTML output */
124 virtual QCString idLanguageCharset()
129 // --- Language translation methods -------------------
131 /*! used in the compound documentation before a list of related functions. */
132 virtual QCString trRelatedFunctions()
133 { return "Relaterede funktioner"; }
135 /*! subscript for the related functions. */
136 virtual QCString trRelatedSubscript()
137 { return "(Bemærk at disse ikke er medlems-funktioner.)"; }
139 /*! header that is put before the detailed description of files,
140 * classes and namespaces. */
141 virtual QCString trDetailedDescription()
142 { return "Detaljeret beskrivelse"; }
144 /*! header that is put before the list of typedefs. */
145 virtual QCString trMemberTypedefDocumentation()
146 { return "Dokumentation af medlems-typedefinitioner"; }
148 /*! header that is put before the list of enumerations. */
149 virtual QCString trMemberEnumerationDocumentation()
150 { return "Dokumentation af medlems-enumerationer"; }
151 // medlems-enumerationer -> 'indeholdte enumerationer'
153 /*! header that is put before the list of member functions. */
154 virtual QCString trMemberFunctionDocumentation()
155 { return "Dokumentation af medlemsfunktioner"; }
157 /*! header that is put before the list of member attributes. */
158 virtual QCString trMemberDataDocumentation()
160 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
161 return "Felt-dokumentation";
163 return "Dokumentation af feltvariable";
167 /*! this is the text of a link put after brief descriptions. */
168 virtual QCString trMore()
169 { return "Mere..."; }
171 /*! put in the class documentation */
172 virtual QCString trListOfAllMembers()
173 { return "Liste over alle medlemmer"; }
175 /*! used as the title of the "list of all members" page of a class */
176 virtual QCString trMemberList()
177 { return "Liste over medlemmer"; }
179 /*! this is the first part of a sentence that is followed by a class name */
180 virtual QCString trThisIsTheListOfAllMembers()
181 { return "Dette er den komplette liste over medlemmer i "; }
183 /*! this is the remainder of the sentence after the class name */
184 virtual QCString trIncludingInheritedMembers()
185 { return ", inklusive alle nedarvede medlemmer."; }
187 /*! this is put at the author sections at the bottom of man pages.
188 * parameter s is name of the project name.
190 virtual QCString trGeneratedAutomatically(const char *s)
191 { QCString result="Automatisk genereret af Doxygen";
192 if (s) result+=(QCString)" for "+s;
193 result+=" ud fra kildekoden.";
197 /*! put after an enum name in the list of all members */
198 virtual QCString trEnumName()
199 { return "enumerationsnavn"; }
201 /*! put after an enum value in the list of all members */
202 virtual QCString trEnumValue()
203 { return "enumerationsværdi"; }
205 /*! put after an undocumented member in the list of all members */
206 virtual QCString trDefinedIn()
207 { return "defineret i"; }
209 // quick reference sections
211 /*! This is put above each page as a link to the list of all groups of
212 * compounds or files (see the \\group command).
214 virtual QCString trModules()
215 { return "Moduler"; }
217 /*! This is put above each page as a link to the class hierarchy */
218 virtual QCString trClassHierarchy()
219 { return "Klassehierarki"; }
221 /*! This is put above each page as a link to the list of annotated classes */
222 virtual QCString trCompoundList()
224 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
225 return "Datastrukturer";
227 return "Oversigt over sammensatte typer";
231 /*! This is put above each page as a link to the list of documented files */
232 virtual QCString trFileList()
233 { return "Filoversigt"; }
235 /*! This is put above each page as a link to all members of compounds. */
236 virtual QCString trCompoundMembers()
238 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
239 return "Data-felter";
241 return "Felter i sammensatte typer";
245 /*! This is put above each page as a link to all members of files. */
246 virtual QCString trFileMembers()
248 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
249 return "Globale symboler";
251 return "Placering i filer"; // Fil-medlemmer"; //TODO
252 //"Globale definitioner" ?
256 /*! This is put above each page as a link to all related pages. */
257 virtual QCString trRelatedPages()
258 { return "Relaterede sider"; }
260 /*! This is put above each page as a link to all examples. */
261 virtual QCString trExamples()
262 { return "Eksempler"; }
264 /*! This is put above each page as a link to the search engine. */
265 virtual QCString trSearch()
268 /*! This is an introduction to the class hierarchy. */
269 virtual QCString trClassHierarchyDescription()
270 { return "Denne nedarvningsliste er sorteret næsten - "
271 "men ikke nødvendigvis helt - alfabetisk:";
274 /*! This is an introduction to the list with all files. */
275 virtual QCString trFileListDescription(bool extractAll)
277 QCString result="Her er en liste over alle ";
278 if (!extractAll) result+="dokumenterede ";
279 result+="filer med korte beskrivelser:";
283 /*! This is an introduction to the annotated compound list. */
284 virtual QCString trCompoundListDescription()
287 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
288 return "Her er datastrukturerne med korte beskrivelser:";
290 return "Her er klasserne, datastrukturerne, "
291 "unionerne og grænsefladerne med korte beskrivelser:";
295 /*! This is an introduction to the page with all class members. */
296 virtual QCString trCompoundMembersDescription(bool extractAll)
298 QCString result="Her er en liste over alle ";
300 result+="dokumenterede ";
302 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
303 result+="felter i datastrukturer og unioner";
305 result+="klassemedlemmer";
307 result+=" med links til ";
309 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
310 result+="datastruktur/unions-dokumentationen for hvert felt:";
312 result+="klassedokumentationen for hvert medlem:";
315 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
316 result+="de datastrukturer/unioner, de hører til:";
318 result+="de klasser, de hører til:";
324 /*! This is an introduction to the page with all file members. */
325 virtual QCString trFileMembersDescription(bool extractAll)
327 QCString result="Her er en liste over alle ";
328 if (!extractAll) result+="dokumenterede ";
330 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
331 result+="funktioner, variable, #defines, enumerationer "
332 "og typedefinitioner";
334 result+="fil-medlemmer";
336 result+=", med links til ";
338 result+="de filer, de tilhører:";
340 result+="deres dokumentation:";
344 /*! This is an introduction to the page with the list of all examples */
345 virtual QCString trExamplesDescription()
346 { return "Her er en liste over alle eksempler:"; }
348 /*! This is an introduction to the page with the list of related pages */
349 virtual QCString trRelatedPagesDescription()
350 { return "Her er en liste over alle relaterede dokumentationssider:"; }
352 /*! This is an introduction to the page with the list of class/file groups */
353 virtual QCString trModulesDescription()
354 { return "Her er en liste over alle moduler:"; }
356 /*! This is used in HTML as the title of index.html. */
357 virtual QCString trDocumentation()
358 { return "Dokumentation"; }
360 /*! This is used in LaTeX as the title of the chapter with the
361 * index of all groups.
363 virtual QCString trModuleIndex()
364 { return "Modul-indeks"; }
366 /*! This is used in LaTeX as the title of the chapter with the
369 virtual QCString trHierarchicalIndex()
370 { return "Hierarkisk indeks"; }
372 /*! This is used in LaTeX as the title of the chapter with the
373 * annotated compound index.
375 virtual QCString trCompoundIndex()
377 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
378 return "Indeks over datastrukturer";
380 return "Indeks over sammensatte typer";
384 /*! This is used in LaTeX as the title of the chapter with the
387 virtual QCString trFileIndex()
388 { return "Fil-indeks"; }
390 /*! This is used in LaTeX as the title of the chapter containing
391 * the documentation of all groups.
393 virtual QCString trModuleDocumentation()
394 { return "Modul-dokumentation"; }
396 /*! This is used in LaTeX as the title of the chapter containing
397 * the documentation of all classes, structs and unions.
399 virtual QCString trClassDocumentation()
401 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
402 return "Datastruktur-documentation";
404 return "Klasse-dokumentation";
408 /*! This is used in LaTeX as the title of the chapter containing
409 * the documentation of all files.
411 virtual QCString trFileDocumentation()
412 { return "Fil-dokumentation"; }
414 /*! This is used in LaTeX as the title of the chapter containing
415 * the documentation of all examples.
417 virtual QCString trExampleDocumentation()
418 { return "Eksempel-dokumentation"; }
420 /*! This is used in LaTeX as the title of the chapter containing
421 * the documentation of all related pages.
423 virtual QCString trPageDocumentation()
424 { return "Side-dokumentation"; }
426 /*! This is used in LaTeX as the title of the document */
427 virtual QCString trReferenceManual()
428 { return "Referencemanual"; }
430 /*! This is used in the documentation of a file as a header before the
433 virtual QCString trDefines()
434 { return "#Defines"; }
436 /*! This is used in the documentation of a file as a header before the
437 * list of function prototypes
439 virtual QCString trFuncProtos()
440 { return "Funktionsprototyper"; }
442 /*! This is used in the documentation of a file as a header before the
445 virtual QCString trTypedefs()
446 { return "Typedefinitioner"; }
448 /*! This is used in the documentation of a file as a header before the
449 * list of enumerations
451 virtual QCString trEnumerations()
452 { return "Enumerationer"; }
454 /*! This is used in the documentation of a file as a header before the
455 * list of (global) functions
457 virtual QCString trFunctions()
458 { return "Funktioner"; }
460 /*! This is used in the documentation of a file as a header before the
461 * list of (global) variables
463 virtual QCString trVariables()
464 { return "Variable"; }
466 /*! This is used in the documentation of a file as a header before the
467 * list of (global) variables
469 virtual QCString trEnumerationValues()
470 { return "Enumerationsværdier"; }
472 /*! This is used in the documentation of a file before the list of
473 * documentation blocks for defines
475 virtual QCString trDefineDocumentation()
476 { return "#Define-dokumentation"; }
478 /*! This is used in the documentation of a file/namespace before the list
479 * of documentation blocks for function prototypes
481 virtual QCString trFunctionPrototypeDocumentation()
482 { return "Dokumentation af funktionsprototyper"; }
484 /*! This is used in the documentation of a file/namespace before the list
485 * of documentation blocks for typedefs
487 virtual QCString trTypedefDocumentation()
488 { return "Dokumentation af typedefinitioner"; }
490 /*! This is used in the documentation of a file/namespace before the list
491 * of documentation blocks for enumeration types
493 virtual QCString trEnumerationTypeDocumentation()
494 { return "Dokumentation af enumerations-typer"; }
496 /*! This is used in the documentation of a file/namespace before the list
497 * of documentation blocks for enumeration values
499 virtual QCString trEnumerationValueDocumentation()
500 { return "Dokumentation af enumerations-værdier"; }
502 /*! This is used in the documentation of a file/namespace before the list
503 * of documentation blocks for functions
505 virtual QCString trFunctionDocumentation()
506 { return "Funktions-dokumentation"; }
508 /*! This is used in the documentation of a file/namespace before the list
509 * of documentation blocks for variables
511 virtual QCString trVariableDocumentation()
512 { return "Variabel-dokumentation"; }
514 /*! This is used in the documentation of a file/namespace/group before
515 * the list of links to documented compounds
517 virtual QCString trCompounds()
519 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
520 return "Datastrukturer";
522 return "Sammensatte typer";
526 /*! This is used in the standard footer of each page and indicates when
527 * the page was generated
529 virtual QCString trGeneratedAt(const char *date,const char *projName)
531 QCString result=(QCString)"Genereret "+date;
532 if (projName) result+=(QCString)" for "+projName;
533 result+=(QCString)" af";
536 /*! This is part of the sentence used in the standard footer of each page.
538 virtual QCString trWrittenBy()
539 { return "skrevet af"; }
541 /*! this text is put before a class diagram */
542 virtual QCString trClassDiagram(const char *clName)
544 return (QCString)"Stamtræ for "+clName+":";
547 /*! this text is generated when the \\internal command is used. */
548 virtual QCString trForInternalUseOnly()
549 { return "Kun til intern brug."; }
551 /*! this text is generated when the \\warning command is used. */
552 virtual QCString trWarning()
553 { return "Advarsel"; }
555 /*! this text is generated when the \\version command is used. */
556 virtual QCString trVersion()
557 { return "Version"; }
559 /*! this text is generated when the \\date command is used. */
560 virtual QCString trDate()
563 /*! this text is generated when the \\return command is used. */
564 virtual QCString trReturns()
565 { return "Returnerer"; }
567 /*! this text is generated when the \\sa command is used. */
568 virtual QCString trSeeAlso()
569 { return "Se også"; }
571 /*! this text is generated when the \\param command is used. */
572 virtual QCString trParameters()
573 { return "Parametre"; }
575 /*! this text is generated when the \\exception command is used. */
576 virtual QCString trExceptions()
577 { return "Undtagelser"; } // "Exceptions"
579 /*! this text is used in the title page of a LaTeX document. */
580 virtual QCString trGeneratedBy()
581 { return "Genereret af"; }
583 //////////////////////////////////////////////////////////////////////////
584 // new since 0.49-990307
585 //////////////////////////////////////////////////////////////////////////
587 /*! used as the title of page containing all the index of all namespaces. */
588 virtual QCString trNamespaceList()
589 { return "Oversigt over namespaces"; }
591 /*! used as an introduction to the namespace list */
592 virtual QCString trNamespaceListDescription(bool extractAll)
594 QCString result="Her er en liste over alle ";
595 if (!extractAll) result+="dokumenterede ";
596 result+="namespaces med korte beskrivelser:";
600 /*! used in the class documentation as a header before the list of all
603 virtual QCString trFriends()
604 { return "Friends"; }
606 //////////////////////////////////////////////////////////////////////////
607 // new since 0.49-990405
608 //////////////////////////////////////////////////////////////////////////
610 /*! used in the class documentation as a header before the list of all
613 virtual QCString trRelatedFunctionDocumentation()
614 { return "Dokumentation af friends og af relaterede funktioner"; }
616 //////////////////////////////////////////////////////////////////////////
617 // new since 0.49-990425
618 //////////////////////////////////////////////////////////////////////////
620 /*! used as the title of the HTML page of a class/struct/union */
621 virtual QCString trCompoundReference(const char *clName,
622 ClassDef::CompoundType compType,
625 QCString result=(QCString)clName+" ";
628 case ClassDef::Class: result+=" Klasse-"; break;
629 case ClassDef::Struct: result+=" Datastruktur-"; break;
630 case ClassDef::Union: result+=" Union-"; break;
631 case ClassDef::Interface: result+=" Grænseflade-"; break;
632 case ClassDef::Protocol: result+=" Protokol-"; break;
633 case ClassDef::Category: result+=" Kategori-"; break; // " Category-"
634 case ClassDef::Exception: result+=" Undtagelse-"; break; // " Exception"
636 if (isTemplate) result+="skabelon-"; // "template-"
641 /*! used as the title of the HTML page of a file */
642 virtual QCString trFileReference(const char *fileName)
644 QCString result=fileName;
645 result+=" filreference";
649 /*! used as the title of the HTML page of a namespace */
650 virtual QCString trNamespaceReference(const char *namespaceName)
652 QCString result=namespaceName;
653 result+=" namespace-reference";
657 virtual QCString trPublicMembers()
658 { return "Offentlige metoder"; }
659 virtual QCString trPublicSlots()
660 { return "Offentlige slots"; }
661 virtual QCString trSignals()
662 { return "Signaler"; }
663 virtual QCString trStaticPublicMembers()
664 { return "Statiske, offentlige metoder"; }
665 virtual QCString trProtectedMembers()
666 { return "Beskyttede metoder"; }
667 virtual QCString trProtectedSlots()
668 { return "Beskyttede slots"; }
669 virtual QCString trStaticProtectedMembers()
670 { return "Statiske, beskyttede metoder"; }
671 virtual QCString trPrivateMembers()
672 { return "Private metoder"; }
673 virtual QCString trPrivateSlots()
674 { return "Private slots"; }
675 virtual QCString trStaticPrivateMembers()
676 { return "Statiske, private metoder"; }
678 /*! this function is used to produce a comma-separated list of items.
679 * use generateMarker(i) to indicate where item i should be put.
681 virtual QCString trWriteList(int numEntries)
685 // the inherits list contain `numEntries' classes
686 for (i=0;i<numEntries;i++) {
687 // use generateMarker to generate placeholders for the class links!
688 result+=generateMarker(i); // generate marker for entry i in the list
689 // (order is left to right)
691 if (i!=numEntries-1) { // not the last entry, so we need a separator
692 if (i<numEntries-2) // not the fore last entry
694 else // the fore last entry
701 /*! used in class documentation to produce a list of base classes,
702 * if class diagrams are disabled.
704 virtual QCString trInheritsList(int numEntries)
706 return "Nedarver "+trWriteList(numEntries)+".";
709 /*! used in class documentation to produce a list of super classes,
710 * if class diagrams are disabled.
712 virtual QCString trInheritedByList(int numEntries)
714 return "Nedarvet af "+trWriteList(numEntries)+".";
717 /*! used in member documentation blocks to produce a list of
718 * members that are hidden by this one.
720 virtual QCString trReimplementedFromList(int numEntries)
722 return "Overskriver metode fra "+trWriteList(numEntries)+".";
725 /*! used in member documentation blocks to produce a list of
726 * all member that overwrite the implementation of this member.
728 virtual QCString trReimplementedInList(int numEntries)
730 return "Reimplementeret i "+trWriteList(numEntries)+".";
733 /*! This is put above each page as a link to all members of namespaces. */
734 virtual QCString trNamespaceMembers()
735 { return "Namespace-medlemmer"; }
737 /*! This is an introduction to the page with all namespace members */
738 virtual QCString trNamespaceMemberDescription(bool extractAll)
740 QCString result="Her er en liste over alle ";
741 if (!extractAll) result+="dokumenterede ";
742 result+="namespace-medlemmer med links til ";
744 result+="namespace-dokumentationen for hvert medlem:";
746 result+="det namespace, de hører til:";
749 /*! This is used in LaTeX as the title of the chapter with the
750 * index of all namespaces.
752 virtual QCString trNamespaceIndex()
753 { return "Namespace-indeks"; }
755 /*! This is used in LaTeX as the title of the chapter containing
756 * the documentation of all namespaces.
758 virtual QCString trNamespaceDocumentation()
759 { return "Namespace-dokumentation"; }
761 //////////////////////////////////////////////////////////////////////////
762 // new since 0.49-990522
763 //////////////////////////////////////////////////////////////////////////
765 /*! This is used in the documentation before the list of all
766 * namespaces in a file.
768 virtual QCString trNamespaces()
769 { return "Namespaces"; }
771 //////////////////////////////////////////////////////////////////////////
772 // new since 0.49-990728
773 //////////////////////////////////////////////////////////////////////////
775 /*! This is put at the bottom of a class documentation page and is
776 * followed by a list of files that were used to generate the page.
778 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
780 { // here s is one of " Class", " Struct" or " Union"
781 // single is true implies a single file
782 QCString result=(QCString)"Dokumentationen for denne ";
785 case ClassDef::Class: result+="klasse"; break;
786 case ClassDef::Struct: result+="datastruktur"; break;
787 case ClassDef::Union: result+="union"; break;
788 case ClassDef::Interface: result+="grænseflade"; break;
789 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
790 case ClassDef::Category: result+="kategori"; break; // "category"
791 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
793 result+=" blev genereret ud fra fil";
794 if (single) result+="en:"; else result+="erne:";
798 /*! This is in the (quick) index as a link to the alphabetical compound
801 virtual QCString trAlphabeticalList()
802 { return "Alfabetisk oversigt"; }
804 //////////////////////////////////////////////////////////////////////////
805 // new since 0.49-990901
806 //////////////////////////////////////////////////////////////////////////
808 /*! This is used as the heading text for the retval command. */
809 virtual QCString trReturnValues()
810 { return "Returværdier"; }
812 /*! This is in the (quick) index as a link to the main page (index.html)
814 virtual QCString trMainPage()
815 { return "Hovedside"; }
817 /*! This is used in references to page that are put in the LaTeX
818 * documentation. It should be an abbreviation of the word page.
820 virtual QCString trPageAbbreviation()
823 //////////////////////////////////////////////////////////////////////////
824 // new since 0.49-991003
825 //////////////////////////////////////////////////////////////////////////
827 virtual QCString trDefinedAtLineInSourceFile()
829 return "Defineret på linje @0 i filen @1.";
832 virtual QCString trDefinedInSourceFile()
834 return "Defineret i filen @0.";
837 //////////////////////////////////////////////////////////////////////////
838 // new since 0.49-991205
839 //////////////////////////////////////////////////////////////////////////
841 virtual QCString trDeprecated()
843 return "Frarådes - fortidslevn"; // ?? - What is the context?
847 //////////////////////////////////////////////////////////////////////////
849 //////////////////////////////////////////////////////////////////////////
851 /*! this text is put before a collaboration diagram */
852 virtual QCString trCollaborationDiagram(const char *clName)
854 return (QCString)"Samarbejdsdiagram for "+clName+":";
856 /*! this text is put before an include dependency graph */
857 virtual QCString trInclDepGraph(const char *fName)
859 return (QCString)"Inklusions-afhængighedsgraf for "+fName+":";
861 /*! header that is put before the list of constructor/destructors. */
862 virtual QCString trConstructorDocumentation()
864 return "Dokumentation af konstruktører og destruktører";
865 // "Constructor & Destructor dokumentation";
868 /*! Used in the file documentation to point to the corresponding sources. */
869 virtual QCString trGotoSourceCode()
870 { return "Hop til denne fils kildekode."; }
871 /*! Used in the file sources to point to the corresponding documentation. */
872 virtual QCString trGotoDocumentation()
873 { return "Hop til denne fils dokumentation."; }
875 /*! Text for the \\pre command */
876 virtual QCString trPrecondition()
877 { return "Forudsætninger (precondition)"; }
878 /*! Text for the \\post command */
879 virtual QCString trPostcondition()
880 { return "Resultat (postcondition)"; }
881 /*! Text for the \\invariant command */
882 virtual QCString trInvariant()
883 { return "Invariant"; }
885 /*! Text shown before a multi-line variable/enum initialization */
886 virtual QCString trInitialValue()
887 { return "Startværdi:"; }
889 /*! Text used the source code in the file index */
890 virtual QCString trCode()
891 { return "kildekode"; }
892 virtual QCString trGraphicalHierarchy()
893 { return "Grafisk klassehierarki"; }
894 virtual QCString trGotoGraphicalHierarchy()
895 { return "Hop til det grafiske klassehierarki"; }
896 virtual QCString trGotoTextualHierarchy()
897 { return "Hop til det tekstuelle klassehierarki"; }
898 virtual QCString trPageIndex()
899 { return "Sideindeks"; }
901 //////////////////////////////////////////////////////////////////////////
903 //////////////////////////////////////////////////////////////////////////
905 virtual QCString trNote()
907 virtual QCString trPublicTypes()
908 { return "Offentlige typer"; }
910 virtual QCString trPublicAttribs()
912 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
915 return "Offentlige attributter";
919 virtual QCString trStaticPublicAttribs()
920 { return "Statiske, offentlige attributter"; }
921 virtual QCString trProtectedTypes()
922 { return "Beskyttede typer"; }
923 virtual QCString trProtectedAttribs()
924 { return "Beskyttede attributter"; }
925 virtual QCString trStaticProtectedAttribs()
926 { return "Statiske, beskyttede attributter"; }
927 virtual QCString trPrivateTypes()
928 { return "Private typer"; }
929 virtual QCString trPrivateAttribs()
930 { return "Private attributter"; }
931 virtual QCString trStaticPrivateAttribs()
932 { return "Statiske, private attributter"; }
934 //////////////////////////////////////////////////////////////////////////
936 //////////////////////////////////////////////////////////////////////////
938 /*! Used as a marker that is put before a \\todo item */
939 virtual QCString trTodo()
943 /*! Used as the header of the todo list */
944 virtual QCString trTodoList()
949 //////////////////////////////////////////////////////////////////////////
951 //////////////////////////////////////////////////////////////////////////
953 virtual QCString trReferencedBy()
955 return "Refereret til af";
957 virtual QCString trRemarks()
959 return "Bemærkninger";
961 virtual QCString trAttention()
965 virtual QCString trInclByDepGraph()
968 "Denne graf viser, hvilke filer der direkte eller "
969 "indirekte inkluderer denne fil:";
971 virtual QCString trSince()
976 //////////////////////////////////////////////////////////////////////////
978 //////////////////////////////////////////////////////////////////////////
980 /*! title of the graph legend page */
981 virtual QCString trLegendTitle()
983 return "Graf-forklaring";
985 /*! page explaining how the dot graph's should be interpreted */
986 virtual QCString trLegendDocs() //TODO
989 "Denne side forklarer, hvordan man skal fortolke de grafer, "
990 "der genereres af doxygen.<p>\n"
991 "Tag følgende eksempel:\n"
993 "/*! Klasse der er usynlig pg.a. beskæring */\n"
994 "class Invisible { };\n\n"
995 "/*! Beskåret klasse: nedarvningsrelation er skjult */\n"
996 "class Truncated : public Invisible { };\n\n"
997 "/* Klasse der ikke er dokumenteret med doxygen-kommentarer */\n"
998 "class Undocumented { };\n\n"
999 "/*! Klasse der nedarves fra offentligt */\n"
1000 "class PublicBase : public Truncated { };\n\n"
1001 "/*! En template-klasse */\n"
1002 "template<class T> class Templ { };\n\n"
1003 "/*! Klasse der nedarves fra beskyttet */\n"
1004 "class ProtectedBase { };\n\n"
1005 "/*! Klasse der nedarves fra privat */\n"
1006 "class PrivateBase { };\n\n"
1007 "/*! Klasse der bruges af Inherited-klassen */\n"
1008 "class Used { };\n\n"
1009 "/*! Klasse der nedarver en masse andre klasser */\n"
1010 "class Inherited : public PublicBase,\n"
1011 " protected ProtectedBase,\n"
1012 " private PrivateBase,\n"
1013 " public Undocumented,\n"
1014 " public Templ<int>\n"
1017 " Used *m_usedClass;\n"
1020 "Hvis \\c MAX_DOT_GRAPH_HEIGHT i konfigurationsfilen "
1021 "er sat til 240, vil dette resultere i følgende graf:"
1022 "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1024 "De forskellige slags kasser i ovenstående graf har følgende "
1027 "<li>%En udfyldt sort kasse repræsenterer den datastruktur eller "
1028 "klasse, grafen er genereret for.\n"
1029 "<li>%En kasse med sort kant betegner en dokumenteret datastruktur "
1031 "<li>%En kasse med grå kant betegner en udokumenteret datastruktur "
1033 "<li>%En kasse med rød kant betegner en dokumenteret datastruktur "
1034 " eller klasse, for hvilken ikke alle "
1035 "nedarvnings- og indeholdelses-relationer er vist. "
1036 "%Grafer beskæres, hvis de fylder mere end de specificerede dimensioner.\n "
1038 "Pilene har følgende betydninger:\n"
1040 "<li>%En mørkeblå pil viser en offentlig nedarvningsrelation "
1041 "mellem to klasser.\n"
1042 "<li>%En mørkegrøn pil viser en beskyttet nedarvningsrelation.\n"
1043 "<li>%En mørkerød pil viser en privat nedarvningsrelation.\n"
1044 "<li>%En lilla, stiplet pil bruges, når en klasse er indeholdt i "
1045 "eller benyttes af en anden klasse. "
1046 "Ved pilen står navnet på den eller de variable, gennem hvilke(n) "
1047 "den klasse, pilen peger på, er tilgængelig.\n"
1048 "<li>%En gul, stiplet pil viser forholdet mellem en template-instans "
1049 "og den template-klasse, den er instantieret fra."
1050 "Ved pilen står template-parametrene brugt ved instantieringen.\n"
1053 /*! text for the link to the legend page */
1054 virtual QCString trLegend()
1056 return "forklaring til graf";
1059 //////////////////////////////////////////////////////////////////////////
1061 //////////////////////////////////////////////////////////////////////////
1063 /*! Used as a marker that is put before a test item */
1064 virtual QCString trTest()
1068 /*! Used as the header of the test list */
1069 virtual QCString trTestList()
1074 //////////////////////////////////////////////////////////////////////////
1076 //////////////////////////////////////////////////////////////////////////
1078 /*! Used as a section header for KDE-2 IDL methods */
1079 virtual QCString trDCOPMethods()
1081 return "DCOP-metoder";
1084 //////////////////////////////////////////////////////////////////////////
1086 //////////////////////////////////////////////////////////////////////////
1088 /*! Used as a section header for IDL properties */
1089 virtual QCString trProperties()
1091 return "Egenskaber";
1093 /*! Used as a section header for IDL property documentation */
1094 virtual QCString trPropertyDocumentation()
1096 return "Egenskabsdokumentation";
1099 //////////////////////////////////////////////////////////////////////////
1101 //////////////////////////////////////////////////////////////////////////
1103 /*! Used for Java classes in the summary section of Java packages */
1104 virtual QCString trClasses()
1106 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
1107 return "Datastrukturer";
1112 /*! Used as the title of a Java package */
1113 virtual QCString trPackage(const char *name)
1115 return (QCString)"Pakke "+name;
1117 /*! Title of the package index page */
1118 virtual QCString trPackageList()
1120 return "Pakkeoversigt";
1122 /*! The description of the package index page */
1123 virtual QCString trPackageListDescription()
1126 "Her er en liste over pakkerne, med korte beskrivelser "
1127 "(hvor en sådan findes):";
1129 /*! The link name in the Quick links header for each page */
1130 virtual QCString trPackages()
1134 /*! Text shown before a multi-line define */
1135 virtual QCString trDefineValue()
1140 //////////////////////////////////////////////////////////////////////////
1142 //////////////////////////////////////////////////////////////////////////
1144 /*! Used as a marker that is put before a \\bug item */
1145 virtual QCString trBug()
1147 return "Kendte fejl";
1149 /*! Used as the header of the bug list */
1150 virtual QCString trBugList()
1152 return "Liste over kendte fejl";
1155 //////////////////////////////////////////////////////////////////////////
1157 //////////////////////////////////////////////////////////////////////////
1159 /*! Used as ansicpg for RTF file
1160 * (used table extract:)
1162 * Charset Name Charset Value(hex) Codepage number
1163 * ------------------------------------------------------
1164 * ANSI_CHARSET 0 (x00) 1252
1167 virtual QCString trRTFansicp()
1172 /*! Used as ansicpg for RTF fcharset */
1173 virtual QCString trRTFCharSet()
1178 /*! Used as header RTF general index */
1179 virtual QCString trRTFGeneralIndex()
1184 /*! This is used for translation of the word that will possibly
1185 * be followed by a single name or by a list of names
1188 virtual QCString trClass(bool first_capital, bool singular)
1190 return createNoun(first_capital, singular, "klasse", "r");
1193 /*! This is used for translation of the word that will possibly
1194 * be followed by a single name or by a list of names
1197 virtual QCString trFile(bool first_capital, bool singular)
1199 return createNoun(first_capital, singular, "fil", "er");
1202 /*! This is used for translation of the word that will possibly
1203 * be followed by a single name or by a list of names
1206 virtual QCString trNamespace(bool first_capital, bool singular)
1208 return createNoun(first_capital, singular, "namespace", "s");
1211 /*! This is used for translation of the word that will possibly
1212 * be followed by a single name or by a list of names
1215 virtual QCString trGroup(bool first_capital, bool singular)
1217 return createNoun(first_capital, singular, "gruppe", "r");
1220 /*! This is used for translation of the word that will possibly
1221 * be followed by a single name or by a list of names
1224 virtual QCString trPage(bool first_capital, bool singular)
1226 return createNoun(first_capital, singular, "side", "r");
1229 /*! This is used for translation of the word that will possibly
1230 * be followed by a single name or by a list of names
1233 virtual QCString trMember(bool first_capital, bool singular)
1235 return createNoun(first_capital, singular, "medlem", "mer");
1238 /*! This is used for translation of the word that will possibly
1239 * be followed by a single name or by a list of names
1242 virtual QCString trGlobal(bool first_capital, bool singular)
1244 return createNoun(first_capital, singular, "global", "e");
1247 //////////////////////////////////////////////////////////////////////////
1249 //////////////////////////////////////////////////////////////////////////
1251 /*! This text is generated when the \\author command is used and
1252 * for the author section in man pages. */
1253 virtual QCString trAuthor(bool first_capital, bool singular)
1255 return createNoun(first_capital, singular, "forfatter", "e");
1258 //////////////////////////////////////////////////////////////////////////
1260 //////////////////////////////////////////////////////////////////////////
1262 /*! This text is put before the list of members referenced by a member
1264 virtual QCString trReferences()
1266 return "Indeholder referencer til";
1269 //////////////////////////////////////////////////////////////////////////
1271 //////////////////////////////////////////////////////////////////////////
1273 /*! used in member documentation blocks to produce a list of
1274 * members that are implemented by this one.
1276 virtual QCString trImplementedFromList(int numEntries)
1278 return "Implementerer "+trWriteList(numEntries)+".";
1281 /*! used in member documentation blocks to produce a list of
1282 * all members that implement this abstract member.
1284 virtual QCString trImplementedInList(int numEntries)
1286 return "Implementeret i "+trWriteList(numEntries)+".";
1289 //////////////////////////////////////////////////////////////////////////
1291 //////////////////////////////////////////////////////////////////////////
1293 /*! used in RTF documentation as a heading for the Table
1296 virtual QCString trRTFTableOfContents()
1298 return "Indholdsfortegnelse";
1301 //////////////////////////////////////////////////////////////////////////
1303 //////////////////////////////////////////////////////////////////////////
1305 /*! Used as the header of the list of item that have been
1306 * flagged deprecated
1308 virtual QCString trDeprecatedList()
1310 return "Liste over fortidslevn, hvis brug frarådes";
1313 //////////////////////////////////////////////////////////////////////////
1315 //////////////////////////////////////////////////////////////////////////
1317 /*! Used as a header for declaration section of the events found in
1320 virtual QCString trEvents()
1322 return "Begivenheder";
1324 /*! Header used for the documentation section of a class' events. */
1325 virtual QCString trEventDocumentation()
1327 return "Begivenhedsdokumentation";
1330 //////////////////////////////////////////////////////////////////////////
1332 //////////////////////////////////////////////////////////////////////////
1334 /* Java: Entities with package scope... */
1335 virtual QCString trPackageTypes()
1336 { return "Typer med pakke-scope"; }
1337 virtual QCString trPackageMembers()
1338 { return "Metoder med pakke-scope"; }
1339 virtual QCString trStaticPackageMembers()
1340 { return "Statiske metoder med pakke-scope"; }
1341 virtual QCString trPackageAttribs()
1342 { return "Attributter med pakke-scope"; }
1343 virtual QCString trStaticPackageAttribs()
1344 { return "Statiske attributter med pakke-scope"; }
1346 //////////////////////////////////////////////////////////////////////////
1348 //////////////////////////////////////////////////////////////////////////
1350 /*! Used in the quick index of a class/file/namespace member list page
1351 * to link to the unfiltered list of all members.
1353 virtual QCString trAll()
1358 /*! Put in front of the call graph for a function. */
1359 virtual QCString trCallGraph()
1361 return "Her er kald-grafen for denne funktion:";
1364 //////////////////////////////////////////////////////////////////////////
1366 //////////////////////////////////////////////////////////////////////////
1368 /*! When the search engine is enabled this text is put in the header
1369 * of each page before the field where one can enter the text to search
1372 virtual QCString trSearchForIndex()
1377 /*! This string is used as the title for the page listing the search
1380 virtual QCString trSearchResultsTitle()
1382 return "Søgeresultater";
1385 /*! This string is put just before listing the search results. The
1386 * text can be different depending on the number of documents found.
1387 * Inside the text you can put the special marker $num to insert
1388 * the number representing the actual number of search results.
1389 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1390 * value 2 represents 2 or more matches. HTML markup is allowed inside
1391 * the returned string.
1393 virtual QCString trSearchResults(int numDocuments)
1395 if (numDocuments==0) {
1396 return "Beklager - ingen dokumenter passede til din forespørgsel.";
1397 } else if (numDocuments==1) {
1398 return "Fandt <b>1</b> dokument, der passer til din forespørgsel.";
1401 "Fandt <b>$num</b> dokumenter, der passer til din forespørgsel. "
1402 "De, der passer bedst, vises først.";
1406 /*! This string is put before the list of matched words, for each search
1407 * result. What follows is the list of words that matched the query.
1409 virtual QCString trSearchMatches()
1411 return "Fundne ord:"; //translation?
1414 //////////////////////////////////////////////////////////////////////////
1416 //////////////////////////////////////////////////////////////////////////
1418 /*! This is used in HTML as the title of page with source code for
1421 virtual QCString trSourceFile(QCString& filename)
1423 return "Kildefilen " + filename;
1427 //////////////////////////////////////////////////////////////////////////
1429 //////////////////////////////////////////////////////////////////////////
1431 /*! This is used as the name of the chapter containing the directory
1434 virtual QCString trDirIndex()
1435 { return "Katalogstruktur"; }
1437 /*! This is used as the name of the chapter containing the documentation
1438 * of the directories.
1440 virtual QCString trDirDocumentation()
1441 { return "Katalog-dokumentation"; }
1443 /*! This is used as the title of the directory index and also in the
1444 * Quick links of an HTML page, to link to the directory hierarchy.
1446 virtual QCString trDirectories()
1447 { return "Kataloger"; }
1449 /*! This returns a sentences that introduces the directory hierarchy.
1450 * and the fact that it is sorted alphabetically per level
1452 virtual QCString trDirDescription()
1453 { return "Denne katalogstruktur er sorteret næsten - "
1454 "men ikke nødvendigvis helt - alfabetisk:";
1457 /*! This returns the title of a directory page. The name of the
1458 * directory is passed via \a dirName.
1460 virtual QCString trDirReference(const char *dirName)
1461 { QCString result="Indhold af kataloget "; result+=dirName; return result;}
1463 /*! This returns the word directory with or without starting capital
1464 * (\a first_capital) and in sigular or plural form (\a singular).
1466 virtual QCString trDir(bool first_capital, bool singular)
1468 return createNoun(first_capital, singular, "katalog", "er");
1471 //////////////////////////////////////////////////////////////////////////
1473 //////////////////////////////////////////////////////////////////////////
1475 /*! This text is added to the documentation when the \\overload command
1476 * is used for a overloaded function.
1478 virtual QCString trOverloadText()
1480 return "Dette er en overdefineret medlemsfunktion, "
1481 "defineret af bekvemmelighedshensyn. "
1482 "Den adskiller sig kun fra den ovenstående funktion i, "
1483 "hvilke argumenter den tager.";
1486 //////////////////////////////////////////////////////////////////////////
1488 //////////////////////////////////////////////////////////////////////////
1490 /*! This is used to introduce a caller (or called-by) graph */
1491 virtual QCString trCallerGraph()
1493 return "Her er kalder-grafen for denne funktion:";
1496 // None translated yet PEH 2010-11-27
1499 /*! header that is put before the list of member subprograms (Fortran). */
1500 virtual QCString trMemberFunctionDocumentationFortran()
1501 { return "Medlem Funktion/Subroutine Dokumentation"; } // "Member Function/Subroutine Documentation"
1503 /*! This is used in the documentation of a file/namespace before the list
1504 * of documentation blocks for enumeration values
1507 virtual QCString trEnumerationValueDocumentation()
1508 { return "Enumerator-dokumentation"; } //TODO?
1512 //////////////////////////////////////////////////////////////////////////
1513 // new since 1.5.4 (mainly for Fortran)
1514 //////////////////////////////////////////////////////////////////////////
1516 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1517 virtual QCString trCompoundListFortran()
1518 { return "Data Type Liste"; } // "Data Types List"
1520 /*! This is put above each page as a link to all members of compounds (Fortran). */
1521 virtual QCString trCompoundMembersFortran()
1522 { return "Data felter"; } // "Data Fields"
1524 /*! This is an introduction to the annotated compound list (Fortran). */
1525 virtual QCString trCompoundListDescriptionFortran()
1526 { return "Her er de datatyper med kort beskrivelse:"; } // "Here are the data types with brief descriptions:"
1528 /*! This is an introduction to the page with all data types (Fortran). */
1529 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1531 QCString result="Her er en liste af alle "; // "Here is a list of all "
1534 result+="dokumenteret "; // "documented "
1536 result+="datatype medlemmer"; // "data types members"
1537 result+=" med links til "; // " with links to "
1540 result+="data strukturer dokumenteret for hver medlem"; // "the data structure documentation for each member"
1544 result+="de datatyper som de tilhører:"; // "the data types they belong to:"
1549 /*! This is used in LaTeX as the title of the chapter with the
1550 * annotated compound index (Fortran).
1552 virtual QCString trCompoundIndexFortran()
1553 { return "Datatype indeks"; } // "Data Type Index"
1555 /*! This is used in LaTeX as the title of the chapter containing
1556 * the documentation of all data types (Fortran).
1558 virtual QCString trTypeDocumentation()
1559 { return "Datatype dokumentation"; } // "Data Type Documentation"
1561 /*! This is used in the documentation of a file as a header before the
1562 * list of (global) subprograms (Fortran).
1564 virtual QCString trSubprograms()
1565 { return "Funktioner/Subroutiner"; } // "Functions/Subroutines"
1567 /*! This is used in the documentation of a file/namespace before the list
1568 * of documentation blocks for subprograms (Fortran)
1570 virtual QCString trSubprogramDocumentation()
1571 { return "Funktion/Subroutine dokumentation"; } // "Function/Subroutine Documentation"
1573 /*! This is used in the documentation of a file/namespace/group before
1574 * the list of links to documented compounds (Fortran)
1576 virtual QCString trDataTypes()
1577 { return "Datatyper"; } // "Data Types"
1579 /*! used as the title of page containing all the index of all modules (Fortran). */
1580 virtual QCString trModulesList()
1581 { return "Modulliste"; } // "Modules List"
1583 /*! used as an introduction to the modules list (Fortran) */
1584 virtual QCString trModulesListDescription(bool extractAll)
1586 QCString result="Her er en liste over alle "; // "Here is a list of all "
1587 if (!extractAll) result+="dokumenteret "; // "documented "
1588 result+="moduler med kort beskrivelse:"; // "modules with brief descriptions:"
1592 /*! used as the title of the HTML page of a module/type (Fortran) */
1593 virtual QCString trCompoundReferenceFortran(const char *clName,
1594 ClassDef::CompoundType compType,
1597 QCString result=(QCString)clName;
1600 case ClassDef::Class: result+=" Modul"; break; // " Module"
1601 case ClassDef::Struct: result+=" Type"; break; // " Type"
1602 case ClassDef::Union: result+=" Union"; break; // " Union"
1603 case ClassDef::Interface: result+=" Grænseflade"; break; // " Interface"
1604 case ClassDef::Protocol: result+=" Protocol"; break; // " Protocol"
1605 case ClassDef::Category: result+=" Kategori"; break; // " Category"
1606 case ClassDef::Exception: result+=" Undtagelse"; break; // " Exception"
1608 if (isTemplate) result+=" Template";
1609 result+=" Reference";
1613 /*! used as the title of the HTML page of a module (Fortran) */
1614 virtual QCString trModuleReference(const char *namespaceName)
1616 QCString result=namespaceName;
1617 result+=" Modulreference"; // " Module Reference"
1621 /*! This is put above each page as a link to all members of modules. (Fortran) */
1622 virtual QCString trModulesMembers()
1623 { return "Modulmedlemmer"; } // "Module Members"
1625 /*! This is an introduction to the page with all modules members (Fortran) */
1626 virtual QCString trModulesMemberDescription(bool extractAll)
1628 QCString result="Her er en list over alle "; // "Here is a list of all "
1629 if (!extractAll) result+="Dokumentet "; // "documented "
1630 result+="modulmemlemmer med link til "; // "module members with links to "
1633 result+="dokumentation for hvert model medlem:"; // "the module documentation for each member:"
1637 result+="moduler de tilhøre:"; // "the modules they belong to:"
1642 /*! This is used in LaTeX as the title of the chapter with the
1643 * index of all modules (Fortran).
1645 virtual QCString trModulesIndex()
1646 { return "Modulindekser"; } // "Modules Index"
1648 /*! This is used for translation of the word that will possibly
1649 * be followed by a single name or by a list of names
1652 virtual QCString trModule(bool first_capital, bool singular)
1654 QCString result((first_capital ? "Modul" : "modul")); // "Module" : "module"));
1655 if (!singular) result+="er"; // "s";
1659 /*! This is put at the bottom of a module documentation page and is
1660 * followed by a list of files that were used to generate the page.
1662 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1665 // single is true implies a single file
1666 QCString result=(QCString)"The documentation for this ";
1669 case ClassDef::Class: result+="modul"; break; // "module"
1670 case ClassDef::Struct: result+="type"; break; // "type"
1671 case ClassDef::Union: result+="union"; break; // "union"
1672 case ClassDef::Interface: result+="grænseflade"; break; // "interface"
1673 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
1674 case ClassDef::Category: result+="kategori"; break; // "category"
1675 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
1677 result+=" var lavet udfra følgende file"; // " was generated from the following file"
1678 if (single) result+=":"; else result+="r:"; // ":" / "s:"
1682 /*! This is used for translation of the word that will possibly
1683 * be followed by a single name or by a list of names
1686 virtual QCString trType(bool first_capital, bool singular)
1688 QCString result((first_capital ? "Type" : "type")); // "Type" : "type"
1689 if (!singular) result+="r"; // "s"
1693 /*! This is used for translation of the word that will possibly
1694 * be followed by a single name or by a list of names
1697 virtual QCString trSubprogram(bool first_capital, bool singular)
1699 QCString result((first_capital ? "Subprogram" : "subprogram")); // "Subprogram" : "subprogram"
1700 if (!singular) result+="er"; // "s"
1704 /*! C# Type Constraint list */
1705 virtual QCString trTypeConstraints()
1707 return "typebegrænsninger"; // "Type Constraints"
1710 //////////////////////////////////////////////////////////////////////////
1711 // new since 1.6.0 (mainly for the new search engine)
1712 //////////////////////////////////////////////////////////////////////////
1714 /*! directory relation for \a name */
1715 virtual QCString trDirRelation(const char *name)
1717 return QCString(name)+" Relation"; // " Relation"
1720 /*! Loading message shown when loading search results */
1721 virtual QCString trLoading()
1723 return "Indlæser..."; // "Loading..."
1726 /*! Label used for search results in the global namespace */
1727 virtual QCString trGlobalNamespace()
1729 return "Globalt Namespace"; // "Global Namespace"
1732 /*! Message shown while searching */
1733 virtual QCString trSearching()
1735 return "Søger..."; // "Searching..."
1738 /*! Text shown when no search results are found */
1739 virtual QCString trNoMatches()
1741 return "Ingen fund"; // "No Matches"
1744 //////////////////////////////////////////////////////////////////////////
1745 // new since 1.6.3 (missing items for the directory pages)
1746 //////////////////////////////////////////////////////////////////////////
1748 /*! introduction text for the directory dependency graph */
1749 virtual QCString trDirDependency(const char *name)
1751 return (QCString)"Afhængighedsgraf for "+name; // "Directory dependency graph for "
1754 /*! when clicking a directory dependency label, a page with a
1755 * table is shown. The heading for the first column mentions the
1756 * source file that has a relation to another file.
1758 virtual QCString trFileIn(const char *name)
1760 return (QCString)"File i "+name; // "File in "
1763 /*! when clicking a directory dependency label, a page with a
1764 * table is shown. The heading for the second column mentions the
1765 * destination file that is included.
1767 virtual QCString trIncludesFileIn(const char *name)
1769 return (QCString)"Inkluderer file i "+name; // "Includes file in "
1772 /** Compiles a date string.
1773 * @param year Year in 4 digits
1774 * @param month Month of the year: 1=January
1775 * @param day Day of the Month: 1..31
1776 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1777 * @param hour Hour of the day: 0..23
1778 * @param minutes Minutes in the hour: 0..59
1779 * @param seconds Seconds within the minute: 0..59
1780 * @param includeTime Include time in the result string?
1782 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1783 int hour,int minutes,int seconds,
1786 static const char *days[] = { "Man","Tir","Ons","Tor","Fre","Lør","Søn" }; // { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
1787 static const char *months[] = { "Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec" }; // { "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" };
1789 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1793 stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1799 //////////////////////////////////////////////////////////////////////////
1801 //////////////////////////////////////////////////////////////////////////
1803 virtual QCString trCiteReferences()
1805 return "Bibliografiske referencer";
1808 virtual QCString trCopyright()
1813 virtual QCString trDirDepGraph(const char *name)
1815 return QCString("Afhængighedsgraf for katalog ")+name+":";
1819 /*---------- For internal use: ----------------------------------------*/
1821 /*! For easy flexible-noun implementation.
1824 QCString createNoun(bool first_capital, bool singular,
1825 const char* base, const char* plurSuffix)
1827 QCString result(base);
1828 if (first_capital) result.at(0) = toupper(result.at(0));
1829 if (!singular) result+=plurSuffix;