/****************************************************************************** * * * * Copyright (C) 1997-2015 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * Documents produced by Doxygen are derivative works derived from the * input used in their production; they are not affected by this license. * */ /* ================================================================================== Svensk översättning av: Samuel Hägglund Xet Erixon Mikael Hallin 2003-07-28 Björn Palmqvist 2014-02-01 Magnus Österlund 2016-09-12 ================================================================================== Uppdateringar. 1999/04/29 * Omskrivningar av en hel del ordval, t.ex. ENG INNAN EFTER compound inhängnad sammansatt structs structs strukter unions unions unioner osv... * Alla översättnings-strängar returnerar i alla fall en något så när vettig förklaring... 1999/05/27 * Det verkade som vi glömt en del mellanslag i vissa strängar vilket resulterade i att en del ord blev ihopskrivna. * Bytt en del ordval igen... ENG INNAN EFTER reference manual Uppslagsbok referensmanual * Skrivit ihop en del ord som innan hade bindestreck * En del nya översättningar är tillagda. * Gamla översättningar borttagna =================================================================================== Problem! Slot: nån hygglig svensk översättning??? Skicka gärna synpunkter. =================================================================================== 1999/09/01 * Det verkar som om "namnrymd" är en hyggligt vedertagen svensk översättning av "namespace", så jag kör med det från och med nu. * "interface" heter numera "gränssnitt" 2003/07/28 * Jag har updaterat översättningen efter ett par års träda.. Problem! Deprecated: nån hygglig svensk översättning??? Skicka gärna synpunkter. 2015/01/09 * Uppdaterat den till senaste versionen 1.8.9.1 2015/09/12 * Fixat lite särksirvningar och inkonsekvenser =================================================================================== Ordlista =================================================================================== ENGELSKA SVENSKA * Attribute Attribut * Category Lategori * Class Klass * Compound Sammansatt * Deprecated Föråldrad * Directory Katalog * Enum Enum * Enumeration Egenuppräknande * Event Händelse * Exception Undantag * Field Fält * Friend Vän * Function Funktion * Inherited Ärvd * Interface Gränssnitt * Macro Makro * Member Medlem * Member Data Medlemsdata * Member function Medlemsfunktion * Module Module * Namespace Namnrymd * Package Paket * Postcondition Postcondition * Precondition Precondition * Private Privat * Propertie Egenskap * Protected Skyddad * Protocol Protokoll * Public Publik * Service Tjänst * Signal Signal * Slot Slot //Ge gärna exempel på bättre översättning * Static Statisk * Struct Struktur * Subprogram Underprogram * Subroutine Subrutin * Template Mall * Typedef Typdefinition * Union Union * Variable Variabel =================================================================================== */ #ifndef TRANSLATOR_SE_H #define TRANSLATOR_SE_H class TranslatorSwedish : public Translator { public: virtual QCString idLanguage() { return "swedish"; } /*! Used to get the LaTeX command(s) for the language support. * This method should return string with commands that switch * LaTeX to the desired language. For example *
"\\usepackage[german]{babel}\n"
     *  
* or *
"\\usepackage{polski}\n"
     *  "\\usepackage[latin2]{inputenc}\n"
     *  "\\usepackage[T1]{fontenc}\n"
     *  
