1 /*-*- c-basic-offset: 2; tab-width: 8 -*-*/
2 /******************************************************************************
6 * Copyright (C) 1997-2015 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 // --- Language translation methods -------------------
125 /*! used in the compound documentation before a list of related functions. */
126 virtual QCString trRelatedFunctions()
127 { return "Relaterede funktioner"; }
129 /*! subscript for the related functions. */
130 virtual QCString trRelatedSubscript()
131 { return "(Bemærk at disse ikke er medlems-funktioner.)"; }
133 /*! header that is put before the detailed description of files,
134 * classes and namespaces. */
135 virtual QCString trDetailedDescription()
136 { return "Detaljeret beskrivelse"; }
138 /*! header that is put before the list of typedefs. */
139 virtual QCString trMemberTypedefDocumentation()
140 { return "Dokumentation af medlems-typedefinitioner"; }
142 /*! header that is put before the list of enumerations. */
143 virtual QCString trMemberEnumerationDocumentation()
144 { return "Dokumentation af medlems-enumerationer"; }
145 // medlems-enumerationer -> 'indeholdte enumerationer'
147 /*! header that is put before the list of member functions. */
148 virtual QCString trMemberFunctionDocumentation()
149 { return "Dokumentation af medlemsfunktioner"; }
151 /*! header that is put before the list of member attributes. */
152 virtual QCString trMemberDataDocumentation()
154 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
155 return "Felt-dokumentation";
157 return "Dokumentation af feltvariable";
161 /*! this is the text of a link put after brief descriptions. */
162 virtual QCString trMore()
163 { return "Mere..."; }
165 /*! put in the class documentation */
166 virtual QCString trListOfAllMembers()
167 { return "Liste over alle medlemmer"; }
169 /*! used as the title of the "list of all members" page of a class */
170 virtual QCString trMemberList()
171 { return "Liste over medlemmer"; }
173 /*! this is the first part of a sentence that is followed by a class name */
174 virtual QCString trThisIsTheListOfAllMembers()
175 { return "Dette er den komplette liste over medlemmer i "; }
177 /*! this is the remainder of the sentence after the class name */
178 virtual QCString trIncludingInheritedMembers()
179 { return ", inklusive alle nedarvede medlemmer."; }
181 /*! this is put at the author sections at the bottom of man pages.
182 * parameter s is name of the project name.
184 virtual QCString trGeneratedAutomatically(const char *s)
185 { QCString result="Automatisk genereret af Doxygen";
186 if (s) result+=(QCString)" for "+s;
187 result+=" ud fra kildekoden.";
191 /*! put after an enum name in the list of all members */
192 virtual QCString trEnumName()
193 { return "enumerationsnavn"; }
195 /*! put after an enum value in the list of all members */
196 virtual QCString trEnumValue()
197 { return "enumerationsværdi"; }
199 /*! put after an undocumented member in the list of all members */
200 virtual QCString trDefinedIn()
201 { return "defineret i"; }
203 // quick reference sections
205 /*! This is put above each page as a link to the list of all groups of
206 * compounds or files (see the \\group command).
208 virtual QCString trModules()
209 { return "Moduler"; }
211 /*! This is put above each page as a link to the class hierarchy */
212 virtual QCString trClassHierarchy()
213 { return "Klassehierarki"; }
215 /*! This is put above each page as a link to the list of annotated classes */
216 virtual QCString trCompoundList()
218 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
219 return "Datastrukturer";
221 return "Oversigt over sammensatte typer";
225 /*! This is put above each page as a link to the list of documented files */
226 virtual QCString trFileList()
227 { return "Filoversigt"; }
229 /*! This is put above each page as a link to all members of compounds. */
230 virtual QCString trCompoundMembers()
232 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
233 return "Data-felter";
235 return "Felter i sammensatte typer";
239 /*! This is put above each page as a link to all members of files. */
240 virtual QCString trFileMembers()
242 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
243 return "Globale symboler";
245 return "Placering i filer"; // Fil-medlemmer"; //TODO
246 //"Globale definitioner" ?
250 /*! This is put above each page as a link to all related pages. */
251 virtual QCString trRelatedPages()
252 { return "Relaterede sider"; }
254 /*! This is put above each page as a link to all examples. */
255 virtual QCString trExamples()
256 { return "Eksempler"; }
258 /*! This is put above each page as a link to the search engine. */
259 virtual QCString trSearch()
262 /*! This is an introduction to the class hierarchy. */
263 virtual QCString trClassHierarchyDescription()
264 { return "Denne nedarvningsliste er sorteret næsten - "
265 "men ikke nødvendigvis helt - alfabetisk:";
268 /*! This is an introduction to the list with all files. */
269 virtual QCString trFileListDescription(bool extractAll)
271 QCString result="Her er en liste over alle ";
272 if (!extractAll) result+="dokumenterede ";
273 result+="filer med korte beskrivelser:";
277 /*! This is an introduction to the annotated compound list. */
278 virtual QCString trCompoundListDescription()
281 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
282 return "Her er datastrukturerne med korte beskrivelser:";
284 return "Her er klasserne, datastrukturerne, "
285 "unionerne og grænsefladerne med korte beskrivelser:";
289 /*! This is an introduction to the page with all class members. */
290 virtual QCString trCompoundMembersDescription(bool extractAll)
292 QCString result="Her er en liste over alle ";
294 result+="dokumenterede ";
296 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
297 result+="felter i datastrukturer og unioner";
299 result+="klassemedlemmer";
301 result+=" med links til ";
303 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
304 result+="datastruktur/unions-dokumentationen for hvert felt:";
306 result+="klassedokumentationen for hvert medlem:";
309 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
310 result+="de datastrukturer/unioner, de hører til:";
312 result+="de klasser, de hører til:";
318 /*! This is an introduction to the page with all file members. */
319 virtual QCString trFileMembersDescription(bool extractAll)
321 QCString result="Her er en liste over alle ";
322 if (!extractAll) result+="dokumenterede ";
324 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
325 result+="funktioner, variable, #defines, enumerationer "
326 "og typedefinitioner";
328 result+="fil-medlemmer";
330 result+=", med links til ";
332 result+="de filer, de tilhører:";
334 result+="deres dokumentation:";
338 /*! This is an introduction to the page with the list of all examples */
339 virtual QCString trExamplesDescription()
340 { return "Her er en liste over alle eksempler:"; }
342 /*! This is an introduction to the page with the list of related pages */
343 virtual QCString trRelatedPagesDescription()
344 { return "Her er en liste over alle relaterede dokumentationssider:"; }
346 /*! This is an introduction to the page with the list of class/file groups */
347 virtual QCString trModulesDescription()
348 { return "Her er en liste over alle moduler:"; }
350 /*! This is used in HTML as the title of index.html. */
351 virtual QCString trDocumentation()
352 { return "Dokumentation"; }
354 /*! This is used in LaTeX as the title of the chapter with the
355 * index of all groups.
357 virtual QCString trModuleIndex()
358 { return "Modul-indeks"; }
360 /*! This is used in LaTeX as the title of the chapter with the
363 virtual QCString trHierarchicalIndex()
364 { return "Hierarkisk indeks"; }
366 /*! This is used in LaTeX as the title of the chapter with the
367 * annotated compound index.
369 virtual QCString trCompoundIndex()
371 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
372 return "Indeks over datastrukturer";
374 return "Indeks over sammensatte typer";
378 /*! This is used in LaTeX as the title of the chapter with the
381 virtual QCString trFileIndex()
382 { return "Fil-indeks"; }
384 /*! This is used in LaTeX as the title of the chapter containing
385 * the documentation of all groups.
387 virtual QCString trModuleDocumentation()
388 { return "Modul-dokumentation"; }
390 /*! This is used in LaTeX as the title of the chapter containing
391 * the documentation of all classes, structs and unions.
393 virtual QCString trClassDocumentation()
395 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
396 return "Datastruktur-documentation";
398 return "Klasse-dokumentation";
402 /*! This is used in LaTeX as the title of the chapter containing
403 * the documentation of all files.
405 virtual QCString trFileDocumentation()
406 { return "Fil-dokumentation"; }
408 /*! This is used in LaTeX as the title of the chapter containing
409 * the documentation of all examples.
411 virtual QCString trExampleDocumentation()
412 { return "Eksempel-dokumentation"; }
414 /*! This is used in LaTeX as the title of the chapter containing
415 * the documentation of all related pages.
417 virtual QCString trPageDocumentation()
418 { return "Side-dokumentation"; }
420 /*! This is used in LaTeX as the title of the document */
421 virtual QCString trReferenceManual()
422 { return "Referencemanual"; }
424 /*! This is used in the documentation of a file as a header before the
427 virtual QCString trDefines()
428 { return "#Defines"; }
430 /*! This is used in the documentation of a file as a header before the
433 virtual QCString trTypedefs()
434 { return "Typedefinitioner"; }
436 /*! This is used in the documentation of a file as a header before the
437 * list of enumerations
439 virtual QCString trEnumerations()
440 { return "Enumerationer"; }
442 /*! This is used in the documentation of a file as a header before the
443 * list of (global) functions
445 virtual QCString trFunctions()
446 { return "Funktioner"; }
448 /*! This is used in the documentation of a file as a header before the
449 * list of (global) variables
451 virtual QCString trVariables()
452 { return "Variable"; }
454 /*! This is used in the documentation of a file as a header before the
455 * list of (global) variables
457 virtual QCString trEnumerationValues()
458 { return "Enumerationsværdier"; }
460 /*! This is used in the documentation of a file before the list of
461 * documentation blocks for defines
463 virtual QCString trDefineDocumentation()
464 { return "#Define-dokumentation"; }
466 /*! This is used in the documentation of a file/namespace before the list
467 * of documentation blocks for typedefs
469 virtual QCString trTypedefDocumentation()
470 { return "Dokumentation af typedefinitioner"; }
472 /*! This is used in the documentation of a file/namespace before the list
473 * of documentation blocks for enumeration types
475 virtual QCString trEnumerationTypeDocumentation()
476 { return "Dokumentation af enumerations-typer"; }
478 /*! This is used in the documentation of a file/namespace before the list
479 * of documentation blocks for enumeration values
481 virtual QCString trEnumerationValueDocumentation()
482 { return "Dokumentation af enumerations-værdier"; }
484 /*! This is used in the documentation of a file/namespace before the list
485 * of documentation blocks for functions
487 virtual QCString trFunctionDocumentation()
488 { return "Funktions-dokumentation"; }
490 /*! This is used in the documentation of a file/namespace before the list
491 * of documentation blocks for variables
493 virtual QCString trVariableDocumentation()
494 { return "Variabel-dokumentation"; }
496 /*! This is used in the documentation of a file/namespace/group before
497 * the list of links to documented compounds
499 virtual QCString trCompounds()
501 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
502 return "Datastrukturer";
504 return "Sammensatte typer";
508 /*! This is used in the standard footer of each page and indicates when
509 * the page was generated
511 virtual QCString trGeneratedAt(const char *date,const char *projName)
513 QCString result=(QCString)"Genereret "+date;
514 if (projName) result+=(QCString)" for "+projName;
515 result+=(QCString)" af";
519 /*! this text is put before a class diagram */
520 virtual QCString trClassDiagram(const char *clName)
522 return (QCString)"Stamtræ for "+clName+":";
525 /*! this text is generated when the \\internal command is used. */
526 virtual QCString trForInternalUseOnly()
527 { return "Kun til intern brug."; }
529 /*! this text is generated when the \\warning command is used. */
530 virtual QCString trWarning()
531 { return "Advarsel"; }
533 /*! this text is generated when the \\version command is used. */
534 virtual QCString trVersion()
535 { return "Version"; }
537 /*! this text is generated when the \\date command is used. */
538 virtual QCString trDate()
541 /*! this text is generated when the \\return command is used. */
542 virtual QCString trReturns()
543 { return "Returnerer"; }
545 /*! this text is generated when the \\sa command is used. */
546 virtual QCString trSeeAlso()
547 { return "Se også"; }
549 /*! this text is generated when the \\param command is used. */
550 virtual QCString trParameters()
551 { return "Parametre"; }
553 /*! this text is generated when the \\exception command is used. */
554 virtual QCString trExceptions()
555 { return "Undtagelser"; } // "Exceptions"
557 /*! this text is used in the title page of a LaTeX document. */
558 virtual QCString trGeneratedBy()
559 { return "Genereret af"; }
561 //////////////////////////////////////////////////////////////////////////
562 // new since 0.49-990307
563 //////////////////////////////////////////////////////////////////////////
565 /*! used as the title of page containing all the index of all namespaces. */
566 virtual QCString trNamespaceList()
567 { return "Oversigt over namespaces"; }
569 /*! used as an introduction to the namespace list */
570 virtual QCString trNamespaceListDescription(bool extractAll)
572 QCString result="Her er en liste over alle ";
573 if (!extractAll) result+="dokumenterede ";
574 result+="namespaces med korte beskrivelser:";
578 /*! used in the class documentation as a header before the list of all
581 virtual QCString trFriends()
582 { return "Friends"; }
584 //////////////////////////////////////////////////////////////////////////
585 // new since 0.49-990405
586 //////////////////////////////////////////////////////////////////////////
588 /*! used in the class documentation as a header before the list of all
591 virtual QCString trRelatedFunctionDocumentation()
592 { return "Dokumentation af friends og af relaterede funktioner"; }
594 //////////////////////////////////////////////////////////////////////////
595 // new since 0.49-990425
596 //////////////////////////////////////////////////////////////////////////
598 /*! used as the title of the HTML page of a class/struct/union */
599 virtual QCString trCompoundReference(const char *clName,
600 ClassDef::CompoundType compType,
603 QCString result=(QCString)clName+" ";
606 case ClassDef::Class: result+=" Klasse-"; break;
607 case ClassDef::Struct: result+=" Datastruktur-"; break;
608 case ClassDef::Union: result+=" Union-"; break;
609 case ClassDef::Interface: result+=" Grænseflade-"; break;
610 case ClassDef::Protocol: result+=" Protokol-"; break;
611 case ClassDef::Category: result+=" Kategori-"; break; // " Category-"
612 case ClassDef::Exception: result+=" Undtagelse-"; break; // " Exception"
615 if (isTemplate) result+="skabelon-"; // "template-"
620 /*! used as the title of the HTML page of a file */
621 virtual QCString trFileReference(const char *fileName)
623 QCString result=fileName;
624 result+=" filreference";
628 /*! used as the title of the HTML page of a namespace */
629 virtual QCString trNamespaceReference(const char *namespaceName)
631 QCString result=namespaceName;
632 result+=" namespace-reference";
636 virtual QCString trPublicMembers()
637 { return "Offentlige metoder"; }
638 virtual QCString trPublicSlots()
639 { return "Offentlige slots"; }
640 virtual QCString trSignals()
641 { return "Signaler"; }
642 virtual QCString trStaticPublicMembers()
643 { return "Statiske, offentlige metoder"; }
644 virtual QCString trProtectedMembers()
645 { return "Beskyttede metoder"; }
646 virtual QCString trProtectedSlots()
647 { return "Beskyttede slots"; }
648 virtual QCString trStaticProtectedMembers()
649 { return "Statiske, beskyttede metoder"; }
650 virtual QCString trPrivateMembers()
651 { return "Private metoder"; }
652 virtual QCString trPrivateSlots()
653 { return "Private slots"; }
654 virtual QCString trStaticPrivateMembers()
655 { return "Statiske, private metoder"; }
657 /*! this function is used to produce a comma-separated list of items.
658 * use generateMarker(i) to indicate where item i should be put.
660 virtual QCString trWriteList(int numEntries)
664 // the inherits list contain `numEntries' classes
665 for (i=0;i<numEntries;i++) {
666 // use generateMarker to generate placeholders for the class links!
667 result+=generateMarker(i); // generate marker for entry i in the list
668 // (order is left to right)
670 if (i!=numEntries-1) { // not the last entry, so we need a separator
671 if (i<numEntries-2) // not the fore last entry
673 else // the fore last entry
680 /*! used in class documentation to produce a list of base classes,
681 * if class diagrams are disabled.
683 virtual QCString trInheritsList(int numEntries)
685 return "Nedarver "+trWriteList(numEntries)+".";
688 /*! used in class documentation to produce a list of super classes,
689 * if class diagrams are disabled.
691 virtual QCString trInheritedByList(int numEntries)
693 return "Nedarvet af "+trWriteList(numEntries)+".";
696 /*! used in member documentation blocks to produce a list of
697 * members that are hidden by this one.
699 virtual QCString trReimplementedFromList(int numEntries)
701 return "Overskriver metode fra "+trWriteList(numEntries)+".";
704 /*! used in member documentation blocks to produce a list of
705 * all member that overwrite the implementation of this member.
707 virtual QCString trReimplementedInList(int numEntries)
709 return "Reimplementeret i "+trWriteList(numEntries)+".";
712 /*! This is put above each page as a link to all members of namespaces. */
713 virtual QCString trNamespaceMembers()
714 { return "Namespace-medlemmer"; }
716 /*! This is an introduction to the page with all namespace members */
717 virtual QCString trNamespaceMemberDescription(bool extractAll)
719 QCString result="Her er en liste over alle ";
720 if (!extractAll) result+="dokumenterede ";
721 result+="namespace-medlemmer med links til ";
723 result+="namespace-dokumentationen for hvert medlem:";
725 result+="det namespace, de hører til:";
728 /*! This is used in LaTeX as the title of the chapter with the
729 * index of all namespaces.
731 virtual QCString trNamespaceIndex()
732 { return "Namespace-indeks"; }
734 /*! This is used in LaTeX as the title of the chapter containing
735 * the documentation of all namespaces.
737 virtual QCString trNamespaceDocumentation()
738 { return "Namespace-dokumentation"; }
740 //////////////////////////////////////////////////////////////////////////
741 // new since 0.49-990522
742 //////////////////////////////////////////////////////////////////////////
744 /*! This is used in the documentation before the list of all
745 * namespaces in a file.
747 virtual QCString trNamespaces()
748 { return "Namespaces"; }
750 //////////////////////////////////////////////////////////////////////////
751 // new since 0.49-990728
752 //////////////////////////////////////////////////////////////////////////
754 /*! This is put at the bottom of a class documentation page and is
755 * followed by a list of files that were used to generate the page.
757 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
759 { // here s is one of " Class", " Struct" or " Union"
760 // single is true implies a single file
761 QCString result=(QCString)"Dokumentationen for denne ";
764 case ClassDef::Class: result+="klasse"; break;
765 case ClassDef::Struct: result+="datastruktur"; break;
766 case ClassDef::Union: result+="union"; break;
767 case ClassDef::Interface: result+="grænseflade"; break;
768 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
769 case ClassDef::Category: result+="kategori"; break; // "category"
770 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
773 result+=" blev genereret ud fra fil";
774 if (single) result+="en:"; else result+="erne:";
778 //////////////////////////////////////////////////////////////////////////
779 // new since 0.49-990901
780 //////////////////////////////////////////////////////////////////////////
782 /*! This is used as the heading text for the retval command. */
783 virtual QCString trReturnValues()
784 { return "Returværdier"; }
786 /*! This is in the (quick) index as a link to the main page (index.html)
788 virtual QCString trMainPage()
789 { return "Hovedside"; }
791 /*! This is used in references to page that are put in the LaTeX
792 * documentation. It should be an abbreviation of the word page.
794 virtual QCString trPageAbbreviation()
797 //////////////////////////////////////////////////////////////////////////
798 // new since 0.49-991003
799 //////////////////////////////////////////////////////////////////////////
801 virtual QCString trDefinedAtLineInSourceFile()
803 return "Defineret på linje @0 i filen @1.";
806 virtual QCString trDefinedInSourceFile()
808 return "Defineret i filen @0.";
811 //////////////////////////////////////////////////////////////////////////
812 // new since 0.49-991205
813 //////////////////////////////////////////////////////////////////////////
815 virtual QCString trDeprecated()
817 return "Frarådes - fortidslevn"; // ?? - What is the context?
821 //////////////////////////////////////////////////////////////////////////
823 //////////////////////////////////////////////////////////////////////////
825 /*! this text is put before a collaboration diagram */
826 virtual QCString trCollaborationDiagram(const char *clName)
828 return (QCString)"Samarbejdsdiagram for "+clName+":";
830 /*! this text is put before an include dependency graph */
831 virtual QCString trInclDepGraph(const char *fName)
833 return (QCString)"Inklusions-afhængighedsgraf for "+fName+":";
835 /*! header that is put before the list of constructor/destructors. */
836 virtual QCString trConstructorDocumentation()
838 return "Dokumentation af konstruktører og destruktører";
839 // "Constructor & Destructor dokumentation";
842 /*! Used in the file documentation to point to the corresponding sources. */
843 virtual QCString trGotoSourceCode()
844 { return "Hop til denne fils kildekode."; }
845 /*! Used in the file sources to point to the corresponding documentation. */
846 virtual QCString trGotoDocumentation()
847 { return "Hop til denne fils dokumentation."; }
849 /*! Text for the \\pre command */
850 virtual QCString trPrecondition()
851 { return "Forudsætninger (precondition)"; }
852 /*! Text for the \\post command */
853 virtual QCString trPostcondition()
854 { return "Resultat (postcondition)"; }
855 /*! Text for the \\invariant command */
856 virtual QCString trInvariant()
857 { return "Invariant"; }
859 /*! Text shown before a multi-line variable/enum initialization */
860 virtual QCString trInitialValue()
861 { return "Startværdi:"; }
863 /*! Text used the source code in the file index */
864 virtual QCString trCode()
865 { return "kildekode"; }
866 virtual QCString trGraphicalHierarchy()
867 { return "Grafisk klassehierarki"; }
868 virtual QCString trGotoGraphicalHierarchy()
869 { return "Hop til det grafiske klassehierarki"; }
870 virtual QCString trGotoTextualHierarchy()
871 { return "Hop til det tekstuelle klassehierarki"; }
872 virtual QCString trPageIndex()
873 { return "Sideindeks"; }
875 //////////////////////////////////////////////////////////////////////////
877 //////////////////////////////////////////////////////////////////////////
879 virtual QCString trNote()
881 virtual QCString trPublicTypes()
882 { return "Offentlige typer"; }
884 virtual QCString trPublicAttribs()
886 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
889 return "Offentlige attributter";
893 virtual QCString trStaticPublicAttribs()
894 { return "Statiske, offentlige attributter"; }
895 virtual QCString trProtectedTypes()
896 { return "Beskyttede typer"; }
897 virtual QCString trProtectedAttribs()
898 { return "Beskyttede attributter"; }
899 virtual QCString trStaticProtectedAttribs()
900 { return "Statiske, beskyttede attributter"; }
901 virtual QCString trPrivateTypes()
902 { return "Private typer"; }
903 virtual QCString trPrivateAttribs()
904 { return "Private attributter"; }
905 virtual QCString trStaticPrivateAttribs()
906 { return "Statiske, private attributter"; }
908 //////////////////////////////////////////////////////////////////////////
910 //////////////////////////////////////////////////////////////////////////
912 /*! Used as a marker that is put before a \\todo item */
913 virtual QCString trTodo()
917 /*! Used as the header of the todo list */
918 virtual QCString trTodoList()
923 //////////////////////////////////////////////////////////////////////////
925 //////////////////////////////////////////////////////////////////////////
927 virtual QCString trReferencedBy()
929 return "Refereret til af";
931 virtual QCString trRemarks()
933 return "Bemærkninger";
935 virtual QCString trAttention()
939 virtual QCString trInclByDepGraph()
942 "Denne graf viser, hvilke filer der direkte eller "
943 "indirekte inkluderer denne fil:";
945 virtual QCString trSince()
950 //////////////////////////////////////////////////////////////////////////
952 //////////////////////////////////////////////////////////////////////////
954 /*! title of the graph legend page */
955 virtual QCString trLegendTitle()
957 return "Graf-forklaring";
959 /*! page explaining how the dot graph's should be interpreted */
960 virtual QCString trLegendDocs() //TODO
963 "Denne side forklarer, hvordan man skal fortolke de grafer, "
964 "der genereres af doxygen.<p>\n"
965 "Tag følgende eksempel:\n"
967 "/*! Klasse der er usynlig pg.a. beskæring */\n"
968 "class Invisible { };\n\n"
969 "/*! Beskåret klasse: nedarvningsrelation er skjult */\n"
970 "class Truncated : public Invisible { };\n\n"
971 "/* Klasse der ikke er dokumenteret med doxygen-kommentarer */\n"
972 "class Undocumented { };\n\n"
973 "/*! Klasse der nedarves fra offentligt */\n"
974 "class PublicBase : public Truncated { };\n\n"
975 "/*! En template-klasse */\n"
976 "template<class T> class Templ { };\n\n"
977 "/*! Klasse der nedarves fra beskyttet */\n"
978 "class ProtectedBase { };\n\n"
979 "/*! Klasse der nedarves fra privat */\n"
980 "class PrivateBase { };\n\n"
981 "/*! Klasse der bruges af Inherited-klassen */\n"
982 "class Used { };\n\n"
983 "/*! Klasse der nedarver en masse andre klasser */\n"
984 "class Inherited : public PublicBase,\n"
985 " protected ProtectedBase,\n"
986 " private PrivateBase,\n"
987 " public Undocumented,\n"
988 " public Templ<int>\n"
991 " Used *m_usedClass;\n"
994 "Hvis \\c MAX_DOT_GRAPH_HEIGHT i konfigurationsfilen "
995 "er sat til 240, vil dette resultere i følgende graf:"
996 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
998 "De forskellige slags kasser i ovenstående graf har følgende "
1001 "<li>%En udfyldt sort kasse repræsenterer den datastruktur eller "
1002 "klasse, grafen er genereret for.\n"
1003 "<li>%En kasse med sort kant betegner en dokumenteret datastruktur "
1005 "<li>%En kasse med grå kant betegner en udokumenteret datastruktur "
1007 "<li>%En kasse med rød kant betegner en dokumenteret datastruktur "
1008 " eller klasse, for hvilken ikke alle "
1009 "nedarvnings- og indeholdelses-relationer er vist. "
1010 "%Grafer beskæres, hvis de fylder mere end de specificerede dimensioner.\n "
1012 "Pilene har følgende betydninger:\n"
1014 "<li>%En mørkeblå pil viser en offentlig nedarvningsrelation "
1015 "mellem to klasser.\n"
1016 "<li>%En mørkegrøn pil viser en beskyttet nedarvningsrelation.\n"
1017 "<li>%En mørkerød pil viser en privat nedarvningsrelation.\n"
1018 "<li>%En lilla, stiplet pil bruges, når en klasse er indeholdt i "
1019 "eller benyttes af en anden klasse. "
1020 "Ved pilen står navnet på den eller de variable, gennem hvilke(n) "
1021 "den klasse, pilen peger på, er tilgængelig.\n"
1022 "<li>%En gul, stiplet pil viser forholdet mellem en template-instans "
1023 "og den template-klasse, den er instantieret fra."
1024 "Ved pilen står template-parametrene brugt ved instantieringen.\n"
1027 /*! text for the link to the legend page */
1028 virtual QCString trLegend()
1030 return "forklaring til graf";
1033 //////////////////////////////////////////////////////////////////////////
1035 //////////////////////////////////////////////////////////////////////////
1037 /*! Used as a marker that is put before a test item */
1038 virtual QCString trTest()
1042 /*! Used as the header of the test list */
1043 virtual QCString trTestList()
1048 //////////////////////////////////////////////////////////////////////////
1050 //////////////////////////////////////////////////////////////////////////
1052 /*! Used as a section header for IDL properties */
1053 virtual QCString trProperties()
1055 return "Egenskaber";
1057 /*! Used as a section header for IDL property documentation */
1058 virtual QCString trPropertyDocumentation()
1060 return "Egenskabsdokumentation";
1063 //////////////////////////////////////////////////////////////////////////
1065 //////////////////////////////////////////////////////////////////////////
1067 /*! Used for Java classes in the summary section of Java packages */
1068 virtual QCString trClasses()
1070 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
1071 return "Datastrukturer";
1076 /*! Used as the title of a Java package */
1077 virtual QCString trPackage(const char *name)
1079 return (QCString)"Pakke "+name;
1081 /*! Title of the package index page */
1082 virtual QCString trPackageList()
1084 return "Pakkeoversigt";
1086 /*! The description of the package index page */
1087 virtual QCString trPackageListDescription()
1090 "Her er en liste over pakkerne, med korte beskrivelser "
1091 "(hvor en sådan findes):";
1093 /*! The link name in the Quick links header for each page */
1094 virtual QCString trPackages()
1098 /*! Text shown before a multi-line define */
1099 virtual QCString trDefineValue()
1104 //////////////////////////////////////////////////////////////////////////
1106 //////////////////////////////////////////////////////////////////////////
1108 /*! Used as a marker that is put before a \\bug item */
1109 virtual QCString trBug()
1111 return "Kendte fejl";
1113 /*! Used as the header of the bug list */
1114 virtual QCString trBugList()
1116 return "Liste over kendte fejl";
1119 //////////////////////////////////////////////////////////////////////////
1121 //////////////////////////////////////////////////////////////////////////
1123 /*! Used as ansicpg for RTF file
1124 * (used table extract:)
1126 * Charset Name Charset Value(hex) Codepage number
1127 * ------------------------------------------------------
1128 * ANSI_CHARSET 0 (x00) 1252
1131 virtual QCString trRTFansicp()
1136 /*! Used as ansicpg for RTF fcharset */
1137 virtual QCString trRTFCharSet()
1142 /*! Used as header RTF general index */
1143 virtual QCString trRTFGeneralIndex()
1148 /*! This is used for translation of the word that will possibly
1149 * be followed by a single name or by a list of names
1152 virtual QCString trClass(bool first_capital, bool singular)
1154 return createNoun(first_capital, singular, "klasse", "r");
1157 /*! This is used for translation of the word that will possibly
1158 * be followed by a single name or by a list of names
1161 virtual QCString trFile(bool first_capital, bool singular)
1163 return createNoun(first_capital, singular, "fil", "er");
1166 /*! This is used for translation of the word that will possibly
1167 * be followed by a single name or by a list of names
1170 virtual QCString trNamespace(bool first_capital, bool singular)
1172 return createNoun(first_capital, singular, "namespace", "s");
1175 /*! This is used for translation of the word that will possibly
1176 * be followed by a single name or by a list of names
1179 virtual QCString trGroup(bool first_capital, bool singular)
1181 return createNoun(first_capital, singular, "gruppe", "r");
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 trPage(bool first_capital, bool singular)
1190 return createNoun(first_capital, singular, "side", "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 trMember(bool first_capital, bool singular)
1199 return createNoun(first_capital, singular, "medlem", "mer");
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 trGlobal(bool first_capital, bool singular)
1208 return createNoun(first_capital, singular, "global", "e");
1211 //////////////////////////////////////////////////////////////////////////
1213 //////////////////////////////////////////////////////////////////////////
1215 /*! This text is generated when the \\author command is used and
1216 * for the author section in man pages. */
1217 virtual QCString trAuthor(bool first_capital, bool singular)
1219 return createNoun(first_capital, singular, "forfatter", "e");
1222 //////////////////////////////////////////////////////////////////////////
1224 //////////////////////////////////////////////////////////////////////////
1226 /*! This text is put before the list of members referenced by a member
1228 virtual QCString trReferences()
1230 return "Indeholder referencer til";
1233 //////////////////////////////////////////////////////////////////////////
1235 //////////////////////////////////////////////////////////////////////////
1237 /*! used in member documentation blocks to produce a list of
1238 * members that are implemented by this one.
1240 virtual QCString trImplementedFromList(int numEntries)
1242 return "Implementerer "+trWriteList(numEntries)+".";
1245 /*! used in member documentation blocks to produce a list of
1246 * all members that implement this abstract member.
1248 virtual QCString trImplementedInList(int numEntries)
1250 return "Implementeret i "+trWriteList(numEntries)+".";
1253 //////////////////////////////////////////////////////////////////////////
1255 //////////////////////////////////////////////////////////////////////////
1257 /*! used in RTF documentation as a heading for the Table
1260 virtual QCString trRTFTableOfContents()
1262 return "Indholdsfortegnelse";
1265 //////////////////////////////////////////////////////////////////////////
1267 //////////////////////////////////////////////////////////////////////////
1269 /*! Used as the header of the list of item that have been
1270 * flagged deprecated
1272 virtual QCString trDeprecatedList()
1274 return "Liste over fortidslevn, hvis brug frarådes";
1277 //////////////////////////////////////////////////////////////////////////
1279 //////////////////////////////////////////////////////////////////////////
1281 /*! Used as a header for declaration section of the events found in
1284 virtual QCString trEvents()
1286 return "Begivenheder";
1288 /*! Header used for the documentation section of a class' events. */
1289 virtual QCString trEventDocumentation()
1291 return "Begivenhedsdokumentation";
1294 //////////////////////////////////////////////////////////////////////////
1296 //////////////////////////////////////////////////////////////////////////
1298 /* Java: Entities with package scope... */
1299 virtual QCString trPackageTypes()
1300 { return "Typer med pakke-scope"; }
1301 virtual QCString trPackageMembers()
1302 { return "Metoder med pakke-scope"; }
1303 virtual QCString trStaticPackageMembers()
1304 { return "Statiske metoder med pakke-scope"; }
1305 virtual QCString trPackageAttribs()
1306 { return "Attributter med pakke-scope"; }
1307 virtual QCString trStaticPackageAttribs()
1308 { return "Statiske attributter med pakke-scope"; }
1310 //////////////////////////////////////////////////////////////////////////
1312 //////////////////////////////////////////////////////////////////////////
1314 /*! Used in the quick index of a class/file/namespace member list page
1315 * to link to the unfiltered list of all members.
1317 virtual QCString trAll()
1322 /*! Put in front of the call graph for a function. */
1323 virtual QCString trCallGraph()
1325 return "Her er kald-grafen for denne funktion:";
1328 //////////////////////////////////////////////////////////////////////////
1330 //////////////////////////////////////////////////////////////////////////
1332 /*! This string is used as the title for the page listing the search
1335 virtual QCString trSearchResultsTitle()
1337 return "Søgeresultater";
1340 /*! This string is put just before listing the search results. The
1341 * text can be different depending on the number of documents found.
1342 * Inside the text you can put the special marker $num to insert
1343 * the number representing the actual number of search results.
1344 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1345 * value 2 represents 2 or more matches. HTML markup is allowed inside
1346 * the returned string.
1348 virtual QCString trSearchResults(int numDocuments)
1350 if (numDocuments==0) {
1351 return "Beklager - ingen dokumenter passede til din forespørgsel.";
1352 } else if (numDocuments==1) {
1353 return "Fandt <b>1</b> dokument, der passer til din forespørgsel.";
1356 "Fandt <b>$num</b> dokumenter, der passer til din forespørgsel. "
1357 "De, der passer bedst, vises først.";
1361 /*! This string is put before the list of matched words, for each search
1362 * result. What follows is the list of words that matched the query.
1364 virtual QCString trSearchMatches()
1366 return "Fundne ord:"; //translation?
1369 //////////////////////////////////////////////////////////////////////////
1371 //////////////////////////////////////////////////////////////////////////
1373 /*! This is used in HTML as the title of page with source code for
1376 virtual QCString trSourceFile(QCString& filename)
1378 return "Kildefilen " + filename;
1382 //////////////////////////////////////////////////////////////////////////
1384 //////////////////////////////////////////////////////////////////////////
1386 /*! This is used as the name of the chapter containing the directory
1389 virtual QCString trDirIndex()
1390 { return "Katalogstruktur"; }
1392 /*! This is used as the name of the chapter containing the documentation
1393 * of the directories.
1395 virtual QCString trDirDocumentation()
1396 { return "Katalog-dokumentation"; }
1398 /*! This is used as the title of the directory index and also in the
1399 * Quick links of an HTML page, to link to the directory hierarchy.
1401 virtual QCString trDirectories()
1402 { return "Kataloger"; }
1404 /*! This returns a sentences that introduces the directory hierarchy.
1405 * and the fact that it is sorted alphabetically per level
1407 virtual QCString trDirDescription()
1408 { return "Denne katalogstruktur er sorteret næsten - "
1409 "men ikke nødvendigvis helt - alfabetisk:";
1412 /*! This returns the title of a directory page. The name of the
1413 * directory is passed via \a dirName.
1415 virtual QCString trDirReference(const char *dirName)
1416 { QCString result="Indhold af kataloget "; result+=dirName; return result;}
1418 /*! This returns the word directory with or without starting capital
1419 * (\a first_capital) and in sigular or plural form (\a singular).
1421 virtual QCString trDir(bool first_capital, bool singular)
1423 return createNoun(first_capital, singular, "katalog", "er");
1426 //////////////////////////////////////////////////////////////////////////
1428 //////////////////////////////////////////////////////////////////////////
1430 /*! This text is added to the documentation when the \\overload command
1431 * is used for a overloaded function.
1433 virtual QCString trOverloadText()
1435 return "Dette er en overdefineret medlemsfunktion, "
1436 "defineret af bekvemmelighedshensyn. "
1437 "Den adskiller sig kun fra den ovenstående funktion i, "
1438 "hvilke argumenter den tager.";
1441 //////////////////////////////////////////////////////////////////////////
1443 //////////////////////////////////////////////////////////////////////////
1445 /*! This is used to introduce a caller (or called-by) graph */
1446 virtual QCString trCallerGraph()
1448 return "Her er kalder-grafen for denne funktion:";
1451 // None translated yet PEH 2010-11-27
1454 /*! header that is put before the list of member subprograms (Fortran). */
1455 virtual QCString trMemberFunctionDocumentationFortran()
1456 { return "Medlem Funktion/Subroutine Dokumentation"; } // "Member Function/Subroutine Documentation"
1458 /*! This is used in the documentation of a file/namespace before the list
1459 * of documentation blocks for enumeration values
1462 virtual QCString trEnumerationValueDocumentation()
1463 { return "Enumerator-dokumentation"; } //TODO?
1467 //////////////////////////////////////////////////////////////////////////
1468 // new since 1.5.4 (mainly for Fortran)
1469 //////////////////////////////////////////////////////////////////////////
1471 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1472 virtual QCString trCompoundListFortran()
1473 { return "Data Type Liste"; } // "Data Types List"
1475 /*! This is put above each page as a link to all members of compounds (Fortran). */
1476 virtual QCString trCompoundMembersFortran()
1477 { return "Data felter"; } // "Data Fields"
1479 /*! This is an introduction to the annotated compound list (Fortran). */
1480 virtual QCString trCompoundListDescriptionFortran()
1481 { return "Her er de datatyper med kort beskrivelse:"; } // "Here are the data types with brief descriptions:"
1483 /*! This is an introduction to the page with all data types (Fortran). */
1484 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1486 QCString result="Her er en liste af alle "; // "Here is a list of all "
1489 result+="dokumenteret "; // "documented "
1491 result+="datatype medlemmer"; // "data types members"
1492 result+=" med links til "; // " with links to "
1495 result+="data strukturer dokumenteret for hver medlem"; // "the data structure documentation for each member"
1499 result+="de datatyper som de tilhører:"; // "the data types they belong to:"
1504 /*! This is used in LaTeX as the title of the chapter with the
1505 * annotated compound index (Fortran).
1507 virtual QCString trCompoundIndexFortran()
1508 { return "Datatype indeks"; } // "Data Type Index"
1510 /*! This is used in LaTeX as the title of the chapter containing
1511 * the documentation of all data types (Fortran).
1513 virtual QCString trTypeDocumentation()
1514 { return "Datatype dokumentation"; } // "Data Type Documentation"
1516 /*! This is used in the documentation of a file as a header before the
1517 * list of (global) subprograms (Fortran).
1519 virtual QCString trSubprograms()
1520 { return "Funktioner/Subroutiner"; } // "Functions/Subroutines"
1522 /*! This is used in the documentation of a file/namespace before the list
1523 * of documentation blocks for subprograms (Fortran)
1525 virtual QCString trSubprogramDocumentation()
1526 { return "Funktion/Subroutine dokumentation"; } // "Function/Subroutine Documentation"
1528 /*! This is used in the documentation of a file/namespace/group before
1529 * the list of links to documented compounds (Fortran)
1531 virtual QCString trDataTypes()
1532 { return "Datatyper"; } // "Data Types"
1534 /*! used as the title of page containing all the index of all modules (Fortran). */
1535 virtual QCString trModulesList()
1536 { return "Modulliste"; } // "Modules List"
1538 /*! used as an introduction to the modules list (Fortran) */
1539 virtual QCString trModulesListDescription(bool extractAll)
1541 QCString result="Her er en liste over alle "; // "Here is a list of all "
1542 if (!extractAll) result+="dokumenteret "; // "documented "
1543 result+="moduler med kort beskrivelse:"; // "modules with brief descriptions:"
1547 /*! used as the title of the HTML page of a module/type (Fortran) */
1548 virtual QCString trCompoundReferenceFortran(const char *clName,
1549 ClassDef::CompoundType compType,
1552 QCString result=(QCString)clName;
1555 case ClassDef::Class: result+=" Modul"; break; // " Module"
1556 case ClassDef::Struct: result+=" Type"; break; // " Type"
1557 case ClassDef::Union: result+=" Union"; break; // " Union"
1558 case ClassDef::Interface: result+=" Grænseflade"; break; // " Interface"
1559 case ClassDef::Protocol: result+=" Protocol"; break; // " Protocol"
1560 case ClassDef::Category: result+=" Kategori"; break; // " Category"
1561 case ClassDef::Exception: result+=" Undtagelse"; break; // " Exception"
1564 if (isTemplate) result+=" Template";
1565 result+=" Reference";
1569 /*! used as the title of the HTML page of a module (Fortran) */
1570 virtual QCString trModuleReference(const char *namespaceName)
1572 QCString result=namespaceName;
1573 result+=" Modulreference"; // " Module Reference"
1577 /*! This is put above each page as a link to all members of modules. (Fortran) */
1578 virtual QCString trModulesMembers()
1579 { return "Modulmedlemmer"; } // "Module Members"
1581 /*! This is an introduction to the page with all modules members (Fortran) */
1582 virtual QCString trModulesMemberDescription(bool extractAll)
1584 QCString result="Her er en list over alle "; // "Here is a list of all "
1585 if (!extractAll) result+="Dokumentet "; // "documented "
1586 result+="modulmemlemmer med link til "; // "module members with links to "
1589 result+="dokumentation for hvert model medlem:"; // "the module documentation for each member:"
1593 result+="moduler de tilhøre:"; // "the modules they belong to:"
1598 /*! This is used in LaTeX as the title of the chapter with the
1599 * index of all modules (Fortran).
1601 virtual QCString trModulesIndex()
1602 { return "Modulindekser"; } // "Modules Index"
1604 /*! This is used for translation of the word that will possibly
1605 * be followed by a single name or by a list of names
1608 virtual QCString trModule(bool first_capital, bool singular)
1610 QCString result((first_capital ? "Modul" : "modul")); // "Module" : "module"));
1611 if (!singular) result+="er"; // "s";
1615 /*! This is put at the bottom of a module documentation page and is
1616 * followed by a list of files that were used to generate the page.
1618 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1621 // single is true implies a single file
1622 QCString result=(QCString)"The documentation for this ";
1625 case ClassDef::Class: result+="modul"; break; // "module"
1626 case ClassDef::Struct: result+="type"; break; // "type"
1627 case ClassDef::Union: result+="union"; break; // "union"
1628 case ClassDef::Interface: result+="grænseflade"; break; // "interface"
1629 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
1630 case ClassDef::Category: result+="kategori"; break; // "category"
1631 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
1634 result+=" var lavet udfra følgende file"; // " was generated from the following file"
1635 if (single) result+=":"; else result+="r:"; // ":" / "s:"
1639 /*! This is used for translation of the word that will possibly
1640 * be followed by a single name or by a list of names
1643 virtual QCString trType(bool first_capital, bool singular)
1645 QCString result((first_capital ? "Type" : "type")); // "Type" : "type"
1646 if (!singular) result+="r"; // "s"
1650 /*! This is used for translation of the word that will possibly
1651 * be followed by a single name or by a list of names
1654 virtual QCString trSubprogram(bool first_capital, bool singular)
1656 QCString result((first_capital ? "Subprogram" : "subprogram")); // "Subprogram" : "subprogram"
1657 if (!singular) result+="er"; // "s"
1661 /*! C# Type Constraint list */
1662 virtual QCString trTypeConstraints()
1664 return "typebegrænsninger"; // "Type Constraints"
1667 //////////////////////////////////////////////////////////////////////////
1668 // new since 1.6.0 (mainly for the new search engine)
1669 //////////////////////////////////////////////////////////////////////////
1671 /*! directory relation for \a name */
1672 virtual QCString trDirRelation(const char *name)
1674 return QCString(name)+" Relation"; // " Relation"
1677 /*! Loading message shown when loading search results */
1678 virtual QCString trLoading()
1680 return "Indlæser..."; // "Loading..."
1683 /*! Label used for search results in the global namespace */
1684 virtual QCString trGlobalNamespace()
1686 return "Globalt Namespace"; // "Global Namespace"
1689 /*! Message shown while searching */
1690 virtual QCString trSearching()
1692 return "Søger..."; // "Searching..."
1695 /*! Text shown when no search results are found */
1696 virtual QCString trNoMatches()
1698 return "Ingen fund"; // "No Matches"
1701 //////////////////////////////////////////////////////////////////////////
1702 // new since 1.6.3 (missing items for the directory pages)
1703 //////////////////////////////////////////////////////////////////////////
1705 /*! when clicking a directory dependency label, a page with a
1706 * table is shown. The heading for the first column mentions the
1707 * source file that has a relation to another file.
1709 virtual QCString trFileIn(const char *name)
1711 return (QCString)"File i "+name; // "File in "
1714 /*! when clicking a directory dependency label, a page with a
1715 * table is shown. The heading for the second column mentions the
1716 * destination file that is included.
1718 virtual QCString trIncludesFileIn(const char *name)
1720 return (QCString)"Inkluderer file i "+name; // "Includes file in "
1723 /** Compiles a date string.
1724 * @param year Year in 4 digits
1725 * @param month Month of the year: 1=January
1726 * @param day Day of the Month: 1..31
1727 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1728 * @param hour Hour of the day: 0..23
1729 * @param minutes Minutes in the hour: 0..59
1730 * @param seconds Seconds within the minute: 0..59
1731 * @param includeTime Include time in the result string?
1733 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1734 int hour,int minutes,int seconds,
1737 static const char *days[] = { "Man","Tir","Ons","Tor","Fre","Lør","Søn" }; // { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
1738 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" };
1740 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1744 stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1750 //////////////////////////////////////////////////////////////////////////
1752 //////////////////////////////////////////////////////////////////////////
1754 virtual QCString trCiteReferences()
1756 return "Bibliografiske referencer";
1759 virtual QCString trCopyright()
1764 virtual QCString trDirDepGraph(const char *name)
1766 return QCString("Afhængighedsgraf for katalog ")+name+":";
1770 /*---------- For internal use: ----------------------------------------*/
1772 /*! For easy flexible-noun implementation.
1775 QCString createNoun(bool first_capital, bool singular,
1776 const char* base, const char* plurSuffix)
1778 QCString result(base);
1779 if (first_capital) result.at(0) = toupper(result.at(0));
1780 if (!singular) result+=plurSuffix;