Commit 279d9cf6 authored by Petr Prikryl's avatar Petr Prikryl

Norwegian translator converted to utf-8.

parent 7017bfcc
...@@ -315,7 +315,7 @@ bool setTranslator(const char *langName) ...@@ -315,7 +315,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_NO #ifdef LANG_NO
else if (L_EQUAL("norwegian")) else if (L_EQUAL("norwegian"))
{ {
theTranslator=new TranslatorDecoder(new TranslatorNorwegian); theTranslator=new TranslatorNorwegian;
} }
#endif #endif
#ifdef LANG_BR #ifdef LANG_BR
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* Copyright (C) 1997-2013 by Dimitri van Heesch. * Copyright (C) 1997-2013 by Dimitri van Heesch.
* *
* Permission to use, copy, modify, and distribute this software and its * Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby * documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software * granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty. * for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details. * See the GNU General Public License for more details.
* *
...@@ -15,27 +15,27 @@ ...@@ -15,27 +15,27 @@
/****************************************************************************** /******************************************************************************
* Norwegian translation by Lars Erik Jordet <lejordet@gmail.com>, parts by Frode Nilsen * Norwegian translation by Lars Erik Jordet <lejordet@gmail.com>, parts by Frode Nilsen
* *
* This is a new translation made from scratch, not based on my older Norwegian translation (for 1.2.2) * This is a new translation made from scratch, not based on my older Norwegian translation (for 1.2.2)
* *
* Translation notes (in Norwegian) * Translation notes (in Norwegian)
* *
* Jeg har stort sett brukt ord som ligger ganske nær de engelske ekvivalentene, * Jeg har stort sett brukt ord som ligger ganske nær de engelske ekvivalentene,
* for eksempel "enumeration" -> "enumerasjon", og i enkelte tilfeller det engelske * for eksempel "enumeration" -> "enumerasjon", og i enkelte tilfeller det engelske
* ordet direkte, der jeg finner det mer naturlig enn å prøve å stable en setning * ordet direkte, der jeg finner det mer naturlig enn å prøve å stable en setning
* på beina på norsk, eller jeg selv foretrekker det engelske ordet (eks: "Header-fil"). * på beina på norsk, eller jeg selv foretrekker det engelske ordet (eks: "Header-fil").
* Om noen ikke skulle like disse valgene, kontakt meg på mailadressen over. * Om noen ikke skulle like disse valgene, kontakt meg på mailadressen over.
* *
* Doxygen har mange strings som består av sammensatte ord ("Member function description", for eksempel), * Doxygen har mange strings som består av sammensatte ord ("Member function description", for eksempel),
* som ikke alltid ser like ryddig ut på norsk. Jeg har brukt bindestrek for å få * som ikke alltid ser like ryddig ut på norsk. Jeg har brukt bindestrek for å få
* det til å se presentabelt ut, men om noen har en bedre idé, send til mailadressen over. * det til å se presentabelt ut, men om noen har en bedre idé, send til mailadressen over.
* *
* 2006-03-06: * 2006-03-06:
* Jeg bruker ikke doxygen selv lenger, så det går nok litt i lengste laget mellom oppdateringer... * Jeg bruker ikke doxygen selv lenger, så det går nok litt i lengste laget mellom oppdateringer...
* *
* Changelog * Changelog
* *
* 2003-12-18: Initial translation * 2003-12-18: Initial translation
* 2004-07-19: Fixup to prepare for 1.3.8 (I had forgotten some functions) * 2004-07-19: Fixup to prepare for 1.3.8 (I had forgotten some functions)
* 2006-03-06: Added a .diff from Frode Nilsen, now compatible with 1.4.6. * 2006-03-06: Added a .diff from Frode Nilsen, now compatible with 1.4.6.
*/ */
...@@ -48,19 +48,19 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -48,19 +48,19 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
public: public:
// --- Language control methods ------------------- // --- Language control methods -------------------
/*! Used for identification of the language. The identification /*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name * should not be translated. It should be replaced by the name
* of the language in English using lower-case characters only * of the language in English using lower-case characters only
* (e.g. "czech", "japanese", "russian", etc.). It should be equal to * (e.g. "czech", "japanese", "russian", etc.). It should be equal to
* the identification used in language.cpp. * the identification used in language.cpp.
*/ */
virtual QCString idLanguage() virtual QCString idLanguage()
{ return "norwegian"; } { return "norwegian"; }
/*! Used to get the LaTeX command(s) for the language support. /*! Used to get the LaTeX command(s) for the language support.
* This method should return string with commands that switch * This method should return string with commands that switch
* LaTeX to the desired language. For example * LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n" * <pre>"\\usepackage[german]{babel}\n"
* </pre> * </pre>
* or * or
...@@ -79,7 +79,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -79,7 +79,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "iso-8859-1"; return "utf-8";
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
...@@ -99,7 +99,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -99,7 +99,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! header that is put before the list of typedefs. */ /*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation() virtual QCString trMemberTypedefDocumentation()
{ return "Medlemstypedef-dokumentasjon"; } { return "Medlemstypedef-dokumentasjon"; }
/*! header that is put before the list of enumerations. */ /*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation() virtual QCString trMemberEnumerationDocumentation()
{ return "Medlemsenumerasjon-dokumentasjon"; } { return "Medlemsenumerasjon-dokumentasjon"; }
...@@ -107,22 +107,22 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -107,22 +107,22 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! header that is put before the list of member functions. */ /*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation() virtual QCString trMemberFunctionDocumentation()
{ return "Medlemsfunksjon-dokumentasjon"; } { return "Medlemsfunksjon-dokumentasjon"; }
/*! header that is put before the list of member attributes. */ /*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation() virtual QCString trMemberDataDocumentation()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Feltdokumentasjon"; return "Feltdokumentasjon";
} }
else else
{ {
return "Medlemsdata-dokumentasjon"; return "Medlemsdata-dokumentasjon";
} }
} }
/*! this is the text of a link put after brief descriptions. */ /*! this is the text of a link put after brief descriptions. */
virtual QCString trMore() virtual QCString trMore()
{ return "Mer..."; } { return "Mer..."; }
/*! put in the class documentation */ /*! put in the class documentation */
...@@ -140,14 +140,14 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -140,14 +140,14 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! this is the remainder of the sentence after the class name */ /*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers() virtual QCString trIncludingInheritedMembers()
{ return ", alle arvede medlemmer inkludert."; } { return ", alle arvede medlemmer inkludert."; }
/*! this is put at the author sections at the bottom of man pages. /*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name. * parameter s is name of the project name.
*/ */
virtual QCString trGeneratedAutomatically(const char *s) virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result="Generert automatisk av Doxygen"; { QCString result="Generert automatisk av Doxygen";
if (s) result+=(QCString)" for "+s; if (s) result+=(QCString)" for "+s;
result+=" fra kildekoden."; result+=" fra kildekoden.";
return result; return result;
} }
...@@ -158,36 +158,36 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -158,36 +158,36 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! put after an enum value in the list of all members */ /*! put after an enum value in the list of all members */
virtual QCString trEnumValue() virtual QCString trEnumValue()
{ return "enum-verdi"; } { return "enum-verdi"; }
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return "definert i"; } { return "definert i"; }
// quick reference sections // quick reference sections
/*! This is put above each page as a link to the list of all groups of /*! This is put above each page as a link to the list of all groups of
* compounds or files (see the \\group command). * compounds or files (see the \\group command).
*/ */
virtual QCString trModules() virtual QCString trModules()
{ return "Moduler"; } { return "Moduler"; }
/*! This is put above each page as a link to the class hierarchy */ /*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy() virtual QCString trClassHierarchy()
{ return "Klassehierarki"; } { return "Klassehierarki"; }
/*! This is put above each page as a link to the list of annotated classes */ /*! This is put above each page as a link to the list of annotated classes */
virtual QCString trCompoundList() virtual QCString trCompoundList()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Datastrukturer"; return "Datastrukturer";
} }
else else
{ {
return "Klasseliste"; return "Klasseliste";
} }
} }
/*! This is put above each page as a link to the list of documented files */ /*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList() virtual QCString trFileList()
{ return "Fil-liste"; } { return "Fil-liste"; }
...@@ -198,27 +198,27 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -198,27 +198,27 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This is put above each page as a link to all members of compounds. */ /*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers() virtual QCString trCompoundMembers()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Datafelt"; return "Datafelt";
} }
else else
{ {
return "Klassemedlemmer"; return "Klassemedlemmer";
} }
} }
/*! This is put above each page as a link to all members of files. */ /*! This is put above each page as a link to all members of files. */
virtual QCString trFileMembers() virtual QCString trFileMembers()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Globale"; return "Globale";
} }
else else
{ {
return "Filmedlemmer"; return "Filmedlemmer";
} }
} }
...@@ -232,12 +232,12 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -232,12 +232,12 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This is put above each page as a link to the search engine. */ /*! This is put above each page as a link to the search engine. */
virtual QCString trSearch() virtual QCString trSearch()
{ return "Søk"; } { return "Søk"; }
/*! This is an introduction to the class hierarchy. */ /*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription() virtual QCString trClassHierarchyDescription()
{ return "Denne arvelisten er grovsortert alfabetisk " { return "Denne arvelisten er grovsortert alfabetisk "
"(ikke nødvendigvis korrekt):"; "(ikke nødvendigvis korrekt):";
} }
/*! This is an introduction to the list with all files. */ /*! This is an introduction to the list with all files. */
...@@ -251,8 +251,8 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -251,8 +251,8 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This is an introduction to the annotated compound list. */ /*! This is an introduction to the annotated compound list. */
virtual QCString trCompoundListDescription() virtual QCString trCompoundListDescription()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Her er datastrukturene med korte beskrivelser:"; return "Her er datastrukturene med korte beskrivelser:";
...@@ -281,7 +281,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -281,7 +281,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
result+="klassemedlemmer"; result+="klassemedlemmer";
} }
result+=" med koblinger til "; result+=" med koblinger til ";
if (!extractAll) if (!extractAll)
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
...@@ -292,15 +292,15 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -292,15 +292,15 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
result+="klassedokumentasjonen for hvert medlem:"; result+="klassedokumentasjonen for hvert medlem:";
} }
} }
else else
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="struct'ene/unionene de hører til:"; result+="struct'ene/unionene de hører til:";
} }
else else
{ {
result+="klassene de hører til:"; result+="klassene de hører til:";
} }
} }
return result; return result;
...@@ -310,7 +310,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -310,7 +310,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ {
QCString result="Her er en liste over alle "; QCString result="Her er en liste over alle ";
if (!extractAll) result+="dokumenterte "; if (!extractAll) result+="dokumenterte ";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="funksjoner, variabler, definisjoner, enum'er, og typedef'er"; result+="funksjoner, variabler, definisjoner, enum'er, og typedef'er";
...@@ -320,16 +320,16 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -320,16 +320,16 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
result+="filmedlemmer"; result+="filmedlemmer";
} }
result+=" med koblinger til "; result+=" med koblinger til ";
if (extractAll) if (extractAll)
result+="filene de hører til:"; result+="filene de hører til:";
else else
result+="dokumentasjonen:"; result+="dokumentasjonen:";
return result; return result;
} }
/*! This is an introduction to the page with the list of all header files. */ /*! This is an introduction to the page with the list of all header files. */
virtual QCString trHeaderFilesDescription() virtual QCString trHeaderFilesDescription()
{ return "Her er alle header-filene som utgjør API'et:"; } { return "Her er alle header-filene som utgjør API'et:"; }
/*! This is an introduction to the page with the list of all examples */ /*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription() virtual QCString trExamplesDescription()
...@@ -344,37 +344,37 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -344,37 +344,37 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ return "Her er en liste over alle moduler:"; } { return "Her er en liste over alle moduler:"; }
/*! This sentences is used in the annotated class/file lists if no brief /*! This sentences is used in the annotated class/file lists if no brief
* description is given. * description is given.
*/ */
virtual QCString trNoDescriptionAvailable() virtual QCString trNoDescriptionAvailable()
{ return "Ingen beskrivelse tilgjengelig"; } { return "Ingen beskrivelse tilgjengelig"; }
// index titles (the project name is prepended for these) // index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */ /*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation() virtual QCString trDocumentation()
{ return "Dokumentasjon"; } { return "Dokumentasjon"; }
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
* index of all groups. * index of all groups.
*/ */
virtual QCString trModuleIndex() virtual QCString trModuleIndex()
{ return "Modulindeks"; } { return "Modulindeks"; }
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
* class hierarchy. * class hierarchy.
*/ */
virtual QCString trHierarchicalIndex() virtual QCString trHierarchicalIndex()
{ return "Hierarkisk indeks"; } { return "Hierarkisk indeks"; }
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
* annotated compound index. * annotated compound index.
*/ */
virtual QCString trCompoundIndex() virtual QCString trCompoundIndex()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Datastrukturindeks"; return "Datastrukturindeks";
} }
else else
...@@ -386,7 +386,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -386,7 +386,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
* list of all files. * list of all files.
*/ */
virtual QCString trFileIndex() virtual QCString trFileIndex()
{ return "Filindeks"; } { return "Filindeks"; }
/*! This is used in LaTeX as the title of the chapter containing /*! This is used in LaTeX as the title of the chapter containing
...@@ -399,14 +399,14 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -399,14 +399,14 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
* the documentation of all classes, structs and unions. * the documentation of all classes, structs and unions.
*/ */
virtual QCString trClassDocumentation() virtual QCString trClassDocumentation()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Datastrukturdokumentasjon"; return "Datastrukturdokumentasjon";
} }
else else
{ {
return "Klassedokumentasjon"; return "Klassedokumentasjon";
} }
} }
...@@ -431,111 +431,111 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -431,111 +431,111 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This is used in LaTeX as the title of the document */ /*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual() virtual QCString trReferenceManual()
{ return "Referansemanual"; } { return "Referansemanual"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of defines * list of defines
*/ */
virtual QCString trDefines() virtual QCString trDefines()
{ return "Definisjoner"; } { return "Definisjoner"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of function prototypes * list of function prototypes
*/ */
virtual QCString trFuncProtos() virtual QCString trFuncProtos()
{ return "Funksjonprototyper"; } { return "Funksjonprototyper"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of typedefs * list of typedefs
*/ */
virtual QCString trTypedefs() virtual QCString trTypedefs()
{ return "Typedef'er"; } { return "Typedef'er"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of enumerations * list of enumerations
*/ */
virtual QCString trEnumerations() virtual QCString trEnumerations()
{ return "Enumerasjoner"; } { return "Enumerasjoner"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of (global) functions * list of (global) functions
*/ */
virtual QCString trFunctions() virtual QCString trFunctions()
{ return "Funksjoner"; } { return "Funksjoner"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of (global) variables * list of (global) variables
*/ */
virtual QCString trVariables() virtual QCString trVariables()
{ return "Variabler"; } { return "Variabler"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of (global) variables * list of (global) variables
*/ */
virtual QCString trEnumerationValues() virtual QCString trEnumerationValues()
{ return "Enumerasjonsverdier"; } { return "Enumerasjonsverdier"; }
/*! This is used in the documentation of a file before the list of /*! This is used in the documentation of a file before the list of
* documentation blocks for defines * documentation blocks for defines
*/ */
virtual QCString trDefineDocumentation() virtual QCString trDefineDocumentation()
{ return "Define-dokumentasjon"; } { return "Define-dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes * of documentation blocks for function prototypes
*/ */
virtual QCString trFunctionPrototypeDocumentation() virtual QCString trFunctionPrototypeDocumentation()
{ return "Funksjonsprototypedokumentasjon"; } { return "Funksjonsprototypedokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs * of documentation blocks for typedefs
*/ */
virtual QCString trTypedefDocumentation() virtual QCString trTypedefDocumentation()
{ return "Typedef-dokumentasjon"; } { return "Typedef-dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types * of documentation blocks for enumeration types
*/ */
virtual QCString trEnumerationTypeDocumentation() virtual QCString trEnumerationTypeDocumentation()
{ return "Enumerasjontype dokumentasjon"; } { return "Enumerasjontype dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values * of documentation blocks for enumeration values
*/ */
virtual QCString trEnumerationValueDocumentation() virtual QCString trEnumerationValueDocumentation()
{ return "Enumerasjonsverdi dokumentasjon"; } { return "Enumerasjonsverdi dokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions * of documentation blocks for functions
*/ */
virtual QCString trFunctionDocumentation() virtual QCString trFunctionDocumentation()
{ return "Funksjonsdokumentasjon"; } { return "Funksjonsdokumentasjon"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables * of documentation blocks for variables
*/ */
virtual QCString trVariableDocumentation() virtual QCString trVariableDocumentation()
{ return "Variabeldokumentasjon"; } { return "Variabeldokumentasjon"; }
/*! This is used in the documentation of a file/namespace/group before /*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds * the list of links to documented compounds
*/ */
virtual QCString trCompounds() virtual QCString trCompounds()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Datastrukturer"; return "Datastrukturer";
} }
else else
{ {
return "Klasser"; return "Klasser";
} }
} }
/*! This is used in the standard footer of each page and indicates when /*! This is used in the standard footer of each page and indicates when
* the page was generated * the page was generated
*/ */
virtual QCString trGeneratedAt(const char *date,const char *projName) virtual QCString trGeneratedAt(const char *date,const char *projName)
{ {
QCString result=(QCString)"Generert "+date; QCString result=(QCString)"Generert "+date;
if (projName) result+=(QCString)" for "+projName; if (projName) result+=(QCString)" for "+projName;
result+=(QCString)" av"; result+=(QCString)" av";
...@@ -553,14 +553,14 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -553,14 +553,14 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ {
return (QCString)"Arvediagram for "+clName+":"; return (QCString)"Arvediagram for "+clName+":";
} }
/*! this text is generated when the \\internal command is used. */ /*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly() virtual QCString trForInternalUseOnly()
{ return "Kun for intern bruk."; } { return "Kun for intern bruk."; }
/*! this text is generated when the \\reimp command is used. */ /*! this text is generated when the \\reimp command is used. */
virtual QCString trReimplementedForInternalReasons() virtual QCString trReimplementedForInternalReasons()
{ return "Reimplementert av interne grunner; API er ikke påvirket."; } { return "Reimplementert av interne grunner; API er ikke påvirket."; }
/*! this text is generated when the \\warning command is used. */ /*! this text is generated when the \\warning command is used. */
virtual QCString trWarning() virtual QCString trWarning()
...@@ -584,7 +584,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -584,7 +584,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! this text is generated when the \\sa command is used. */ /*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso() virtual QCString trSeeAlso()
{ return "Se også"; } { return "Se også"; }
/*! this text is generated when the \\param command is used. */ /*! this text is generated when the \\param command is used. */
virtual QCString trParameters() virtual QCString trParameters()
...@@ -593,7 +593,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -593,7 +593,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! this text is generated when the \\exception command is used. */ /*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions() virtual QCString trExceptions()
{ return "Unntak"; } { return "Unntak"; }
/*! this text is used in the title page of a LaTeX document. */ /*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy() virtual QCString trGeneratedBy()
{ return "Generert av"; } { return "Generert av"; }
...@@ -601,7 +601,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -601,7 +601,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 // new since 0.49-990307
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */ /*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList() virtual QCString trNamespaceList()
{ return "Navneromsliste"; } { return "Navneromsliste"; }
...@@ -620,17 +620,17 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -620,17 +620,17 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
*/ */
virtual QCString trFriends() virtual QCString trFriends()
{ return "Venner"; } { return "Venner"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990405 // new since 0.49-990405
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all /*! used in the class documentation as a header before the list of all
* related classes * related classes
*/ */
virtual QCString trRelatedFunctionDocumentation() virtual QCString trRelatedFunctionDocumentation()
{ return "Venner og relatert funksjonsdokumentasjon"; } { return "Venner og relatert funksjonsdokumentasjon"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990425 // new since 0.49-990425
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -672,7 +672,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -672,7 +672,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
result+=" navneromsreferanse"; result+=" navneromsreferanse";
return result; return result;
} }
virtual QCString trPublicMembers() virtual QCString trPublicMembers()
{ return "Public medlemsfunksjoner"; } { return "Public medlemsfunksjoner"; }
virtual QCString trPublicSlots() virtual QCString trPublicSlots()
...@@ -693,7 +693,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -693,7 +693,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ return "Private slots"; } { return "Private slots"; }
virtual QCString trStaticPrivateMembers() virtual QCString trStaticPrivateMembers()
{ return "Statiske private medlemsfunksjoner"; } { return "Statiske private medlemsfunksjoner"; }
/*! this function is used to produce a comma-separated list of items. /*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put. * use generateMarker(i) to indicate where item i should be put.
*/ */
...@@ -702,23 +702,23 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -702,23 +702,23 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
QCString result; QCString result;
int i; int i;
// the inherits list contain `numEntries' classes // the inherits list contain `numEntries' classes
for (i=0;i<numEntries;i++) for (i=0;i<numEntries;i++)
{ {
// use generateMarker to generate placeholders for the class links! // use generateMarker to generate placeholders for the class links!
result+=generateMarker(i); // generate marker for entry i in the list result+=generateMarker(i); // generate marker for entry i in the list
// (order is left to right) // (order is left to right)
if (i!=numEntries-1) // not the last entry, so we need a separator if (i!=numEntries-1) // not the last entry, so we need a separator
{ {
if (i<numEntries-2) // not the fore last entry if (i<numEntries-2) // not the fore last entry
result+=", "; result+=", ";
else // the fore last entry else // the fore last entry
result+=", og "; result+=", og ";
} }
} }
return result; return result;
} }
/*! used in class documentation to produce a list of base classes, /*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled. * if class diagrams are disabled.
*/ */
...@@ -735,7 +735,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -735,7 +735,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
return "Arvet av "+trWriteList(numEntries)+"."; return "Arvet av "+trWriteList(numEntries)+".";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
* members that are hidden by this one. * members that are hidden by this one.
*/ */
virtual QCString trReimplementedFromList(int numEntries) virtual QCString trReimplementedFromList(int numEntries)
...@@ -757,17 +757,17 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -757,17 +757,17 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This is an introduction to the page with all namespace members */ /*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll) virtual QCString trNamespaceMemberDescription(bool extractAll)
{ {
QCString result="Her er en liste over alle "; QCString result="Her er en liste over alle ";
if (!extractAll) result+="dokumenterte "; if (!extractAll) result+="dokumenterte ";
result+="navneromsmedlemmer med koblinger til "; result+="navneromsmedlemmer med koblinger til ";
if (extractAll) if (extractAll)
result+="navneromsdokumentasjonen for hvert medlem:"; result+="navneromsdokumentasjonen for hvert medlem:";
else else
result+="navnerommet de hører til:"; result+="navnerommet de hører til:";
return result; return result;
} }
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces. * index of all namespaces.
*/ */
virtual QCString trNamespaceIndex() virtual QCString trNamespaceIndex()
...@@ -812,7 +812,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -812,7 +812,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
case ClassDef::Category: result+="denne category"; break; case ClassDef::Category: result+="denne category"; break;
default: break; default: break;
} }
result+=" ble generert fra følgende fil"; result+=" ble generert fra følgende fil";
if (single) result+=":"; else result+="er:"; if (single) result+=":"; else result+="er:";
return result; return result;
} }
...@@ -836,7 +836,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -836,7 +836,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
virtual QCString trMainPage() virtual QCString trMainPage()
{ return "Hovedside"; } { return "Hovedside"; }
/*! This is used in references to page that are put in the LaTeX /*! This is used in references to page that are put in the LaTeX
* documentation. It should be an abbreviation of the word page. * documentation. It should be an abbreviation of the word page.
*/ */
virtual QCString trPageAbbreviation() virtual QCString trPageAbbreviation()
...@@ -852,7 +852,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -852,7 +852,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
} }
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ {
return "Definisjon på linje @0 i filen @1."; return "Definisjon på linje @0 i filen @1.";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ {
...@@ -886,22 +886,22 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -886,22 +886,22 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation() virtual QCString trConstructorDocumentation()
{ {
return "Konstruktør- & destruktør-dokumentasjon"; return "Konstruktør- & destruktør-dokumentasjon";
} }
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
{ {
return "Gå til kildekoden til denne filen."; return "Gå til kildekoden til denne filen.";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return "Gå til dokumentasjonen til denne filen."; return "Gå til dokumentasjonen til denne filen.";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
{ {
return "Forhåndsbetingelse"; return "Forhåndsbetingelse";
} }
/*! Text for the \\post command */ /*! Text for the \\post command */
virtual QCString trPostcondition() virtual QCString trPostcondition()
...@@ -929,11 +929,11 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -929,11 +929,11 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
} }
virtual QCString trGotoGraphicalHierarchy() virtual QCString trGotoGraphicalHierarchy()
{ {
return "Gå til det grafiske klasse hierarkiet"; return "Gå til det grafiske klasse hierarkiet";
} }
virtual QCString trGotoTextualHierarchy() virtual QCString trGotoTextualHierarchy()
{ {
return "Gå til tekst-klassehierarki"; return "Gå til tekst-klassehierarki";
} }
virtual QCString trPageIndex() virtual QCString trPageIndex()
{ {
...@@ -943,7 +943,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -943,7 +943,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.1.0 // new since 1.1.0
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual QCString trNote() virtual QCString trNote()
{ {
return "Notat"; return "Notat";
...@@ -1032,7 +1032,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1032,7 +1032,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ {
return "Siden"; return "Siden";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.1.5 // new since 1.1.5
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1045,17 +1045,17 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1045,17 +1045,17 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! page explaining how the dot graph's should be interpreted */ /*! page explaining how the dot graph's should be interpreted */
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return return
"Denne siden forklarer hvordan man tolker grafene doxygen genererer.<p>\n" "Denne siden forklarer hvordan man tolker grafene doxygen genererer.<p>\n"
"Vi baserer oss på følgende eksempel:\n" "Vi baserer oss på følgende eksempel:\n"
"\\code\n" "\\code\n"
"/*! Usynlig klasse pga. trunkasjon */\n" "/*! Usynlig klasse pga. trunkasjon */\n"
"class Invisible { };\n\n" "class Invisible { };\n\n"
"/*! Trunkert klasse, arve-relasjon er skjult */\n" "/*! Trunkert klasse, arve-relasjon er skjult */\n"
"class Truncated : public Invisible { };\n\n" "class Truncated : public Invisible { };\n\n"
"/* Klasse som ikke er dokumentert med doxygen-kommentarer */" "/* Klasse som ikke er dokumentert med doxygen-kommentarer */"
"class Undocumented { };\n\n" "class Undocumented { };\n\n"
"/*! Klasse med public-arv */\n" "/*! Klasse med public-arv */\n"
"class PublicBase : public Truncated { };\n\n" "class PublicBase : public Truncated { };\n\n"
"/*! A template class */\n" "/*! A template class */\n"
"template<class T> class Templ { };\n\n" "template<class T> class Templ { };\n\n"
...@@ -1063,7 +1063,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1063,7 +1063,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
"class ProtectedBase { };\n\n" "class ProtectedBase { };\n\n"
"/*! Klasse med private-arv */\n" "/*! Klasse med private-arv */\n"
"class PrivateBase { };\n\n" "class PrivateBase { };\n\n"
"/*! Klasse som blir brukt av klassen Inherited */\n" "/*! Klasse som blir brukt av klassen Inherited */\n"
"class Used { };\n\n" "class Used { };\n\n"
"/*! Super-klasse som arver flere andre klasser */\n" "/*! Super-klasse som arver flere andre klasser */\n"
"class Inherited : public PublicBase,\n" "class Inherited : public PublicBase,\n"
...@@ -1075,26 +1075,26 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1075,26 +1075,26 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
" private:\n" " private:\n"
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"Hvis \\c MAX_DOT_GRAPH_HEIGHT er satt til 200 i " "Hvis \\c MAX_DOT_GRAPH_HEIGHT er satt til 200 i "
"konfigurasjonsfila vil dette resultere i følgende graf:" "konfigurasjonsfila vil dette resultere i følgende graf:"
"<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"Boksene i grafen over betyr følgende:\n" "Boksene i grafen over betyr følgende:\n"
"<ul>\n" "<ul>\n"
"<li>En fylt svart boks representerer klassen grafen " "<li>En fylt svart boks representerer klassen grafen "
"er generert for.\n" "er generert for.\n"
"<li>En boks med svart ramme angir en dokumentert struct eller klasse.\n" "<li>En boks med svart ramme angir en dokumentert struct eller klasse.\n"
"<li>En boks med grå ramme angir en udokumentert struct eller klasse.\n" "<li>En boks med grå ramme angir en udokumentert struct eller klasse.\n"
"<li>En boks med rød ramme angir en dokumentert struct eller klasse " "<li>En boks med rød ramme angir en dokumentert struct eller klasse "
"der ikke alle relasjoner er vist. En graf blir trunkert om den ikke " "der ikke alle relasjoner er vist. En graf blir trunkert om den ikke "
"passer innenfor de spesifiserte rammene.\n" "passer innenfor de spesifiserte rammene.\n"
"</ul>\n" "</ul>\n"
"Pilene i grafen har følgende betydning:\n" "Pilene i grafen har følgende betydning:\n"
"</ul>\n" "</ul>\n"
"<li>En mørk blå pil brukes til å visualisere public-arv mellom to klasser.\n" "<li>En mørk blå pil brukes til å visualisere public-arv mellom to klasser.\n"
"<li>En mørk grønn pil brukes for protected-arv.\n" "<li>En mørk grønn pil brukes for protected-arv.\n"
"<li>En mørk rød pil angir private-arv.\n" "<li>En mørk rød pil angir private-arv.\n"
"<li>En stiplet lilla pil angir at en klasse er inkludert eller brukt " "<li>En stiplet lilla pil angir at en klasse er inkludert eller brukt "
"i en annen klasse. Pilen er merket med variablen(e) klassen " "i en annen klasse. Pilen er merket med variablen(e) klassen "
"er tilgjengelig gjennom.\n" "er tilgjengelig gjennom.\n"
...@@ -1105,11 +1105,11 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1105,11 +1105,11 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ {
return "symbolforklaring"; return "symbolforklaring";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.2.0 // new since 1.2.0
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */ /*! Used as a marker that is put before a test item */
virtual QCString trTest() virtual QCString trTest()
{ {
...@@ -1197,11 +1197,11 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1197,11 +1197,11 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ {
return "Verdi:"; return "Verdi:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.2.5 // new since 1.2.5
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */ /*! Used as a marker that is put before a \\bug item */
virtual QCString trBug() virtual QCString trBug()
{ {
...@@ -1217,9 +1217,9 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1217,9 +1217,9 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
// new since 1.2.6 // new since 1.2.6
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file /*! Used as ansicpg for RTF file
* *
* The following table shows the correlation of Charset name, Charset Value and * The following table shows the correlation of Charset name, Charset Value and
* <pre> * <pre>
* Codepage number: * Codepage number:
* Charset Name Charset Value(hex) Codepage number * Charset Name Charset Value(hex) Codepage number
...@@ -1240,15 +1240,15 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1240,15 +1240,15 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
* GB2313_CHARSET 134 (x86) 936 * GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950 * CHINESEBIG5_CHARSET 136 (x88) 950
* </pre> * </pre>
* *
*/ */
virtual QCString trRTFansicp() virtual QCString trRTFansicp()
{ {
return "1252"; return "1252";
} }
/*! Used as ansicpg for RTF fcharset
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values. * \see trRTFansicp() for a table of possible values.
*/ */
virtual QCString trRTFCharSet() virtual QCString trRTFCharSet()
...@@ -1261,93 +1261,93 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1261,93 +1261,93 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
{ {
return "Indeks"; return "Indeks";
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trClass(bool first_capital, bool singular) virtual QCString trClass(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Klasse" : "klasse")); QCString result((first_capital ? "Klasse" : "klasse"));
if (!singular) result+="r"; if (!singular) result+="r";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trFile(bool first_capital, bool singular) virtual QCString trFile(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Fil" : "fil")); QCString result((first_capital ? "Fil" : "fil"));
if (!singular) result+="er"; if (!singular) result+="er";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trNamespace(bool first_capital, bool singular) virtual QCString trNamespace(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Navnerom" : "navnerom")); QCString result((first_capital ? "Navnerom" : "navnerom"));
if (!singular) result+=""; if (!singular) result+="";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trGroup(bool first_capital, bool singular) virtual QCString trGroup(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Gruppe" : "gruppe")); QCString result((first_capital ? "Gruppe" : "gruppe"));
if (!singular) result+="r"; if (!singular) result+="r";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trPage(bool first_capital, bool singular) virtual QCString trPage(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Side" : "side")); QCString result((first_capital ? "Side" : "side"));
if (!singular) result+="r"; if (!singular) result+="r";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trMember(bool first_capital, bool singular) virtual QCString trMember(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Medlem" : "medlem")); QCString result((first_capital ? "Medlem" : "medlem"));
if (!singular) result+="mer"; if (!singular) result+="mer";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trField(bool first_capital, bool singular) virtual QCString trField(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Felt" : "felt")); QCString result((first_capital ? "Felt" : "felt"));
if (!singular) result+=""; if (!singular) result+="";
return result; return result;
} }
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
*/ */
virtual QCString trGlobal(bool first_capital, bool singular) virtual QCString trGlobal(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Global" : "global")); QCString result((first_capital ? "Global" : "global"));
if (!singular) result+="e"; if (!singular) result+="e";
return result; return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1357,10 +1357,10 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1357,10 +1357,10 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! This text is generated when the \\author command is used and /*! This text is generated when the \\author command is used and
* for the author section in man pages. */ * for the author section in man pages. */
virtual QCString trAuthor(bool first_capital, bool singular) virtual QCString trAuthor(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Forfatter" : "forfatter")); QCString result((first_capital ? "Forfatter" : "forfatter"));
if (!singular) result+="e"; if (!singular) result+="e";
return result; return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1378,7 +1378,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1378,7 +1378,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
// new since 1.2.13 // new since 1.2.13
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
* members that are implemented by this one. * members that are implemented by this one.
*/ */
virtual QCString trImplementedFromList(int numEntries) virtual QCString trImplementedFromList(int numEntries)
...@@ -1410,8 +1410,8 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1410,8 +1410,8 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
// new since 1.2.17 // new since 1.2.17
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been /*! Used as the header of the list of item that have been
* flagged deprecated * flagged deprecated
*/ */
virtual QCString trDeprecatedList() virtual QCString trDeprecatedList()
{ {
...@@ -1422,7 +1422,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1422,7 +1422,7 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
// new since 1.2.18 // new since 1.2.18
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used as a header for declaration section of the events found in /*! Used as a header for declaration section of the events found in
* a C# program * a C# program
*/ */
virtual QCString trEvents() virtual QCString trEvents()
...@@ -1442,43 +1442,43 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1442,43 +1442,43 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
/*! Used as a heading for a list of Java class types with package scope. /*! Used as a heading for a list of Java class types with package scope.
*/ */
virtual QCString trPackageTypes() virtual QCString trPackageTypes()
{ {
return "Pakketyper"; return "Pakketyper";
} }
/*! Used as a heading for a list of Java class functions with package /*! Used as a heading for a list of Java class functions with package
* scope. * scope.
*/ */
virtual QCString trPackageMembers() virtual QCString trPackageMembers()
{ {
return "Pakkefunksjoner"; return "Pakkefunksjoner";
} }
/*! Used as a heading for a list of static Java class functions with /*! Used as a heading for a list of static Java class functions with
* package scope. * package scope.
*/ */
virtual QCString trStaticPackageMembers() virtual QCString trStaticPackageMembers()
{ {
return "Statiske Pakkefunksjoner"; return "Statiske Pakkefunksjoner";
} }
/*! Used as a heading for a list of Java class variables with package /*! Used as a heading for a list of Java class variables with package
* scope. * scope.
*/ */
virtual QCString trPackageAttribs() virtual QCString trPackageAttribs()
{ {
return "Pakkeattributter"; return "Pakkeattributter";
} }
/*! Used as a heading for a list of static Java class variables with /*! Used as a heading for a list of static Java class variables with
* package scope. * package scope.
*/ */
virtual QCString trStaticPackageAttribs() virtual QCString trStaticPackageAttribs()
{ {
return "Statiske Pakkeattributter"; return "Statiske Pakkeattributter";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.3.1 // new since 1.3.1
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used in the quick index of a class/file/namespace member list page /*! Used in the quick index of a class/file/namespace member list page
* to link to the unfiltered list of all members. * to link to the unfiltered list of all members.
*/ */
virtual QCString trAll() virtual QCString trAll()
...@@ -1495,26 +1495,26 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1495,26 +1495,26 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
// new since 1.3.3 // new since 1.3.3
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header /*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search * of each page before the field where one can enter the text to search
* for. * for.
*/ */
virtual QCString trSearchForIndex() virtual QCString trSearchForIndex()
{ {
return "Søk etter"; return "Søk etter";
} }
/*! This string is used as the title for the page listing the search /*! This string is used as the title for the page listing the search
* results. * results.
*/ */
virtual QCString trSearchResultsTitle() virtual QCString trSearchResultsTitle()
{ {
return "Søkeresultater"; return "Søkeresultater";
} }
/*! This string is put just before listing the search results. The /*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found. * text can be different depending on the number of documents found.
* Inside the text you can put the special marker $num to insert * Inside the text you can put the special marker $num to insert
* the number representing the actual number of search results. * the number representing the actual number of search results.
* The @a numDocuments parameter can be either 0, 1 or 2, where the * The @a numDocuments parameter can be either 0, 1 or 2, where the
* value 2 represents 2 or more matches. HTML markup is allowed inside * value 2 represents 2 or more matches. HTML markup is allowed inside
* the returned string. * the returned string.
*/ */
...@@ -1526,15 +1526,15 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1526,15 +1526,15 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
} }
else if (numDocuments==1) else if (numDocuments==1)
{ {
return "Fant <b>ett</b> dokument som passet ditt søk."; return "Fant <b>ett</b> dokument som passet ditt søk.";
} }
else else
{ {
return "Fant <b>$num</b> dokumenter som passet ditt søk. " return "Fant <b>$num</b> dokumenter som passet ditt søk. "
"Viser beste treff først."; "Viser beste treff først.";
} }
} }
/*! This string is put before the list of matched words, for each search /*! This string is put before the list of matched words, for each search
* result. What follows is the list of words that matched the query. * result. What follows is the list of words that matched the query.
*/ */
virtual QCString trSearchMatches() virtual QCString trSearchMatches()
...@@ -1575,12 +1575,12 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1575,12 +1575,12 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
virtual QCString trDirectories() virtual QCString trDirectories()
{ return "Kataloger"; } { return "Kataloger"; }
/*! This returns a sentences that introduces the directory hierarchy. /*! This returns a sentences that introduces the directory hierarchy.
* and the fact that it is sorted alphabetically per level * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() virtual QCString trDirDescription()
{ return "Denne katalogen er grovsortert alfabetisk " { return "Denne katalogen er grovsortert alfabetisk "
"(ikke nødvendigvis korrekt)."; "(ikke nødvendigvis korrekt).";
} }
/*! This returns the title of a directory page. The name of the /*! This returns the title of a directory page. The name of the
...@@ -1593,10 +1593,10 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6 ...@@ -1593,10 +1593,10 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
* (\a first_capital) and in sigular or plural form (\a singular). * (\a first_capital) and in sigular or plural form (\a singular).
*/ */
virtual QCString trDir(bool first_capital, bool singular) virtual QCString trDir(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Katalog" : "katalog")); QCString result((first_capital ? "Katalog" : "katalog"));
if (!singular) result+="er"; if (!singular) result+="er";
return result; return result;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment