diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-08-03 16:49:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-08-03 16:49:33 (GMT) |
commit | f4bab88acea24b261d85d25359c73cbb49869c5f (patch) | |
tree | 947221d2f202d586f7f386c57472cc941980963f /src/translator_se.h | |
parent | d7bf5675c4490ac0291cf1795b7499f2047d5c58 (diff) | |
download | Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.zip Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.tar.gz Doxygen-f4bab88acea24b261d85d25359c73cbb49869c5f.tar.bz2 |
Release-1.3.8-20040803
Diffstat (limited to 'src/translator_se.h')
-rw-r--r-- | src/translator_se.h | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/src/translator_se.h b/src/translator_se.h index 2b07dd9..0d3866f 100644 --- a/src/translator_se.h +++ b/src/translator_se.h @@ -69,7 +69,7 @@ Problem! #ifndef TRANSLATOR_SE_H #define TRANSLATOR_SE_H -class TranslatorSwedish : public TranslatorAdapter_1_3_3 +class TranslatorSwedish : public TranslatorAdapter_1_3_8 { public: @@ -1350,7 +1350,56 @@ class TranslatorSwedish : public TranslatorAdapter_1_3_3 return "Här är anropnings diagrammet för den här funktionen:"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.3.3 +////////////////////////////////////////////////////////////////////////// + /*! 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 + * for. + */ + virtual QCString trSearchForIndex() + { + return "Sök efter"; + } + /*! This string is used as the title for the page listing the search + * results. + */ + virtual QCString trSearchResultsTitle() + { + return "Sökresultat"; + } + /*! This string is put just before listing the search results. The + * text can be different depending on the number of documents found. + * Inside the text you can put the special marker $num to insert + * the number representing the actual number of search results. + * 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 + * the returned string. + */ + virtual QCString trSearchResults(int numDocuments) + { + if (numDocuments==0) + { + return "Tyvärr finns det inga dokument som matchar din sökning."; + } + else if (numDocuments==1) + { + return "Hittade <b>1</b> dokument som matchar din sökning."; + } + else + { + return "Hittade <b>$num</b> dokument som matchar din sökning. " + "Visar de bästa träffarna först."; + } + } + /*! 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. + */ + virtual QCString trSearchMatches() + { + return "Träffar:"; + } }; |