Doxygen
Loading...
Searching...
No Matches
translator_dk.h
Go to the documentation of this file.
1/*-*- c-basic-offset: 2; tab-width: 8 -*-*/
2/******************************************************************************
3 *
4 *
5 *
6 * Copyright (C) 1997-2015 by Dimitri van Heesch.
7 *
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation under the terms of the GNU General Public License is hereby
10 * granted. No representations are made about the suitability of this software
11 * for any purpose. It is provided "as is" without express or implied warranty.
12 * See the GNU General Public License for more details.
13 *
14 * Documents produced by Doxygen are derivative works derived from the
15 * input used in their production; they are not affected by this license.
16 *
17 */
18 /*! @file
19 * @brief Danish translation
20 */
21
22/*
23 * Danish translation by
24 * Erik Søe Sørensen <eriksoe@daimi.au.dk>
25 *
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
30 */
31
32/* Translator's notes:
33
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).
45 )
46 bug -> 'kendt fejl'
47 class -> klasse
48 compound -> 'sammensat type'
49 constructor -> konstruktør ?
50 destructor -> destruktør ?
51 directory -> KLID:katalog (kunne også være 'bibliotek','mappe','folder')
52 event -> begivenhed ?
53 exception (-> undtagelse ?)
54 friend ..?
55 interface -> grænseflade ?
56 member -> medlem (TODO)
57 namespace -> (do.)
58 overloaded -> KLID:overdefineret
59 private -> privat
60 property -> egenskab?
61 protected -> beskyttet ??
62 public -> offentlig
63 reference(vb) -> "indeholde referencer til" (?)
64 slot ..?
65 source code -> kildekode
66 struct -> datastruktur
67 template (-> skabelon ?)
68 typedef -> typedefinition (?)
69 todo -> (do.)
70 union ..?
71
72 Specielle forbindelser:
73 'Inheritance diagram' -> Stamtræ (selvom Nedarvningsdiagram også gik an)
74
75
76 -----
77
78 (Konstruktivt) input modtages med glæde!
79 -- Erik Søe Sørensen <eriksoe@daimi.au.dk>
80
81
82 links -> (links.)
83 -- Poul-Erik Hansen
84
85 */
86
87#ifndef TRANSLATOR_DK_H
88#define TRANSLATOR_DK_H
89
91{
92 public:
93
94 // --- Language control methods -------------------
95
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.
101 */
103 { return "danish"; }
104
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"
109 * </pre>
110 * or
111 * <pre>"\\usepackage{polski}\n"
112 * "\\usepackage[latin2]{inputenc}\n"
113 * "\\usepackage[T1]{fontenc}\n"
114 * </pre>
115 */
117 {
118 return "\\usepackage[danish]{babel}\n";
119 }
120
122 {
123 return "da";
124 }
126 {
127 return "0x406 Danish";
128 }
129
130 // --- Language translation methods -------------------
131
132 /*! used in the compound documentation before a list of related functions. */
134 { return "Relaterede funktioner"; }
135
136 /*! subscript for the related functions. */
138 { return "(Bemærk at disse ikke er medlems-funktioner.)"; }
139
140 /*! header that is put before the detailed description of files,
141 * classes and namespaces. */
143 { return "Detaljeret beskrivelse"; }
144
145 /*! header that is used when the summary tag is missing inside the details tag */
147 { return "Detaljer"; }
148
149 /*! header that is put before the list of typedefs. */
151 { return "Dokumentation af medlems-typedefinitioner"; }
152
153 /*! header that is put before the list of enumerations. */
155 { return "Dokumentation af medlems-enumerationer"; }
156 // medlems-enumerationer -> 'indeholdte enumerationer'
157
158 /*! header that is put before the list of member functions. */
160 { return "Dokumentation af medlemsfunktioner"; }
161
162 /*! header that is put before the list of member attributes. */
164 {
165 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
166 return "Felt-dokumentation";
167 } else {
168 return "Dokumentation af feltvariable";
169 }
170 }
171
172 /*! this is the text of a link put after brief descriptions. */
173 DString trMore() override
174 { return "Mere..."; }
175
176 /*! put in the class documentation */
178 { return "Liste over alle medlemmer"; }
179
180 /*! used as the title of the "list of all members" page of a class */
182 { return "Liste over medlemmer"; }
183
184 /*! this is the first part of a sentence that is followed by a class name */
186 { return "Dette er den komplette liste over medlemmer i"; }
187
188 /*! this is the remainder of the sentence after the class name */
190 { return ", inklusive alle nedarvede medlemmer."; }
191
192 /*! this is put at the author sections at the bottom of man pages.
193 * parameter s is name of the project name.
194 */
196 { DString result="Automatisk genereret af Doxygen";
197 if (!s.empty()) result+=" for "+s;
198 result+=" ud fra kildekoden.";
199 return result;
200 }
201
202 /*! put after an enum name in the list of all members */
204 { return "enumerationsnavn"; }
205
206 /*! put after an enum value in the list of all members */
208 { return "enumerationsværdi"; }
209
210 /*! put after an undocumented member in the list of all members */
212 { return "defineret i"; }
213
214 // quick reference sections
215
216 /*! This is put above each page as a link to the list of all groups of
217 * compounds or files (see the \\group command).
218 */
220 { return "Moduler"; }
221
222 /*! This is put above each page as a link to the class hierarchy */
224 { return "Klassehierarki"; }
225
226 /*! This is put above each page as a link to the list of annotated classes */
228 {
229 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
230 return "Datastrukturer";
231 } else {
232 return "Oversigt over sammensatte typer";
233 }
234 }
235
236 /*! This is put above each page as a link to the list of documented files */
238 { return "Filoversigt"; }
239
240 /*! This is put above each page as a link to all members of compounds. */
242 {
243 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
244 return "Data-felter";
245 } else {
246 return "Felter i sammensatte typer";
247 }
248 }
249
250 /*! This is put above each page as a link to all members of files. */
252 {
253 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
254 return "Globale symboler";
255 } else {
256 return "Placering i filer"; // Fil-medlemmer"; //TODO
257 //"Globale definitioner" ?
258 }
259 }
260
261 /*! This is put above each page as a link to all related pages. */
263 { return "Relaterede sider"; }
264
265 /*! This is put above each page as a link to all examples. */
267 { return "Eksempler"; }
268
269 /*! This is put above each page as a link to the search engine. */
270 DString trSearch() override
271 { return "Søg"; }
272
273 /*! This is an introduction to the class hierarchy. */
275 { return "Denne nedarvningsliste er sorteret næsten - "
276 "men ikke nødvendigvis helt - alfabetisk:";
277 }
278
279 /*! This is an introduction to the list with all files. */
280 DString trFileListDescription(bool extractAll) override
281 {
282 DString result="Her er en liste over alle ";
283 if (!extractAll) result+="dokumenterede ";
284 result+="filer med korte beskrivelser:";
285 return result;
286 }
287
288 /*! This is an introduction to the annotated compound list. */
290 {
291
292 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
293 return "Her er datastrukturerne med korte beskrivelser:";
294 } else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE)) {
295 return "Her er klasserne med korte beskrivelser:";
296 } else {
297 return "Her er klasserne, datastrukturerne, "
298 "unionerne og grænsefladerne med korte beskrivelser:";
299 }
300 }
301
302 /*! This is an introduction to the page with all class members. */
303 DString trCompoundMembersDescription(bool extractAll) override
304 {
305 DString result="Her er en liste over alle ";
306 if (!extractAll) {
307 result+="dokumenterede ";
308 }
309 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
310 result+="felter i datastrukturer og unioner";
311 } else {
312 result+="klassemedlemmer";
313 }
314 result+=" med links til ";
315 if (!extractAll) {
316 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
317 result+="datastruktur/unions-dokumentationen for hvert felt:";
318 } else {
319 result+="klassedokumentationen for hvert medlem:";
320 }
321 } else {
322 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
323 result+="de datastrukturer/unioner, de hører til:";
324 } else {
325 result+="de klasser, de hører til:";
326 }
327 }
328 return result;
329 }
330
331 /*! This is an introduction to the page with all file members. */
332 DString trFileMembersDescription(bool extractAll) override
333 {
334 DString result="Her er en liste over alle ";
335 if (!extractAll) result+="dokumenterede ";
336
337 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
338 result+="funktioner, variable, #defines, enumerationer "
339 "og typedefinitioner";
340 } else {
341 result+="fil-medlemmer";
342 }
343 result+=", med links til ";
344 if (extractAll)
345 result+="de filer, de tilhører:";
346 else
347 result+="deres dokumentation:";
348 return result;
349 }
350
351 /*! This is an introduction to the page with the list of all examples */
353 { return "Her er en liste over alle eksempler:"; }
354
355 /*! This is an introduction to the page with the list of related pages */
357 { return "Her er en liste over alle relaterede dokumentationssider:"; }
358
359 /*! This is an introduction to the page with the list of class/file groups */
361 { return "Her er en liste over alle moduler:"; }
362
363 /*! This is used in HTML as the title of index.html. */
364 DString trDocumentation(const DString &projName) override
365 { return (!projName.empty()?projName + " " : "") + "Dokumentation"; }
366
367 /*! This is used in LaTeX as the title of the chapter with the
368 * index of all groups.
369 */
371 { return "Modul-indeks"; }
372
373 /*! This is used in LaTeX as the title of the chapter with the
374 * class hierarchy.
375 */
377 { return "Hierarkisk indeks"; }
378
379 /*! This is used in LaTeX as the title of the chapter with the
380 * annotated compound index.
381 */
383 {
384 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
385 return "Indeks over datastrukturer";
386 } else {
387 return "Indeks over sammensatte typer";
388 }
389 }
390
391 /*! This is used in LaTeX as the title of the chapter with the
392 * list of all files.
393 */
395 { return "Fil-indeks"; }
396
397 /*! This is used in LaTeX as the title of the chapter containing
398 * the documentation of all groups.
399 */
401 { return "Modul-dokumentation"; }
402
403 /*! This is used in LaTeX as the title of the chapter containing
404 * the documentation of all classes, structs and unions.
405 */
407 {
408 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
409 {
410 return "Datastruktur-documentation";
411 }
412 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
413 {
415 }
416 else
417 {
418 return "Klasse-dokumentation";
419 }
420 }
421
422 /*! This is used in LaTeX as the title of the chapter containing
423 * the documentation of all files.
424 */
426 { return "Fil-dokumentation"; }
427
428 /*! This is used in LaTeX as the title of the document */
430 { return "Referencemanual"; }
431
432 /*! This is used in the documentation of a file as a header before the
433 * list of defines
434 */
436 { return "#Defines"; }
437
438 /*! This is used in the documentation of a file as a header before the
439 * list of typedefs
440 */
442 { return "Typedefinitioner"; }
443
444 /*! This is used in the documentation of a file as a header before the
445 * list of enumerations
446 */
448 { return "Enumerationer"; }
449
450 /*! This is used in the documentation of a file as a header before the
451 * list of (global) functions
452 */
454 { return "Funktioner"; }
455
456 /*! This is used in the documentation of a file as a header before the
457 * list of (global) variables
458 */
460 { return "Variable"; }
461
462 /*! This is used in the documentation of a file as a header before the
463 * list of (global) variables
464 */
466 { return "Enumerationsværdier"; }
467
468 /*! This is used in the documentation of a file before the list of
469 * documentation blocks for defines
470 */
472 { return "#Define-dokumentation"; }
473
474 /*! This is used in the documentation of a file/namespace before the list
475 * of documentation blocks for typedefs
476 */
478 { return "Dokumentation af typedefinitioner"; }
479
480 /*! This is used in the documentation of a file/namespace before the list
481 * of documentation blocks for enumeration types
482 */
484 { return "Dokumentation af enumerations-typer"; }
485
486 /*! This is used in the documentation of a file/namespace before the list
487 * of documentation blocks for enumeration values
488 */
490 { return "Dokumentation af enumerations-værdier"; }
491
492 /*! This is used in the documentation of a file/namespace before the list
493 * of documentation blocks for functions
494 */
496 { return "Funktions-dokumentation"; }
497
498 /*! This is used in the documentation of a file/namespace before the list
499 * of documentation blocks for variables
500 */
502 { return "Variabel-dokumentation"; }
503
504 /*! This is used in the documentation of a file/namespace/group before
505 * the list of links to documented compounds
506 */
508 {
509 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
510 return "Datastrukturer";
511 } else {
512 return "Sammensatte typer";
513 }
514 }
515
516 /*! This is used in the standard footer of each page and indicates when
517 * the page was generated
518 */
519 DString trGeneratedAt(const DString &date,const DString &projName) override
520 {
521 DString result="Genereret "+date;
522 if (!projName.empty()) result+=" for "+projName;
523 result+=" af";
524 return result;
525 }
526
527 /*! this text is put before a class diagram */
528 DString trClassDiagram(const DString &clName) override
529 {
530 return "Stamtræ for "+clName+":";
531 }
532
533 /*! this text is generated when the \\warning command is used. */
535 { return "Advarsel"; }
536
537 /*! this text is generated when the \\version command is used. */
539 { return "Version"; }
540
541 /*! this text is generated when the \\date command is used. */
542 DString trDate() override
543 { return "Dato"; }
544
545 /*! this text is generated when the \\return command is used. */
547 { return "Returnerer"; }
548
549 /*! this text is generated when the \\sa command is used. */
551 { return "Se også"; }
552
553 /*! this text is generated when the \\param command is used. */
555 { return "Parametre"; }
556
557 /*! this text is generated when the \\exception command is used. */
559 { return "Undtagelser"; } // "Exceptions"
560
561 /*! this text is used in the title page of a LaTeX document. */
563 { return "Genereret af"; }
564
565//////////////////////////////////////////////////////////////////////////
566// new since 0.49-990307
567//////////////////////////////////////////////////////////////////////////
568
569 /*! used as the title of page containing all the index of all namespaces. */
571 { return "Oversigt over namespaces"; }
572
573 /*! used as an introduction to the namespace list */
574 DString trNamespaceListDescription(bool extractAll) override
575 {
576 DString result="Her er en liste over alle ";
577 if (!extractAll) result+="dokumenterede ";
578 result+="namespaces med korte beskrivelser:";
579 return result;
580 }
581
582 /*! used in the class documentation as a header before the list of all
583 * friends of a class
584 */
586 { return "Friends"; }
587
588//////////////////////////////////////////////////////////////////////////
589// new since 0.49-990405
590//////////////////////////////////////////////////////////////////////////
591
592 /*! used in the class documentation as a header before the list of all
593 * related classes
594 */
596 { return "Dokumentation af friends og af relaterede funktioner"; }
597
598//////////////////////////////////////////////////////////////////////////
599// new since 0.49-990425
600//////////////////////////////////////////////////////////////////////////
601
602 /*! used as the title of the HTML page of a class/struct/union */
604 ClassDef::CompoundType compType,
605 bool isTemplate) override
606 {
607 DString result=clName+" ";
608 switch(compType)
609 {
610 case ClassDef::Class: result+=" Klasse-"; break;
611 case ClassDef::Struct: result+=" Datastruktur-"; break;
612 case ClassDef::Union: result+=" Union-"; break;
613 case ClassDef::Interface: result+=" Grænseflade-"; break;
614 case ClassDef::Protocol: result+=" Protokol-"; break;
615 case ClassDef::Category: result+=" Kategori-"; break; // " Category-"
616 case ClassDef::Exception: result+=" Undtagelse-"; break; // " Exception"
617 default: break;
618 }
619 if (isTemplate) result+="skabelon-"; // "template-"
620 result+="reference";
621 return result;
622 }
623
624 /*! used as the title of the HTML page of a file */
625 DString trFileReference(const DString &fileName) override
626 {
627 DString result=fileName;
628 result+=" filreference";
629 return result;
630 }
631
632 /*! used as the title of the HTML page of a namespace */
633 DString trNamespaceReference(const DString &namespaceName) override
634 {
635 DString result=namespaceName;
636 result+=" namespace-reference";
637 return result;
638 }
639
641 { return "Offentlige metoder"; }
643 { return "Offentlige slots"; }
645 { return "Signaler"; }
647 { return "Statiske, offentlige metoder"; }
649 { return "Beskyttede metoder"; }
651 { return "Beskyttede slots"; }
653 { return "Statiske, beskyttede metoder"; }
655 { return "Private metoder"; }
657 { return "Private slots"; }
659 { return "Statiske, private metoder"; }
660
661 /*! this function is used to produce a comma-separated list of items.
662 * use generateMarker(i) to indicate where item i should be put.
663 */
664 DString trWriteList(int numEntries) override
665 {
666 DString result;
667 // the inherits list contain `numEntries' classes
668 for (int i=0;i<numEntries;i++)
669 {
670 // use generateMarker to generate placeholders for the class links!
671 result+=generateMarker(i); // generate marker for entry i in the list
672 // (order is left to right)
673
674 if (i!=numEntries-1) { // not the last entry, so we need a separator
675 if (i<numEntries-2) // not the fore last entry
676 result+=", ";
677 else // the fore last entry
678 result+=" og ";
679 }
680 }
681 return result;
682 }
683
684 /*! used in class documentation to produce a list of base classes,
685 * if class diagrams are disabled.
686 */
687 DString trInheritsList(int numEntries) override
688 {
689 return "Nedarver "+trWriteList(numEntries)+".";
690 }
691
692 /*! used in class documentation to produce a list of super classes,
693 * if class diagrams are disabled.
694 */
695 DString trInheritedByList(int numEntries) override
696 {
697 return "Nedarvet af "+trWriteList(numEntries)+".";
698 }
699
700 /*! used in member documentation blocks to produce a list of
701 * members that are hidden by this one.
702 */
703 DString trReimplementedFromList(int numEntries) override
704 {
705 return "Overskriver metode fra "+trWriteList(numEntries)+".";
706 }
707
708 /*! used in member documentation blocks to produce a list of
709 * all member that overwrite the implementation of this member.
710 */
711 DString trReimplementedInList(int numEntries) override
712 {
713 return "Reimplementeret i "+trWriteList(numEntries)+".";
714 }
715
716 /*! This is put above each page as a link to all members of namespaces. */
718 { return "Namespace-medlemmer"; }
719
720 /*! This is an introduction to the page with all namespace members */
721 DString trNamespaceMemberDescription(bool extractAll) override
722 {
723 DString result="Her er en liste over alle ";
724 if (!extractAll) result+="dokumenterede ";
725 result+="namespace-medlemmer med links til ";
726 if (extractAll)
727 result+="namespace-dokumentationen for hvert medlem:";
728 else
729 result+="det namespace, de hører til:";
730 return result;
731 }
732 /*! This is used in LaTeX as the title of the chapter with the
733 * index of all namespaces.
734 */
736 { return "Namespace-indeks"; }
737
738 /*! This is used in LaTeX as the title of the chapter containing
739 * the documentation of all namespaces.
740 */
742 { return "Namespace-dokumentation"; }
743
744//////////////////////////////////////////////////////////////////////////
745// new since 0.49-990522
746//////////////////////////////////////////////////////////////////////////
747
748 /*! This is used in the documentation before the list of all
749 * namespaces in a file.
750 */
752 { return "Namespaces"; }
753
754//////////////////////////////////////////////////////////////////////////
755// new since 0.49-990728
756//////////////////////////////////////////////////////////////////////////
757
758 /*! This is put at the bottom of a class documentation page and is
759 * followed by a list of files that were used to generate the page.
760 */
762 bool single) override
763 { // here s is one of " Class", " Struct" or " Union"
764 // single is true implies a single file
765 DString result="Dokumentationen for denne ";
766 switch(compType)
767 {
768 case ClassDef::Class: result+="klasse"; break;
769 case ClassDef::Struct: result+="datastruktur"; break;
770 case ClassDef::Union: result+="union"; break;
771 case ClassDef::Interface: result+="grænseflade"; break;
772 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
773 case ClassDef::Category: result+="kategori"; break; // "category"
774 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
775 default: break;
776 }
777 result+=" blev genereret ud fra fil";
778 if (single) result+="en:"; else result+="erne:";
779 return result;
780 }
781
782//////////////////////////////////////////////////////////////////////////
783// new since 0.49-990901
784//////////////////////////////////////////////////////////////////////////
785
786 /*! This is used as the heading text for the retval command. */
788 { return "Returværdier"; }
789
790 /*! This is in the (quick) index as a link to the main page (index.html)
791 */
793 { return "Hovedside"; }
794
795 /*! This is used in references to page that are put in the LaTeX
796 * documentation. It should be an abbreviation of the word page.
797 */
799 { return "s."; }
800
801//////////////////////////////////////////////////////////////////////////
802// new since 0.49-991003
803//////////////////////////////////////////////////////////////////////////
804
806 {
807 return "Defineret på linje @0 i filen @1.";
808 }
809
811 {
812 return "Defineret i filen @0.";
813 }
814
815//////////////////////////////////////////////////////////////////////////
816// new since 0.49-991205
817//////////////////////////////////////////////////////////////////////////
818
820 {
821 return "Frarådes - fortidslevn"; // ?? - What is the context?
822 // "Ugleset" :)
823 }
824
825//////////////////////////////////////////////////////////////////////////
826// new since 1.0.0
827//////////////////////////////////////////////////////////////////////////
828
829 /*! this text is put before a collaboration diagram */
830 DString trCollaborationDiagram(const DString &clName) override
831 {
832 return "Samarbejdsdiagram for "+clName+":";
833 }
834 /*! this text is put before an include dependency graph */
835 DString trInclDepGraph(const DString &fName) override
836 {
837 return "Inklusions-afhængighedsgraf for "+fName+":";
838 }
839 /*! header that is put before the list of constructor/destructors. */
841 {
842 return "Dokumentation af konstruktører og destruktører";
843 // "Constructor & Destructor dokumentation";
844 }
845
846 /*! Used in the file documentation to point to the corresponding sources. */
848 { return "Hop til denne fils kildekode."; }
849 /*! Used in the file sources to point to the corresponding documentation. */
851 { return "Hop til denne fils dokumentation."; }
852
853 /*! Text for the \\pre command */
855 { return "Forudsætninger (precondition)"; }
856 /*! Text for the \\post command */
858 { return "Resultat (postcondition)"; }
859 /*! Text for the \\invariant command */
861 { return "Invariant"; }
862
863 /*! Text shown before a multi-line variable/enum initialization */
865 { return "Startværdi:"; }
866
867 /*! Text used the source code in the file index */
868 DString trCode() override
869 { return "kildekode"; }
871 { return "Grafisk klassehierarki"; }
873 { return "Hop til det grafiske klassehierarki"; }
875 { return "Hop til det tekstuelle klassehierarki"; }
877 { return "Sideindeks"; }
878
879//////////////////////////////////////////////////////////////////////////
880// new since 1.1.0
881//////////////////////////////////////////////////////////////////////////
882
883 DString trNote() override
884 { return "Note"; }
886 { return "Offentlige typer"; }
887
889 {
890 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
891 return "Datafelter";
892 } else {
893 return "Offentlige attributter";
894 }
895 }
896
898 { return "Statiske, offentlige attributter"; }
900 { return "Beskyttede typer"; }
902 { return "Beskyttede attributter"; }
904 { return "Statiske, beskyttede attributter"; }
906 { return "Private typer"; }
908 { return "Private attributter"; }
910 { return "Statiske, private attributter"; }
911
912//////////////////////////////////////////////////////////////////////////
913// new since 1.1.3
914//////////////////////////////////////////////////////////////////////////
915
916 /*! Used as a marker that is put before a \\todo item */
917 DString trTodo() override
918 {
919 return "Todo";
920 }
921 /*! Used as the header of the todo list */
923 {
924 return "Todo-liste";
925 }
926
927//////////////////////////////////////////////////////////////////////////
928// new since 1.1.4
929//////////////////////////////////////////////////////////////////////////
930
932 {
933 return "Refereret til af";
934 }
936 {
937 return "Bemærkninger";
938 }
940 {
941 return "OBS";
942 }
944 {
945 return
946 "Denne graf viser, hvilke filer der direkte eller "
947 "indirekte inkluderer denne fil:";
948 }
949 DString trSince() override
950 {
951 return "Siden";
952 }
953
954//////////////////////////////////////////////////////////////////////////
955// new since 1.1.5
956//////////////////////////////////////////////////////////////////////////
957
958 /*! title of the graph legend page */
960 {
961 return "Graf-forklaring";
962 }
963 /*! page explaining how the dot graph's should be interpreted */
964 DString trLegendDocs() override //TODO
965 {
966 return
967 "Denne side forklarer, hvordan man skal fortolke de grafer, "
968 "der genereres af doxygen.<p>\n"
969 "Tag følgende eksempel:\n"
970 "\\code\n"
971 "/*! Klasse der er usynlig pg.a. beskæring */\n"
972 "class Invisible { };\n\n"
973 "/*! Beskåret klasse: nedarvningsrelation er skjult */\n"
974 "class Truncated : public Invisible { };\n\n"
975 "/* Klasse der ikke er dokumenteret med doxygen-kommentarer */\n"
976 "class Undocumented { };\n\n"
977 "/*! Klasse der nedarves fra offentligt */\n"
978 "class PublicBase : public Truncated { };\n\n"
979 "/*! En template-klasse */\n"
980 "template<class T> class Templ { };\n\n"
981 "/*! Klasse der nedarves fra beskyttet */\n"
982 "class ProtectedBase { };\n\n"
983 "/*! Klasse der nedarves fra privat */\n"
984 "class PrivateBase { };\n\n"
985 "/*! Klasse der bruges af Inherited-klassen */\n"
986 "class Used { };\n\n"
987 "/*! Klasse der nedarver en masse andre klasser */\n"
988 "class Inherited : public PublicBase,\n"
989 " protected ProtectedBase,\n"
990 " private PrivateBase,\n"
991 " public Undocumented,\n"
992 " public Templ<int>\n"
993 "{\n"
994 " private:\n"
995 " Used *m_usedClass;\n"
996 "};\n"
997 "\\endcode\n"
998 "Hvis \\c MAX_DOT_GRAPH_HEIGHT i konfigurationsfilen "
999 "er sat til 240, vil dette resultere i følgende graf:"
1000 "<p><center><img src=\"graph_legend."+getDotImageExtension()+"\"></center>\n"
1001 "<p>\n"
1002 "De forskellige slags kasser i ovenstående graf har følgende "
1003 "betydninger:\n"
1004 "<ul>\n"
1005 "<li>%En udfyldt sort kasse repræsenterer den datastruktur eller "
1006 "klasse, grafen er genereret for.\n"
1007 "<li>%En kasse med sort kant betegner en dokumenteret datastruktur "
1008 " eller klasse.\n"
1009 "<li>%En kasse med grå kant betegner en udokumenteret datastruktur "
1010 " eller klasse.\n"
1011 "<li>%En kasse med rød kant betegner en dokumenteret datastruktur "
1012 " eller klasse, for hvilken ikke alle "
1013 "nedarvnings- og indeholdelses-relationer er vist. "
1014 "%Grafer beskæres, hvis de fylder mere end de specificerede dimensioner.\n "
1015 "</ul>\n"
1016 "Pilene har følgende betydninger:\n"
1017 "<ul>\n"
1018 "<li>%En mørkeblå pil viser en offentlig nedarvningsrelation "
1019 "mellem to klasser.\n"
1020 "<li>%En mørkegrøn pil viser en beskyttet nedarvningsrelation.\n"
1021 "<li>%En mørkerød pil viser en privat nedarvningsrelation.\n"
1022 "<li>%En lilla, stiplet pil bruges, når en klasse er indeholdt i "
1023 "eller benyttes af en anden klasse. "
1024 "Ved pilen står navnet på den eller de variable, gennem hvilke(n) "
1025 "den klasse, pilen peger på, er tilgængelig.\n"
1026 "<li>%En gul, stiplet pil viser forholdet mellem en template-instans "
1027 "og den template-klasse, den er instantieret fra."
1028 "Ved pilen står template-parametrene brugt ved instantieringen.\n"
1029 "</ul>\n";
1030 }
1031 /*! text for the link to the legend page */
1033 {
1034 return "forklaring til graf";
1035 }
1036
1037//////////////////////////////////////////////////////////////////////////
1038// new since 1.2.0
1039//////////////////////////////////////////////////////////////////////////
1040
1041 /*! Used as a marker that is put before a test item */
1042 DString trTest() override
1043 {
1044 return "Test";
1045 }
1046 /*! Used as the header of the test list */
1048 {
1049 return "Testliste";
1050 }
1051
1052//////////////////////////////////////////////////////////////////////////
1053// new since 1.2.2
1054//////////////////////////////////////////////////////////////////////////
1055
1056 /*! Used as a section header for IDL properties */
1058 {
1059 return "Egenskaber";
1060 }
1061 /*! Used as a section header for IDL property documentation */
1063 {
1064 return "Egenskabsdokumentation";
1065 }
1066
1067//////////////////////////////////////////////////////////////////////////
1068// new since 1.2.4
1069//////////////////////////////////////////////////////////////////////////
1070
1071 /*! Used for Java classes in the summary section of Java packages */
1073 {
1074 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) {
1075 return "Datastrukturer";
1076 } else {
1077 return "Klasser";
1078 }
1079 }
1080 /*! Used as the title of a Java package */
1081 DString trPackage(const DString &name) override
1082 {
1083 return "Pakke "+name;
1084 }
1085 /*! The description of the package index page */
1087 {
1088 return
1089 "Her er en liste over pakkerne, med korte beskrivelser "
1090 "(hvor en sådan findes):";
1091 }
1092 /*! The link name in the Quick links header for each page */
1094 {
1095 return "Pakker";
1096 }
1097 /*! Text shown before a multi-line define */
1099 {
1100 return "Værdi:";
1101 }
1102
1103//////////////////////////////////////////////////////////////////////////
1104// new since 1.2.5
1105//////////////////////////////////////////////////////////////////////////
1106
1107 /*! Used as a marker that is put before a \\bug item */
1108 DString trBug() override
1109 {
1110 return "Kendte fejl";
1111 }
1112 /*! Used as the header of the bug list */
1114 {
1115 return "Liste over kendte fejl";
1116 }
1117
1118//////////////////////////////////////////////////////////////////////////
1119// new since 1.2.6
1120//////////////////////////////////////////////////////////////////////////
1121
1122 /*! Used as ansicpg for RTF file
1123 * (used table extract:)
1124 * <pre>
1125 * Charset Name Charset Value(hex) Codepage number
1126 * ------------------------------------------------------
1127 * ANSI_CHARSET 0 (x00) 1252
1128 * </pre>
1129 */
1131 {
1132 return "1252";
1133 }
1134
1135 /*! Used as ansicpg for RTF fcharset */
1137 {
1138 return "0";
1139 }
1140
1141 /*! Used as header RTF general index */
1143 {
1144 return "Indeks";
1145 }
1146
1147 /*! This is used for translation of the word that will possibly
1148 * be followed by a single name or by a list of names
1149 * of the category.
1150 */
1151 DString trClass(bool first_capital, bool singular) override
1152 {
1153 return createNoun(first_capital, singular, "klasse", "r");
1154 }
1155
1156 /*! This is used for translation of the word that will possibly
1157 * be followed by a single name or by a list of names
1158 * of the category.
1159 */
1160 DString trFile(bool first_capital, bool singular) override
1161 {
1162 return createNoun(first_capital, singular, "fil", "er");
1163 }
1164
1165 /*! This is used for translation of the word that will possibly
1166 * be followed by a single name or by a list of names
1167 * of the category.
1168 */
1169 DString trNamespace(bool first_capital, bool singular) override
1170 {
1171 return createNoun(first_capital, singular, "namespace", "s");
1172 }
1173
1174 /*! This is used for translation of the word that will possibly
1175 * be followed by a single name or by a list of names
1176 * of the category.
1177 */
1178 DString trGroup(bool first_capital, bool singular) override
1179 {
1180 return createNoun(first_capital, singular, "gruppe", "r");
1181 }
1182
1183 /*! This is used for translation of the word that will possibly
1184 * be followed by a single name or by a list of names
1185 * of the category.
1186 */
1187 DString trPage(bool first_capital, bool singular) override
1188 {
1189 return createNoun(first_capital, singular, "side", "r");
1190 }
1191
1192 /*! This is used for translation of the word that will possibly
1193 * be followed by a single name or by a list of names
1194 * of the category.
1195 */
1196 DString trMember(bool first_capital, bool singular) override
1197 {
1198 return createNoun(first_capital, singular, "medlem", "mer");
1199 }
1200
1201 /*! This is used for translation of the word that will possibly
1202 * be followed by a single name or by a list of names
1203 * of the category.
1204 */
1205 DString trGlobal(bool first_capital, bool singular) override
1206 {
1207 return createNoun(first_capital, singular, "global", "e");
1208 }
1209
1210//////////////////////////////////////////////////////////////////////////
1211// new since 1.2.7
1212//////////////////////////////////////////////////////////////////////////
1213
1214 /*! This text is generated when the \\author command is used and
1215 * for the author section in man pages. */
1216 DString trAuthor(bool first_capital, bool singular) override
1217 {
1218 return createNoun(first_capital, singular, "forfatter", "e");
1219 }
1220
1221//////////////////////////////////////////////////////////////////////////
1222// new since 1.2.11
1223//////////////////////////////////////////////////////////////////////////
1224
1225 /*! This text is put before the list of members referenced by a member
1226 */
1228 {
1229 return "Indeholder referencer til";
1230 }
1231
1232//////////////////////////////////////////////////////////////////////////
1233// new since 1.2.13
1234//////////////////////////////////////////////////////////////////////////
1235
1236 /*! used in member documentation blocks to produce a list of
1237 * members that are implemented by this one.
1238 */
1239 DString trImplementedFromList(int numEntries) override
1240 {
1241 return "Implementerer "+trWriteList(numEntries)+".";
1242 }
1243
1244 /*! used in member documentation blocks to produce a list of
1245 * all members that implement this abstract member.
1246 */
1247 DString trImplementedInList(int numEntries) override
1248 {
1249 return "Implementeret i "+trWriteList(numEntries)+".";
1250 }
1251
1252//////////////////////////////////////////////////////////////////////////
1253// new since 1.2.16
1254//////////////////////////////////////////////////////////////////////////
1255
1256 /*! used in RTF documentation as a heading for the Table
1257 * of Contents.
1258 */
1260 {
1261 return "Indholdsfortegnelse";
1262 }
1263
1264//////////////////////////////////////////////////////////////////////////
1265// new since 1.2.17
1266//////////////////////////////////////////////////////////////////////////
1267
1268 /*! Used as the header of the list of item that have been
1269 * flagged deprecated
1270 */
1272 {
1273 return "Liste over fortidslevn, hvis brug frarådes";
1274 }
1275
1276//////////////////////////////////////////////////////////////////////////
1277// new since 1.2.18
1278//////////////////////////////////////////////////////////////////////////
1279
1280 /*! Used as a header for declaration section of the events found in
1281 * a C# program
1282 */
1284 {
1285 return "Begivenheder";
1286 }
1287 /*! Header used for the documentation section of a class' events. */
1289 {
1290 return "Begivenhedsdokumentation";
1291 }
1292
1293//////////////////////////////////////////////////////////////////////////
1294// new since 1.3
1295//////////////////////////////////////////////////////////////////////////
1296
1297 /* Java: Entities with package scope... */
1299 { return "Typer med pakke-scope"; }
1301 { return "Metoder med pakke-scope"; }
1303 { return "Medlemmer med pakke-scope"; }
1305 { return "Statiske metoder med pakke-scope"; }
1307 { return "Attributter med pakke-scope"; }
1309 { return "Statiske attributter med pakke-scope"; }
1310
1311//////////////////////////////////////////////////////////////////////////
1312// new since 1.3.1
1313//////////////////////////////////////////////////////////////////////////
1314
1315 /*! Used in the quick index of a class/file/namespace member list page
1316 * to link to the unfiltered list of all members.
1317 */
1318 DString trAll() override
1319 {
1320 return "Alle";
1321 }
1322
1323 /*! Put in front of the call graph for a function. */
1325 {
1326 return "Her er kald-grafen for denne funktion:";
1327 }
1328
1329//////////////////////////////////////////////////////////////////////////
1330// new since 1.3.3
1331//////////////////////////////////////////////////////////////////////////
1332
1333 /*! This string is used as the title for the page listing the search
1334 * results.
1335 */
1337 {
1338 return "Søgeresultater";
1339 }
1340
1341 /*! This string is put just before listing the search results. The
1342 * text can be different depending on the number of documents found.
1343 * Inside the text you can put the special marker $num to insert
1344 * the number representing the actual number of search results.
1345 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1346 * value 2 represents 2 or more matches. HTML markup is allowed inside
1347 * the returned string.
1348 */
1349 DString trSearchResults(int numDocuments) override
1350 {
1351 if (numDocuments==0) {
1352 return "Beklager - ingen dokumenter passede til din forespørgsel.";
1353 } else if (numDocuments==1) {
1354 return "Fandt <b>1</b> dokument, der passer til din forespørgsel.";
1355 } else {
1356 return
1357 "Fandt <b>$num</b> dokumenter, der passer til din forespørgsel. "
1358 "De, der passer bedst, vises først.";
1359 }
1360 }
1361
1362 /*! This string is put before the list of matched words, for each search
1363 * result. What follows is the list of words that matched the query.
1364 */
1366 {
1367 return "Fundne ord:"; //translation?
1368 }
1369
1370//////////////////////////////////////////////////////////////////////////
1371// new since 1.3.8
1372//////////////////////////////////////////////////////////////////////////
1373
1374 /*! This is used in HTML as the title of page with source code for
1375 * file filename
1376 */
1377 DString trSourceFile(const DString& filename) override
1378 {
1379 return "Kildefilen " + filename;
1380 }
1381
1382
1383//////////////////////////////////////////////////////////////////////////
1384// new since 1.3.9
1385//////////////////////////////////////////////////////////////////////////
1386
1387 /*! This is used as the name of the chapter containing the directory
1388 * hierarchy.
1389 */
1391 { return "Katalogstruktur"; }
1392
1393 /*! This is used as the name of the chapter containing the documentation
1394 * of the directories.
1395 */
1397 { return "Katalog-dokumentation"; }
1398
1399 /*! This is used as the title of the directory index and also in the
1400 * Quick links of an HTML page, to link to the directory hierarchy.
1401 */
1403 { return "Kataloger"; }
1404
1405 /*! This returns the title of a directory page. The name of the
1406 * directory is passed via \a dirName.
1407 */
1408 DString trDirReference(const DString &dirName) override
1409 { DString result="Indhold af kataloget "; result+=dirName; return result;}
1410
1411 /*! This returns the word directory with or without starting capital
1412 * (\a first_capital) and in singular or plural form (\a singular).
1413 */
1414 DString trDir(bool first_capital, bool singular) override
1415 {
1416 return createNoun(first_capital, singular, "katalog", "er");
1417 }
1418
1419//////////////////////////////////////////////////////////////////////////
1420// new since 1.4.1
1421//////////////////////////////////////////////////////////////////////////
1422
1423 /*! This text is added to the documentation when the \\overload command
1424 * is used for a overloaded function.
1425 */
1427 {
1428 return "Dette er en overdefineret medlemsfunktion, "
1429 "defineret af bekvemmelighedshensyn. "
1430 "Den adskiller sig kun fra den ovenstående funktion i, "
1431 "hvilke argumenter den tager.";
1432 }
1433
1434//////////////////////////////////////////////////////////////////////////
1435// new since 1.4.6
1436//////////////////////////////////////////////////////////////////////////
1437
1438 /*! This is used to introduce a caller (or called-by) graph */
1440 {
1441 return "Her er kalder-grafen for denne funktion:";
1442 }
1443
1444 // None translated yet PEH 2010-11-27
1445 // Subroutine
1446
1447 /*! header that is put before the list of member subprograms (Fortran). */
1449 { return "Medlem Funktion/Subroutine Dokumentation"; } // "Member Function/Subroutine Documentation"
1450
1451 /*! This is used in the documentation of a file/namespace before the list
1452 * of documentation blocks for enumeration values
1453 */
1454 /*
1455 DString trEnumerationValueDocumentation() override
1456 { return "Enumerator-dokumentation"; } //TODO?
1457*/
1458
1459
1460//////////////////////////////////////////////////////////////////////////
1461// new since 1.5.4 (mainly for Fortran)
1462//////////////////////////////////////////////////////////////////////////
1463
1464 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1466 { return "Data Type Liste"; } // "Data Types List"
1467
1468 /*! This is put above each page as a link to all members of compounds (Fortran). */
1470 { return "Data felter"; } // "Data Fields"
1471
1472 /*! This is an introduction to the annotated compound list (Fortran). */
1474 { return "Her er de datatyper med kort beskrivelse:"; } // "Here are the data types with brief descriptions:"
1475
1476 /*! This is an introduction to the page with all data types (Fortran). */
1478 {
1479 DString result="Her er en liste af alle "; // "Here is a list of all "
1480 if (!extractAll)
1481 {
1482 result+="dokumenteret "; // "documented "
1483 }
1484 result+="datatype medlemmer"; // "data types members"
1485 result+=" med links til "; // " with links to "
1486 if (!extractAll)
1487 {
1488 result+="data strukturer dokumenteret for hver medlem"; // "the data structure documentation for each member"
1489 }
1490 else
1491 {
1492 result+="de datatyper som de tilhører:"; // "the data types they belong to:"
1493 }
1494 return result;
1495 }
1496
1497 /*! This is used in LaTeX as the title of the chapter with the
1498 * annotated compound index (Fortran).
1499 */
1501 { return "Datatype indeks"; } // "Data Type Index"
1502
1503 /*! This is used in LaTeX as the title of the chapter containing
1504 * the documentation of all data types (Fortran).
1505 */
1507 { return "Datatype dokumentation"; } // "Data Type Documentation"
1508
1509 /*! This is used in the documentation of a file as a header before the
1510 * list of (global) subprograms (Fortran).
1511 */
1513 { return "Funktioner/Subroutiner"; } // "Functions/Subroutines"
1514
1515 /*! This is used in the documentation of a file/namespace before the list
1516 * of documentation blocks for subprograms (Fortran)
1517 */
1519 { return "Funktion/Subroutine dokumentation"; } // "Function/Subroutine Documentation"
1520
1521 /*! This is used in the documentation of a file/namespace/group before
1522 * the list of links to documented compounds (Fortran)
1523 */
1525 { return "Datatyper"; } // "Data Types"
1526
1527 /*! used as the title of page containing all the index of all modules (Fortran). */
1529 { return "Modulliste"; } // "Modules List"
1530
1531 /*! used as an introduction to the modules list (Fortran) */
1532 DString trModulesListDescription(bool extractAll) override
1533 {
1534 DString result="Her er en liste over alle "; // "Here is a list of all "
1535 if (!extractAll) result+="dokumenteret "; // "documented "
1536 result+="moduler med kort beskrivelse:"; // "modules with brief descriptions:"
1537 return result;
1538 }
1539
1540 /*! used as the title of the HTML page of a module/type (Fortran) */
1542 ClassDef::CompoundType compType,
1543 bool isTemplate) override
1544 {
1545 DString result=clName;
1546 switch(compType)
1547 {
1548 case ClassDef::Class: result+=" Modul"; break; // " Module"
1549 case ClassDef::Struct: result+=" Type"; break; // " Type"
1550 case ClassDef::Union: result+=" Union"; break; // " Union"
1551 case ClassDef::Interface: result+=" Grænseflade"; break; // " Interface"
1552 case ClassDef::Protocol: result+=" Protocol"; break; // " Protocol"
1553 case ClassDef::Category: result+=" Kategori"; break; // " Category"
1554 case ClassDef::Exception: result+=" Undtagelse"; break; // " Exception"
1555 default: break;
1556 }
1557 if (isTemplate) result+=" Template";
1558 result+=" Reference";
1559 return result;
1560 }
1561
1562 /*! used as the title of the HTML page of a module (Fortran) */
1563 DString trModuleReference(const DString &namespaceName) override
1564 {
1565 DString result=namespaceName;
1566 result+=" Modulreference"; // " Module Reference"
1567 return result;
1568 }
1569
1570 /*! This is put above each page as a link to all members of modules. (Fortran) */
1572 { return "Modulmedlemmer"; } // "Module Members"
1573
1574 /*! This is an introduction to the page with all modules members (Fortran) */
1575 DString trModulesMemberDescription(bool extractAll) override
1576 {
1577 DString result="Her er en list over alle "; // "Here is a list of all "
1578 if (!extractAll) result+="Dokumentet "; // "documented "
1579 result+="modulmemlemmer med link til "; // "module members with links to "
1580 if (extractAll)
1581 {
1582 result+="dokumentation for hvert model medlem:"; // "the module documentation for each member:"
1583 }
1584 else
1585 {
1586 result+="moduler de tilhøre:"; // "the modules they belong to:"
1587 }
1588 return result;
1589 }
1590
1591 /*! This is used in LaTeX as the title of the chapter with the
1592 * index of all modules (Fortran).
1593 */
1595 { return "Modulindekser"; } // "Modules Index"
1596
1597 /*! This is used for translation of the word that will possibly
1598 * be followed by a single name or by a list of names
1599 * of the category.
1600 */
1601 DString trModule(bool first_capital, bool singular) override
1602 {
1603 return createNoun(first_capital, singular, "modul", "er");
1604 }
1605
1606 /*! This is put at the bottom of a module documentation page and is
1607 * followed by a list of files that were used to generate the page.
1608 */
1610 bool single) override
1611 {
1612 // single is true implies a single file
1613 DString result="The documentation for this ";
1614 switch(compType)
1615 {
1616 case ClassDef::Class: result+="modul"; break; // "module"
1617 case ClassDef::Struct: result+="type"; break; // "type"
1618 case ClassDef::Union: result+="union"; break; // "union"
1619 case ClassDef::Interface: result+="grænseflade"; break; // "interface"
1620 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
1621 case ClassDef::Category: result+="kategori"; break; // "category"
1622 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
1623 default: break;
1624 }
1625 result+=" var lavet udfra følgende file"; // " was generated from the following file"
1626 if (single) result+=":"; else result+="r:"; // ":" / "s:"
1627 return result;
1628 }
1629
1630 /*! This is used for translation of the word that will possibly
1631 * be followed by a single name or by a list of names
1632 * of the category.
1633 */
1634 DString trType(bool first_capital, bool singular) override
1635 {
1636 return createNoun(first_capital, singular, "type", "r");
1637 }
1638
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
1641 * of the category.
1642 */
1643 DString trSubprogram(bool first_capital, bool singular) override
1644 {
1645 return createNoun(first_capital, singular, "subprogram", "er");
1646 }
1647
1648 /*! C# Type Constraint list */
1650 {
1651 return "typebegrænsninger"; // "Type Constraints"
1652 }
1653
1654//////////////////////////////////////////////////////////////////////////
1655// new since 1.6.0 (mainly for the new search engine)
1656//////////////////////////////////////////////////////////////////////////
1657
1658 /*! directory relation for \a name */
1659 DString trDirRelation(const DString &name) override
1660 {
1661 return name+" Relation"; // " Relation"
1662 }
1663
1664 /*! Loading message shown when loading search results */
1666 {
1667 return "Indlæser..."; // "Loading..."
1668 }
1669
1670 /*! Label used for search results in the global namespace */
1672 {
1673 return "Globalt Namespace"; // "Global Namespace"
1674 }
1675
1676 /*! Message shown while searching */
1678 {
1679 return "Søger..."; // "Searching..."
1680 }
1681
1682 /*! Text shown when no search results are found */
1684 {
1685 return "Ingen fund"; // "No Matches"
1686 }
1687
1688//////////////////////////////////////////////////////////////////////////
1689// new since 1.6.3 (missing items for the directory pages)
1690//////////////////////////////////////////////////////////////////////////
1691
1692 /*! when clicking a directory dependency label, a page with a
1693 * table is shown. The heading for the first column mentions the
1694 * source file that has a relation to another file.
1695 */
1696 DString trFileIn(const DString &name) override
1697 {
1698 return "File i "+name; // "File in "
1699 }
1700
1701 /*! when clicking a directory dependency label, a page with a
1702 * table is shown. The heading for the second column mentions the
1703 * destination file that is included.
1704 */
1705 DString trIncludesFileIn(const DString &name) override
1706 {
1707 return "Inkluderer file i "+name; // "Includes file in "
1708 }
1709
1710 /** Compiles a date string.
1711 * @param year Year in 4 digits
1712 * @param month Month of the year: 1=January
1713 * @param day Day of the Month: 1..31
1714 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1715 * @param hour Hour of the day: 0..23
1716 * @param minutes Minutes in the hour: 0..59
1717 * @param seconds Seconds within the minute: 0..59
1718 * @param includeTime Include time in the result string?
1719 */
1720 DString trDateTime(int year,int month,int day,int dayOfWeek,
1721 int hour,int minutes,int seconds,
1722 DateTimeType includeTime) override
1723 {
1724 static const char *days[] = { "Man","Tir","Ons","Tor","Fre","Lør","Søn" }; // { "Mon","Tue","Wed","Thu","Fri","Sat","Sun" };
1725 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" };
1726 DString sdate;
1727 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1728 {
1729 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1730 }
1731 if (includeTime == DateTimeType::DateTime) sdate += " ";
1732 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1733 {
1734 DString stime;
1735 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1736 sdate+=stime;
1737 }
1738 return sdate;
1739 }
1740 DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1741 {
1742 static const char *days_short[] = { "ma", "ti", "on", "to", "fr", "lø", "sø" };
1743 static const char *days_full[] = { "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag", "søndag" };
1744 DString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1745 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1746 else return text;
1747 }
1748 DString trMonth(int month, bool first_capital, bool full) override
1749 {
1750 static const char *months_short[] = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec" };
1751 static const char *months_full[] = { "januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december" };
1752 DString text = full? months_full[month-1] : months_short[month-1];
1753 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1754 else return text;
1755 }
1756 DString trDayPeriod(bool period) override
1757 {
1758 static const char *dayPeriod[] = { "AM", "PM" };
1759 return dayPeriod[period?1:0];
1760 }
1761
1762//////////////////////////////////////////////////////////////////////////
1763// new since 1.7.5
1764//////////////////////////////////////////////////////////////////////////
1765
1767 {
1768 return "Bibliografiske referencer";
1769 }
1770
1772 {
1773 return "Copyright";
1774 }
1775
1776 DString trDirDepGraph(const DString &name) override
1777 {
1778 return DString("Afhængighedsgraf for katalog ")+name+":";
1779 }
1780};
1781
1782#endif
CompoundType
The various compound types.
Definition classdef.h:109
@ Interface
Definition classdef.h:112
@ Exception
Definition classdef.h:115
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:89
DString()=default
DString upper() const
Definition dstring.h:336
DString mid(size_t index, size_t len=npos) const
Definition dstring.h:323
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
Definition dstring.h:153
DString & sprintf(const char *format,...)
Definition dstring.cpp:29
Adapter class for languages that only contain translations up to version 1.8.0.
DString trDesignUnitDocumentation() override
DString trGotoSourceCode() override
DString trLegendDocs() override
DString trBugList() override
DString trSearch() override
DString trCompoundIndexFortran() override
DString trSince() override
DString trStaticPublicAttribs() override
DString getLanguageString() override
language codes for Html help
DString trStaticPrivateMembers() override
DString trProperties() override
DString trStaticProtectedMembers() override
DString trCiteReferences() override
DString trWriteList(int numEntries) override
DString trModulesMemberDescription(bool extractAll) override
DString trSignals() override
DString trDefinedInSourceFile() override
DString trModulesMembers() override
DString trSeeAlso() override
DString trStaticPackageFunctions() override
DString trFileListDescription(bool extractAll) override
DString trNoMatches() override
DString trInitialValue() override
DString trRelatedFunctionDocumentation() override
DString trCompoundReference(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trVersion() override
DString trBug() override
DString trNamespaceListDescription(bool extractAll) override
DString trNamespaceMemberDescription(bool extractAll) override
DString trGraphicalHierarchy() override
DString trFileIndex() override
DString trCompoundListDescription() override
DString trPrecondition() override
DString trDocumentation(const DString &projName) override
DString trSubprogramDocumentation() override
DString trMemberDataDocumentation() override
DString trStaticPublicMembers() override
DString trTypeConstraints() override
DString trNamespaceDocumentation() override
DString trDetails() override
DString trSubprogram(bool first_capital, bool singular) override
DString trGlobalNamespace() override
DString trRTFTableOfContents() override
DString trDayPeriod(bool period) override
DString trGeneratedBy() override
DString trNamespaceMembers() override
DString trModuleReference(const DString &namespaceName) override
DString trFileIn(const DString &name) override
DString trCompoundIndex() override
DString trGotoDocumentation() override
DString trExamplesDescription() override
DString trRTFCharSet() override
DString trModuleIndex() override
DString trDataTypes() override
DString trEnumerations() override
DString trAll() override
DString trNamespaceIndex() override
DString trPackageFunctions() override
DString trInheritsList(int numEntries) override
DString trClassHierarchyDescription() override
DString trTest() override
DString trImplementedFromList(int numEntries) override
DString trMonth(int month, bool first_capital, bool full) override
DString trGeneratedAutomatically(const DString &s) override
DString trRelatedFunctions() override
DString trMemberFunctionDocumentation() override
DString trCompoundMembersDescription(bool extractAll) override
DString trVariableDocumentation() override
DString trDirRelation(const DString &name) override
DString trPageIndex() override
DString trGroup(bool first_capital, bool singular) override
DString trDeprecatedList() override
DString trCompoundList() override
DString trLegend() override
DString trPackage(const DString &name) override
DString trClassDocumentation() override
DString trVariables() override
DString trInvariant() override
DString trPrivateAttribs() override
DString trImplementedInList(int numEntries) override
DString trRelatedPagesDescription() override
DString trReferencedBy() override
DString trStaticPrivateAttribs() override
DString trLegendTitle() override
DString trPublicTypes() override
DString trDefinedIn() override
DString trDirectories() override
DString trFileMembers() override
DString trInheritedByList(int numEntries) override
DString trReimplementedInList(int numEntries) override
DString trStaticPackageAttribs() override
DString trGotoTextualHierarchy() override
DString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
DString trPrivateMembers() override
DString trEnumerationTypeDocumentation() override
DString trMemberList() override
DString trProtectedMembers() override
DString trPackageMembers() override
DString trFile(bool first_capital, bool singular) override
DString trModulesDescription() override
DString trNamespaceReference(const DString &namespaceName) override
DString trGlobal(bool first_capital, bool singular) override
DString trModule(bool first_capital, bool singular) override
DString trPublicSlots() override
DString trEnumName() override
DString trCollaborationDiagram(const DString &clName) override
DString trOverloadText() override
DString trCallGraph() override
DString trCompoundMembersDescriptionFortran(bool extractAll) override
DString trProtectedSlots() override
DString trInclDepGraph(const DString &fName) override
DString trDirDocumentation() override
DString trAuthor(bool first_capital, bool singular) override
DString trSearchResultsTitle() override
DString trProtectedAttribs() override
DString trPublicMembers() override
DString trReturns() override
DString trWarning() override
DString trMemberFunctionDocumentationFortran() override
DString trSourceFile(const DString &filename) override
DString trMemberEnumerationDocumentation() override
DString trParameters() override
DString trTypeDocumentation() override
DString trStaticProtectedAttribs() override
DString trDefines() override
DString trCompoundListDescriptionFortran() override
DString trPageAbbreviation() override
DString trReturnValues() override
DString trNamespace(bool first_capital, bool singular) override
DString trEnumerationValueDocumentation() override
DString trDateTime(int year, int month, int day, int dayOfWeek, int hour, int minutes, int seconds, DateTimeType includeTime) override
Compiles a date string.
DString trClassDiagram(const DString &clName) override
DString trType(bool first_capital, bool singular) override
DString trCompoundMembers() override
DString trTypedefs() override
DString trCallerGraph() override
DString trNote() override
DString trDir(bool first_capital, bool singular) override
DString trPrivateSlots() override
DString trAttention() override
DString trSearchMatches() override
DString trEnumerationValues() override
DString trReferenceManual() override
DString trModulesIndex() override
DString trInclByDepGraph() override
DString trNamespaceList() override
DString trHierarchicalIndex() override
DString trDefineValue() override
DString trIncludesFileIn(const DString &name) override
DString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
DString trPostcondition() override
DString trCode() override
DString trConstructorDocumentation() override
DString trMainPage() override
DString trPublicAttribs() override
DString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
DString trLoading() override
DString trCompoundMembersFortran() override
DString trClass(bool first_capital, bool singular) override
DString trRemarks() override
DString trCompoundReferenceFortran(const DString &clName, ClassDef::CompoundType compType, bool isTemplate) override
DString trMember(bool first_capital, bool singular) override
DString trDeprecated() override
DString trMore() override
DString trFunctions() override
DString trDefineDocumentation() override
DString trSearching() override
DString trGeneratedAt(const DString &date, const DString &projName) override
DString trModuleDocumentation() override
DString trDate() override
DString trExamples() override
DString trTypedefDocumentation() override
DString trRTFGeneralIndex() override
DString trMemberTypedefDocumentation() override
DString trClasses() override
DString trModules() override
DString trPackageListDescription() override
DString trPackageAttribs() override
DString trTestList() override
DString trNamespaces() override
DString trModulesList() override
DString trPackages() override
DString trFileMembersDescription(bool extractAll) override
DString trEvents() override
DString trFileReference(const DString &fileName) override
DString trRelatedPages() override
DString trDirIndex() override
DString trTodoList() override
DString trFunctionDocumentation() override
DString trThisIsTheListOfAllMembers() override
DString trProtectedTypes() override
DString trCompoundListFortran() override
DString trRTFansicp() override
DString trPackageTypes() override
DString trTodo() override
DString trPrivateTypes() override
DString trReimplementedFromList(int numEntries) override
DString trDetailedDescription() override
DString trFriends() override
DString trDirDepGraph(const DString &name) override
DString trFileList() override
DString trISOLang() override
DString idLanguage() override
DString trSearchResults(int numDocuments) override
DString trSubprograms() override
DString trPage(bool first_capital, bool singular) override
DString trRelatedSubscript() override
DString trModulesListDescription(bool extractAll) override
DString trListOfAllMembers() override
DString trIncludingInheritedMembers() override
DString trCompounds() override
DString trFileDocumentation() override
DString trGotoGraphicalHierarchy() override
DString trEventDocumentation() override
DString trDefinedAtLineInSourceFile() override
DString trPropertyDocumentation() override
DString trExceptions() override
DString latexLanguageSupportCommand() override
DString trReferences() override
DString trCopyright() override
DString trClassHierarchy() override
DString trEnumValue() override
DString trDirReference(const DString &dirName) override
DString createNoun(bool first_capital, bool singular, const DString &base, const DString &plurSuffix, const DString &singSuffix="")
Definition translator.h:801
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
DString generateMarker(int id)
Definition dstring.h:893
DString getDotImageExtension()
Definition util.cpp:5498