* * The English LaTeX does not use such commands. Because of this * the empty string is returned in this implementation. */ virtual QCString latexLanguageSupportCommand() { return "\\usepackage[swedish]{babel}\n"; } // --- Language translation methods ------------------- /*! used in the compound documentation before a list of related functions. */ virtual QCString trRelatedFunctions() { return "Besläktade funktioner"; } /*! subscript for the related functions. */ virtual QCString trRelatedSubscript() { return "(Observera att dessa inte är medlemsfunktioner)"; } /*! header that is put before the detailed description of files, classes and namespaces. */ virtual QCString trDetailedDescription() { return "Detaljerad beskrivning"; } /*! header that is put before the list of typedefs. */ virtual QCString trMemberTypedefDocumentation() { return "Dokumentation av typdefinierade medlemmar"; } /*! header that is put before the list of enumerations. */ virtual QCString trMemberEnumerationDocumentation() { return "Dokumentation av egenuppräknande medlemmar"; } /*! header that is put before the list of member functions. */ virtual QCString trMemberFunctionDocumentation() { return "Dokumentation av medlemsfunktioner"; } /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Dokumentation av fält"; } else { return "Dokumentation av datamedlemmar"; } } /*! this is the text of a link put after brief descriptions. */ virtual QCString trMore() { return "Mer..."; } /*! put in the class documentation */ virtual QCString trListOfAllMembers() { return "Lista över alla medlemmar"; } /*! used as the title of the "list of all members" page of a class */ virtual QCString trMemberList() { return "Medlemslista"; } /*! this is the first part of a sentence that is followed by a class name */ virtual QCString trThisIsTheListOfAllMembers() { return "Det här är en fullständig lista över medlemmar för "; } /*! this is the remainder of the sentence after the class name */ virtual QCString trIncludingInheritedMembers() { return " med alla ärvda medlemmar."; } /*! this is put at the author sections at the bottom of man pages. * parameter s is name of the project name. */ virtual QCString trGeneratedAutomatically(const char *s) { QCString result="Automatiskt skapad av Doxygen"; if (s) result+=(QCString)" för "+s; result+=" från källkoden."; return result; } /*! put after an enum name in the list of all members */ virtual QCString trEnumName() { return "enum-namn"; } /*! put after an enum value in the list of all members */ virtual QCString trEnumValue() { return "enum-värde"; } /*! put after an undocumented member in the list of all members */ virtual QCString trDefinedIn() { return "definierad i"; } // quick reference sections /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() { return "Moduler"; } /*! This is put above each page as a link to the class hierarchy */ virtual QCString trClassHierarchy() { return "Klasshierarki"; } /*! This is put above each page as a link to the list of annotated classes */ virtual QCString trCompoundList() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Datastrukturer"; } else { return "Klasslista"; } } /*! This is put above each page as a link to the list of documented files */ virtual QCString trFileList() { return "Fillista"; } /*! This is put above each page as a link to all members of compounds. */ virtual QCString trCompoundMembers() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Datafält"; } else { return "Klassmedlemmar"; } } /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Globala symboler"; } else { return "Filmedlemmar"; } } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() { return "Relaterade sidor"; } /*! This is put above each page as a link to all examples. */ virtual QCString trExamples() { return "Exempel"; } /*! This is put above each page as a link to the search engine. */ virtual QCString trSearch() { return "Sök"; } /*! This is an introduction to the class hierarchy. */ virtual QCString trClassHierarchyDescription() { return "Denna lista över arv är grovt, men inte helt, " "sorterad i alfabetisk ordning:"; } /*! This is an introduction to the list with all files. */ virtual QCString trFileListDescription(bool extractAll) { QCString result="Här följer en lista över alla "; if (!extractAll) result+="dokumenterade "; result+="filer, med en kort beskrivning:"; return result; } /*! This is an introduction to the annotated compound list. */ virtual QCString trCompoundListDescription() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Här följer datastrukturerna med korta beskrivningar:"; } else { return "Här följer klasserna, strukterna, unionerna och " "gränssnitten med korta beskrivningar:"; } } /*! This is an introduction to the page with all class members. */ virtual QCString trCompoundMembersDescription(bool extractAll) { QCString result="Här är en lista över alla "; if (!extractAll) { result+="dokumenterade "; } if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="struktur- och unions-fält"; } else { result+="klassmedlemmar"; } result+=" med länkar till "; if (!extractAll) { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="struktur/union-dokumentationen för varje fält:"; } else { result+="klassdokumentationen för varje medlem:"; } } else { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+=" strukturerna/unionerna de tillhör:"; } else { result+="klasserna de tillhör:"; } } return result; } /*! This is an introduction to the page with all file members. */ virtual QCString trFileMembersDescription(bool extractAll) { QCString result="Här följer en lista över alla "; if (!extractAll) result+="dokumenterade "; if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { result+="funktioner, variabler, definitioner, enumerationer " "och typdefinitioner"; } else { result+= "filmedlemmar"; } result+= " med länkar till "; if (extractAll) result+= "filerna de tillhör:"; else result+= "dokumentationen:"; return result; } /*! This is an introduction to the page with the list of all examples */ virtual QCString trExamplesDescription() { return "Här följer en lista med alla exempel:"; } /*! This is an introduction to the page with the list of related pages */ virtual QCString trRelatedPagesDescription() { return "Här följer en lista över alla relaterade dokumentationssidor:";} /*! This is an introduction to the page with the list of class/file groups */ virtual QCString trModulesDescription() { return "Här följer en lista över alla moduler:"; } // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return "Dokumentation"; } /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Modulindex"; } /*! This is used in LaTeX as the title of the chapter with the * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Hierarkiskt index"; } /*! This is used in LaTeX as the title of the chapter with the * annotated compound index. */ virtual QCString trCompoundIndex() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Index över datastrukturer"; } else { return "Klassindex"; } } /*! This is used in LaTeX as the title of the chapter with the * list of all files. */ virtual QCString trFileIndex() { return "Filindex"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all groups. */ virtual QCString trModuleDocumentation() { return "Moduldokumentation"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all classes, structs and unions. */ virtual QCString trClassDocumentation() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Dokumentation över datastrukturer"; } else { return "Klassdokumentation"; } } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all files. */ virtual QCString trFileDocumentation() { return "Fildokumentation"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all examples. */ virtual QCString trExampleDocumentation() { return "Exempeldokumentation"; } /*! This is used in LaTeX as the title of the chapter containing * the documentation of all related pages. */ virtual QCString trPageDocumentation() { return "Sid-dokumentation"; } /*! This is used in LaTeX as the title of the document */ virtual QCString trReferenceManual() { return "Referensmanual"; } /*! This is used in the documentation of a file as a header before the * list of defines */ virtual QCString trDefines() { return "Makron"; } /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Typdefinitioner"; } /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Egenuppräknande typer"; } /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Funktioner"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Variabler"; } /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() { return "Egenuppräknade typers värden"; } /*! This is used in the documentation of a file before the list of * documentation blocks for defines */ virtual QCString trDefineDocumentation() { return "Dokumentation över makrodefinitioner"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Dokumentation över typdefinitioner"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Dokumentation över egenuppräknande typer"; ; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Dokumentation över funktioner"; } /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Dokumentation över variabler"; } /*! This is used in the documentation of a file/namespace/group before * the list of links to documented compounds */ virtual QCString trCompounds() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { return "Datastrukturer"; } else { return "Klasser"; } } /*! This is used in the standard footer of each page and indicates when * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) { QCString result=(QCString)"Skapad "+date; if (projName) result+=(QCString)" för "+projName; result+=(QCString)" av"; return result; } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) { return (QCString)"Klassdiagram för "+clName; } /*! this text is generated when the \\internal command is used. */ virtual QCString trForInternalUseOnly() { return "Endast för internt bruk."; } /*! this text is generated when the \\warning command is used. */ virtual QCString trWarning() { return "Varning"; } /*! this text is generated when the \\version command is used. */ virtual QCString trVersion() { return "Version"; } /*! this text is generated when the \\date command is used. */ virtual QCString trDate() { return "Datum"; } /*! this text is generated when the \\return command is used. */ virtual QCString trReturns() { return "Returnerar"; } /*! this text is generated when the \\sa command is used. */ virtual QCString trSeeAlso() { return "Se även"; } /*! this text is generated when the \\param command is used. */ virtual QCString trParameters() { return "Parametrar"; } /*! this text is generated when the \\exception command is used. */ virtual QCString trExceptions() { return "Undantag"; } /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Skapad av"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Namnrymdslista"; } /*! used as an introduction to the namespace list */ virtual QCString trNamespaceListDescription(bool extractAll) { QCString result="Här är en lista över alla "; if (!extractAll) result+="dokumenterade "; result+="namnrymder med en kort beskrivning:"; return result; } /*! used in the class documentation as a header before the list of all * friends of a class */ virtual QCString trFriends() { return "Vänner"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// virtual QCString trRelatedFunctionDocumentation() { return "Dokumenation av vänners och relaterade funktioner"; } ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// /*! used as the title of the HTML page of a class/struct/union */ virtual QCString trCompoundReference(const char *clName, ClassDef::CompoundType compType, bool isTemplate) { QCString result=(QCString)clName; switch(compType) { case ClassDef::Class: result+=" klass"; break; case ClassDef::Struct: result+=" strukt"; break; case ClassDef::Union: result+=" union"; break; case ClassDef::Interface: result+=" gränssnitt"; break; case ClassDef::Protocol: result+=" protokoll"; break; case ClassDef::Category: result+=" kategori"; break; case ClassDef::Exception: result+=" undantag"; break; default: break; } if (isTemplate) result+="-mall"; result+=" referens"; return result; } /*! used as the title of the HTML page of a file */ virtual QCString trFileReference(const char *fileName) { QCString result=fileName; result+=" filreferens"; return result; } /*! used as the title of the HTML page of a namespace */ virtual QCString trNamespaceReference(const char *namespaceName) { QCString result=namespaceName; result+=" namnrymdreferens"; return result; } virtual QCString trPublicMembers() { return "Publika medlemsfunktioner"; } virtual QCString trPublicSlots() { return "Publika slots"; } virtual QCString trSignals() { return "Signaler"; } virtual QCString trStaticPublicMembers() { return "Statiska publika medlemmsfunktioner"; } virtual QCString trProtectedMembers() { return "Skyddade medlemmsfunktioner"; } virtual QCString trProtectedSlots() { return "Skyddade slots"; } virtual QCString trStaticProtectedMembers() { return "Statiska skyddade medlemmsfunktioner"; } virtual QCString trPrivateMembers() { return "Privata medlemmsfunktioner"; } virtual QCString trPrivateSlots() { return "Privata slots"; } virtual QCString trStaticPrivateMembers() { return "Statiska privata medlemmsfunktioner"; } /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ virtual QCString trWriteList(int numEntries) { // this function is used to produce a comma-separated list of items. // use generateMarker(i) to indicate where item i should be put. QCString result; int i; // the inherits list contain `numEntries' classes for (i=0;i