Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/translator_dk.h

Source at commit 1322 created 9 years 5 months ago.
By meklort, Add doxygen to utils folder
1/*-*- c-basic-offset: 2; tab-width: 8 -*-*/
2/******************************************************************************
3 *
4 *
5 *
6 * Copyright (C) 1997-2011 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
20 */
21
22/*
23 * Danish translation by
24
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
35(Konventioner for konventioner:
36
37
38
39 '(do.)' angiver ord, der med vilje ikke er oversat, idet jeg selv
40 overvejende bruger det engelske udtryk
41
42
43
44
45)
46bug -> 'kendt fejl'
47class -> klasse
48compound -> 'sammensat type'
49
50
51
52event -> begivenhed ?
53exception (-> undtagelse ?)
54friend ..?
55
56member -> medlem (TODO)
57namespace -> (do.)
58overloaded -> KLID:overdefineret
59private -> privat
60property -> egenskab?
61protected -> beskyttet ??
62public -> offentlig
63reference(vb) -> "indeholde referencer til" (?)
64slot ..?
65source code -> kildekode
66struct -> datastruktur
67template (-> skabelon ?)
68typedef -> typedefinition (?)
69todo -> (do.)
70union ..?
71
72Specielle forbindelser:
73
74
75
76-----
77
78
79
80
81
82links -> (links.)
83-- Poul-Erik Hansen
84
85 */
86
87#ifndef TRANSLATOR_DK_H
88#define TRANSLATOR_DK_H
89
90// class TranslatorDanish : public TranslatorAdapter_1_5_4
91class TranslatorDanish : public Translator
92{
93 public:
94
95 // --- Language control methods -------------------
96
97 /*! Used for identification of the language. The identification
98 * should not be translated. It should be replaced by the name
99 * of the language in English using lower-case characters only
100 * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
101 * the identification used in language.cpp.
102 */
103 virtual QCString idLanguage()
104 { return "danish"; }
105
106 /*! Used to get the LaTeX command(s) for the language support.
107 * This method should return string with commands that switch
108 * LaTeX to the desired language. For example
109 * <pre>"\\usepackage[german]{babel}\n"
110 * </pre>
111 * or
112 * <pre>"\\usepackage{polski}\n"
113 * "\\usepackage[latin2]{inputenc}\n"
114 * "\\usepackage[T1]{fontenc}\n"
115 * </pre>
116 */
117 virtual QCString latexLanguageSupportCommand()
118 {
119 return
120"\\usepackage[danish]{babel}\n"
121"\\usepackage[T1]{fontenc}\n";
122 }
123
124 /*! return the language charset. This will be used for the HTML output */
125 virtual QCString idLanguageCharset()
126 {
127 return "iso-8859-1";
128 }
129
130 // --- Language translation methods -------------------
131
132 /*! used in the compound documentation before a list of related functions. */
133 virtual QCString trRelatedFunctions()
134 { return "Relaterede funktioner"; }
135
136 /*! subscript for the related functions. */
137 virtual QCString trRelatedSubscript()
138
139
140 /*! header that is put before the detailed description of files,
141 * classes and namespaces. */
142 virtual QCString trDetailedDescription()
143 { return "Detaljeret beskrivelse"; }
144
145 /*! header that is put before the list of typedefs. */
146 virtual QCString trMemberTypedefDocumentation()
147 { return "Dokumentation af medlems-typedefinitioner"; }
148
149 /*! header that is put before the list of enumerations. */
150 virtual QCString trMemberEnumerationDocumentation()
151 { return "Dokumentation af medlems-enumerationer"; }
152// medlems-enumerationer -> 'indeholdte enumerationer'
153
154 /*! header that is put before the list of member functions. */
155 virtual QCString trMemberFunctionDocumentation()
156 { return "Dokumentation af medlemsfunktioner"; }
157
158 /*! header that is put before the list of member attributes. */
159 virtual QCString trMemberDataDocumentation()
160 {
161 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
162 return "Felt-dokumentation";
163 } else {
164return "Dokumentation af feltvariable";
165 }
166 }
167
168 /*! this is the text of a link put after brief descriptions. */
169 virtual QCString trMore()
170 { return "Mere..."; }
171
172 /*! put in the class documentation */
173 virtual QCString trListOfAllMembers()
174 { return "Liste over alle medlemmer."; }
175
176 /*! used as the title of the "list of all members" page of a class */
177 virtual QCString trMemberList()
178 { return "Liste over medlemmer"; }
179
180 /*! this is the first part of a sentence that is followed by a class name */
181 virtual QCString trThisIsTheListOfAllMembers()
182 { return "Dette er den komplette liste over medlemmer i "; }
183
184 /*! this is the remainder of the sentence after the class name */
185 virtual QCString trIncludingInheritedMembers()
186 { return ", inklusive alle nedarvede medlemmer."; }
187
188 /*! this is put at the author sections at the bottom of man pages.
189 * parameter s is name of the project name.
190 */
191 virtual QCString trGeneratedAutomatically(const char *s)
192 { QCString result="Automatisk genereret af Doxygen";
193 if (s) result+=(QCString)" for "+s;
194 result+=" ud fra kildekoden.";
195 return result;
196 }
197
198 /*! put after an enum name in the list of all members */
199 virtual QCString trEnumName()
200 { return "enumerationsnavn"; }
201
202 /*! put after an enum value in the list of all members */
203 virtual QCString trEnumValue()
204
205
206 /*! put after an undocumented member in the list of all members */
207 virtual QCString trDefinedIn()
208 { return "defineret i"; }
209
210 // quick reference sections
211
212 /*! This is put above each page as a link to the list of all groups of
213 * compounds or files (see the \\group command).
214 */
215 virtual QCString trModules()
216 { return "Moduler"; }
217
218 /*! This is put above each page as a link to the class hierarchy */
219 virtual QCString trClassHierarchy()
220 { return "Klassehierarki"; }
221
222 /*! This is put above each page as a link to the list of annotated classes */
223 virtual QCString trCompoundList()
224 {
225 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
226 return "Datastrukturer";
227 } else {
228 return "Oversigt over sammensatte typer";
229 }
230 }
231
232 /*! This is put above each page as a link to the list of documented files */
233 virtual QCString trFileList()
234 { return "Filoversigt"; }
235
236 /*! This is put above each page as a link to all members of compounds. */
237 virtual QCString trCompoundMembers()
238 {
239 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
240 return "Data-felter";
241 } else {
242 return "Felter i sammensatte typer";
243 }
244 }
245
246 /*! This is put above each page as a link to all members of files. */
247 virtual QCString trFileMembers()
248 {
249 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
250 return "Globale symboler";
251 } else {
252return "Placering i filer"; // Fil-medlemmer"; //TODO
253//"Globale definitioner" ?
254 }
255 }
256
257 /*! This is put above each page as a link to all related pages. */
258 virtual QCString trRelatedPages()
259 { return "Relaterede sider"; }
260
261 /*! This is put above each page as a link to all examples. */
262 virtual QCString trExamples()
263 { return "Eksempler"; }
264
265 /*! This is put above each page as a link to the search engine. */
266 virtual QCString trSearch()
267
268
269 /*! This is an introduction to the class hierarchy. */
270 virtual QCString trClassHierarchyDescription()
271
272
273 }
274
275 /*! This is an introduction to the list with all files. */
276 virtual QCString trFileListDescription(bool extractAll)
277 {
278 QCString result="Her er en liste over alle ";
279 if (!extractAll) result+="dokumenterede ";
280 result+="filer med korte beskrivelser:";
281 return result;
282 }
283
284 /*! This is an introduction to the annotated compound list. */
285 virtual QCString trCompoundListDescription()
286 {
287
288 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
289 return "Her er datastrukturerne med korte beskrivelser:";
290 } else {
291 return "Her er klasserne, datastrukturerne, "
292
293 }
294 }
295
296 /*! This is an introduction to the page with all class members. */
297 virtual QCString trCompoundMembersDescription(bool extractAll)
298 {
299 QCString result="Her er en liste over alle ";
300 if (!extractAll) {
301 result+="dokumenterede ";
302 }
303 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
304 result+="felter i datastrukturer og unioner";
305 } else {
306 result+="klassemedlemmer";
307 }
308 result+=" med links til ";
309 if (!extractAll) {
310 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
311 result+="datastruktur/unions-dokumentationen for hvert felt:";
312 } else {
313 result+="klassedokumentationen for hvert medlem:";
314 }
315 } else {
316 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
317
318 } else {
319
320 }
321 }
322 return result;
323 }
324
325 /*! This is an introduction to the page with all file members. */
326 virtual QCString trFileMembersDescription(bool extractAll)
327 {
328 QCString result="Her er en liste over alle ";
329 if (!extractAll) result+="dokumenterede ";
330
331 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
332 result+="funktioner, variable, #defines, enumerationer "
333 "og typedefinitioner";
334 } else {
335 result+="fil-medlemmer";
336 }
337 result+=", med links til ";
338 if (extractAll)
339
340 else
341 result+="deres dokumentation:";
342 return result;
343 }
344
345 /*! This is an introduction to the page with the list of all examples */
346 virtual QCString trExamplesDescription()
347 { return "Her er en liste over alle eksempler:"; }
348
349 /*! This is an introduction to the page with the list of related pages */
350 virtual QCString trRelatedPagesDescription()
351 { return "Her er en liste over alle relaterede dokumentationssider:"; }
352
353 /*! This is an introduction to the page with the list of class/file groups */
354 virtual QCString trModulesDescription()
355 { return "Her er en liste over alle moduler:"; }
356
357 /*! This is used in HTML as the title of index.html. */
358 virtual QCString trDocumentation()
359 { return "Dokumentation"; }
360
361 /*! This is used in LaTeX as the title of the chapter with the
362 * index of all groups.
363 */
364 virtual QCString trModuleIndex()
365 { return "Modul-indeks"; }
366
367 /*! This is used in LaTeX as the title of the chapter with the
368 * class hierarchy.
369 */
370 virtual QCString trHierarchicalIndex()
371 { return "Hierarkisk indeks"; }
372
373 /*! This is used in LaTeX as the title of the chapter with the
374 * annotated compound index.
375 */
376 virtual QCString trCompoundIndex()
377 {
378 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
379 return "Indeks over datastrukturer";
380 } else {
381 return "Indeks over sammensatte typer";
382 }
383 }
384
385 /*! This is used in LaTeX as the title of the chapter with the
386 * list of all files.
387 */
388 virtual QCString trFileIndex()
389 { return "Fil-indeks"; }
390
391 /*! This is used in LaTeX as the title of the chapter containing
392 * the documentation of all groups.
393 */
394 virtual QCString trModuleDocumentation()
395 { return "Modul-dokumentation"; }
396
397 /*! This is used in LaTeX as the title of the chapter containing
398 * the documentation of all classes, structs and unions.
399 */
400 virtual QCString trClassDocumentation()
401 {
402 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
403 return "Datastruktur-documentation";
404 } else {
405 return "Klasse-dokumentation";
406 }
407 }
408
409 /*! This is used in LaTeX as the title of the chapter containing
410 * the documentation of all files.
411 */
412 virtual QCString trFileDocumentation()
413 { return "Fil-dokumentation"; }
414
415 /*! This is used in LaTeX as the title of the chapter containing
416 * the documentation of all examples.
417 */
418 virtual QCString trExampleDocumentation()
419 { return "Eksempel-dokumentation"; }
420
421 /*! This is used in LaTeX as the title of the chapter containing
422 * the documentation of all related pages.
423 */
424 virtual QCString trPageDocumentation()
425 { return "Side-dokumentation"; }
426
427 /*! This is used in LaTeX as the title of the document */
428 virtual QCString trReferenceManual()
429 { return "Referencemanual"; }
430
431 /*! This is used in the documentation of a file as a header before the
432 * list of defines
433 */
434 virtual QCString trDefines()
435 { return "#Defines"; }
436
437 /*! This is used in the documentation of a file as a header before the
438 * list of function prototypes
439 */
440 virtual QCString trFuncProtos()
441 { return "Funktionsprototyper"; }
442
443 /*! This is used in the documentation of a file as a header before the
444 * list of typedefs
445 */
446 virtual QCString trTypedefs()
447 { return "Typedefinitioner"; }
448
449 /*! This is used in the documentation of a file as a header before the
450 * list of enumerations
451 */
452 virtual QCString trEnumerations()
453 { return "Enumerationer"; }
454
455 /*! This is used in the documentation of a file as a header before the
456 * list of (global) functions
457 */
458 virtual QCString trFunctions()
459 { return "Funktioner"; }
460
461 /*! This is used in the documentation of a file as a header before the
462 * list of (global) variables
463 */
464 virtual QCString trVariables()
465 { return "Variable"; }
466
467 /*! This is used in the documentation of a file as a header before the
468 * list of (global) variables
469 */
470 virtual QCString trEnumerationValues()
471
472
473 /*! This is used in the documentation of a file before the list of
474 * documentation blocks for defines
475 */
476 virtual QCString trDefineDocumentation()
477 { return "#Define-dokumentation"; }
478
479 /*! This is used in the documentation of a file/namespace before the list
480 * of documentation blocks for function prototypes
481 */
482 virtual QCString trFunctionPrototypeDocumentation()
483 { return "Dokumentation af funktionsprototyper"; }
484
485 /*! This is used in the documentation of a file/namespace before the list
486 * of documentation blocks for typedefs
487 */
488 virtual QCString trTypedefDocumentation()
489 { return "Dokumentation af typedefinitioner"; }
490
491 /*! This is used in the documentation of a file/namespace before the list
492 * of documentation blocks for enumeration types
493 */
494 virtual QCString trEnumerationTypeDocumentation()
495 { return "Dokumentation af enumerations-typer"; }
496
497 /*! This is used in the documentation of a file/namespace before the list
498 * of documentation blocks for enumeration values
499 */
500 virtual QCString trEnumerationValueDocumentation()
501
502
503 /*! This is used in the documentation of a file/namespace before the list
504 * of documentation blocks for functions
505 */
506 virtual QCString trFunctionDocumentation()
507 { return "Funktions-dokumentation"; }
508
509 /*! This is used in the documentation of a file/namespace before the list
510 * of documentation blocks for variables
511 */
512 virtual QCString trVariableDocumentation()
513 { return "Variabel-dokumentation"; }
514
515 /*! This is used in the documentation of a file/namespace/group before
516 * the list of links to documented compounds
517 */
518 virtual QCString trCompounds()
519 {
520 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
521 return "Datastrukturer";
522 } else {
523 return "Sammensatte typer";
524 }
525 }
526
527 /*! This is used in the standard footer of each page and indicates when
528 * the page was generated
529 */
530 virtual QCString trGeneratedAt(const char *date,const char *projName)
531 {
532 QCString result=(QCString)"Genereret "+date;
533 if (projName) result+=(QCString)" for "+projName;
534 result+=(QCString)" af";
535 return result;
536 }
537 /*! This is part of the sentence used in the standard footer of each page.
538 */
539 virtual QCString trWrittenBy()
540 { return "skrevet af"; }
541
542 /*! this text is put before a class diagram */
543 virtual QCString trClassDiagram(const char *clName)
544 {
545
546 }
547
548 /*! this text is generated when the \\internal command is used. */
549 virtual QCString trForInternalUseOnly()
550 { return "Kun til intern brug."; }
551
552 /*! this text is generated when the \\warning command is used. */
553 virtual QCString trWarning()
554 { return "Advarsel"; }
555
556 /*! this text is generated when the \\version command is used. */
557 virtual QCString trVersion()
558 { return "Version"; }
559
560 /*! this text is generated when the \\date command is used. */
561 virtual QCString trDate()
562 { return "Dato"; }
563
564 /*! this text is generated when the \\return command is used. */
565 virtual QCString trReturns()
566 { return "Returnerer"; }
567
568 /*! this text is generated when the \\sa command is used. */
569 virtual QCString trSeeAlso()
570
571
572 /*! this text is generated when the \\param command is used. */
573 virtual QCString trParameters()
574 { return "Parametre"; }
575
576 /*! this text is generated when the \\exception command is used. */
577 virtual QCString trExceptions()
578 { return "Undtagelser"; } // "Exceptions"
579
580 /*! this text is used in the title page of a LaTeX document. */
581 virtual QCString trGeneratedBy()
582 { return "Genereret af"; }
583
584//////////////////////////////////////////////////////////////////////////
585// new since 0.49-990307
586//////////////////////////////////////////////////////////////////////////
587
588 /*! used as the title of page containing all the index of all namespaces. */
589 virtual QCString trNamespaceList()
590 { return "Oversigt over namespaces"; }
591
592 /*! used as an introduction to the namespace list */
593 virtual QCString trNamespaceListDescription(bool extractAll)
594 {
595 QCString result="Her er en liste over alle ";
596 if (!extractAll) result+="dokumenterede ";
597 result+="namespaces med korte beskrivelser:";
598 return result;
599 }
600
601 /*! used in the class documentation as a header before the list of all
602 * friends of a class
603 */
604 virtual QCString trFriends()
605 { return "Friends"; }
606
607//////////////////////////////////////////////////////////////////////////
608// new since 0.49-990405
609//////////////////////////////////////////////////////////////////////////
610
611 /*! used in the class documentation as a header before the list of all
612 * related classes
613 */
614 virtual QCString trRelatedFunctionDocumentation()
615 { return "Dokumentation af friends og af relaterede funktioner"; }
616
617//////////////////////////////////////////////////////////////////////////
618// new since 0.49-990425
619//////////////////////////////////////////////////////////////////////////
620
621 /*! used as the title of the HTML page of a class/struct/union */
622 virtual QCString trCompoundReference(const char *clName,
623 ClassDef::CompoundType compType,
624 bool isTemplate)
625 {
626 QCString result=(QCString)clName+" ";
627 switch(compType)
628 {
629 case ClassDef::Class: result+=" Klasse-"; break;
630 case ClassDef::Struct: result+=" Datastruktur-"; break;
631 case ClassDef::Union: result+=" Union-"; break;
632
633 case ClassDef::Protocol: result+=" Protokol-"; break;
634 case ClassDef::Category: result+=" Kategori-"; break; // " Category-"
635 case ClassDef::Exception: result+=" Undtagelse-"; break; // " Exception"
636 }
637 if (isTemplate) result+="skabelon-"; // "template-"
638 result+="reference";
639 return result;
640 }
641
642 /*! used as the title of the HTML page of a file */
643 virtual QCString trFileReference(const char *fileName)
644 {
645 QCString result=fileName;
646 result+=" filreference";
647 return result;
648 }
649
650 /*! used as the title of the HTML page of a namespace */
651 virtual QCString trNamespaceReference(const char *namespaceName)
652 {
653 QCString result=namespaceName;
654 result+=" namespace-reference";
655 return result;
656 }
657
658 virtual QCString trPublicMembers()
659 { return "Offentlige metoder"; }
660 virtual QCString trPublicSlots()
661 { return "Offentlige slots"; }
662 virtual QCString trSignals()
663 { return "Signaler"; }
664 virtual QCString trStaticPublicMembers()
665 { return "Statiske, offentlige metoder"; }
666 virtual QCString trProtectedMembers()
667 { return "Beskyttede metoder"; }
668 virtual QCString trProtectedSlots()
669 { return "Beskyttede slots"; }
670 virtual QCString trStaticProtectedMembers()
671 { return "Statiske, beskyttede metoder"; }
672 virtual QCString trPrivateMembers()
673 { return "Private metoder"; }
674 virtual QCString trPrivateSlots()
675 { return "Private slots"; }
676 virtual QCString trStaticPrivateMembers()
677 { return "Statiske, private metoder"; }
678
679 /*! this function is used to produce a comma-separated list of items.
680 * use generateMarker(i) to indicate where item i should be put.
681 */
682 virtual QCString trWriteList(int numEntries)
683 {
684 QCString result;
685 int i;
686 // the inherits list contain `numEntries' classes
687 for (i=0;i<numEntries;i++) {
688 // use generateMarker to generate placeholders for the class links!
689 result+=generateMarker(i); // generate marker for entry i in the list
690 // (order is left to right)
691
692 if (i!=numEntries-1) { // not the last entry, so we need a separator
693 if (i<numEntries-2) // not the fore last entry
694 result+=", ";
695 else // the fore last entry
696 result+=" og ";
697 }
698 }
699 return result;
700 }
701
702 /*! used in class documentation to produce a list of base classes,
703 * if class diagrams are disabled.
704 */
705 virtual QCString trInheritsList(int numEntries)
706 {
707 return "Nedarver "+trWriteList(numEntries)+".";
708 }
709
710 /*! used in class documentation to produce a list of super classes,
711 * if class diagrams are disabled.
712 */
713 virtual QCString trInheritedByList(int numEntries)
714 {
715 return "Nedarvet af "+trWriteList(numEntries)+".";
716 }
717
718 /*! used in member documentation blocks to produce a list of
719 * members that are hidden by this one.
720 */
721 virtual QCString trReimplementedFromList(int numEntries)
722 {
723 return "Overskriver metode fra "+trWriteList(numEntries)+".";
724 }
725
726 /*! used in member documentation blocks to produce a list of
727 * all member that overwrite the implementation of this member.
728 */
729 virtual QCString trReimplementedInList(int numEntries)
730 {
731 return "Reimplementeret i "+trWriteList(numEntries)+".";
732 }
733
734 /*! This is put above each page as a link to all members of namespaces. */
735 virtual QCString trNamespaceMembers()
736 { return "Namespace-medlemmer"; }
737
738 /*! This is an introduction to the page with all namespace members */
739 virtual QCString trNamespaceMemberDescription(bool extractAll)
740 {
741 QCString result="Her er en liste over alle ";
742 if (!extractAll) result+="dokumenterede ";
743 result+="namespace-medlemmer med links til ";
744 if (extractAll)
745 result+="namespace-dokumentationen for hvert medlem:";
746 else
747
748 return result;
749 }
750 /*! This is used in LaTeX as the title of the chapter with the
751 * index of all namespaces.
752 */
753 virtual QCString trNamespaceIndex()
754 { return "Namespace-indeks"; }
755
756 /*! This is used in LaTeX as the title of the chapter containing
757 * the documentation of all namespaces.
758 */
759 virtual QCString trNamespaceDocumentation()
760 { return "Namespace-dokumentation"; }
761
762//////////////////////////////////////////////////////////////////////////
763// new since 0.49-990522
764//////////////////////////////////////////////////////////////////////////
765
766 /*! This is used in the documentation before the list of all
767 * namespaces in a file.
768 */
769 virtual QCString trNamespaces()
770 { return "Namespaces"; }
771
772//////////////////////////////////////////////////////////////////////////
773// new since 0.49-990728
774//////////////////////////////////////////////////////////////////////////
775
776 /*! This is put at the bottom of a class documentation page and is
777 * followed by a list of files that were used to generate the page.
778 */
779 virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
780 bool single)
781 { // here s is one of " Class", " Struct" or " Union"
782 // single is true implies a single file
783 QCString result=(QCString)"Dokumentationen for denne ";
784 switch(compType)
785 {
786 case ClassDef::Class: result+="klasse"; break;
787 case ClassDef::Struct: result+="datastruktur"; break;
788 case ClassDef::Union: result+="union"; break;
789
790 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
791 case ClassDef::Category: result+="kategori"; break; // "category"
792 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
793 }
794 result+=" blev genereret ud fra fil";
795 if (single) result+="en:"; else result+="erne:";
796 return result;
797 }
798
799 /*! This is in the (quick) index as a link to the alphabetical compound
800 * list.
801 */
802 virtual QCString trAlphabeticalList()
803 { return "Alfabetisk oversigt"; }
804
805//////////////////////////////////////////////////////////////////////////
806// new since 0.49-990901
807//////////////////////////////////////////////////////////////////////////
808
809 /*! This is used as the heading text for the retval command. */
810 virtual QCString trReturnValues()
811
812
813 /*! This is in the (quick) index as a link to the main page (index.html)
814 */
815 virtual QCString trMainPage()
816 { return "Hovedside"; }
817
818 /*! This is used in references to page that are put in the LaTeX
819 * documentation. It should be an abbreviation of the word page.
820 */
821 virtual QCString trPageAbbreviation()
822 { return "s."; }
823
824//////////////////////////////////////////////////////////////////////////
825// new since 0.49-991003
826//////////////////////////////////////////////////////////////////////////
827
828 virtual QCString trDefinedAtLineInSourceFile()
829 {
830
831 }
832
833 virtual QCString trDefinedInSourceFile()
834 {
835 return "Defineret i filen @0.";
836 }
837
838//////////////////////////////////////////////////////////////////////////
839// new since 0.49-991205
840//////////////////////////////////////////////////////////////////////////
841
842 virtual QCString trDeprecated()
843 {
844
845 // "Ugleset" :)
846 }
847
848//////////////////////////////////////////////////////////////////////////
849// new since 1.0.0
850//////////////////////////////////////////////////////////////////////////
851
852 /*! this text is put before a collaboration diagram */
853 virtual QCString trCollaborationDiagram(const char *clName)
854 {
855 return (QCString)"Samarbejdsdiagram for "+clName+":";
856 }
857 /*! this text is put before an include dependency graph */
858 virtual QCString trInclDepGraph(const char *fName)
859 {
860
861 }
862 /*! header that is put before the list of constructor/destructors. */
863 virtual QCString trConstructorDocumentation()
864 {
865
866 // "Constructor & Destructor dokumentation";
867 }
868
869 /*! Used in the file documentation to point to the corresponding sources. */
870 virtual QCString trGotoSourceCode()
871 { return "Hop til denne fils kildekode."; }
872 /*! Used in the file sources to point to the corresponding documentation. */
873 virtual QCString trGotoDocumentation()
874 { return "Hop til denne fils dokumentation."; }
875
876 /*! Text for the \\pre command */
877 virtual QCString trPrecondition()
878
879 /*! Text for the \\post command */
880 virtual QCString trPostcondition()
881 { return "Resultat (postcondition)"; }
882 /*! Text for the \\invariant command */
883 virtual QCString trInvariant()
884 { return "Invariant"; }
885
886 /*! Text shown before a multi-line variable/enum initialization */
887 virtual QCString trInitialValue()
888
889
890 /*! Text used the source code in the file index */
891 virtual QCString trCode()
892 { return "kildekode"; }
893 virtual QCString trGraphicalHierarchy()
894 { return "Grafisk klassehierarki"; }
895 virtual QCString trGotoGraphicalHierarchy()
896 { return "Hop til det grafiske klassehierarki"; }
897 virtual QCString trGotoTextualHierarchy()
898 { return "Hop til det tekstuelle klassehierarki"; }
899 virtual QCString trPageIndex()
900 { return "Sideindeks"; }
901
902//////////////////////////////////////////////////////////////////////////
903// new since 1.1.0
904//////////////////////////////////////////////////////////////////////////
905
906 virtual QCString trNote()
907 { return "Note"; }
908 virtual QCString trPublicTypes()
909 { return "Offentlige typer"; }
910
911 virtual QCString trPublicAttribs()
912 {
913 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
914 return "Datafelter";
915 } else {
916 return "Offentlige attributter";
917 }
918 }
919
920 virtual QCString trStaticPublicAttribs()
921 { return "Statiske, offentlige attributter"; }
922 virtual QCString trProtectedTypes()
923 { return "Beskyttede typer"; }
924 virtual QCString trProtectedAttribs()
925 { return "Beskyttede attributter"; }
926 virtual QCString trStaticProtectedAttribs()
927 { return "Statiske, beskyttede attributter"; }
928 virtual QCString trPrivateTypes()
929 { return "Private typer"; }
930 virtual QCString trPrivateAttribs()
931 { return "Private attributter"; }
932 virtual QCString trStaticPrivateAttribs()
933 { return "Statiske, private attributter"; }
934
935//////////////////////////////////////////////////////////////////////////
936// new since 1.1.3
937//////////////////////////////////////////////////////////////////////////
938
939 /*! Used as a marker that is put before a \\todo item */
940 virtual QCString trTodo()
941 {
942 return "Todo";
943 }
944 /*! Used as the header of the todo list */
945 virtual QCString trTodoList()
946 {
947 return "Todo-liste";
948 }
949
950//////////////////////////////////////////////////////////////////////////
951// new since 1.1.4
952//////////////////////////////////////////////////////////////////////////
953
954 virtual QCString trReferencedBy()
955 {
956 return "Refereret til af";
957 }
958 virtual QCString trRemarks()
959 {
960
961 }
962 virtual QCString trAttention()
963 {
964 return "OBS";
965 }
966 virtual QCString trInclByDepGraph()
967 {
968 return
969"Denne graf viser, hvilke filer der direkte eller "
970"indirekte inkluderer denne fil:";
971 }
972 virtual QCString trSince()
973 {
974 return "Siden";
975 }
976
977//////////////////////////////////////////////////////////////////////////
978// new since 1.1.5
979//////////////////////////////////////////////////////////////////////////
980
981 /*! title of the graph legend page */
982 virtual QCString trLegendTitle()
983 {
984 return "Graf-forklaring";
985 }
986 /*! page explaining how the dot graph's should be interpreted */
987 virtual QCString trLegendDocs() //TODO
988 {
989 return
990"Denne side forklarer, hvordan man skal fortolke de grafer, "
991"der genereres af doxygen.<p>\n"
992
993 "\\code\n"
994
995 "class Invisible { };\n\n"
996
997 "class Truncated : public Invisible { };\n\n"
998 "/* Klasse der ikke er dokumenteret med doxygen-kommentarer */\n"
999 "class Undocumented { };\n\n"
1000 "/*! Klasse der nedarves fra offentligt */\n"
1001 "class PublicBase : public Truncated { };\n\n"
1002 "/*! En template-klasse */\n"
1003 "template<class T> class Templ { };\n\n"
1004 "/*! Klasse der nedarves fra beskyttet */\n"
1005 "class ProtectedBase { };\n\n"
1006 "/*! Klasse der nedarves fra privat */\n"
1007 "class PrivateBase { };\n\n"
1008 "/*! Klasse der bruges af Inherited-klassen */\n"
1009 "class Used { };\n\n"
1010 "/*! Klasse der nedarver en masse andre klasser */\n"
1011 "class Inherited : public PublicBase,\n"
1012 " protected ProtectedBase,\n"
1013 " private PrivateBase,\n"
1014 " public Undocumented,\n"
1015 " public Templ<int>\n"
1016 "{\n"
1017 " private:\n"
1018 " Used *m_usedClass;\n"
1019 "};\n"
1020 "\\endcode\n"
1021 "Hvis \\c MAX_DOT_GRAPH_HEIGHT i konfigurationsfilen "
1022
1023 "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
1024 "<p>\n"
1025
1026"betydninger:\n"
1027 "<ul>\n"
1028
1029"klasse, grafen er genereret for.\n"
1030 "<li>%En kasse med sort kant betegner en dokumenteret datastruktur "
1031" eller klasse.\n"
1032
1033 " eller klasse.\n"
1034
1035 " eller klasse, for hvilken ikke alle "
1036"nedarvnings- og indeholdelses-relationer er vist. "
1037
1038 "</ul>\n"
1039
1040 "<ul>\n"
1041
1042"mellem to klasser.\n"
1043
1044
1045
1046"eller benyttes af en anden klasse. "
1047
1048
1049 "<li>%En gul, stiplet pil viser forholdet mellem en template-instans "
1050"og den template-klasse, den er instantieret fra."
1051
1052 "</ul>\n";
1053 }
1054 /*! text for the link to the legend page */
1055 virtual QCString trLegend()
1056 {
1057 return "forklaring til graf";
1058 }
1059
1060//////////////////////////////////////////////////////////////////////////
1061// new since 1.2.0
1062//////////////////////////////////////////////////////////////////////////
1063
1064 /*! Used as a marker that is put before a test item */
1065 virtual QCString trTest()
1066 {
1067 return "Test";
1068 }
1069 /*! Used as the header of the test list */
1070 virtual QCString trTestList()
1071 {
1072 return "Testliste";
1073 }
1074
1075//////////////////////////////////////////////////////////////////////////
1076// new since 1.2.1
1077//////////////////////////////////////////////////////////////////////////
1078
1079 /*! Used as a section header for KDE-2 IDL methods */
1080 virtual QCString trDCOPMethods()
1081 {
1082 return "DCOP-metoder";
1083 }
1084
1085//////////////////////////////////////////////////////////////////////////
1086// new since 1.2.2
1087//////////////////////////////////////////////////////////////////////////
1088
1089 /*! Used as a section header for IDL properties */
1090 virtual QCString trProperties()
1091 {
1092 return "Egenskaber";
1093 }
1094 /*! Used as a section header for IDL property documentation */
1095 virtual QCString trPropertyDocumentation()
1096 {
1097 return "Egenskabsdokumentation";
1098 }
1099
1100//////////////////////////////////////////////////////////////////////////
1101// new since 1.2.4
1102//////////////////////////////////////////////////////////////////////////
1103
1104 /*! Used for Java classes in the summary section of Java packages */
1105 virtual QCString trClasses()
1106 {
1107 if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) {
1108 return "Datastrukturer";
1109 } else {
1110 return "Klasser";
1111 }
1112 }
1113 /*! Used as the title of a Java package */
1114 virtual QCString trPackage(const char *name)
1115 {
1116 return (QCString)"Pakke "+name;
1117 }
1118 /*! Title of the package index page */
1119 virtual QCString trPackageList()
1120 {
1121 return "Pakkeoversigt";
1122 }
1123 /*! The description of the package index page */
1124 virtual QCString trPackageListDescription()
1125 {
1126 return
1127"Her er en liste over pakkerne, med korte beskrivelser "
1128
1129 }
1130 /*! The link name in the Quick links header for each page */
1131 virtual QCString trPackages()
1132 {
1133 return "Pakker";
1134 }
1135 /*! Text shown before a multi-line define */
1136 virtual QCString trDefineValue()
1137 {
1138
1139 }
1140
1141//////////////////////////////////////////////////////////////////////////
1142// new since 1.2.5
1143//////////////////////////////////////////////////////////////////////////
1144
1145 /*! Used as a marker that is put before a \\bug item */
1146 virtual QCString trBug()
1147 {
1148 return "Kendte fejl";
1149 }
1150 /*! Used as the header of the bug list */
1151 virtual QCString trBugList()
1152 {
1153 return "Liste over kendte fejl";
1154 }
1155
1156//////////////////////////////////////////////////////////////////////////
1157// new since 1.2.6
1158//////////////////////////////////////////////////////////////////////////
1159
1160 /*! Used as ansicpg for RTF file
1161 * (used table extract:)
1162 * <pre>
1163 * Charset Name Charset Value(hex) Codepage number
1164 * ------------------------------------------------------
1165 * ANSI_CHARSET 0 (x00) 1252
1166 * </pre>
1167 */
1168 virtual QCString trRTFansicp()
1169 {
1170 return "1252";
1171 }
1172
1173 /*! Used as ansicpg for RTF fcharset */
1174 virtual QCString trRTFCharSet()
1175 {
1176 return "0";
1177 }
1178
1179 /*! Used as header RTF general index */
1180 virtual QCString trRTFGeneralIndex()
1181 {
1182 return "Indeks";
1183 }
1184
1185 /*! This is used for translation of the word that will possibly
1186 * be followed by a single name or by a list of names
1187 * of the category.
1188 */
1189 virtual QCString trClass(bool first_capital, bool singular)
1190 {
1191 return createNoun(first_capital, singular, "klasse", "r");
1192 }
1193
1194 /*! This is used for translation of the word that will possibly
1195 * be followed by a single name or by a list of names
1196 * of the category.
1197 */
1198 virtual QCString trFile(bool first_capital, bool singular)
1199 {
1200 return createNoun(first_capital, singular, "fil", "er");
1201 }
1202
1203 /*! This is used for translation of the word that will possibly
1204 * be followed by a single name or by a list of names
1205 * of the category.
1206 */
1207 virtual QCString trNamespace(bool first_capital, bool singular)
1208 {
1209 return createNoun(first_capital, singular, "namespace", "s");
1210 }
1211
1212 /*! This is used for translation of the word that will possibly
1213 * be followed by a single name or by a list of names
1214 * of the category.
1215 */
1216 virtual QCString trGroup(bool first_capital, bool singular)
1217 {
1218 return createNoun(first_capital, singular, "gruppe", "r");
1219 }
1220
1221 /*! This is used for translation of the word that will possibly
1222 * be followed by a single name or by a list of names
1223 * of the category.
1224 */
1225 virtual QCString trPage(bool first_capital, bool singular)
1226 {
1227 return createNoun(first_capital, singular, "side", "r");
1228 }
1229
1230 /*! This is used for translation of the word that will possibly
1231 * be followed by a single name or by a list of names
1232 * of the category.
1233 */
1234 virtual QCString trMember(bool first_capital, bool singular)
1235 {
1236 return createNoun(first_capital, singular, "medlem", "mer");
1237 }
1238
1239 /*! This is used for translation of the word that will possibly
1240 * be followed by a single name or by a list of names
1241 * of the category.
1242 */
1243 virtual QCString trGlobal(bool first_capital, bool singular)
1244 {
1245 return createNoun(first_capital, singular, "global", "e");
1246 }
1247
1248//////////////////////////////////////////////////////////////////////////
1249// new since 1.2.7
1250//////////////////////////////////////////////////////////////////////////
1251
1252 /*! This text is generated when the \\author command is used and
1253 * for the author section in man pages. */
1254 virtual QCString trAuthor(bool first_capital, bool singular)
1255 {
1256 return createNoun(first_capital, singular, "forfatter", "e");
1257 }
1258
1259//////////////////////////////////////////////////////////////////////////
1260// new since 1.2.11
1261//////////////////////////////////////////////////////////////////////////
1262
1263 /*! This text is put before the list of members referenced by a member
1264 */
1265 virtual QCString trReferences()
1266 {
1267 return "Indeholder referencer til";
1268 }
1269
1270//////////////////////////////////////////////////////////////////////////
1271// new since 1.2.13
1272//////////////////////////////////////////////////////////////////////////
1273
1274 /*! used in member documentation blocks to produce a list of
1275 * members that are implemented by this one.
1276 */
1277 virtual QCString trImplementedFromList(int numEntries)
1278 {
1279 return "Implementerer "+trWriteList(numEntries)+".";
1280 }
1281
1282 /*! used in member documentation blocks to produce a list of
1283 * all members that implement this abstract member.
1284 */
1285 virtual QCString trImplementedInList(int numEntries)
1286 {
1287 return "Implementeret i "+trWriteList(numEntries)+".";
1288 }
1289
1290//////////////////////////////////////////////////////////////////////////
1291// new since 1.2.16
1292//////////////////////////////////////////////////////////////////////////
1293
1294 /*! used in RTF documentation as a heading for the Table
1295 * of Contents.
1296 */
1297 virtual QCString trRTFTableOfContents()
1298 {
1299 return "Indholdsfortegnelse";
1300 }
1301
1302//////////////////////////////////////////////////////////////////////////
1303// new since 1.2.17
1304//////////////////////////////////////////////////////////////////////////
1305
1306 /*! Used as the header of the list of item that have been
1307 * flagged deprecated
1308 */
1309 virtual QCString trDeprecatedList()
1310 {
1311
1312 }
1313
1314//////////////////////////////////////////////////////////////////////////
1315// new since 1.2.18
1316//////////////////////////////////////////////////////////////////////////
1317
1318 /*! Used as a header for declaration section of the events found in
1319 * a C# program
1320 */
1321 virtual QCString trEvents()
1322 {
1323 return "Begivenheder";
1324 }
1325 /*! Header used for the documentation section of a class' events. */
1326 virtual QCString trEventDocumentation()
1327 {
1328 return "Begivenhedsdokumentation";
1329 }
1330
1331//////////////////////////////////////////////////////////////////////////
1332// new since 1.3
1333//////////////////////////////////////////////////////////////////////////
1334
1335 /* Java: Entities with package scope... */
1336 virtual QCString trPackageTypes()
1337 { return "Typer med pakke-scope"; }
1338 virtual QCString trPackageMembers()
1339 { return "Metoder med pakke-scope"; }
1340 virtual QCString trStaticPackageMembers()
1341 { return "Statiske metoder med pakke-scope"; }
1342 virtual QCString trPackageAttribs()
1343 { return "Attributter med pakke-scope"; }
1344 virtual QCString trStaticPackageAttribs()
1345 { return "Statiske attributter med pakke-scope"; }
1346
1347//////////////////////////////////////////////////////////////////////////
1348// new since 1.3.1
1349//////////////////////////////////////////////////////////////////////////
1350
1351 /*! Used in the quick index of a class/file/namespace member list page
1352 * to link to the unfiltered list of all members.
1353 */
1354 virtual QCString trAll()
1355 {
1356 return "Alle";
1357 }
1358
1359 /*! Put in front of the call graph for a function. */
1360 virtual QCString trCallGraph()
1361 {
1362 return "Her er kald-grafen for denne funktion:";
1363 }
1364
1365//////////////////////////////////////////////////////////////////////////
1366// new since 1.3.3
1367//////////////////////////////////////////////////////////////////////////
1368
1369 /*! When the search engine is enabled this text is put in the header
1370 * of each page before the field where one can enter the text to search
1371 * for.
1372 */
1373 virtual QCString trSearchForIndex()
1374 {
1375
1376 }
1377
1378 /*! This string is used as the title for the page listing the search
1379 * results.
1380 */
1381 virtual QCString trSearchResultsTitle()
1382 {
1383
1384 }
1385
1386 /*! This string is put just before listing the search results. The
1387 * text can be different depending on the number of documents found.
1388 * Inside the text you can put the special marker $num to insert
1389 * the number representing the actual number of search results.
1390 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1391 * value 2 represents 2 or more matches. HTML markup is allowed inside
1392 * the returned string.
1393 */
1394 virtual QCString trSearchResults(int numDocuments)
1395 {
1396 if (numDocuments==0) {
1397
1398 } else if (numDocuments==1) {
1399
1400 } else {
1401 return
1402
1403
1404 }
1405 }
1406
1407 /*! This string is put before the list of matched words, for each search
1408 * result. What follows is the list of words that matched the query.
1409 */
1410 virtual QCString trSearchMatches()
1411 {
1412 return "Fundne ord:"; //translation?
1413 }
1414
1415//////////////////////////////////////////////////////////////////////////
1416// new since 1.3.8
1417//////////////////////////////////////////////////////////////////////////
1418
1419 /*! This is used in HTML as the title of page with source code for
1420 * file filename
1421 */
1422 virtual QCString trSourceFile(QCString& filename)
1423 {
1424 return "Kildefilen " + filename;
1425 }
1426
1427
1428//////////////////////////////////////////////////////////////////////////
1429// new since 1.3.9
1430//////////////////////////////////////////////////////////////////////////
1431
1432 /*! This is used as the name of the chapter containing the directory
1433 * hierarchy.
1434 */
1435 virtual QCString trDirIndex()
1436 { return "Katalogstruktur"; }
1437
1438 /*! This is used as the name of the chapter containing the documentation
1439 * of the directories.
1440 */
1441 virtual QCString trDirDocumentation()
1442 { return "Katalog-dokumentation"; }
1443
1444 /*! This is used as the title of the directory index and also in the
1445 * Quick links of an HTML page, to link to the directory hierarchy.
1446 */
1447 virtual QCString trDirectories()
1448 { return "Kataloger"; }
1449
1450 /*! This returns a sentences that introduces the directory hierarchy.
1451 * and the fact that it is sorted alphabetically per level
1452 */
1453 virtual QCString trDirDescription()
1454
1455
1456 }
1457
1458 /*! This returns the title of a directory page. The name of the
1459 * directory is passed via \a dirName.
1460 */
1461 virtual QCString trDirReference(const char *dirName)
1462 { QCString result="Indhold af kataloget "; result+=dirName; return result;}
1463
1464 /*! This returns the word directory with or without starting capital
1465 * (\a first_capital) and in sigular or plural form (\a singular).
1466 */
1467 virtual QCString trDir(bool first_capital, bool singular)
1468 {
1469 return createNoun(first_capital, singular, "katalog", "er");
1470 }
1471
1472//////////////////////////////////////////////////////////////////////////
1473// new since 1.4.1
1474//////////////////////////////////////////////////////////////////////////
1475
1476 /*! This text is added to the documentation when the \\overload command
1477 * is used for a overloaded function.
1478 */
1479 virtual QCString trOverloadText()
1480 {
1481 return "Dette er en overdefineret medlemsfunktion, "
1482 "defineret af bekvemmelighedshensyn. "
1483
1484 "hvilke argumenter den tager.";
1485 }
1486
1487//////////////////////////////////////////////////////////////////////////
1488// new since 1.4.6
1489//////////////////////////////////////////////////////////////////////////
1490
1491 /*! This is used to introduce a caller (or called-by) graph */
1492 virtual QCString trCallerGraph()
1493 {
1494 return "Her er kalder-grafen for denne funktion:";
1495 }
1496
1497 // None translated yet PEH 2010-11-27
1498 // Subroutine
1499
1500 /*! header that is put before the list of member subprograms (Fortran). */
1501 virtual QCString trMemberFunctionDocumentationFortran()
1502 { return "Medlem Funktion/Subroutine Dokumentation"; } // "Member Function/Subroutine Documentation"
1503
1504 /*! This is used in the documentation of a file/namespace before the list
1505 * of documentation blocks for enumeration values
1506 */
1507 /*
1508 virtual QCString trEnumerationValueDocumentation()
1509 { return "Enumerator-dokumentation"; } //TODO?
1510*/
1511
1512
1513//////////////////////////////////////////////////////////////////////////
1514// new since 1.5.4 (mainly for Fortran)
1515//////////////////////////////////////////////////////////////////////////
1516
1517 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1518 virtual QCString trCompoundListFortran()
1519 { return "Data Type Liste"; } // "Data Types List"
1520
1521 /*! This is put above each page as a link to all members of compounds (Fortran). */
1522 virtual QCString trCompoundMembersFortran()
1523 { return "Data felter"; } // "Data Fields"
1524
1525 /*! This is an introduction to the annotated compound list (Fortran). */
1526 virtual QCString trCompoundListDescriptionFortran()
1527 { return "Her er de datatyper med kort beskrivelse:"; } // "Here are the data types with brief descriptions:"
1528
1529 /*! This is an introduction to the page with all data types (Fortran). */
1530 virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
1531 {
1532 QCString result="Her er en liste af alle "; // "Here is a list of all "
1533 if (!extractAll)
1534 {
1535 result+="dokumenteret "; // "documented "
1536 }
1537 result+="datatype medlemmer"; // "data types members"
1538 result+=" med links til "; // " with links to "
1539 if (!extractAll)
1540 {
1541 result+="data strukturer dokumenteret for hver medlem"; // "the data structure documentation for each member"
1542 }
1543 else
1544 {
1545
1546 }
1547 return result;
1548 }
1549
1550 /*! This is used in LaTeX as the title of the chapter with the
1551 * annotated compound index (Fortran).
1552 */
1553 virtual QCString trCompoundIndexFortran()
1554 { return "Datatype indeks"; } // "Data Type Index"
1555
1556 /*! This is used in LaTeX as the title of the chapter containing
1557 * the documentation of all data types (Fortran).
1558 */
1559 virtual QCString trTypeDocumentation()
1560 { return "Datatype dokumentation"; } // "Data Type Documentation"
1561
1562 /*! This is used in the documentation of a file as a header before the
1563 * list of (global) subprograms (Fortran).
1564 */
1565 virtual QCString trSubprograms()
1566 { return "Funktioner/Subroutiner"; } // "Functions/Subroutines"
1567
1568 /*! This is used in the documentation of a file/namespace before the list
1569 * of documentation blocks for subprograms (Fortran)
1570 */
1571 virtual QCString trSubprogramDocumentation()
1572 { return "Funktion/Subroutine dokumentation"; } // "Function/Subroutine Documentation"
1573
1574 /*! This is used in the documentation of a file/namespace/group before
1575 * the list of links to documented compounds (Fortran)
1576 */
1577 virtual QCString trDataTypes()
1578 { return "Datatyper"; } // "Data Types"
1579
1580 /*! used as the title of page containing all the index of all modules (Fortran). */
1581 virtual QCString trModulesList()
1582 { return "Modulliste"; } // "Modules List"
1583
1584 /*! used as an introduction to the modules list (Fortran) */
1585 virtual QCString trModulesListDescription(bool extractAll)
1586 {
1587 QCString result="Her er en liste over alle "; // "Here is a list of all "
1588 if (!extractAll) result+="dokumenteret "; // "documented "
1589 result+="moduler med kort beskrivelse:"; // "modules with brief descriptions:"
1590 return result;
1591 }
1592
1593 /*! used as the title of the HTML page of a module/type (Fortran) */
1594 virtual QCString trCompoundReferenceFortran(const char *clName,
1595 ClassDef::CompoundType compType,
1596 bool isTemplate)
1597 {
1598 QCString result=(QCString)clName;
1599 switch(compType)
1600 {
1601 case ClassDef::Class: result+=" Modul"; break; // " Module"
1602 case ClassDef::Struct: result+=" Type"; break; // " Type"
1603 case ClassDef::Union: result+=" Union"; break; // " Union"
1604
1605 case ClassDef::Protocol: result+=" Protocol"; break; // " Protocol"
1606 case ClassDef::Category: result+=" Kategori"; break; // " Category"
1607 case ClassDef::Exception: result+=" Undtagelse"; break; // " Exception"
1608 }
1609 if (isTemplate) result+=" Template";
1610 result+=" Reference";
1611 return result;
1612 }
1613
1614 /*! used as the title of the HTML page of a module (Fortran) */
1615 virtual QCString trModuleReference(const char *namespaceName)
1616 {
1617 QCString result=namespaceName;
1618 result+=" Modulreference"; // " Module Reference"
1619 return result;
1620 }
1621
1622 /*! This is put above each page as a link to all members of modules. (Fortran) */
1623 virtual QCString trModulesMembers()
1624 { return "Modulmedlemmer"; } // "Module Members"
1625
1626 /*! This is an introduction to the page with all modules members (Fortran) */
1627 virtual QCString trModulesMemberDescription(bool extractAll)
1628 {
1629 QCString result="Her er en list over alle "; // "Here is a list of all "
1630 if (!extractAll) result+="Dokumentet "; // "documented "
1631 result+="modulmemlemmer med link til "; // "module members with links to "
1632 if (extractAll)
1633 {
1634 result+="dokumentation for hvert model medlem:"; // "the module documentation for each member:"
1635 }
1636 else
1637 {
1638
1639 }
1640 return result;
1641 }
1642
1643 /*! This is used in LaTeX as the title of the chapter with the
1644 * index of all modules (Fortran).
1645 */
1646 virtual QCString trModulesIndex()
1647 { return "Modulindekser"; } // "Modules Index"
1648
1649 /*! This is used for translation of the word that will possibly
1650 * be followed by a single name or by a list of names
1651 * of the category.
1652 */
1653 virtual QCString trModule(bool first_capital, bool singular)
1654 {
1655 QCString result((first_capital ? "Modul" : "modul")); // "Module" : "module"));
1656 if (!singular) result+="er"; // "s";
1657 return result;
1658 }
1659
1660 /*! This is put at the bottom of a module documentation page and is
1661 * followed by a list of files that were used to generate the page.
1662 */
1663 virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
1664 bool single)
1665 {
1666 // single is true implies a single file
1667 QCString result=(QCString)"The documentation for this ";
1668 switch(compType)
1669 {
1670 case ClassDef::Class: result+="modul"; break; // "module"
1671 case ClassDef::Struct: result+="type"; break; // "type"
1672 case ClassDef::Union: result+="union"; break; // "union"
1673
1674 case ClassDef::Protocol: result+="protokol"; break; // "protocol"
1675 case ClassDef::Category: result+="kategori"; break; // "category"
1676 case ClassDef::Exception: result+="undtagelse"; break; // "exception"
1677 }
1678
1679 if (single) result+=":"; else result+="r:"; // ":" / "s:"
1680 return result;
1681 }
1682
1683 /*! This is used for translation of the word that will possibly
1684 * be followed by a single name or by a list of names
1685 * of the category.
1686 */
1687 virtual QCString trType(bool first_capital, bool singular)
1688 {
1689 QCString result((first_capital ? "Type" : "type")); // "Type" : "type"
1690 if (!singular) result+="r"; // "s"
1691 return result;
1692 }
1693
1694 /*! This is used for translation of the word that will possibly
1695 * be followed by a single name or by a list of names
1696 * of the category.
1697 */
1698 virtual QCString trSubprogram(bool first_capital, bool singular)
1699 {
1700 QCString result((first_capital ? "Subprogram" : "subprogram")); // "Subprogram" : "subprogram"
1701 if (!singular) result+="er"; // "s"
1702 return result;
1703 }
1704
1705 /*! C# Type Constraint list */
1706 virtual QCString trTypeConstraints()
1707 {
1708
1709 }
1710
1711//////////////////////////////////////////////////////////////////////////
1712// new since 1.6.0 (mainly for the new search engine)
1713//////////////////////////////////////////////////////////////////////////
1714
1715 /*! directory relation for \a name */
1716 virtual QCString trDirRelation(const char *name)
1717 {
1718 return QCString(name)+" Relation"; // " Relation"
1719 }
1720
1721 /*! Loading message shown when loading search results */
1722 virtual QCString trLoading()
1723 {
1724
1725 }
1726
1727 /*! Label used for search results in the global namespace */
1728 virtual QCString trGlobalNamespace()
1729 {
1730 return "Globalt Namespace"; // "Global Namespace"
1731 }
1732
1733 /*! Message shown while searching */
1734 virtual QCString trSearching()
1735 {
1736
1737 }
1738
1739 /*! Text shown when no search results are found */
1740 virtual QCString trNoMatches()
1741 {
1742 return "Ingen fund"; // "No Matches"
1743 }
1744
1745//////////////////////////////////////////////////////////////////////////
1746// new since 1.6.3 (missing items for the directory pages)
1747//////////////////////////////////////////////////////////////////////////
1748
1749 /*! introduction text for the directory dependency graph */
1750 virtual QCString trDirDependency(const char *name)
1751 {
1752
1753 }
1754
1755 /*! when clicking a directory dependency label, a page with a
1756 * table is shown. The heading for the first column mentions the
1757 * source file that has a relation to another file.
1758 */
1759 virtual QCString trFileIn(const char *name)
1760 {
1761 return (QCString)"File i "+name; // "File in "
1762 }
1763
1764 /*! when clicking a directory dependency label, a page with a
1765 * table is shown. The heading for the second column mentions the
1766 * destination file that is included.
1767 */
1768 virtual QCString trIncludesFileIn(const char *name)
1769 {
1770 return (QCString)"Inkluderer file i "+name; // "Includes file in "
1771 }
1772
1773 /** Compiles a date string.
1774 * @param year Year in 4 digits
1775 * @param month Month of the year: 1=January
1776 * @param day Day of the Month: 1..31
1777 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1778 * @param hour Hour of the day: 0..23
1779 * @param minutes Minutes in the hour: 0..59
1780 * @param seconds Seconds within the minute: 0..59
1781 * @param includeTime Include time in the result string?
1782 */
1783 virtual QCString trDateTime(int year,int month,int day,int dayOfWeek,
1784 int hour,int minutes,int seconds,
1785 bool includeTime)
1786 {
1787
1788 static const char *months[] = { "Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec" }; // { "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec" };
1789 QCString sdate;
1790 sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
1791 if (includeTime)
1792 {
1793 QCString stime;
1794 stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds);
1795 sdate+=stime;
1796 }
1797 return sdate;
1798 }
1799
1800
1801/*---------- For internal use: ----------------------------------------*/
1802 protected:
1803/*! For easy flexible-noun implementation.
1804 * \internal
1805 */
1806 QCString createNoun(bool first_capital, bool singular,
1807const char* base, const char* plurSuffix)
1808 {
1809 QCString result(base);
1810 if (first_capital) result.at(0) = toupper(result.at(0));
1811 if (!singular) result+=plurSuffix;
1812 return result;
1813 }
1814};
1815
1816#endif
1817

Archive Download this file

Revision: 1322