Doxygen
Loading...
Searching...
No Matches
translator_sv.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 *
4 *
5 * Copyright (C) 1997-2015 by Dimitri van Heesch.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17
18/*
19==================================================================================
20Svensk översättning av:
21Samuel Hägglund <sahag96@ite.mh.se>
22Xet Erixon <xet@xeqt.com>
23Mikael Hallin <mikaelhallin@yahoo.se> 2003-07-28
24Björn Palmqvist <bjorn@aidium.se> 2014-02-01
25Magnus Österlund <magnus.osterlund@capgemini.com> 2016-09-12
26Björn Palmqvist <bjorn@aidium.se> 2020-01-08
27==================================================================================
28Uppdateringar.
291999/04/29
30* Omskrivningar av en hel del ordval, t.ex.
31 ENG INNAN EFTER
32 compound inhängnad sammansatt
33 structs structs strukter
34 unions unions unioner
35
36 osv...
37
38* Alla översättnings-strängar returnerar i alla fall en något så när vettig
39 förklaring...
40
411999/05/27
42* Det verkade som vi glömt en del mellanslag i vissa strängar vilket resulterade
43 i att en del ord blev ihopskrivna.
44
45* Bytt en del ordval igen...
46 ENG INNAN EFTER
47 reference manual Uppslagsbok referensmanual
48
49* Skrivit ihop en del ord som innan hade bindestreck
50* En del nya översättningar är tillagda.
51* Gamla översättningar borttagna
52
53===================================================================================
54Problem!
55 Slot: nån hygglig svensk översättning???
56
57 Skicka gärna synpunkter.
58===================================================================================
591999/09/01
60* Det verkar som om "namnrymd" är en hyggligt vedertagen svensk översättning
61 av "namespace", så jag kör med det från och med nu.
62* "interface" heter numera "gränssnitt"
63
642003/07/28
65* Jag har updaterat översättningen efter ett par års träda..
66Problem!
67 Deprecated: nån hygglig svensk översättning???
68
69 Skicka gärna synpunkter.
70
712015/01/09
72* Uppdaterat den till senaste versionen 1.8.9.1
73
742015/09/12
75* Fixat lite särksirvningar och inkonsekvenser
76
772020/01/08
78* Uppdaterat den till senaste språkversionen 1.8.15
79
80Bytte ut Deprecated från Föråldrad till Obsolet
81
82VHDL översättningarna är kanske inte perfekta, då jag endast använt de en gång tidigare.
83Jag lämnade use clause orörd, då jag inte hittade en lämplig översättning för den.
84
85English:
86* Updated the language translation to 1.8.15
87
88Changed Deprecated from Föråldrad to Obsolet
89
90The VHDL translations may not perfect, as I only used it once before.
91I left use clause untouched as I didn't find a suitable translation for it.
92
932020/08/14
94* Uppdaterat översättningarna till 1.8.19
95English:
96* Updated the language translation to 1.8.19
97
982020/08/19
99* Uppdaterat översättningarna till 1.9.2
100English:
101* Updated the language translation to 1.9.2
102
1032022/12/28
104* Uppdaterat översättningarna till 1.9.6
105English:
106* Updated the language translation to 1.9.6
107
108===================================================================================
109 Ordlista
110===================================================================================
111 ENGELSKA SVENSKA
112* Attribute Attribut
113* Category Kategori
114* Class Klass
115* Compound Sammansatt
116* Deprecated Obsolet
117* Directory Katalog
118* Dictionary Uppslagsverk // Frågan om de är de som menas i de fallet
119* Entity Entitet
120* Enum Enum
121* Enumeration Egenuppräknande
122* Event Händelse
123* Exception Undantag
124* Field Fält
125* Friend Vän
126* Function Funktion
127* Inherited Ärvd
128* Interface Gränssnitt
129* Library Biblotek
130* Macro Makro
131* Member Medlem
132* Member Data Medlemsdata
133* Member function Medlemsfunktion
134* Module Module
135* Namespace Namnrymd
136* Package Paket
137* Postcondition Postcondition
138* Precondition Precondition
139* Private Privat
140* Propertie Egenskap
141* Protected Skyddad
142* Protocol Protokoll
143* Public Publik
144* Record Post // Ge gärna exempel på bättre översättning
145* Service Tjänst
146* Signal Signal
147* Slot Slot // Ge gärna exempel på bättre översättning
148* Static Statisk
149* Struct Struktur
150* Subprogram Underprogram
151* Subroutine Subrutin
152* Subtype Undertyp
153* Template Mall
154* Typedef Typdefinition
155* Union Union
156* Unit Enhet // Lämplig översättning i VHDL kontextet?
157* Variable Variabel
158===================================================================================
159*/
160
161#ifndef TRANSLATOR_SE_H
162#define TRANSLATOR_SE_H
163
165{
166 public:
167
168 QCString idLanguage() override
169 { return "swedish"; }
170
171 /*! Used to get the LaTeX command(s) for the language support.
172 * This method should return string with commands that switch
173 * LaTeX to the desired language. For example
174 * <pre>"\\usepackage[german]{babel}\n"
175 * </pre>
176 * or
177 * <pre>"\\usepackage{polski}\n"
178 * "\\usepackage[latin2]{inputenc}\n"
179 * "\\usepackage[T1]{fontenc}\n"
180 * </pre>
181 *
182 * The English LaTeX does not use such commands. Because of this
183 * the empty string is returned in this implementation.
184 */
185 QCString latexLanguageSupportCommand() override
186 {
187 return "\\usepackage[swedish]{babel}\n";
188 }
189
190 QCString trISOLang() override
191 {
192 return "sv";
193 }
194 QCString getLanguageString() override
195 {
196 return "0x41D Swedish";
197 }
198
199 // --- Language translation methods -------------------
200
201 /*! used in the compound documentation before a list of related functions. */
202 QCString trRelatedFunctions() override
203 { return "Besläktade funktioner"; }
204
205 /*! subscript for the related functions. */
206 QCString trRelatedSubscript() override
207 { return "(Observera att dessa inte är medlemsfunktioner)"; }
208
209 /*! header that is put before the detailed description of files, classes and namespaces. */
210 QCString trDetailedDescription() override
211 { return "Detaljerad beskrivning"; }
212
213 /*! header that is used when the summary tag is missing inside the details tag */
214 QCString trDetails() override
215 { return "Detaljer"; }
216
217 /*! header that is put before the list of typedefs. */
219 { return "Dokumentation av typdefinierade medlemmar"; }
220
221 /*! header that is put before the list of enumerations. */
223 { return "Dokumentation av egenuppräknande medlemmar"; }
224
225 /*! header that is put before the list of member functions. */
227 {
228 if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
229 {
230 return "Dokumentation av medlemsfunktioner/-procedurer/-processer";
231 }
232 else
233 {
234 return "Dokumentation av medlemsfunktioner";
235 }
236 }
237
238 /*! header that is put before the list of member attributes. */
239 QCString trMemberDataDocumentation() override
240 {
241 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
242 {
243 return "Dokumentation av fält";
244 }
245 else
246 {
247 return "Dokumentation av datamedlemmar";
248 }
249 }
250
251 /*! this is the text of a link put after brief descriptions. */
252 QCString trMore() override
253 { return "Mer..."; }
254
255 /*! put in the class documentation */
256 QCString trListOfAllMembers() override
257 { return "Lista över alla medlemmar"; }
258
259 /*! used as the title of the "list of all members" page of a class */
260 QCString trMemberList() override
261 { return "Medlemslista"; }
262
263 /*! this is the first part of a sentence that is followed by a class name */
264 QCString trThisIsTheListOfAllMembers() override
265 { return "Det här är en fullständig lista över medlemmar för"; }
266
267 /*! this is the remainder of the sentence after the class name */
268 QCString trIncludingInheritedMembers() override
269 { return " med alla ärvda medlemmar."; }
270
271 /*! this is put at the author sections at the bottom of man pages.
272 * parameter s is name of the project name.
273 */
274 QCString trGeneratedAutomatically(const QCString &s) override
275 { QCString result="Automatiskt skapad av Doxygen";
276 if (!s.isEmpty()) result+=" för "+s;
277 result+=" från källkoden.";
278 return result;
279 }
280
281 /*! put after an enum name in the list of all members */
282 QCString trEnumName() override
283 { return "enum-namn"; }
284
285 /*! put after an enum value in the list of all members */
286 QCString trEnumValue() override
287 { return "enum-värde"; }
288
289 /*! put after an undocumented member in the list of all members */
290 QCString trDefinedIn() override
291 { return "definierad i"; }
292
293 // quick reference sections
294
295 /*! This is put above each page as a link to the list of all groups of
296 * compounds or files (see the \\group command).
297 */
298 QCString trModules() override
299 { return "Moduler"; }
300
301 /*! This is put above each page as a link to the class hierarchy */
302 QCString trClassHierarchy() override
303 { return "Klasshierarki"; }
304
305 /*! This is put above each page as a link to the list of annotated classes */
306 QCString trCompoundList() override
307 {
308 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
309 {
310 return "Datastrukturer";
311 }
312 else
313 {
314 return "Klasslista";
315 }
316 }
317
318 /*! This is put above each page as a link to the list of documented files */
319 QCString trFileList() override
320 { return "Fillista"; }
321
322 /*! This is put above each page as a link to all members of compounds. */
323 QCString trCompoundMembers() override
324 {
325 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
326 {
327 return "Datafält";
328 }
329 else
330 {
331 return "Klassmedlemmar";
332 }
333 }
334
335 /*! This is put above each page as a link to all members of files. */
336 QCString trFileMembers() override
337 {
338 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
339 {
340 return "Globala symboler";
341 }
342 else
343 {
344 return "Filmedlemmar";
345 }
346 }
347
348 /*! This is put above each page as a link to all related pages. */
349 QCString trRelatedPages() override
350 { return "Relaterade sidor"; }
351
352 /*! This is put above each page as a link to all examples. */
353 QCString trExamples() override
354 { return "Exempel"; }
355
356 /*! This is put above each page as a link to the search engine. */
357 QCString trSearch() override
358 { return "Sök"; }
359
360 /*! This is an introduction to the class hierarchy. */
361 QCString trClassHierarchyDescription() override
362 { return "Denna lista över arv är grovt, men inte helt, "
363 "sorterad i alfabetisk ordning:";
364 }
365
366 /*! This is an introduction to the list with all files. */
367 QCString trFileListDescription(bool extractAll) override
368 {
369 QCString result="Här följer en lista över alla ";
370 if (!extractAll) result+="dokumenterade ";
371 result+="filer, med en kort beskrivning:";
372 return result;
373 }
374
375 /*! This is an introduction to the annotated compound list. */
376 QCString trCompoundListDescription() override
377 {
378
379 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
380 {
381 return "Här följer datastrukturerna med korta beskrivningar:";
382 }
383 else if (Config_getBool(OPTIMIZE_OUTPUT_SLICE))
384 {
385 return "Här följer klasserna med korta beskrivningar:";
386 }
387 else
388 {
389 return "Här följer klasserna, strukterna, unionerna och "
390 "gränssnitten med korta beskrivningar:";
391 }
392 }
393
394 /*! This is an introduction to the page with all class members. */
395 QCString trCompoundMembersDescription(bool extractAll) override
396 {
397 QCString result="Här är en lista över alla ";
398 if (!extractAll)
399 {
400 result+="dokumenterade ";
401 }
402 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
403 {
404 result+="struktur- och unions-fält";
405 }
406 else
407 {
408 result+="klassmedlemmar";
409 }
410 result+=" med länkar till ";
411 if (!extractAll)
412 {
413 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
414 {
415 result+="struktur/union-dokumentationen för varje fält:";
416 }
417 else
418 {
419 result+="klassdokumentationen för varje medlem:";
420 }
421 }
422 else
423 {
424 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
425 {
426 result+=" strukturerna/unionerna de tillhör:";
427 }
428 else
429 {
430 result+="klasserna de tillhör:";
431 }
432 }
433 return result;
434 }
435
436 /*! This is an introduction to the page with all file members. */
437 QCString trFileMembersDescription(bool extractAll) override
438 {
439 QCString result="Här följer en lista över alla ";
440 if (!extractAll) result+="dokumenterade ";
441
442 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
443 {
444 result+="funktioner, variabler, definitioner, enumerationer "
445 "och typdefinitioner";
446 }
447 else
448 {
449 result+= "filmedlemmar";
450 }
451 result+= " med länkar till ";
452 if (extractAll)
453 result+= "filerna de tillhör:";
454 else
455 result+= "dokumentationen:";
456 return result;
457 }
458
459 /*! This is an introduction to the page with the list of all examples */
460 QCString trExamplesDescription() override
461 { return "Här följer en lista med alla exempel:"; }
462
463 /*! This is an introduction to the page with the list of related pages */
464 QCString trRelatedPagesDescription() override
465 { return "Här följer en lista över alla relaterade dokumentationssidor:";}
466
467 /*! This is an introduction to the page with the list of class/file groups */
468 QCString trModulesDescription() override
469 { return "Här följer en lista över alla moduler:"; }
470
471 // index titles (the project name is prepended for these)
472
473 /*! This is used in HTML as the title of index.html. */
474 QCString trDocumentation(const QCString &projName) override
475 { return (!projName.isEmpty()?projName + " " : "") + "Dokumentation"; }
476
477 /*! This is used in LaTeX as the title of the chapter with the
478 * index of all groups.
479 */
480 QCString trModuleIndex() override
481 { return "Modulindex"; }
482
483 /*! This is used in LaTeX as the title of the chapter with the
484 * class hierarchy.
485 */
486 QCString trHierarchicalIndex() override
487 { return "Hierarkiskt index"; }
488
489 /*! This is used in LaTeX as the title of the chapter with the
490 * annotated compound index.
491 */
492 QCString trCompoundIndex() override
493 {
494 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
495 {
496 return "Index över datastrukturer";
497 }
498 else
499 {
500 return "Klassindex";
501 }
502 }
503
504 /*! This is used in LaTeX as the title of the chapter with the
505 * list of all files.
506 */
507 QCString trFileIndex() override
508 { return "Filindex"; }
509
510 /*! This is used in LaTeX as the title of the chapter containing
511 * the documentation of all groups.
512 */
513 QCString trModuleDocumentation() override
514 { return "Moduldokumentation"; }
515
516 /*! This is used in LaTeX as the title of the chapter containing
517 * the documentation of all classes, structs and unions.
518 */
519 QCString trClassDocumentation() override
520 {
521 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
522 {
523 return "Dokumentation över datastrukturer";
524 }
525 else if (Config_getBool(OPTIMIZE_OUTPUT_VHDL))
526 {
528 }
529 else
530 {
531 return "Klassdokumentation";
532 }
533 }
534
535 /*! This is used in LaTeX as the title of the chapter containing
536 * the documentation of all files.
537 */
538 QCString trFileDocumentation() override
539 { return "Fildokumentation"; }
540
541 /*! This is used in LaTeX as the title of the document */
542 QCString trReferenceManual() override
543 { return "Referensmanual"; }
544
545 /*! This is used in the documentation of a file as a header before the
546 * list of defines
547 */
548 QCString trDefines() override
549 { return "Makron"; }
550
551 /*! This is used in the documentation of a file as a header before the
552 * list of typedefs
553 */
554 QCString trTypedefs() override
555 { return "Typdefinitioner"; }
556
557 /*! This is used in the documentation of a file as a header before the
558 * list of enumerations
559 */
560 QCString trEnumerations() override
561 { return "Egenuppräknande typer"; }
562
563 /*! This is used in the documentation of a file as a header before the
564 * list of (global) functions
565 */
566 QCString trFunctions() override
567 { return "Funktioner"; }
568
569 /*! This is used in the documentation of a file as a header before the
570 * list of (global) variables
571 */
572 QCString trVariables() override
573 { return "Variabler"; }
574
575 /*! This is used in the documentation of a file as a header before the
576 * list of (global) variables
577 */
578 QCString trEnumerationValues() override
579 { return "Egenuppräknade typers värden"; }
580
581 /*! This is used in the documentation of a file before the list of
582 * documentation blocks for defines
583 */
584 QCString trDefineDocumentation() override
585 { return "Dokumentation över makrodefinitioner"; }
586
587 /*! This is used in the documentation of a file/namespace before the list
588 * of documentation blocks for typedefs
589 */
590 QCString trTypedefDocumentation() override
591 { return "Dokumentation över typdefinitioner"; }
592
593 /*! This is used in the documentation of a file/namespace before the list
594 * of documentation blocks for enumeration types
595 */
597 { return "Dokumentation över egenuppräknande typer"; }
598
599 /*! This is used in the documentation of a file/namespace before the list
600 * of documentation blocks for functions
601 */
602 QCString trFunctionDocumentation() override
603 { return "Dokumentation över funktioner"; }
604
605 /*! This is used in the documentation of a file/namespace before the list
606 * of documentation blocks for variables
607 */
608 QCString trVariableDocumentation() override
609 { return "Dokumentation över variabler"; }
610
611 /*! This is used in the documentation of a file/namespace/group before
612 * the list of links to documented compounds
613 */
614 QCString trCompounds() override
615 {
616 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
617 {
618 return "Datastrukturer";
619 }
620 else
621 {
622 return "Klasser";
623 }
624 }
625
626 /*! This is used in the standard footer of each page and indicates when
627 * the page was generated
628 */
629 QCString trGeneratedAt(const QCString &date,const QCString &projName) override
630 {
631 QCString result="Skapad "+date;
632 if (!projName.isEmpty()) result+=" för "+projName;
633 result+=" av";
634 return result;
635 }
636
637 /*! this text is put before a class diagram */
638 QCString trClassDiagram(const QCString &clName) override
639 {
640 return "Klassdiagram för "+clName;
641 }
642
643 /*! this text is generated when the \\warning command is used. */
644 QCString trWarning() override
645 { return "Varning"; }
646
647 /*! this text is generated when the \\version command is used. */
648 QCString trVersion() override
649 { return "Version"; }
650
651 /*! this text is generated when the \\date command is used. */
652 QCString trDate() override
653 { return "Datum"; }
654
655 /*! this text is generated when the \\return command is used. */
656 QCString trReturns() override
657 { return "Returnerar"; }
658
659 /*! this text is generated when the \\sa command is used. */
660 QCString trSeeAlso() override
661 { return "Se även"; }
662
663 /*! this text is generated when the \\param command is used. */
664 QCString trParameters() override
665 { return "Parametrar"; }
666
667 /*! this text is generated when the \\exception command is used. */
668 QCString trExceptions() override
669 { return "Undantag"; }
670
671 /*! this text is used in the title page of a LaTeX document. */
672 QCString trGeneratedBy() override
673 { return "Skapad av"; }
674
675//////////////////////////////////////////////////////////////////////////
676// new since 0.49-990307
677//////////////////////////////////////////////////////////////////////////
678
679 /*! used as the title of page containing all the index of all namespaces. */
680 QCString trNamespaceList() override
681 { return "Namnrymdslista"; }
682
683 /*! used as an introduction to the namespace list */
684 QCString trNamespaceListDescription(bool extractAll) override
685 {
686 QCString result="Här är en lista över alla ";
687 if (!extractAll) result+="dokumenterade ";
688 result+="namnrymder med en kort beskrivning:";
689 return result;
690 }
691
692 /*! used in the class documentation as a header before the list of all
693 * friends of a class
694 */
695 QCString trFriends() override
696 { return "Vänner"; }
697
698//////////////////////////////////////////////////////////////////////////
699// new since 0.49-990405
700//////////////////////////////////////////////////////////////////////////
701
703 { return "Dokumenation av vänners och relaterade funktioner"; }
704
705//////////////////////////////////////////////////////////////////////////
706// new since 0.49-990425
707//////////////////////////////////////////////////////////////////////////
708
709 /*! used as the title of the HTML page of a class/struct/union */
710 QCString trCompoundReference(const QCString &clName,
711 ClassDef::CompoundType compType,
712 bool isTemplate) override
713 {
714 QCString result=clName;
715 switch(compType)
716 {
717 case ClassDef::Class: result+=" klass"; break;
718 case ClassDef::Struct: result+=" strukt"; break;
719 case ClassDef::Union: result+=" union"; break;
720 case ClassDef::Interface: result+=" gränssnitt"; break;
721 case ClassDef::Protocol: result+=" protokoll"; break;
722 case ClassDef::Category: result+=" kategori"; break;
723 case ClassDef::Exception: result+=" undantag"; break;
724 default: break;
725 }
726 if (isTemplate) result+="-mall";
727 result+=" referens";
728 return result;
729 }
730
731 /*! used as the title of the HTML page of a file */
732 QCString trFileReference(const QCString &fileName) override
733 {
734 QCString result=fileName;
735 result+=" filreferens";
736 return result;
737 }
738
739 /*! used as the title of the HTML page of a namespace */
740 QCString trNamespaceReference(const QCString &namespaceName) override
741 {
742 QCString result=namespaceName;
743 result+=" namnrymdreferens";
744 return result;
745 }
746
747 QCString trPublicMembers() override
748 { return "Publika medlemsfunktioner"; }
749 QCString trPublicSlots() override
750 { return "Publika slots"; }
751 QCString trSignals() override
752 { return "Signaler"; }
753 QCString trStaticPublicMembers() override
754 { return "Statiska publika medlemmsfunktioner"; }
755 QCString trProtectedMembers() override
756 { return "Skyddade medlemmsfunktioner"; }
757 QCString trProtectedSlots() override
758 { return "Skyddade slots"; }
759 QCString trStaticProtectedMembers() override
760 { return "Statiska skyddade medlemmsfunktioner"; }
761 QCString trPrivateMembers() override
762 { return "Privata medlemmsfunktioner"; }
763 QCString trPrivateSlots() override
764 { return "Privata slots"; }
765 QCString trStaticPrivateMembers() override
766 { return "Statiska privata medlemmsfunktioner"; }
767
768 /*! this function is used to produce a comma-separated list of items.
769 * use generateMarker(i) to indicate where item i should be put.
770 */
771 QCString trWriteList(int numEntries) override
772 {
773 // this function is used to produce a comma-separated list of items.
774 // use generateMarker(i) to indicate where item i should be put.
775 QCString result;
776 // the inherits list contain `numEntries' classes
777 for (int i=0;i<numEntries;i++)
778 {
779 // use generateMarker to generate placeholders for the class links!
780 result+=generateMarker(i); // generate marker for entry i in the list
781 // (order is left to right)
782
783 if (i!=numEntries-1) // not the last entry, so we need a separator
784 {
785 if (i<numEntries-2) // not the fore last entry
786 result+=", ";
787 else // the fore last entry
788 result+=", och ";
789 }
790 }
791 return result;
792 }
793
794 /*! used in class documentation to produce a list of base classes,
795 * if class diagrams are disabled.
796 */
797 QCString trInheritsList(int numEntries) override
798 // used in class documentation to produce a list of base classes,
799 // if class diagrams are disabled.
800 {
801 return "Ärver "+trWriteList(numEntries)+".";
802 }
803
804 /*! used in class documentation to produce a list of super classes,
805 * if class diagrams are disabled.
806 */
807 QCString trInheritedByList(int numEntries) override
808 // used in class documentation to produce a list of super classes,
809 // if class diagrams are disabled.
810 {
811 return "Ärvd av "+trWriteList(numEntries)+".";
812 }
813
814 /*! used in member documentation blocks to produce a list of
815 * members that are hidden by this one.
816 */
817 QCString trReimplementedFromList(int numEntries) override
818 // used in member documentation blocks to produce a list of
819 // members that are hidden by this one.
820 {
821 return "Återskapad från "+trWriteList(numEntries)+".";
822 }
823
824 /*! used in member documentation blocks to produce a list of
825 * all member that overwrite the implementation of this member.
826 */
827 QCString trReimplementedInList(int numEntries) override
828 {
829 // used in member documentation blocks to produce a list of
830 // all member that overwrite the implementation of this member.
831 return "Återskapad i "+trWriteList(numEntries)+".";
832 }
833
834 /*! This is put above each page as a link to all members of namespaces. */
835 QCString trNamespaceMembers() override
836 { return "Namnrymdsmedlemmar"; }
837
838 /*! This is an introduction to the page with all namespace members */
839 QCString trNamespaceMemberDescription(bool extractAll) override
840 {
841 QCString result="Här är en lista över alla ";
842 if (!extractAll) result+="dokumenterade ";
843 result+="namnrymdsmedlemmar med länkar till ";
844 if (extractAll)
845 result+=" namnrymd-dokumentationen för varje medlem:";
846 else
847 result+="de namnrymder de tillhör:";
848 return result;
849 }
850 /*! This is used in LaTeX as the title of the chapter with the
851 * index of all namespaces.
852 */
853 QCString trNamespaceIndex() override
854 { return "Namnrymdsindex"; }
855
856 /*! This is used in LaTeX as the title of the chapter containing
857 * the documentation of all namespaces.
858 */
859 QCString trNamespaceDocumentation() override
860 { return "Namnrymd-dokumentation"; }
861
862//////////////////////////////////////////////////////////////////////////
863// new since 0.49-990522
864//////////////////////////////////////////////////////////////////////////
865
866 /*! This is used in the documentation before the list of all
867 * namespaces in a file.
868 */
869 QCString trNamespaces() override
870 { return "Namnrymder"; }
871
872//////////////////////////////////////////////////////////////////////////
873// new since 0.49-990728
874//////////////////////////////////////////////////////////////////////////
875
876 /*! This is put at the bottom of a class documentation page and is
877 * followed by a list of files that were used to generate the page.
878 */
880 bool single) override
881 { // here s is one of " Class", " Struct" or " Union"
882 // single is true implies a single file
883 bool vhdlOpt = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
884 QCString result="Dokumentationen för ";
885 switch(compType)
886 {
887 case ClassDef::Class: result+=vhdlOpt? "denna designenhets":"denna klass"; break;
888 case ClassDef::Struct: result+="denna strukt"; break;
889 case ClassDef::Union: result+="denna union"; break;
890 case ClassDef::Interface: result+="detta gränssnitt"; break;
891 case ClassDef::Protocol: result+="detta protokoll"; break;
892 case ClassDef::Category: result+="denna kategori"; break;
893 case ClassDef::Exception: result+="detta undantag"; break;
894 default: break;
895 }
896 result+=" var genererad från följande fil";
897 if (single) result+=":"; else result+="er:";
898 return result;
899 }
900
901//////////////////////////////////////////////////////////////////////////
902// new since 0.49-990901
903//////////////////////////////////////////////////////////////////////////
904
905 /*! This is used as the heading text for the retval command. */
906 QCString trReturnValues() override
907 { return "Returvärden"; }
908
909 /*! This is in the (quick) index as a link to the main page (index.html)
910 */
911 QCString trMainPage() override
912 { return "Huvudsida"; }
913
914 /*! This is used in references to page that are put in the LaTeX
915 * documentation. It should be an abbreviation of the word page.
916 */
917 QCString trPageAbbreviation() override
918 { return "s."; }
919
920//////////////////////////////////////////////////////////////////////////
921// new since 0.49-991003
922//////////////////////////////////////////////////////////////////////////
923
924 QCString trDefinedAtLineInSourceFile() override
925 {
926 return "Definition på rad @0 i filen @1.";
927 }
928 QCString trDefinedInSourceFile() override
929 {
930 return "Definition i filen @0.";
931 }
932
933//////////////////////////////////////////////////////////////////////////
934// new since 0.49-991205
935//////////////////////////////////////////////////////////////////////////
936
937 QCString trDeprecated() override
938 {
939 return "Obsolet";
940 }
941
942//////////////////////////////////////////////////////////////////////////
943// new since 1.0.0
944//////////////////////////////////////////////////////////////////////////
945
946 /*! this text is put before a collaboration diagram */
947 QCString trCollaborationDiagram(const QCString &clName) override
948 {
949 return "Samarbetsdiagram för "+clName+":";
950 }
951 /*! this text is put before an include dependency graph */
952 QCString trInclDepGraph(const QCString &fName) override
953 {
954 return "Include-beroendediagram för "+fName+":";
955 }
956 /*! header that is put before the list of constructor/destructors. */
957 QCString trConstructorDocumentation() override
958 {
959 return "Dokumentation av konstruktorer och destruktorer";
960 }
961 /*! Used in the file documentation to point to the corresponding sources. */
962 QCString trGotoSourceCode() override
963 {
964 return "Gå till denna fils källkod.";
965 }
966 /*! Used in the file sources to point to the corresponding documentation. */
967 QCString trGotoDocumentation() override
968 {
969 return "Gå till denna fils dokumentation.";
970 }
971 /*! Text for the \\pre command */
972 QCString trPrecondition() override
973 {
974 return "Precondition";
975 }
976 /*! Text for the \\post command */
977 QCString trPostcondition() override
978 {
979 return "Postcondition";
980 }
981 /*! Text for the \\invariant command */
982 QCString trInvariant() override
983 {
984 return "Invariant";
985 }
986 /*! Text shown before a multi-line variable/enum initialization */
987 QCString trInitialValue() override
988 {
989 return "Begynnelsevärde:";
990 }
991 /*! Text used the source code in the file index */
992 QCString trCode() override
993 {
994 return "källkod";
995 }
996 QCString trGraphicalHierarchy() override
997 {
998 return "Grafisk klasshierarki";
999 }
1000 QCString trGotoGraphicalHierarchy() override
1001 {
1002 return "Gå till den grafiska klasshierarkin";
1003 }
1004 QCString trGotoTextualHierarchy() override
1005 {
1006 return "Gå till den textbaserade klasshierarkin";
1007 }
1008 QCString trPageIndex() override
1009 {
1010 return "Sidindex";
1011 }
1012
1013//////////////////////////////////////////////////////////////////////////
1014// new since 1.1.0
1015//////////////////////////////////////////////////////////////////////////
1016
1017 QCString trNote() override
1018 {
1019 return "Notera";
1020 }
1021 QCString trPublicTypes() override
1022 {
1023 return "Publika typer";
1024 }
1025 QCString trPublicAttribs() override
1026 {
1027 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1028 {
1029 return "Datafält";
1030 }
1031 else
1032 {
1033 return "Publika attribut";
1034 }
1035 }
1036 QCString trStaticPublicAttribs() override
1037 {
1038 return "Statiska publika attribut";
1039 }
1040 QCString trProtectedTypes() override
1041 {
1042 return "Skyddade typer";
1043 }
1044 QCString trProtectedAttribs() override
1045 {
1046 return "Skyddade attribut";
1047 }
1048 QCString trStaticProtectedAttribs() override
1049 {
1050 return "Statiska skyddade attribut";
1051 }
1052 QCString trPrivateTypes() override
1053 {
1054 return "Privata typer";
1055 }
1056 QCString trPrivateAttribs() override
1057 {
1058 return "Privata attribut";
1059 }
1060 QCString trStaticPrivateAttribs() override
1061 {
1062 return "Statiska privata attribut";
1063 }
1064
1065//////////////////////////////////////////////////////////////////////////
1066// new since 1.1.3
1067//////////////////////////////////////////////////////////////////////////
1068
1069 /*! Used as a marker that is put before a \\todo item */
1070 QCString trTodo() override
1071 {
1072 return "Att-göra";
1073 }
1074 /*! Used as the header of the todo list */
1075 QCString trTodoList() override
1076 {
1077 return "Att göra-lista";
1078 }
1079
1080//////////////////////////////////////////////////////////////////////////
1081// new since 1.1.4
1082//////////////////////////////////////////////////////////////////////////
1083
1084 QCString trReferencedBy() override
1085 {
1086 return "Refererad av";
1087 }
1088 QCString trRemarks() override
1089 {
1090 return "Lägg märke till";
1091 }
1092 QCString trAttention() override
1093 {
1094 return "Observera";
1095 }
1096 QCString trInclByDepGraph() override
1097 {
1098 return "Den här grafen visar vilka filer som direkt eller "
1099 "indirekt inkluderar denna filen:";
1100 }
1101 QCString trSince() override
1102 {
1103 return "Sedan";
1104 }
1105
1106//////////////////////////////////////////////////////////////////////////
1107// new since 1.1.5
1108//////////////////////////////////////////////////////////////////////////
1109
1110 /*! title of the graph legend page */
1111 QCString trLegendTitle() override
1112 {
1113 return "Grafförklaring";
1114 }
1115 /*! page explaining how the dot graph's should be interpreted
1116 * The %A in the text below are to prevent link to classes called "A".
1117 */
1118 QCString trLegendDocs() override
1119 {
1120 return
1121 "Den här sidan förklarar hur man ska tolka de grafer som doxygen "
1122 "genererar.<p>\n"
1123 "Överväg följande exempel:\n"
1124 "\\code\n"
1125 "/*! Osynlig klass på grund av trunkering */\n"
1126 "class Invisible { };\n\n"
1127 "/*! Trunkerad klass, ärvningsrelationen är dold */\n"
1128 "class Truncated : public Invisible { };\n\n"
1129 "/* Klass utan doxygen-kommentarer */\n"
1130 "class Undocumented { };\n\n"
1131 "/*! Klass som ärvs med publikt arv */\n"
1132 "class PublicBase : public Truncated { };\n\n"
1133 "/*! En template-klass */\n"
1134 "template<class T> class Templ { };\n\n"
1135 "/*! Klass som ärvs med skyddat arv */\n"
1136 "class ProtectedBase { };\n\n"
1137 "/*! Klass som ärvs med privat arv */\n"
1138 "class PrivateBase { };\n\n"
1139 "/*! Klass som används av den ärvda klassen */\n"
1140 "class Used { };\n\n"
1141 "/*! Super-klass som ärver ett antal andra klasser */\n"
1142 "class Inherited : public PublicBase,\n"
1143 " protected ProtectedBase,\n"
1144 " private PrivateBase,\n"
1145 " public Undocumented,\n"
1146 " public Templ<int>\n"
1147 "{\n"
1148 " private:\n"
1149 " Used *m_usedClass;\n"
1150 "};\n"
1151 "\\endcode\n"
1152 "Detta resulterar i att följande graf genereras:"
1153 "<p><center><img alt=\"\" src=\"graph_legend."+getDotImageExtension()+"\"></center></p>\n"
1154 "<p>\n"
1155 "Rektanglarna i den ovanstående grafen har följande betydelser:\n"
1156 "</p>\n"
1157 "<ul>\n"
1158 "<li>%En fylld grå rektangel representerar den strukt eller klass "
1159 "som har genererat grafen.</li>\n"
1160 "<li>%En rektangel med svart kant symboliserar en dokumenterad strukt eller klass.</li>\n"
1161 "<li>%En rektangel med grå kant symboliserar en odokumenterad strukt eller klass.</li>\n"
1162 "<li>%En klass med röd kant symboliserar en strukt eller klass där "
1163 "alla dess relationer inte visas. %En graf trunkeras om den inte får "
1164 "plats inom de givna gränserna.</li>\n"
1165 "</ul>\n"
1166 "<p>\n"
1167 "Pilarna har följande betydelser:\n"
1168 "</p>\n"
1169 "<ul>\n"
1170 "<li>%En mörkblå pil används för att visualisera en publik arvrelation "
1171 "mellan två klasser.</li>\n"
1172 "<li>%En mörkgrön pil används för en skyddad arvsrelation.</li>\n"
1173 "<li>%En mörkröd pil används för en privat arvsrelation.\n</li>"
1174 "<li>%En sträckad lila pil används om en klass är innesluten eller "
1175 "använd av en annan klass. Vid pilen står namnet på den eller de "
1176 "variabler som klassen pilen pekar på kommer åt.</li>\n"
1177 "<li>%En sträckad gul pil symboliserar förhållandet mellan en "
1178 "template-instans och template-klassen, som den instantierades från.\n"
1179 "Vid pilen står instansens template-parametrar.</li>\n"
1180 "</ul>\n";
1181 }
1182 /*! text for the link to the legend page */
1183 QCString trLegend() override
1184 {
1185 return "förklaring";
1186 }
1187
1188//////////////////////////////////////////////////////////////////////////
1189// new since 1.2.0
1190//////////////////////////////////////////////////////////////////////////
1191
1192 /*! Used as a marker that is put before a test item */
1193 QCString trTest() override
1194 {
1195 return "Test";
1196 }
1197 /*! Used as the header of the test list */
1198 QCString trTestList() override
1199 {
1200 return "Testlista";
1201 }
1202
1203//////////////////////////////////////////////////////////////////////////
1204// new since 1.2.2
1205//////////////////////////////////////////////////////////////////////////
1206
1207 /*! Used as a section header for IDL properties */
1208 QCString trProperties() override
1209 {
1210 return "Egenskaper";
1211 }
1212 /*! Used as a section header for IDL property documentation */
1213 QCString trPropertyDocumentation() override
1214 {
1215 return "Egenskapsdokumentation";
1216 }
1217
1218//////////////////////////////////////////////////////////////////////////
1219// new since 1.2.4
1220//////////////////////////////////////////////////////////////////////////
1221
1222 /*! Used for Java classes in the summary section of Java packages */
1223 QCString trClasses() override
1224 {
1225 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
1226 {
1227 return "Datastrukturer";
1228 }
1229 else
1230 {
1231 return "Klasser";
1232 }
1233 }
1234 /*! Used as the title of a Java package */
1235 QCString trPackage(const QCString &name) override
1236 {
1237 return "Paket "+name;
1238 }
1239 /*! The description of the package index page */
1240 QCString trPackageListDescription() override
1241 {
1242 return "Här är en lista över paketen med en kort beskrivning "
1243 "(om sådan finns):";
1244 }
1245 /*! The link name in the Quick links header for each page */
1246 QCString trPackages() override
1247 {
1248 return "Paket";
1249 }
1250 /*! Text shown before a multi-line define */
1251 QCString trDefineValue() override
1252 {
1253 return "Värde:";
1254 }
1255
1256//////////////////////////////////////////////////////////////////////////
1257// new since 1.2.5
1258//////////////////////////////////////////////////////////////////////////
1259
1260 /*! Used as a marker that is put before a \\bug item */
1261 QCString trBug() override
1262 {
1263 return "Bugg";
1264 }
1265 /*! Used as the header of the bug list */
1266 QCString trBugList() override
1267 {
1268 return "Bugglista";
1269 }
1270
1271//////////////////////////////////////////////////////////////////////////
1272// new since 1.2.6
1273//////////////////////////////////////////////////////////////////////////
1274
1275 /*! Used as ansicpg for RTF file
1276 *
1277 * The following table shows the correlation of Charset name, Charset Value and
1278 * <pre>
1279 * Codepage number:
1280 * Charset Name Charset Value(hex) Codepage number
1281 * ------------------------------------------------------
1282 * ANSI_CHARSET 0 (x00) 1252
1283 * </pre>
1284 */
1285 QCString trRTFansicp() override
1286 {
1287 return "1252";
1288 }
1289
1290
1291 /*! Used as ansicpg for RTF fcharset
1292 * \see trRTFansicp() for a table of possible values.
1293 */
1294 QCString trRTFCharSet() override
1295 {
1296 return "0";
1297 }
1298
1299 /*! Used as header RTF general index */
1300 QCString trRTFGeneralIndex() override
1301 {
1302 return "Index";
1303 }
1304
1305 /*! This is used for translation of the word that will possibly
1306 * be followed by a single name or by a list of names
1307 * of the category.
1308 */
1309 QCString trClass(bool first_capital, bool singular) override
1310 {
1311 return createNoun(first_capital, singular, "klass", "er");
1312 }
1313
1314 /*! This is used for translation of the word that will possibly
1315 * be followed by a single name or by a list of names
1316 * of the category.
1317 */
1318 QCString trFile(bool first_capital, bool singular) override
1319 {
1320 return createNoun(first_capital, singular, "fil", "er");
1321 }
1322
1323 /*! This is used for translation of the word that will possibly
1324 * be followed by a single name or by a list of names
1325 * of the category.
1326 */
1327 QCString trNamespace(bool first_capital, bool singular) override
1328 {
1329 return createNoun(first_capital, singular, "namnrymd", "er");
1330 }
1331
1332 /*! This is used for translation of the word that will possibly
1333 * be followed by a single name or by a list of names
1334 * of the category.
1335 */
1336 QCString trGroup(bool first_capital, bool singular) override
1337 {
1338 return createNoun(first_capital, singular, "grupp", "er");
1339 }
1340
1341 /*! This is used for translation of the word that will possibly
1342 * be followed by a single name or by a list of names
1343 * of the category.
1344 */
1345 QCString trPage(bool first_capital, bool singular) override
1346 {
1347 return createNoun(first_capital, singular, "sid", "or", "a");
1348 }
1349
1350 /*! This is used for translation of the word that will possibly
1351 * be followed by a single name or by a list of names
1352 * of the category.
1353 */
1354 QCString trMember(bool first_capital, bool singular) override
1355 {
1356 return createNoun(first_capital, singular, "medlem", "mar");
1357 }
1358
1359 /*! This is used for translation of the word that will possibly
1360 * be followed by a single name or by a list of names
1361 * of the category.
1362 */
1363 QCString trGlobal(bool first_capital, bool singular) override
1364 {
1365 return createNoun(first_capital, singular, "global", "er");
1366 }
1367
1368//////////////////////////////////////////////////////////////////////////
1369// new since 1.2.7
1370//////////////////////////////////////////////////////////////////////////
1371
1372 /*! This text is generated when the \\author command is used and
1373 * for the author section in man pages. */
1374 QCString trAuthor(bool first_capital, bool /*singular*/) override
1375 {
1376 return createNoun(first_capital, false, "författare", "");
1377 }
1378
1379//////////////////////////////////////////////////////////////////////////
1380// new since 1.2.11
1381//////////////////////////////////////////////////////////////////////////
1382
1383 /*! This text is put before the list of members referenced by a member
1384 */
1385 QCString trReferences() override
1386 {
1387 return "Referenser";
1388 }
1389
1390//////////////////////////////////////////////////////////////////////////
1391// new since 1.2.13
1392//////////////////////////////////////////////////////////////////////////
1393
1394 /*! used in member documentation blocks to produce a list of
1395 * members that are implemented by this one.
1396 */
1397 QCString trImplementedFromList(int numEntries) override
1398 {
1399 return "Implementerar "+trWriteList(numEntries)+".";
1400 }
1401
1402 /*! used in member documentation blocks to produce a list of
1403 * all members that implement this abstract member.
1404 */
1405 QCString trImplementedInList(int numEntries) override
1406 {
1407 return "Implementerad i "+trWriteList(numEntries)+".";
1408 }
1409
1410//////////////////////////////////////////////////////////////////////////
1411// new since 1.2.16
1412//////////////////////////////////////////////////////////////////////////
1413
1414 /*! used in RTF documentation as a heading for the Table
1415 * of Contents.
1416 */
1417 QCString trRTFTableOfContents() override
1418 {
1419 return "Innehållsförteckning";
1420 }
1421
1422//////////////////////////////////////////////////////////////////////////
1423// new since 1.2.17
1424//////////////////////////////////////////////////////////////////////////
1425
1426 /*! Used as the header of the list of item that have been
1427 * flagged deprecated
1428 */
1429 QCString trDeprecatedList() override
1430 {
1431 return "Lista över föråldrade";
1432 }
1433
1434//////////////////////////////////////////////////////////////////////////
1435// new since 1.2.18
1436//////////////////////////////////////////////////////////////////////////
1437
1438 /*! Used as a header for declaration section of the events found in
1439 * a C# program
1440 */
1441 QCString trEvents() override
1442 {
1443 return "Händelser";
1444 }
1445 /*! Header used for the documentation section of a class' events. */
1446 QCString trEventDocumentation() override
1447 {
1448 return "Händelsedokumentation";
1449 }
1450
1451//////////////////////////////////////////////////////////////////////////
1452// new since 1.3
1453//////////////////////////////////////////////////////////////////////////
1454
1455 /*! Used as a heading for a list of Java class types with package scope.
1456 */
1457 QCString trPackageTypes() override
1458 {
1459 return "Pakettyper";
1460 }
1461 /*! Used as a heading for a list of Java class functions with package
1462 * scope.
1463 */
1464 QCString trPackageFunctions() override
1465 {
1466 return "Paketfunktioner";
1467 }
1468 QCString trPackageMembers() override
1469 {
1470 return "Paketmedlemmar";
1471 }
1472 /*! Used as a heading for a list of static Java class functions with
1473 * package scope.
1474 */
1475 QCString trStaticPackageFunctions() override
1476 {
1477 return "Statiska paketfunktioner";
1478 }
1479 /*! Used as a heading for a list of Java class variables with package
1480 * scope.
1481 */
1482 QCString trPackageAttribs() override
1483 {
1484 return "Paketattribut";
1485 }
1486 /*! Used as a heading for a list of static Java class variables with
1487 * package scope.
1488 */
1489 QCString trStaticPackageAttribs() override
1490 {
1491 return "Statiska paketattribut";
1492 }
1493
1494//////////////////////////////////////////////////////////////////////////
1495// new since 1.3.1
1496//////////////////////////////////////////////////////////////////////////
1497
1498 /*! Used in the quick index of a class/file/namespace member list page
1499 * to link to the unfiltered list of all members.
1500 */
1501 QCString trAll() override
1502 {
1503 return "Alla";
1504 }
1505 /*! Put in front of the call graph for a function. */
1506 QCString trCallGraph() override
1507 {
1508 return "Här är anropsdiagrammet för den här funktionen:";
1509 }
1510
1511//////////////////////////////////////////////////////////////////////////
1512// new since 1.3.3
1513//////////////////////////////////////////////////////////////////////////
1514
1515 /*! This string is used as the title for the page listing the search
1516 * results.
1517 */
1518 QCString trSearchResultsTitle() override
1519 {
1520 return "Sökresultat";
1521 }
1522 /*! This string is put just before listing the search results. The
1523 * text can be different depending on the number of documents found.
1524 * Inside the text you can put the special marker $num to insert
1525 * the number representing the actual number of search results.
1526 * The @a numDocuments parameter can be either 0, 1 or 2, where the
1527 * value 2 represents 2 or more matches. HTML markup is allowed inside
1528 * the returned string.
1529 */
1530 QCString trSearchResults(int numDocuments) override
1531 {
1532 if (numDocuments==0)
1533 {
1534 return "Tyvärr finns det inga dokument som matchar din sökning.";
1535 }
1536 else if (numDocuments==1)
1537 {
1538 return "Hittade <b>1</b> dokument som matchar din sökning.";
1539 }
1540 else
1541 {
1542 return "Hittade <b>$num</b> dokument som matchar din sökning. "
1543 "Visar de bästa träffarna först.";
1544 }
1545 }
1546 /*! This string is put before the list of matched words, for each search
1547 * result. What follows is the list of words that matched the query.
1548 */
1549 QCString trSearchMatches() override
1550 {
1551 return "Träffar:";
1552 }
1553
1554//////////////////////////////////////////////////////////////////////////
1555// new since 1.3.8
1556//////////////////////////////////////////////////////////////////////////
1557
1558 /*! This is used in HTML as the title of page with source code for file filename
1559 */
1560 QCString trSourceFile(const QCString& filename) override
1561 {
1562 return "Källkodsfilen " + filename;
1563 }
1564
1565//////////////////////////////////////////////////////////////////////////
1566// new since 1.3.9
1567//////////////////////////////////////////////////////////////////////////
1568
1569 /*! This is used as the name of the chapter containing the directory
1570 * hierarchy.
1571 */
1572 QCString trDirIndex() override
1573 { return "Katalogstruktur"; }
1574
1575 /*! This is used as the name of the chapter containing the documentation
1576 * of the directories.
1577 */
1578 QCString trDirDocumentation() override
1579 { return "Katalogdokumentation"; }
1580
1581 /*! This is used as the title of the directory index and also in the
1582 * Quick links of an HTML page, to link to the directory hierarchy.
1583 */
1584 QCString trDirectories() override
1585 { return "Kataloger"; }
1586
1587 /*! This returns the title of a directory page. The name of the
1588 * directory is passed via \a dirName.
1589 */
1590 QCString trDirReference(const QCString &dirName) override
1591 { QCString result=dirName; result+=" Katalogreferens"; return result; }
1592
1593 /*! This returns the word directory with or without starting capital
1594 * (\a first_capital) and in singular or plural form (\a singular).
1595 */
1596 QCString trDir(bool first_capital, bool singular) override
1597 {
1598 return createNoun(first_capital, singular, "katalog", "er");
1599 }
1600
1601//////////////////////////////////////////////////////////////////////////
1602// new since 1.4.1
1603//////////////////////////////////////////////////////////////////////////
1604
1605 /*! This text is added to the documentation when the \\overload command
1606 * is used for a overloaded function.
1607 */
1608 QCString trOverloadText() override
1609 {
1610 return "Det här är en överlagrad medlemsfunktion "
1611 "tillhandahållen för bekvämlighet. Den enda som "
1612 "skiljer sig från ovanstående funktion är vilka "
1613 "argument den tar emot.";
1614 }
1615
1616//////////////////////////////////////////////////////////////////////////
1617// new since 1.4.6
1618//////////////////////////////////////////////////////////////////////////
1619
1620 /*! This is used to introduce a caller (or called-by) graph */
1621 QCString trCallerGraph() override
1622 {
1623 return "Här är anropsgrafen för denna funktion:";
1624 }
1625
1626 /*! This is used in the documentation of a file/namespace before the list
1627 * of documentation blocks for enumeration values
1628 */
1630 { return "Uppräknings-dokumentation"; }
1631
1632//////////////////////////////////////////////////////////////////////////
1633// new since 1.5.4 (mainly for Fortran)
1634//////////////////////////////////////////////////////////////////////////
1635
1636 /*! header that is put before the list of member subprograms (Fortran). */
1638 { return "Dokumentation för memlemsfunktion/subrutin"; }
1639
1640 /*! This is put above each page as a link to the list of annotated data types (Fortran). */
1641 QCString trCompoundListFortran() override
1642 { return "Datatyplista"; }
1643
1644 /*! This is put above each page as a link to all members of compounds (Fortran). */
1645 QCString trCompoundMembersFortran() override
1646 { return "Datafält"; }
1647
1648 /*! This is an introduction to the annotated compound list (Fortran). */
1650 { return "Här är datatyperna med en kort beskrivning:"; }
1651
1652 /*! This is an introduction to the page with all data types (Fortran). */
1653 QCString trCompoundMembersDescriptionFortran(bool extractAll) override
1654 {
1655 QCString result="Här är en lista över alla ";
1656 if (!extractAll)
1657 {
1658 result+="dokumenterade ";
1659 }
1660 result+="datatypsmedlemmar";
1661 result+=" med länkar till ";
1662 if (!extractAll)
1663 {
1664 result+="dokumentation för varje medlem";
1665 }
1666 else
1667 {
1668 result+="klasserna de hör till:";
1669 }
1670 return result;
1671 }
1672
1673 /*! This is used in LaTeX as the title of the chapter with the
1674 * annotated compound index (Fortran).
1675 */
1676 QCString trCompoundIndexFortran() override
1677 { return "Datatypsindex"; }
1678
1679 /*! This is used in LaTeX as the title of the chapter containing
1680 * the documentation of all data types (Fortran).
1681 */
1682 QCString trTypeDocumentation() override
1683 { return "Datatypsdokumentation"; }
1684
1685 /*! This is used in the documentation of a file as a header before the
1686 * list of (global) subprograms (Fortran).
1687 */
1688 QCString trSubprograms() override
1689 { return "Funktioner/subrutiner"; }
1690
1691 /*! This is used in the documentation of a file/namespace before the list
1692 * of documentation blocks for subprograms (Fortran)
1693 */
1694 QCString trSubprogramDocumentation() override
1695 { return "Dokumentation för funktion/subrutin"; }
1696
1697 /*! This is used in the documentation of a file/namespace/group before
1698 * the list of links to documented compounds (Fortran)
1699 */
1700 QCString trDataTypes() override
1701 { return "Datatyper"; }
1702
1703 /*! used as the title of page containing all the index of all modules (Fortran). */
1704 QCString trModulesList() override
1705 { return "Modullista"; }
1706
1707 /*! used as an introduction to the modules list (Fortran) */
1708 QCString trModulesListDescription(bool extractAll) override
1709 {
1710 QCString result="Här är en lista över alla ";
1711 if (!extractAll) result+="dokumenterade ";
1712 result+="moduler med en kort beskrivning:";
1713 return result;
1714 }
1715
1716 /*! used as the title of the HTML page of a module/type (Fortran) */
1717 QCString trCompoundReferenceFortran(const QCString &clName,
1718 ClassDef::CompoundType compType,
1719 bool isTemplate) override
1720 {
1721 QCString result=clName;
1722 switch(compType)
1723 {
1724 case ClassDef::Class: result+=" Modul"; break;
1725 case ClassDef::Struct: result+=" Typ"; break;
1726 case ClassDef::Union: result+=" Union"; break;
1727 case ClassDef::Interface: result+=" Gränssnitt"; break;
1728 case ClassDef::Protocol: result+=" Protokoll"; break;
1729 case ClassDef::Category: result+=" Kategori"; break;
1730 case ClassDef::Exception: result+=" Undantag"; break;
1731 default: break;
1732 }
1733 if (isTemplate) result+="-mall";
1734 result+=" referens";
1735 return result;
1736 }
1737 /*! used as the title of the HTML page of a module (Fortran) */
1738 QCString trModuleReference(const QCString &namespaceName) override
1739 {
1740 QCString result=namespaceName;
1741 result+=" Modulreferens";
1742 return result;
1743 }
1744
1745 /*! This is put above each page as a link to all members of modules. (Fortran) */
1746 QCString trModulesMembers() override
1747 { return "Modulmedlemmar"; }
1748
1749 /*! This is an introduction to the page with all modules members (Fortran) */
1750 QCString trModulesMemberDescription(bool extractAll) override
1751 {
1752 QCString result="Här är en lista över alla ";
1753 if (!extractAll) result+="documented ";
1754 result+="modulmedlemmar med länkar till ";
1755 if (extractAll)
1756 {
1757 result+="moduldokumentationen för varje medlem:";
1758 }
1759 else
1760 {
1761 result+="modulerna de hör till:";
1762 }
1763 return result;
1764 }
1765
1766 /*! This is used in LaTeX as the title of the chapter with the
1767 * index of all modules (Fortran).
1768 */
1769 QCString trModulesIndex() override
1770 { return "Modulindex"; }
1771
1772 /*! This is used for translation of the word that will possibly
1773 * be followed by a single name or by a list of names
1774 * of the category.
1775 */
1776 QCString trModule(bool first_capital, bool singular) override
1777 {
1778 return createNoun(first_capital, singular, "modul", "er");
1779 }
1780
1781 /*! This is put at the bottom of a module documentation page and is
1782 * followed by a list of files that were used to generate the page.
1783 */
1785 bool single) override
1786 {
1787 // single is true implies a single file
1788 QCString result="Dokumentationen för ";
1789 switch(compType)
1790 {
1791 case ClassDef::Class: result+="denna modul"; break;
1792 case ClassDef::Struct: result+="denna typ"; break;
1793 case ClassDef::Union: result+="denna union"; break;
1794 case ClassDef::Interface: result+="detta gränssnitt"; break;
1795 case ClassDef::Protocol: result+="detta protokoll"; break;
1796 case ClassDef::Category: result+="denna kategori"; break;
1797 case ClassDef::Exception: result+="detta undantag"; break;
1798 default: break;
1799 }
1800 result+=" genererades från följade fil";
1801 if (single) result+=":"; else result+="er:";
1802 return result;
1803 }
1804
1805 /*! This is used for translation of the word that will possibly
1806 * be followed by a single name or by a list of names
1807 * of the category.
1808 */
1809 QCString trType(bool first_capital, bool singular) override
1810 {
1811 return createNoun(first_capital, singular, "typ", "er");
1812 }
1813
1814 /*! This is used for translation of the word that will possibly
1815 * be followed by a single name or by a list of names
1816 * of the category.
1817 */
1818 QCString trSubprogram(bool first_capital, bool /*singular*/) override
1819 {
1820 return createNoun(first_capital, false, "underprogram", "");
1821 }
1822
1823 /*! C# Type Constraint list */
1824 QCString trTypeConstraints() override
1825 {
1826 return "Typbegränsningar";
1827 }
1828
1829//////////////////////////////////////////////////////////////////////////
1830// new since 1.6.0 (mainly for the new search engine)
1831//////////////////////////////////////////////////////////////////////////
1832
1833 /*! directory relation for \a name */
1834 QCString trDirRelation(const QCString &name) override
1835 {
1836 return QCString(name)+" Relation";
1837 }
1838
1839 /*! Loading message shown when loading search results */
1840 QCString trLoading() override
1841 {
1842 return "Laddar...";
1843 }
1844
1845 /*! Label used for search results in the global namespace */
1846 QCString trGlobalNamespace() override
1847 {
1848 return "Global namnrymd";
1849 }
1850
1851 /*! Message shown while searching */
1852 QCString trSearching() override
1853 {
1854 return "Söker...";
1855 }
1856
1857 /*! Text shown when no search results are found */
1858 QCString trNoMatches() override
1859 {
1860 return "Inga träffar";
1861 }
1862
1863//////////////////////////////////////////////////////////////////////////
1864// new since 1.6.3 (missing items for the directory pages)
1865//////////////////////////////////////////////////////////////////////////
1866
1867 /*! when clicking a directory dependency label, a page with a
1868 * table is shown. The heading for the first column mentions the
1869 * source file that has a relation to another file.
1870 */
1871 QCString trFileIn(const QCString &name) override
1872 {
1873 return "Fil i "+name;
1874 }
1875
1876 /*! when clicking a directory dependency label, a page with a
1877 * table is shown. The heading for the second column mentions the
1878 * destination file that is included.
1879 */
1880 QCString trIncludesFileIn(const QCString &name) override
1881 {
1882 return "Inkluderar fil i "+name;
1883 }
1884
1885 /** Compiles a date string.
1886 * @param year Year in 4 digits
1887 * @param month Month of the year: 1=January
1888 * @param day Day of the Month: 1..31
1889 * @param dayOfWeek Day of the week: 1=Monday..7=Sunday
1890 * @param hour Hour of the day: 0..23
1891 * @param minutes Minutes in the hour: 0..59
1892 * @param seconds Seconds within the minute: 0..59
1893 * @param includeTime Include time in the result string?
1894 */
1895 QCString trDateTime(int year,int month,int day,int dayOfWeek,
1896 int hour,int minutes,int seconds,
1897 DateTimeType includeTime) override
1898 {
1899 static const char *days[] = { "Mån","Tis","Ons","Tor","Fre","Lör","Sön" };
1900 static const char *months[] = { "Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec" };
1901 QCString sdate;
1902 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Date)
1903 {
1904 sdate.sprintf("%s %d %s %d",days[dayOfWeek-1],day,months[month-1],year);
1905 }
1906 if (includeTime == DateTimeType::DateTime) sdate += " ";
1907 if (includeTime == DateTimeType::DateTime || includeTime == DateTimeType::Time)
1908 {
1909 QCString stime;
1910 stime.sprintf("%.2d:%.2d:%.2d",hour,minutes,seconds);
1911 sdate+=stime;
1912 }
1913 return sdate;
1914 }
1915 QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
1916 {
1917 static const char *days_short[] = { "mån", "tis", "ons", "tor", "fre", "lör", "sön" };
1918 static const char *days_full[] = { "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag", "söndag" };
1919 QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1];
1920 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1921 else return text;
1922 }
1923 QCString trMonth(int month, bool first_capital, bool full) override
1924 {
1925 static const char *months_short[] = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec" };
1926 static const char *months_full[] = { "januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december" };
1927 QCString text = full? months_full[month-1] : months_short[month-1];
1928 if (first_capital) return text.mid(0,1).upper()+text.mid(1);
1929 else return text;
1930 }
1931 QCString trDayPeriod(bool period) override
1932 {
1933 static const char *dayPeriod[] = { "fm", "em" };
1934 return dayPeriod[period?1:0];
1935 }
1936
1937//////////////////////////////////////////////////////////////////////////
1938// new since 1.7.5
1939//////////////////////////////////////////////////////////////////////////
1940
1941 /*! Header for the page with bibliographic citations */
1942 QCString trCiteReferences() override
1943 { return "Bibliografiska Referenser"; }
1944
1945 /*! Text for copyright paragraph */
1946 QCString trCopyright() override
1947 { return "Copyright"; }
1948
1949 /*! Header for the graph showing the directory dependencies */
1950 QCString trDirDepGraph(const QCString &name) override
1951 { return QCString("Katalogberoendegraf för ")+name+":"; }
1952
1953//////////////////////////////////////////////////////////////////////////
1954// new since 1.8.0
1955//////////////////////////////////////////////////////////////////////////
1956
1957 /*! Detail level selector shown for hierarchical indices */
1958 QCString trDetailLevel() override
1959 { return "detaljnivå"; }
1960
1961 /*! Section header for list of template parameters */
1962 QCString trTemplateParameters() override
1963 { return "Mall-parametrar"; }
1964
1965 /*! Used in dot graph when UML_LOOK is enabled and there are many fields */
1966 QCString trAndMore(const QCString &number) override
1967 { return "och "+number+" flera..."; }
1968
1969 /*! Used file list for a Java enum */
1970 QCString trEnumGeneratedFromFiles(bool single) override
1971 { QCString result = "Dokumentationen för denna enum var genererad från föjlande fil";
1972 if (!single) result += "er";
1973 result+=":";
1974 return result;
1975 }
1976
1977 /*! Header of a Java enum page (Java enums are represented as classes). */
1978 QCString trEnumReference(const QCString &name) override
1979 { return QCString(name)+" Enum-referens"; }
1980
1981 /*! Used for a section containing inherited members */
1982 QCString trInheritedFrom(const QCString &members,const QCString &what) override
1983 { return QCString(members)+" ärvd ifrån "+what; }
1984
1985 /*! Header of the sections with inherited members specific for the
1986 * base class(es)
1987 */
1989 { return "Ytterliga ärvda medlemmar"; }
1990
1991//////////////////////////////////////////////////////////////////////////
1992// new since 1.8.2
1993//////////////////////////////////////////////////////////////////////////
1994
1995 /*! Used as a tooltip for the toggle button that appears in the
1996 * navigation tree in the HTML output when GENERATE_TREEVIEW is
1997 * enabled. This tooltip explains the meaning of the button.
1998 */
1999 QCString trPanelSynchronisationTooltip(bool enable) override
2000 {
2001 QCString opt = enable ? "aktivera" : "inaktivera";
2002 return "klicka för att "+opt+" panelsynkronisering";
2003 }
2004
2005 /*! Used in a method of an Objective-C class that is declared in a
2006 * a category. Note that the @1 marker is required and is replaced
2007 * by a link.
2008 */
2009 QCString trProvidedByCategory() override
2010 {
2011 return "Tillhandahålls av kategori @0.";
2012 }
2013
2014 /*! Used in a method of an Objective-C category that extends a class.
2015 * Note that the @1 marker is required and is replaced by a link to
2016 * the class method.
2017 */
2018 QCString trExtendsClass() override
2019 {
2020 return "Utökar klass @0.";
2021 }
2022
2023 /*! Used as the header of a list of class methods in Objective-C.
2024 * These are similar to static public member functions in C++.
2025 */
2026 QCString trClassMethods() override
2027 {
2028 return "Klassmetoder";
2029 }
2030
2031 /*! Used as the header of a list of instance methods in Objective-C.
2032 * These are similar to public member functions in C++.
2033 */
2034 QCString trInstanceMethods() override
2035 {
2036 return "Instansmetoder";
2037 }
2038
2039 /*! Used as the header of the member functions of an Objective-C class.
2040 */
2041 QCString trMethodDocumentation() override
2042 {
2043 return "Metoddokumentation";
2044 }
2045
2046//////////////////////////////////////////////////////////////////////////
2047// new since 1.8.4
2048//////////////////////////////////////////////////////////////////////////
2049
2050 /** old style UNO IDL services: implemented interfaces */
2051 QCString trInterfaces() override
2052 { return "Exporterade interface"; }
2053
2054 /** old style UNO IDL services: inherited services */
2055 QCString trServices() override
2056 { return "Inkuderade tjänster"; }
2057
2058 /** UNO IDL constant groups */
2059 QCString trConstantGroups() override
2060 { return "Konstantgrupper"; }
2061
2062 /** UNO IDL constant groups */
2063 QCString trConstantGroupReference(const QCString &namespaceName) override
2064 {
2065 QCString result=namespaceName;
2066 result+=" Referens till konstantgrupp";
2067 return result;
2068 }
2069 /** UNO IDL service page title */
2070 QCString trServiceReference(const QCString &sName) override
2071 {
2072 QCString result=sName;
2073 result+=" Tjänstereferens";
2074 return result;
2075 }
2076 /** UNO IDL singleton page title */
2077 QCString trSingletonReference(const QCString &sName) override
2078 {
2079 QCString result=sName;
2080 result+=" Singleton-referens";
2081 return result;
2082 }
2083 /** UNO IDL service page */
2084 QCString trServiceGeneratedFromFiles(bool single) override
2085 {
2086 // single is true implies a single file
2087 QCString result="Dokumentationen för denna tjänst "
2088 "genererades från följande fil";
2089 if (single) result+=":"; else result+="er:";
2090 return result;
2091 }
2092 /** UNO IDL singleton page */
2093 QCString trSingletonGeneratedFromFiles(bool single) override
2094 {
2095 // single is true implies a single file
2096 QCString result="Dokumentationen för denna singleton "
2097 "genererades från följande fil";
2098 if (single) result+=":"; else result+="er:";
2099 return result;
2100 }
2101
2102//////////////////////////////////////////////////////////////////////////
2103// new since 1.8.15
2104//////////////////////////////////////////////////////////////////////////
2105
2106 /** VHDL design unit hierarchy */
2107 QCString trDesignUnitHierarchy() override
2108 { return "Designenhetshirarki"; }
2109 /** VHDL design unit list */
2110 QCString trDesignUnitList() override
2111 { return "Designenhetslista"; }
2112 /** VHDL design unit members */
2113 QCString trDesignUnitMembers() override
2114 { return "Designenhetsmedlemmar"; }
2115 /** VHDL design unit list description
2116 * Orginal: Here is a list of all design unit members with links to
2117 * the Entities they belong to:
2118 */
2120 {
2121 return "Här är en lista av alla designenhetsmedlemmar med länkar till "
2122 "entiteterna som de hör till:";
2123 }
2124 /** VHDL design unit index */
2125 QCString trDesignUnitIndex() override
2126 { return "Designenhetsindex"; }
2127 /** VHDL design units */
2128 QCString trDesignUnits() override
2129 { return "Designenheter"; }
2130 /** VHDL functions/procedures/processes */
2131 QCString trFunctionAndProc() override
2132 { return "Funktioner/Procedurer/Processer"; }
2133 /** VHDL type */
2134 QCString trVhdlType(VhdlSpecifier type,bool single) override
2135 {
2136 switch(type)
2137 {
2139 return "Biblotek";
2141 return "Paket";
2143 if (single) return "Signal";
2144 else return "Signaler";
2146 if (single) return "Komponent";
2147 else return "Komponenter";
2149 if (single) return "Konstant";
2150 else return "Konstanter";
2152 if (single) return "Entitet";
2153 else return "Entiteter";
2155 if (single) return "Typ";
2156 else return "Typer";
2158 if (single) return "Undertyp";
2159 else return "Undertyper";
2161 if (single) return "Funktion";
2162 else return "Funktioner";
2164 if (single) return "Post";
2165 else return "Poster";
2167 if (single) return "Procedur";
2168 else return "Procedurer";
2170 if (single) return "Arkitektur";
2171 else return "Arkitekturer";
2173 return "Attribut";
2175 if (single) return "Process";
2176 else return "Processer";
2178 if (single) return "Port";
2179 else return "Portar";
2180 case VhdlSpecifier::USE:
2181 if (single) return "use clause";
2182 else return "Use Clauses";
2184 if (single) return "Generisk";
2185 else return "Generiska";
2187 return "Paketinehåll";
2189 return "Enheter";
2191 if (single) return "Delad Variabel";
2192 else return "Delade Variabler";
2194 if (single) return "Fil";
2195 else return "Filer";
2197 if (single) return "Grupp";
2198 else return "Grupper";
2200 if (single) return "Instantiation";
2201 else return "Instantiations";
2203 return "Alias";
2205 if (single) return "Konfiguration";
2206 else return "Konfigurationer";
2208 return "Diverse";
2210 return "Begränsningar";
2211 default:
2212 return "Klass";
2213 }
2214 }
2215 QCString trCustomReference(const QCString &name) override
2216 { return QCString(name)+"referens"; }
2217
2218 /* Slice */
2219 QCString trConstants() override
2220 {
2221 return "Konstanter";
2222 }
2223 QCString trConstantDocumentation() override
2224 {
2225 return "Konstantdokumentation";
2226 }
2227 QCString trSequences() override
2228 {
2229 return "Sekvenser";
2230 }
2231 QCString trSequenceDocumentation() override
2232 {
2233 return "Sekvensdokumentation";
2234 }
2235 QCString trDictionaries() override
2236 {
2237 return "Uppslagsverk";
2238 }
2239 QCString trDictionaryDocumentation() override
2240 {
2241 return "Uppslagsverksdokumentation";
2242 }
2243 QCString trSliceInterfaces() override
2244 {
2245 return "Gränssnitt";
2246 }
2247 QCString trInterfaceIndex() override
2248 {
2249 return "Gränssnittsindex";
2250 }
2251 QCString trInterfaceList() override
2252 {
2253 return "Gränssnittslist";
2254 }
2255 /** Orginal: Here are the interfaces with brief descriptions: */
2256 QCString trInterfaceListDescription() override
2257 {
2258 return "Här är gränssnitten med en kort beskrivning";
2259 }
2260 QCString trInterfaceHierarchy() override
2261 {
2262 return "Gränssnittshirarkin";
2263 }
2264 /** Orginal: This inheritance list is sorted roughly, but not completely, alphabetically: */
2266 {
2267 return "Denna arvslista är grovt sorterad, men inte helt, i alfabetisk ordning:";
2268 }
2269 QCString trInterfaceDocumentation() override
2270 {
2271 return "Gränssnittsdokumentation";
2272 }
2273 QCString trStructs() override
2274 {
2275 return "Strukturer";
2276 }
2277 QCString trStructIndex() override
2278 {
2279 return "Strukturindex";
2280 }
2281 QCString trStructList() override
2282 {
2283 return "Strukturlist";
2284 }
2285 /** Orginal: Here are the structs with brief descriptions: */
2286 QCString trStructListDescription() override
2287 {
2288 return "Här är strukturerna med en kort beskrivning:";
2289 }
2290 QCString trStructDocumentation() override
2291 {
2292 return "Strukturdokumentation";
2293 }
2294 QCString trExceptionIndex() override
2295 {
2296 return "Undantagsindex";
2297 }
2298 QCString trExceptionList() override
2299 {
2300 return "Undantagslista";
2301 }
2302 /** Orginal: Here are the exceptions with brief descriptions: */
2303 QCString trExceptionListDescription() override
2304 {
2305 return "Här är undantagen med en kort beskrivning:";
2306 }
2307 QCString trExceptionHierarchy() override
2308 {
2309 return "Undantagshirarki";
2310 }
2311 /** Orginal: This inheritance list is sorted roughly, but not completely, alphabetically: */
2313 {
2314 return "Denna arvslista är grovt sorterad, men inte helt, i alfabetisk ordning:";
2315 }
2316 QCString trExceptionDocumentation() override
2317 {
2318 return "Undantagsdokumentation";
2319 }
2320 QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
2321 {
2322 QCString result=clName;
2323 if (isLocal) result+=" Lokal";
2324 switch(compType)
2325 {
2326 case ClassDef::Class: result+=" Klass"; break;
2327 case ClassDef::Struct: result+=" Struktur"; break;
2328 case ClassDef::Union: result+=" Unions"; break;
2329 case ClassDef::Interface: result+=" Gränssnitts"; break;
2330 case ClassDef::Protocol: result+=" Protokoll"; break;
2331 case ClassDef::Category: result+=" Kategori"; break;
2332 case ClassDef::Exception: result+=" Undantags"; break;
2333 default: break;
2334 }
2335 result+="referens";
2336 return result;
2337 }
2338 QCString trOperations() override
2339 {
2340 return "Operationer";
2341 }
2342 QCString trOperationDocumentation() override
2343 {
2344 return "Operationsdokumentation";
2345 }
2346 QCString trDataMembers() override
2347 {
2348 return "Datamedlemmar";
2349 }
2350 QCString trDataMemberDocumentation() override
2351 {
2352 return "Datamedlemsdokumentation";
2353 }
2354
2355//////////////////////////////////////////////////////////////////////////
2356// new since 1.8.19
2357//////////////////////////////////////////////////////////////////////////
2358
2359 /** VHDL design unit documentation */
2360 QCString trDesignUnitDocumentation() override
2361 { return "Designenhetsdokumentation"; }
2362
2363//////////////////////////////////////////////////////////////////////////
2364// new since 1.9.2
2365//////////////////////////////////////////////////////////////////////////
2366
2367 /** C++20 concept */
2368 QCString trConcept(bool first_capital, bool /* singular */) override
2369 {
2370 return createNoun(first_capital, false, "koncept", "");
2371 }
2372 /*! used as the title of the HTML page of a C++20 concept page */
2373 QCString trConceptReference(const QCString &conceptName) override
2374 {
2375 QCString result=conceptName;
2376 result+=" Konceptreferens";
2377 return result;
2378 }
2379
2380 /*! used as the title of page containing all the index of all concepts. */
2381 QCString trConceptList() override
2382 { return "Konceptlista"; }
2383
2384 /*! used as the title of chapter containing the index listing all concepts. */
2385 QCString trConceptIndex() override
2386 { return "Konceptindex"; }
2387
2388 /*! used as the title of chapter containing all information about concepts. */
2389 QCString trConceptDocumentation() override
2390 { return "Konceptdokumentation"; }
2391
2392 /*! used as an introduction to the concept list */
2393 QCString trConceptListDescription(bool extractAll) override
2394 {
2395 QCString result="Här är listan över alla ";
2396 if (!extractAll) result+="dokumenterade ";
2397 result+="koncept med en kort beskrivning:";
2398 return result;
2399 }
2400
2401 /*! used to introduce the definition of the C++20 concept */
2402 QCString trConceptDefinition() override
2403 {
2404 return "Konceptdefinition";
2405 }
2406
2407//////////////////////////////////////////////////////////////////////////
2408// new since 1.9.4
2409//////////////////////////////////////////////////////////////////////////
2410
2411 QCString trPackageList() override
2412 { return "Paketlista"; }
2413
2414//////////////////////////////////////////////////////////////////////////
2415// new since 1.9.6
2416//////////////////////////////////////////////////////////////////////////
2417
2418 QCString trFlowchart() override
2419 { return "Flödesdiagram:"; }
2420
2421//////////////////////////////////////////////////////////////////////////
2422// new since 1.9.7
2423//////////////////////////////////////////////////////////////////////////
2424
2425 /*! the compound type as used for the xrefitems */
2426 QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
2427 {
2428 QCString result;
2429 switch(compType)
2430 {
2431 case ClassDef::Class:
2432 if (lang == SrcLangExt::Fortran) trType(true,true);
2433 else result=trClass(true,true);
2434 break;
2435 case ClassDef::Struct: result="Strukt"; break;
2436 case ClassDef::Union: result="Union"; break;
2437 case ClassDef::Interface: result="Gränssnitt"; break;
2438 case ClassDef::Protocol: result="Protokoll"; break;
2439 case ClassDef::Category: result="Kategori"; break;
2440 case ClassDef::Exception: result="Undantag"; break;
2441 case ClassDef::Service: result="Tjänstere"; break;
2442 case ClassDef::Singleton: result="Singleton"; break;
2443 default: break;
2444 }
2445 return result;
2446 }
2447};
2448#endif
CompoundType
The various compound types.
Definition classdef.h:109
@ Singleton
Definition classdef.h:117
@ Interface
Definition classdef.h:112
@ Exception
Definition classdef.h:115
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
QCString createNoun(bool first_capital, bool singular, const QCString &base, const QCString &plurSuffix, const QCString &singSuffix="")
Definition translator.h:782
QCString trExceptionList() override
QCString trFileDocumentation() override
QCString trOperationDocumentation() override
QCString trStaticProtectedMembers() override
QCString trLoading() override
QCString trFileIndex() override
QCString trDefineDocumentation() override
QCString trPackageMembers() override
QCString trCompoundIndex() override
QCString trClassHierarchy() override
QCString trConceptDefinition() override
QCString trConcept(bool first_capital, bool) override
C++20 concept.
QCString trMemberFunctionDocumentation() override
QCString idLanguage() 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 trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) override
QCString trFlowchart() override
QCString trGeneratedBy() override
QCString trDetailLevel() override
QCString trExceptionDocumentation() override
QCString trGroup(bool first_capital, bool singular) override
QCString trFile(bool first_capital, bool singular) override
QCString trPackage(const QCString &name) override
QCString trConceptReference(const QCString &conceptName) override
QCString trRelatedSubscript() override
QCString trPageIndex() override
QCString trGraphicalHierarchy() override
QCString trVersion() override
QCString trNote() override
QCString trFileList() override
QCString trSequenceDocumentation() override
QCString trDesignUnitListDescription() override
VHDL design unit list description Orginal: Here is a list of all design unit members with links to th...
QCString trModules() override
QCString trDocumentation(const QCString &projName) override
QCString trDirDocumentation() override
QCString trEnumerationTypeDocumentation() override
QCString trConstantDocumentation() override
QCString trVhdlType(VhdlSpecifier type, bool single) override
VHDL type.
QCString trModuleReference(const QCString &namespaceName) override
QCString trConceptIndex() override
QCString trPublicAttribs() override
QCString trInstanceMethods() override
QCString trStaticPackageFunctions() override
QCString trCompoundReferenceSlice(const QCString &clName, ClassDef::CompoundType compType, bool isLocal) override
QCString trSubprogramDocumentation() override
QCString trDirDepGraph(const QCString &name) override
QCString trMore() override
QCString trInheritedFrom(const QCString &members, const QCString &what) override
QCString trGotoTextualHierarchy() override
QCString trVariableDocumentation() override
QCString trPrivateSlots() override
QCString trEnumGeneratedFromFiles(bool single) override
QCString trExceptionIndex() override
QCString trNamespaceListDescription(bool extractAll) override
QCString trPanelSynchronisationTooltip(bool enable) override
QCString trAuthor(bool first_capital, bool) override
QCString trRemarks() override
QCString trSearchResultsTitle() override
QCString trModulesDescription() override
QCString trConstantGroupReference(const QCString &namespaceName) override
UNO IDL constant groups.
QCString trFriends() override
QCString trConceptList() override
QCString trLegend() override
QCString trClassDiagram(const QCString &clName) override
QCString trStructIndex() override
QCString trSubprogram(bool first_capital, bool) override
QCString trEnumReference(const QCString &name) override
QCString trInclDepGraph(const QCString &fName) override
QCString trMemberList() override
QCString trDefinedIn() override
QCString trSeeAlso() override
QCString trProperties() override
QCString trMemberEnumerationDocumentation() override
QCString trDesignUnitHierarchy() override
VHDL design unit hierarchy.
QCString trDayOfWeek(int dayOfWeek, bool first_capital, bool full) override
QCString trDate() override
QCString trEvents() override
QCString trNamespaceList() override
QCString trConceptDocumentation() override
QCString trProtectedMembers() override
QCString trSingletonGeneratedFromFiles(bool single) override
UNO IDL singleton page.
QCString trCompounds() override
QCString trStaticPublicMembers() override
QCString trInterfaceDocumentation() override
QCString trDirReference(const QCString &dirName) override
QCString trModulesListDescription(bool extractAll) override
QCString trPackages() override
QCString trPage(bool first_capital, bool singular) override
QCString trPrivateMembers() override
QCString trConceptListDescription(bool extractAll) override
QCString trInclByDepGraph() override
QCString trTemplateParameters() override
QCString trRTFansicp() override
QCString trDetails() override
QCString trCallerGraph() override
QCString trExceptions() override
QCString trCompoundListDescription() override
QCString trVariables() override
QCString trCode() override
QCString trDictionaries() override
QCString trThisIsTheListOfAllMembers() override
QCString trNamespace(bool first_capital, bool singular) override
QCString trStaticPackageAttribs() override
QCString trReturnValues() override
QCString trDir(bool first_capital, bool singular) override
QCString trServiceReference(const QCString &sName) override
UNO IDL service page title.
QCString trDictionaryDocumentation() override
QCString trStructDocumentation() override
QCString trCompoundType(ClassDef::CompoundType compType, SrcLangExt lang) override
QCString trProtectedTypes() override
QCString trLegendDocs() override
QCString trMember(bool first_capital, bool singular) override
QCString trModulesList() override
QCString trFileIn(const QCString &name) override
QCString trProtectedSlots() override
QCString trSearching() override
QCString trSearch() override
QCString trClasses() override
QCString trMainPage() override
QCString trEnumerations() override
QCString trPostcondition() override
QCString trBug() override
QCString trExceptionHierarchyDescription() override
Orginal: This inheritance list is sorted roughly, but not completely, alphabetically:
QCString trIncludesFileIn(const QCString &name) override
QCString trRelatedFunctionDocumentation() override
QCString trRTFCharSet() override
QCString trCompoundListFortran() override
QCString trDefinedAtLineInSourceFile() override
QCString trClassMethods() override
QCString trDesignUnitList() override
VHDL design unit list.
QCString trDesignUnitIndex() override
VHDL design unit index.
QCString trDefines() override
QCString trInterfaceList() override
QCString trTypedefs() override
QCString trDirRelation(const QCString &name) override
QCString trReferenceManual() override
QCString trSingletonReference(const QCString &sName) override
UNO IDL singleton page title.
QCString trInterfaces() override
old style UNO IDL services: implemented interfaces
QCString trInterfaceHierarchy() override
QCString trEventDocumentation() override
QCString trSourceFile(const QCString &filename) override
QCString trNamespaceIndex() override
QCString trReturns() override
QCString trStructs() override
QCString trCustomReference(const QCString &name) override
QCString trModuleDocumentation() override
QCString trSubprograms() override
QCString trCallGraph() override
QCString trDesignUnits() override
VHDL design units.
QCString trStaticPublicAttribs() override
QCString trDefinedInSourceFile() override
QCString trEnumerationValueDocumentation() override
QCString trWriteList(int numEntries) override
QCString trClassDocumentation() override
QCString trModule(bool first_capital, bool singular) override
QCString trDeprecated() override
QCString trModuleIndex() override
QCString trExceptionHierarchy() override
QCString trCompoundMembers() override
QCString trTest() override
QCString trPublicMembers() override
QCString trTypedefDocumentation() override
QCString trType(bool first_capital, bool singular) override
QCString trCompoundMembersDescription(bool extractAll) override
QCString trSearchMatches() override
QCString trExtendsClass() override
QCString trSearchResults(int numDocuments) override
QCString trProtectedAttribs() override
QCString trEnumValue() override
QCString trRTFGeneralIndex() override
QCString trPropertyDocumentation() override
QCString trMemberTypedefDocumentation() override
QCString trDefineValue() override
QCString trSignals() override
QCString trBugList() override
QCString trCollaborationDiagram(const QCString &clName) override
QCString trStructList() override
QCString trFunctions() override
QCString trCompoundReferenceFortran(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trRelatedPages() override
QCString trPackageFunctions() override
QCString trExamplesDescription() override
QCString trSince() override
QCString trCompoundListDescriptionFortran() override
QCString trMonth(int month, bool first_capital, bool full) override
QCString trAttention() override
QCString trPrivateAttribs() override
QCString trDetailedDescription() override
QCString trExceptionListDescription() override
Orginal: Here are the exceptions with brief descriptions:
QCString trReimplementedInList(int numEntries) override
QCString trMemberDataDocumentation() override
QCString trInterfaceHierarchyDescription() override
Orginal: This inheritance list is sorted roughly, but not completely, alphabetically:
QCString trDesignUnitDocumentation() override
VHDL design unit documentation.
QCString trPrecondition() override
QCString trStaticPrivateAttribs() override
QCString trProvidedByCategory() override
QCString trInvariant() override
QCString trFileMembers() override
QCString trPublicSlots() override
QCString trDirIndex() override
QCString trMemberFunctionDocumentationFortran() override
QCString trDataMemberDocumentation() override
QCString trDeprecatedList() override
QCString trTodoList() override
QCString trModulesIndex() override
QCString trCompoundMembersFortran() override
QCString trDataMembers() override
QCString trParameters() override
QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, bool single) override
QCString trOperations() override
QCString trCompoundIndexFortran() override
QCString trGlobalNamespace() override
QCString getLanguageString() override
language codes for Html help
QCString trStructListDescription() override
Orginal: Here are the structs with brief descriptions:
QCString trConstants() override
QCString trPackageListDescription() override
QCString trModulesMemberDescription(bool extractAll) override
QCString trTestList() override
QCString trPackageTypes() override
QCString trSequences() override
QCString trFileListDescription(bool extractAll) override
QCString trEnumerationValues() override
QCString trPackageList() override
QCString trNamespaceMembers() override
QCString trServiceGeneratedFromFiles(bool single) override
UNO IDL service page.
QCString trDataTypes() override
QCString trImplementedInList(int numEntries) override
QCString trFunctionAndProc() override
VHDL functions/procedures/processes.
QCString trTodo() override
QCString trGeneratedAt(const QCString &date, const QCString &projName) override
QCString trPageAbbreviation() override
QCString trRTFTableOfContents() override
QCString trEnumName() override
QCString trClassHierarchyDescription() override
QCString trReferences() override
QCString trHierarchicalIndex() override
QCString trPublicTypes() override
QCString trDayPeriod(bool period) override
QCString trModulesMembers() override
QCString trGotoGraphicalHierarchy() override
QCString trDirectories() override
QCString trTypeConstraints() override
QCString trGotoSourceCode() override
QCString trServices() override
old style UNO IDL services: inherited services
QCString trInheritedByList(int numEntries) override
QCString trGeneratedAutomatically(const QCString &s) override
QCString trISOLang() override
QCString trDesignUnitMembers() override
VHDL design unit members.
QCString trCompoundList() override
QCString trReimplementedFromList(int numEntries) override
QCString trSliceInterfaces() override
QCString trOverloadText() override
QCString trNoMatches() override
QCString trRelatedPagesDescription() override
QCString trExamples() override
QCString trCompoundMembersDescriptionFortran(bool extractAll) override
QCString trFunctionDocumentation() override
QCString trPackageAttribs() override
QCString trImplementedFromList(int numEntries) override
QCString trStaticProtectedAttribs() override
QCString trRelatedFunctions() override
QCString trLegendTitle() override
QCString trCiteReferences() override
QCString trInitialValue() override
QCString trTypeDocumentation() override
QCString latexLanguageSupportCommand() override
QCString trCompoundReference(const QCString &clName, ClassDef::CompoundType compType, bool isTemplate) override
QCString trAll() override
QCString trInterfaceListDescription() override
Orginal: Here are the interfaces with brief descriptions:
QCString trWarning() override
QCString trIncludingInheritedMembers() override
QCString trAdditionalInheritedMembers() override
QCString trFileMembersDescription(bool extractAll) override
QCString trCopyright() override
QCString trReferencedBy() override
QCString trMethodDocumentation() override
QCString trAndMore(const QCString &number) override
QCString trNamespaceMemberDescription(bool extractAll) override
QCString trGlobal(bool first_capital, bool singular) override
QCString trNamespaceReference(const QCString &namespaceName) override
QCString trFileReference(const QCString &fileName) override
QCString trGotoDocumentation() override
QCString trStaticPrivateMembers() override
QCString trNamespaces() override
QCString trNamespaceDocumentation() override
QCString trListOfAllMembers() override
QCString trConstructorDocumentation() override
QCString trInheritsList(int numEntries) override
QCString trClass(bool first_capital, bool singular) override
QCString trConstantGroups() override
UNO IDL constant groups.
QCString trInterfaceIndex() override
QCString trPrivateTypes() override
#define Config_getBool(name)
Definition config.h:33
DateTimeType
Definition datetime.h:38
SrcLangExt
Language as given by extension.
Definition types.h:42
@ Fortran
Definition types.h:53
VhdlSpecifier
Definition types.h:548
@ INSTANTIATION
Definition types.h:569
@ MISCELLANEOUS
Definition types.h:575
@ SHAREDVARIABLE
Definition types.h:572
QCString generateMarker(int id)
Definition util.cpp:290
QCString getDotImageExtension()
Definition util.cpp:6616