diff -r 000000000000 -r 42188c7ea2d9 Orb/Doxygen/src/translator_sv.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Orb/Doxygen/src/translator_sv.h Thu Jan 21 17:29:01 2010 +0000 @@ -0,0 +1,1662 @@ +/****************************************************************************** + * + * + * + * Copyright (C) 1997-2008 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 +================================================================================== +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. +*/ + +#ifndef TRANSLATOR_SE_H +#define TRANSLATOR_SE_H + +class TranslatorSwedish : public TranslatorAdapter_1_6_0 +{ + 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"; + } + + /*! return the language charset. This will be used for the HTML output */ + virtual QCString idLanguageCharset() + { + return "iso-8859-1"; + } + + virtual QCString trRelatedFunctions() + { return "Besläktade funktioner"; } + + virtual QCString trRelatedSubscript() + { return "(Observera att dessa inte är medlemsfunktioner)"; } + + virtual QCString trDetailedDescription() + { return "Detaljerad beskrivning"; } + + virtual QCString trMemberTypedefDocumentation() + { return "Dokumentation av typdefinierade medlemmar"; } + + virtual QCString trMemberEnumerationDocumentation() + { return "Dokumentation av egenuppräknande medlemmar"; } + + virtual QCString trMemberFunctionDocumentation() + { return "Dokumentation av medlemsfunktioner"; } + + virtual QCString trMemberDataDocumentation() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Fält dokumentation"; + } + else + { + return "Dokumentation av datamedlemmar"; + } + } + + virtual QCString trMore() + { return "Mer..."; } + + virtual QCString trListOfAllMembers() + { return "Lista över alla medlemmar."; } + + virtual QCString trMemberList() + { return "Medlemslista"; } + + virtual QCString trThisIsTheListOfAllMembers() + { return "Det här är en fullständig lista över medlemmar för "; } + + virtual QCString trIncludingInheritedMembers() + { return " med alla ärvda medlemmar."; } + + 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; + } + + virtual QCString trEnumName() + { return "enum namn"; } + + virtual QCString trEnumValue() + { return "enum värde"; } + + virtual QCString trDefinedIn() + { return "definierad i"; } + +/* + QCString trVerbatimText(const char *f) + { return (QCString)"Detta är den ordagranna texten från inkluderingsfilen "+f; } +*/ + virtual QCString trModules() + { return "Moduler"; } + + virtual QCString trClassHierarchy() + { return "Klasshierarki"; } + + virtual QCString trCompoundList() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Datastrukturer"; + } + else + { + return "Sammansatt klasslista"; + } + } + + virtual QCString trFileList() + { return "Fillista"; } + + virtual QCString trCompoundMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Data fält"; + } + else + { + return "Sammansatta klassmedlemmar"; + } + } + + virtual QCString trFileMembers() + { + if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) + { + return "Globala symboler"; + } + else + { + return "Filmedlemmar"; + } + } + + virtual QCString trRelatedPages() + { return "Besläktade sidor"; } + + virtual QCString trExamples() + { return "Exempel"; } + + virtual QCString trSearch() + { return "Sök"; } + + virtual QCString trClassHierarchyDescription() + { return "Denna lista över arv är grovt, men inte helt, " + "sorterad i alfabetisk ordning:"; + } + + 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; + } + + 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/unions-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; + } + + 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 som de tillhör:"; + else + result+= "dokumentationen:"; + return result; + } + + virtual QCString trExamplesDescription() + { return "Här följer en lista med alla exempel:"; } + + virtual QCString trRelatedPagesDescription() + { return "Här följer en lista över alla besläktade dokumentationssidor:";} + + virtual QCString trModulesDescription() + { return "Här följer en lista över alla moduler:"; } + + virtual QCString trDocumentation() + { return "Dokumentation"; } + + virtual QCString trModuleIndex() + { return "Modulindex"; } + + 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 "Index över sammensatta typer"; + } + } + + virtual QCString trFileIndex() + { return "Filindex"; } + + virtual QCString trModuleDocumentation() + { return "Dokumentation över moduler"; } + + /*! 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 "Documentation över klasser"; + } + } + + virtual QCString trFileDocumentation() + { return "Dokumentation över filer"; } + + virtual QCString trExampleDocumentation() + { return "Dokumentation över exempel"; } + + virtual QCString trPageDocumentation() + { return "Dokumentation av sidor"; } + + virtual QCString trReferenceManual() + { return "Referensmanual"; } + + virtual QCString trDefines() + { return "Definitioner"; } + virtual QCString trFuncProtos() + { return "Funktionsprototyper"; } + virtual QCString trTypedefs() + { return "Typdefinitioner"; } + virtual QCString trEnumerations() + { return "Egenuppräknande typer"; } + virtual QCString trFunctions() + { return "Funktioner"; } + virtual QCString trVariables() + { return "Variabler"; } + + virtual QCString trEnumerationValues() + { return "Egenuppräknade typers värden"; } + + virtual QCString trDefineDocumentation() + { return "Dokumentation över definitioner"; } + + virtual QCString trFunctionPrototypeDocumentation() + { return "Dokumentation över funktionsprototyper"; } + + virtual QCString trTypedefDocumentation() + { return "Dokumentation över typdefinitioner"; } + + virtual QCString trEnumerationTypeDocumentation() + { return "Dokumentation över egenuppräknande typer"; } + + virtual QCString trFunctionDocumentation() + { return "Dokumentation över funktioner"; } + + 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 "Sammansättning"; + } + } + + 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; + } + + virtual QCString trWrittenBy() + { + return "skriven av"; + } + + virtual QCString trClassDiagram(const char *clName) + { + return (QCString)"Klassdiagram för "+clName; + } + + virtual QCString trForInternalUseOnly() + { return "Endast för internt bruk."; } + + virtual QCString trWarning() + { return "Varning"; } + + virtual QCString trVersion() + { return "Version"; } + + virtual QCString trDate() + { return "Datum"; } + + virtual QCString trReturns() + { return "Returnerar"; } + + virtual QCString trSeeAlso() + { return "Se även"; } + + virtual QCString trParameters() + { return "Parametrar"; } + + virtual QCString trExceptions() + { return "Undantag"; } + + virtual QCString trGeneratedBy() + { return "Skapad av"; } + +// new since 0.49-990307 + + virtual QCString trNamespaceList() + { return "Namnrymdslista"; } + + 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; + } + + virtual QCString trFriends() + { return "Vänner"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990405 +////////////////////////////////////////////////////////////////////////// + + virtual QCString trRelatedFunctionDocumentation() + { return "Vänners och besläktade funktioners dokumentation"; } + +////////////////////////////////////////////////////////////////////////// +// new since 0.49-990425 +////////////////////////////////////////////////////////////////////////// + + 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+=" protocol"; break; // translate me! + case ClassDef::Category: result+=" category"; break; // translate me! + case ClassDef::Exception: result+=" undantag"; break; + } + if (isTemplate) result+="template"; + result+="referens"; + return result; + } + + virtual QCString trFileReference(const char *fileName) + { + QCString result=fileName; + result+=" filreferens"; + return result; + } + + virtual QCString trNamespaceReference(const char *namespaceName) + { + QCString result=namespaceName; + result+=" namnrymdreferens"; + return result; + } + + virtual QCString trPublicMembers() + { return "Publika medlemmar"; } + virtual QCString trPublicSlots() + { return "Publika slots"; } + virtual QCString trSignals() + { return "Signaler"; } + virtual QCString trStaticPublicMembers() + { return "Statiska publika medlemmar"; } + virtual QCString trProtectedMembers() + { return "Skyddade medlemmar"; } + virtual QCString trProtectedSlots() + { return "Skyddade slots"; } + virtual QCString trStaticProtectedMembers() + { return "Statiska skyddade medlemmar"; } + virtual QCString trPrivateMembers() + { return "Privata medlemmar"; } + virtual QCString trPrivateSlots() + { return "Privata slots"; } + virtual QCString trStaticPrivateMembers() + { return "Statiska privata medlemmar"; } + // end of member sections + + 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