Skip to content

Commit e4d9f94

Browse files
Updated swedish translation to 1.9.2
1 parent 42dff4b commit e4d9f94

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

src/translator_sv.h

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ I left use clause untouched as I didn't find a suitable translation for it.
9595
English:
9696
* Updated the language translation to 1.8.19
9797
98+
2020/08/19
99+
* Uppdaterat översättningarna till 1.9.2
100+
English:
101+
* Updated the language translation to 1.9.2
102+
98103
===================================================================================
99104
Ordlista
100105
===================================================================================
@@ -151,7 +156,7 @@ I left use clause untouched as I didn't find a suitable translation for it.
151156
#ifndef TRANSLATOR_SE_H
152157
#define TRANSLATOR_SE_H
153158

154-
class TranslatorSwedish : public TranslatorAdapter_1_9_2
159+
class TranslatorSwedish : public Translator
155160
{
156161
public:
157162

@@ -2354,5 +2359,49 @@ class TranslatorSwedish : public TranslatorAdapter_1_9_2
23542359
virtual QCString trDesignUnitDocumentation()
23552360
{ return "Designenhetsdokumentation"; }
23562361

2362+
//////////////////////////////////////////////////////////////////////////
2363+
// new since 1.9.2
2364+
//////////////////////////////////////////////////////////////////////////
2365+
2366+
/** C++20 concept */
2367+
virtual QCString trConcept(bool first_capital, bool singular)
2368+
{
2369+
QCString result((first_capital ? "Koncept" : "koncept"));
2370+
return result;
2371+
}
2372+
/*! used as the title of the HTML page of a C++20 concept page */
2373+
virtual QCString trConceptReference(const QCString &conceptName)
2374+
{
2375+
QCString result=conceptName;
2376+
result+=" Konceptreferens";
2377+
return result;
2378+
}
2379+
2380+
/*! used as the title of page containing all the index of all concepts. */
2381+
virtual QCString trConceptList()
2382+
{ return "Konceptlista"; }
2383+
2384+
/*! used as the title of chapter containing the index listing all concepts. */
2385+
virtual QCString trConceptIndex()
2386+
{ return "Konceptindex"; }
2387+
2388+
/*! used as the title of chapter containing all information about concepts. */
2389+
virtual QCString trConceptDocumentation()
2390+
{ return "Konceptdokumentation"; }
2391+
2392+
/*! used as an introduction to the concept list */
2393+
virtual QCString trConceptListDescription(bool extractAll)
2394+
{
2395+
QCString result="Här är listan över alla ";
2396+
if (!extractAll) result+="dokumenterade ";
2397+
result+="koncept med en kort beskrivning:";
2398+
return result;
2399+
}
2400+
2401+
/*! used to introduce the definition of the C++20 concept */
2402+
virtual QCString trConceptDefinition()
2403+
{
2404+
return "Konceptdefinition";
2405+
}
23572406
};
23582407
#endif

0 commit comments

Comments
 (0)