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