Commit d0d3ad89 authored by Petr Prikryl's avatar Petr Prikryl

Latvian translator converted to UTF-8.

parent ce4354ac
......@@ -375,7 +375,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_LV
else if (L_EQUAL("latvian"))
{
theTranslator=new TranslatorDecoder(new TranslatorLatvian);
theTranslator=new TranslatorLatvian;
}
#endif
#ifdef LANG_ZA
......
/******************************************************************************
*
*
*
*
* Copyright (C) 1997-2012 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
* 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.
*
......@@ -18,7 +18,7 @@
#ifndef TRANSLATOR_LV_H
#define TRANSLATOR_LV_H
/*!
/*!
When defining a translator class for the new language, follow
the description in the documentation. One of the steps says
that you should copy the translator_en.h (this) file to your
......@@ -41,7 +41,7 @@
translator is made up-to-date again.
*/
/* Translation from English to Latvian by Lauris Bukðis-Haberkorns
/* Translation from English to Latvian by Lauris Bukšis-Haberkorns
* (lauris@nix.lv)
* -------------------------------------------
* Project start : 24.Sept.2012
......@@ -53,19 +53,19 @@ class TranslatorLatvian : public Translator
public:
// --- Language control methods -------------------
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
/*! Used for identification of the language. The identification
* should not be translated. It should be replaced by the name
* 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.
*/
virtual QCString idLanguage()
{ return "latvian"; }
/*! 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
* LaTeX to the desired language. For example
* LaTeX to the desired language. For example
* <pre>"\\usepackage[german]{babel}\n"
* </pre>
* or
......@@ -80,55 +80,55 @@ class TranslatorLatvian : public Translator
"\\usepackage[latvian]{babel}\n";
}
/*! return the language charset. This will be used
/*! return the language charset. This will be used
when transcoding the translatable strings in this file to UTF-8 */
virtual QCString idLanguageCharset()
{
return "iso-8859-13";
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions()
{ return "Saistîtâs funkcijas"; }
{ return "Saistītās funkcijas"; }
/*! subscript for the related functions. */
virtual QCString trRelatedSubscript()
{ return "(Ðîs nav elementu funkcijas.)"; }
{ return "(Šīs nav elementu funkcijas.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription()
{ return "Detalizçts apraksts"; }
{ return "Detalizēts apraksts"; }
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "Elementa Typedef dokumentâcija"; }
{ return "Elementa Typedef dokumentācija"; }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
{ return "Elementa uzskaitîjumliterâïa dokumentâcija"; }
{ return "Elementa uzskaitījumliterāļa dokumentācija"; }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{ return "Elementa funkcijas dokumentâcija"; }
{ return "Elementa funkcijas dokumentācija"; }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Lauka dokumentâcija";
return "Lauka dokumentācija";
}
else
{
return "Elementa datu dokumentâcija";
return "Elementa datu dokumentācija";
}
}
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
{ return "vairâk..."; }
virtual QCString trMore()
{ return "vairāk..."; }
/*! put in the class documentation */
virtual QCString trListOfAllMembers()
......@@ -140,168 +140,168 @@ class TranslatorLatvian : public Translator
/*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers()
{ return "Ðis ir pilns elementu saraksts klasei "; }
{ return "Šis ir pilns elementu saraksts klasei "; }
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
{ return ", ieskaitot mantotos elementus."; }
/*! 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="Automâtiski ìenerçts izmantojot Doxygen";
if (s) result+=(QCString)" priekð "+s;
result+=" no pirmkoda.";
{ QCString result="Automātiski ģenerēts izmantojot Doxygen";
if (s) result+=(QCString)" priekš "+s;
result+=" no pirmkoda.";
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return "uzskaitîjuma nosaukums"; }
{ return "uzskaitījuma nosaukums"; }
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
{ return "uzskaitîjuma vçrtîba"; }
{ return "uzskaitījuma vērtība"; }
/*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn()
{ return "definçts"; }
{ return "definēts"; }
// 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).
*/
virtual QCString trModules()
{ return "Moduïi"; }
{ return "Moduļi"; }
/*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy()
{ return "Klaðu hierarhija"; }
{ return "Klašu hierarhija"; }
/*! 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 "Datu struktûras";
return "Datu struktūras";
}
else
{
return "Klaðu saraksts";
return "Klašu saraksts";
}
}
/*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList()
{ return "Failu saraksts"; }
/*! 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 "Datu lauki";
return "Datu lauki";
}
else
{
return "Klases elementi";
return "Klases elementi";
}
}
/*! 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 "Globâlie";
return "Globālie";
}
else
{
return "Faila elementi";
return "Faila elementi";
}
}
/*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages()
{ return "Saistîtâs lapas"; }
{ return "Saistītās lapas"; }
/*! This is put above each page as a link to all examples. */
virtual QCString trExamples()
{ return "Piemçri"; }
{ return "Piemēri"; }
/*! This is put above each page as a link to the search engine. */
virtual QCString trSearch()
{ return "Meklçt"; }
{ return "Meklēt"; }
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
{ return "Ðis mantojamîbas saraksts ir sakârtots aptuveni, "
"bet ne pilnîbâ, alfabçta secîbâ:";
{ return "Šis mantojamības saraksts ir sakārtots aptuveni, "
"bet ne pilnībā, alfabēta secībā:";
}
/*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool extractAll)
{
QCString result="Ðeit ir visu ";
if (!extractAll) result+="dokumentçto ";
result+="failu saraksts ar îsu aprakstu:";
QCString result="Šeit ir visu ";
if (!extractAll) result+="dokumentēto ";
result+="failu saraksts ar īsu aprakstu:";
return result;
}
/*! This is an introduction to the annotated compound list. */
virtual QCString trCompoundListDescription()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Ðeit ir visas datu struktûras ar îsu aprakstu:";
return "Šeit ir visas datu struktūras ar īsu aprakstu:";
}
else
{
return "Ðeit ir visas klases, struktûras, "
"apvienojumi un interfeisi ar îsu aprakstu:";
return "Šeit ir visas klases, struktūras, "
"apvienojumi un interfeisi ar īsu aprakstu:";
}
}
/*! This is an introduction to the page with all class members. */
virtual QCString trCompoundMembersDescription(bool extractAll)
{
QCString result="Ðeit ir visu ";
QCString result="Šeit ir visu ";
if (!extractAll)
{
result+="dokumentçto ";
result+="dokumentēto ";
}
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="struktûru un apvienojumu lauku";
result+="struktūru un apvienojumu lauku";
}
else
{
result+="klases elementu";
}
result+=" saraksts ar saitçm uz ";
if (!extractAll)
result+=" saraksts ar saitēm uz ";
if (!extractAll)
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="struktûru/apvienojumu dokumentâciju katram laukam:";
result+="struktūru/apvienojumu dokumentāciju katram laukam:";
}
else
{
result+="klases dokumentâciju katram elementam:";
result+="klases dokumentāciju katram elementam:";
}
}
else
else
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="struktûrâm/apvienojumiem, kam tie pieder:";
result+="struktūrām/apvienojumiem, kam tie pieder:";
}
else
{
result+="klasçm, kam tie pieder:";
result+="klasēm, kam tie pieder:";
}
}
return result;
......@@ -310,28 +310,28 @@ class TranslatorLatvian : public Translator
/*! This is an introduction to the page with all file members. */
virtual QCString trFileMembersDescription(bool extractAll)
{
QCString result="Ðeit ir visu ";
if (!extractAll) result+="dokumentçto ";
QCString result="Šeit ir visu ";
if (!extractAll) result+="dokumentēto ";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
result+="funkciju, mainîgo, definîciju, uzskaitîjumliterâïu un typedefs";
result+="funkciju, mainīgo, definīciju, uzskaitījumliterāļu un typedefs";
}
else
{
result+="faila elementu";
}
result+=" saraksts ar saitçm uz ";
if (extractAll)
result+=" saraksts ar saitēm uz ";
if (extractAll)
result+="failiem, kam tie pieder:";
else
result+="dokumentâciju:";
else
result+="dokumentāciju:";
return result;
}
/*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription()
{ return "Ðeit ir visu piemçru saraksts:"; }
{ return "Šeit ir visu piemēru saraksts:"; }
/*! This is an introduction to the page with the list of related pages */
virtual QCString trRelatedPagesDescription()
......@@ -339,65 +339,65 @@ class TranslatorLatvian : public Translator
/*! This is an introduction to the page with the list of class/file groups */
virtual QCString trModulesDescription()
{ return "Ðeit ir visu moduïu saraksts:"; }
{ return "Šeit ir visu moduļu saraksts:"; }
// 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. */
virtual QCString trDocumentation()
{ return "Dokumentâcija"; }
{ return "Dokumentācija"; }
/*! 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.
*/
virtual QCString trModuleIndex()
{ return "Moduïu indekss"; }
{ return "Moduļu indekss"; }
/*! 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.
*/
virtual QCString trHierarchicalIndex()
{ return "Hierarhijas indekss"; }
/*! 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.
*/
virtual QCString trCompoundIndex()
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Datu struktûru indess";
{
return "Datu struktūru indess";
}
else
{
return "Klaðu indekss";
return "Klašu indekss";
}
}
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
virtual QCString trFileIndex()
virtual QCString trFileIndex()
{ return "Failu indekss"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
virtual QCString trModuleDocumentation()
{ return "Moduïa dokumentâcija"; }
{ return "Moduļa dokumentācija"; }
/*! 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 "Datu struktûras dokomentâcija";
return "Datu struktūras dokomentācija";
}
else
{
return "Klases dokumentâcija";
return "Klases dokumentācija";
}
}
......@@ -405,123 +405,123 @@ class TranslatorLatvian : public Translator
* the documentation of all files.
*/
virtual QCString trFileDocumentation()
{ return "Faila dokumentâcija"; }
{ return "Faila dokumentācija"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples.
*/
virtual QCString trExampleDocumentation()
{ return "Piemçri"; }
{ return "Piemēri"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages.
*/
virtual QCString trPageDocumentation()
{ return "Lapas dokumentâcija"; }
{ return "Lapas dokumentācija"; }
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "Rokasgrâmata"; }
/*! This is used in the documentation of a file as a header before the
{ return "Rokasgrāmata"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
virtual QCString trDefines()
{ return "Makro"; }
/*! 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
*/
virtual QCString trFuncProtos()
{ return "Funkciju prototipi"; }
/*! 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
*/
virtual QCString trTypedefs()
{ return "Typedefs"; }
/*! 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
*/
virtual QCString trEnumerations()
{ return "Uzskaitîjumi"; }
{ return "Uzskaitījumi"; }
/*! 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
*/
virtual QCString trFunctions()
{ return "Funkcijas"; }
/*! 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
*/
virtual QCString trVariables()
{ return "Mainîgie"; }
{ return "Mainīgie"; }
/*! 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
*/
virtual QCString trEnumerationValues()
{ return "Uzskaitîjumliterâïi"; }
{ return "Uzskaitījumliterāļi"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
virtual QCString trDefineDocumentation()
{ return "Makro definîcijas dokumentâcija"; }
{ return "Makro definīcijas dokumentācija"; }
/*! 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
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Funkcijas prototipu dokumentâcija"; }
{ return "Funkcijas prototipu dokumentācija"; }
/*! 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
*/
virtual QCString trTypedefDocumentation()
{ return "Typedef dokumentâcija"; }
{ return "Typedef dokumentācija"; }
/*! 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
*/
virtual QCString trEnumerationTypeDocumentation()
{ return "Uzskaitîjumliterâïa tipa dokumentâcija"; }
{ return "Uzskaitījumliterāļa tipa dokumentācija"; }
/*! 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
*/
virtual QCString trFunctionDocumentation()
{ return "Funkcijas dokumentâcija"; }
{ return "Funkcijas dokumentācija"; }
/*! 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
*/
virtual QCString trVariableDocumentation()
{ return "Mainîgo dokumentâcija"; }
{ return "Mainīgo dokumentācija"; }
/*! 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
*/
virtual QCString trCompounds()
{
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Datu struktûras";
return "Datu struktūras";
}
else
{
return "Klases";
return "Klases";
}
}
/*! This is used in the standard footer of each page and indicates when
* the page was generated
/*! 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)"Ìenerçts "+date;
{
QCString result=(QCString)"Ģenerēts "+date;
if (projName) result+=(QCString)" projektam "+projName;
result+=(QCString)" ar";
return result;
......@@ -530,22 +530,22 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trWrittenBy()
{
return "uzrakstîjis";
return "uzrakstījis";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
{
return (QCString)"Mantojamîbas diagramma klasei "+clName+":";
return (QCString)"Mantojamības diagramma klasei "+clName+":";
}
/*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
{ return "Tikai iekðçjai lietoðanai."; }
{ return "Tikai iekšējai lietošanai."; }
/*! this text is generated when the \\warning command is used. */
virtual QCString trWarning()
{ return "Brîdinâjums"; }
{ return "Brīdinājums"; }
/*! this text is generated when the \\version command is used. */
virtual QCString trVersion()
......@@ -557,11 +557,11 @@ class TranslatorLatvian : public Translator
/*! this text is generated when the \\return command is used. */
virtual QCString trReturns()
{ return "Atgrieþ"; }
{ return "Atgriež"; }
/*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
{ return "Skatîties arî"; }
{ return "Skatīties arī"; }
/*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
......@@ -569,16 +569,16 @@ class TranslatorLatvian : public Translator
/*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return "Izòçmumi"; }
{ return "Izņēmumi"; }
/*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return "Ìenerçts ar"; }
{ return "Ģenerēts ar"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990307
//////////////////////////////////////////////////////////////////////////
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return "Nosaukumvietu saraksts"; }
......@@ -586,9 +586,9 @@ class TranslatorLatvian : public Translator
/*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool extractAll)
{
QCString result="Ðeit ir visas ";
if (!extractAll) result+="dokumentçtâs ";
result+="nosaukumvietas ar îsu aprakstu:";
QCString result="Šeit ir visas ";
if (!extractAll) result+="dokumentētās ";
result+="nosaukumvietas ar īsu aprakstu:";
return result;
}
......@@ -597,17 +597,17 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trFriends()
{ return "Draugi"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
* related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return "Draugu un saistîto funkciju dokumentâcija"; }
{ return "Draugu un saistīto funkciju dokumentācija"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
......@@ -621,12 +621,12 @@ class TranslatorLatvian : public Translator
switch(compType)
{
case ClassDef::Class: result+=" klases"; break;
case ClassDef::Struct: result+=" struktûras"; break;
case ClassDef::Struct: result+=" struktūras"; break;
case ClassDef::Union: result+=" apvienojuma"; break;
case ClassDef::Interface: result+=" interfeisa"; break;
case ClassDef::Protocol: result+=" protokola"; break;
case ClassDef::Category: result+=" kategorijas"; break;
case ClassDef::Exception: result+=" izòçmuma"; break;
case ClassDef::Exception: result+=" izņēmuma"; break;
}
if (isTemplate) result+=" veidnes";
result+=" apraksts";
......@@ -637,7 +637,7 @@ class TranslatorLatvian : public Translator
virtual QCString trFileReference(const char *fileName)
{
QCString result=fileName;
result+=" faila apraksts";
result+=" faila apraksts";
return result;
}
......@@ -648,28 +648,28 @@ class TranslatorLatvian : public Translator
result+=" nosaukumvietas apraksts";
return result;
}
virtual QCString trPublicMembers()
{ return "Publiskâs elementa funkcijas"; }
{ return "Publiskās elementa funkcijas"; }
virtual QCString trPublicSlots()
{ return "Publiskâs spraugas"; }
{ return "Publiskās spraugas"; }
virtual QCString trSignals()
{ return "Signâli"; }
{ return "Signāli"; }
virtual QCString trStaticPublicMembers()
{ return "Statiskâs publiskâs elementa funkcijas"; }
{ return "Statiskās publiskās elementa funkcijas"; }
virtual QCString trProtectedMembers()
{ return "Aizsargâtâs elementa funkcijas"; }
{ return "Aizsargātās elementa funkcijas"; }
virtual QCString trProtectedSlots()
{ return "Aizsargâtâs spraugas"; }
{ return "Aizsargātās spraugas"; }
virtual QCString trStaticProtectedMembers()
{ return "Statiskâs aizsargâtâs elementa funkcijas"; }
{ return "Statiskās aizsargātās elementa funkcijas"; }
virtual QCString trPrivateMembers()
{ return "Privâtâs elementa funkcijas"; }
{ return "Privātās elementa funkcijas"; }
virtual QCString trPrivateSlots()
{ return "Privâtâs spraugas"; }
{ return "Privātās spraugas"; }
virtual QCString trStaticPrivateMembers()
{ return "Statiskâs privâtâs elementa funkcijas"; }
{ return "Statiskās privātās elementa funkcijas"; }
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
......@@ -678,23 +678,23 @@ class TranslatorLatvian : public Translator
QCString result;
int i;
// 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!
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)
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+=", ";
else // the fore last entry
result+=", un ";
}
}
return result;
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
......@@ -711,12 +711,12 @@ class TranslatorLatvian : public Translator
return "Tiek mantots "+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.
*/
virtual QCString trReimplementedFromList(int numEntries)
{
return "Pârimplementçts no "+trWriteList(numEntries)+".";
return "Pārimplementēts no "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
......@@ -724,7 +724,7 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trReimplementedInList(int numEntries)
{
return "Pârimplementçts "+trWriteList(numEntries)+".";
return "Pārimplementēts "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
......@@ -733,17 +733,17 @@ class TranslatorLatvian : public Translator
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
QCString result="Ðeit ir visi ";
if (!extractAll) result+="dokumentçtie ";
result+="nosaukumvietas elementi ar saitçm uz ";
if (extractAll)
result+="nosaukumvieta dokumentâciju katram elementam:";
else
{
QCString result="Šeit ir visi ";
if (!extractAll) result+="dokumentētie ";
result+="nosaukumvietas elementi ar saitēm uz ";
if (extractAll)
result+="nosaukumvieta dokumentāciju katram elementam:";
else
result+="nosaukumvietu, kam tie pieder:";
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.
*/
virtual QCString trNamespaceIndex()
......@@ -753,7 +753,7 @@ class TranslatorLatvian : public Translator
* the documentation of all namespaces.
*/
virtual QCString trNamespaceDocumentation()
{ return "Nosaukumvietas dokumentâcija"; }
{ return "Nosaukumvietas dokumentācija"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
......@@ -775,18 +775,18 @@ class TranslatorLatvian : public Translator
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single)
{ // single is true implies a single file
QCString result=(QCString)"Ðî";
QCString result=(QCString)"Šī";
switch(compType)
{
case ClassDef::Class: result+="s klases"; break;
case ClassDef::Struct: result+="s struktûras"; break;
case ClassDef::Struct: result+="s struktūras"; break;
case ClassDef::Union: result+=" apvienojuma"; break;
case ClassDef::Interface: result+=" interfeisa"; break;
case ClassDef::Protocol: result+=" protokola"; break;
case ClassDef::Category: result+="s kategorijas"; break;
case ClassDef::Exception: result+=" izòçmuma"; break;
case ClassDef::Exception: result+=" izņēmuma"; break;
}
result+=" dokumentâcijas tika ìenerçta no ðâda fail";
result+=" dokumentācijas tika ģenerēta no šāda fail";
if (single) result+="a:"; else result+="iem:";
return result;
}
......@@ -795,7 +795,7 @@ class TranslatorLatvian : public Translator
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Alfabçtiskais saraksts"; }
{ return "Alfabētiskais saraksts"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
......@@ -803,14 +803,14 @@ class TranslatorLatvian : public Translator
/*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues()
{ return "Atgrieþamâs vçrtîbas"; }
{ return "Atgriežamās vērtības"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
virtual QCString trMainPage()
{ return "Sâkumlapa"; }
{ return "Sākumlapa"; }
/*! 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.
*/
virtual QCString trPageAbbreviation()
......@@ -822,11 +822,11 @@ class TranslatorLatvian : public Translator
virtual QCString trDefinedAtLineInSourceFile()
{
return "Definçts lînijâ @0 failâ @1.";
return "Definēts līnijā @0 failā @1.";
}
virtual QCString trDefinedInSourceFile()
{
return "Definçts failâ @0.";
return "Definēts failā @0.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -845,7 +845,7 @@ class TranslatorLatvian : public Translator
/*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName)
{
return (QCString)"Sadarbîbas diagramma klasei "+clName+":";
return (QCString)"Sadarbības diagramma klasei "+clName+":";
}
/*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName)
......@@ -855,27 +855,27 @@ class TranslatorLatvian : public Translator
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return "Konstruktora un destruktora dokumentâcija";
return "Konstruktora un destruktora dokumentācija";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return "Iet uz ðî faila pirmkodu.";
return "Iet uz šī faila pirmkodu.";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return "Ietu uz ðî faila dokumentâciju.";
return "Ietu uz šī faila dokumentāciju.";
}
/*! Text for the \\pre command */
virtual QCString trPrecondition()
{
return "Pirmsnosacîjums";
return "Pirmsnosacījums";
}
/*! Text for the \\post command */
virtual QCString trPostcondition()
{
return "Pçcnosacîjums";
return "Pēcnosacījums";
}
/*! Text for the \\invariant command */
virtual QCString trInvariant()
......@@ -885,7 +885,7 @@ class TranslatorLatvian : public Translator
/*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue()
{
return "Sâkotnçjâ vçrtîba:";
return "Sākotnējā vērtība:";
}
/*! Text used the source code in the file index */
virtual QCString trCode()
......@@ -902,7 +902,7 @@ class TranslatorLatvian : public Translator
}
virtual QCString trGotoTextualHierarchy()
{
return "Iet uz tekstuâlu klases hierarhiju";
return "Iet uz tekstuālu klases hierarhiju";
}
virtual QCString trPageIndex()
{
......@@ -912,10 +912,10 @@ class TranslatorLatvian : public Translator
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trNote()
{
return "Piezîme";
return "Piezīme";
}
virtual QCString trPublicTypes()
{
......@@ -929,36 +929,36 @@ class TranslatorLatvian : public Translator
}
else
{
return "Publiskie atribûti";
return "Publiskie atribūti";
}
}
virtual QCString trStaticPublicAttribs()
{
return "Statiskie publiskie atribûti";
return "Statiskie publiskie atribūti";
}
virtual QCString trProtectedTypes()
{
return "Aizsargâtie tipi";
return "Aizsargātie tipi";
}
virtual QCString trProtectedAttribs()
{
return "Aizsargâtie atribûti";
return "Aizsargātie atribūti";
}
virtual QCString trStaticProtectedAttribs()
{
return "Statiskie aizsargâtie atribûti";
return "Statiskie aizsargātie atribūti";
}
virtual QCString trPrivateTypes()
{
return "Privâtie tipi";
return "Privātie tipi";
}
virtual QCString trPrivateAttribs()
{
return "Privâtie atribûti";
return "Privātie atribūti";
}
virtual QCString trStaticPrivateAttribs()
{
return "Statiskie privâtie atribûti";
return "Statiskie privātie atribūti";
}
//////////////////////////////////////////////////////////////////////////
......@@ -968,12 +968,12 @@ class TranslatorLatvian : public Translator
/*! Used as a marker that is put before a \\todo item */
virtual QCString trTodo()
{
return "Jâizdara";
return "Jāizdara";
}
/*! Used as the header of the todo list */
virtual QCString trTodoList()
{
return "Darâmo darbu saraksts";
return "Darāmo darbu saraksts";
}
//////////////////////////////////////////////////////////////////////////
......@@ -990,18 +990,18 @@ class TranslatorLatvian : public Translator
}
virtual QCString trAttention()
{
return "Uzmanîbu";
return "Uzmanību";
}
virtual QCString trInclByDepGraph()
{
return "Ðis grafs râda kuri faili tieði vai "
"netieði iekïauj ðo failu:";
return "Šis grafs rāda kuri faili tieši vai "
"netieši iekļauj šo failu:";
}
virtual QCString trSince()
{
return "Kopð";
return "Kopš";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
......@@ -1009,14 +1009,14 @@ class TranslatorLatvian : public Translator
/*! title of the graph legend page */
virtual QCString trLegendTitle()
{
return "Grafika leìenda";
return "Grafika leģenda";
}
/*! page explaining how the dot graph's should be interpreted
/*! page explaining how the dot graph's should be interpreted
* The %A in the text below are to prevent link to classes called "A".
*/
virtual QCString trLegendDocs()
{
return
return
"This page explains how to interpret the graphs that are generated "
"by doxygen.<p>\n"
"Consider the following example:\n"
......@@ -1081,13 +1081,13 @@ class TranslatorLatvian : public Translator
/*! text for the link to the legend page */
virtual QCString trLegend()
{
return "leìenda";
return "leģenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
......@@ -1116,12 +1116,12 @@ class TranslatorLatvian : public Translator
/*! Used as a section header for IDL properties */
virtual QCString trProperties()
{
return "Rekvizîti";
return "Rekvizīti";
}
/*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation()
{
return "Rekvizîtu dokumentâcija";
return "Rekvizītu dokumentācija";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1133,7 +1133,7 @@ class TranslatorLatvian : public Translator
{
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{
return "Datu struktûras";
return "Datu struktūras";
}
else
{
......@@ -1148,7 +1148,7 @@ class TranslatorLatvian : public Translator
/*! Title of the package index page */
virtual QCString trPackageList()
{
return "Pakotòu saraksts";
return "Pakotņu saraksts";
}
/*! The description of the package index page */
virtual QCString trPackageListDescription()
......@@ -1163,31 +1163,31 @@ class TranslatorLatvian : public Translator
/*! Text shown before a multi-line define */
virtual QCString trDefineValue()
{
return "Vçrtîba:";
return "Vērtība:";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
virtual QCString trBug()
{
return "Kïûda";
return "Kļūda";
}
/*! Used as the header of the bug list */
virtual QCString trBugList()
{
return "Kïûdu saraksts";
return "Kļūdu saraksts";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
/*! Used as ansicpg for RTF file
*
* The following table shows the correlation of Charset name, Charset Value and
* <pre>
* Codepage number:
* Charset Name Charset Value(hex) Codepage number
......@@ -1208,15 +1208,15 @@ class TranslatorLatvian : public Translator
* GB2313_CHARSET 134 (x86) 936
* CHINESEBIG5_CHARSET 136 (x88) 950
* </pre>
*
*
*/
virtual QCString trRTFansicp()
{
return "1257";
}
/*! Used as ansicpg for RTF fcharset
/*! Used as ansicpg for RTF fcharset
* \see trRTFansicp() for a table of possible values.
*/
virtual QCString trRTFCharSet()
......@@ -1229,82 +1229,82 @@ class TranslatorLatvian : public Translator
{
return "Indekss";
}
/*! 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.
*/
virtual QCString trClass(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Klase" : "klase"));
if (!singular) result+="s";
return result;
return result;
}
/*! 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.
*/
virtual QCString trFile(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Fail" : "fail"));
if (singular) result+="s"; else result+="i";
return result;
return result;
}
/*! 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.
*/
virtual QCString trNamespace(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Nosaukumvieta" : "nosaukumvieta"));
if (!singular) result+="s";
return result;
return result;
}
/*! 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.
*/
virtual QCString trGroup(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Grupa" : "grupa"));
if (!singular) result+="s";
return result;
return result;
}
/*! 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.
*/
virtual QCString trPage(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Lapa" : "lapa"));
if (!singular) result+="s";
return result;
return result;
}
/*! 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.
*/
virtual QCString trMember(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Element" : "element"));
if (singular) result+="s"; else result+="i";
return result;
return result;
}
/*! 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.
*/
virtual QCString trGlobal(bool first_capital, bool singular)
{
QCString result((first_capital ? "Globâl" : "globâl"));
{
QCString result((first_capital ? "Globāl" : "globāl"));
if (singular) result+="ais"; else result+="ie";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1314,10 +1314,10 @@ class TranslatorLatvian : public Translator
/*! This text is generated when the \\author command is used and
* for the author section in man pages. */
virtual QCString trAuthor(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Autor" : "autor"));
if (singular) result+="s"; else result+="i";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1335,12 +1335,12 @@ class TranslatorLatvian : public Translator
// 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.
*/
virtual QCString trImplementedFromList(int numEntries)
{
return "Îsteno "+trWriteList(numEntries)+".";
return "Īsteno "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
......@@ -1348,7 +1348,7 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trImplementedInList(int numEntries)
{
return "Îstenots "+trWriteList(numEntries)+".";
return "Īstenots "+trWriteList(numEntries)+".";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1360,26 +1360,26 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trRTFTableOfContents()
{
return "Satura râdîtâjs";
return "Satura rādītājs";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.17
//////////////////////////////////////////////////////////////////////////
/*! Used as the header of the list of item that have been
* flagged deprecated
/*! Used as the header of the list of item that have been
* flagged deprecated
*/
virtual QCString trDeprecatedList()
{
return "Novecojuðo saraksts";
return "Novecojušo saraksts";
}
//////////////////////////////////////////////////////////////////////////
// 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
*/
virtual QCString trEvents()
......@@ -1389,7 +1389,7 @@ class TranslatorLatvian : public Translator
/*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation()
{
return "Notikumu dokumentâcija";
return "Notikumu dokumentācija";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1399,43 +1399,43 @@ class TranslatorLatvian : public Translator
/*! Used as a heading for a list of Java class types with package scope.
*/
virtual QCString trPackageTypes()
{
{
return "Pakas tipi";
}
/*! Used as a heading for a list of Java class functions with package
* scope.
/*! Used as a heading for a list of Java class functions with package
* scope.
*/
virtual QCString trPackageMembers()
{
{
return "Pakas funkcijas";
}
/*! 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.
*/
virtual QCString trStaticPackageMembers()
{
return "Statiskâs pakas funkcijas";
{
return "Statiskās pakas funkcijas";
}
/*! 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.
*/
virtual QCString trPackageAttribs()
{
return "Pakas atribûti";
{
return "Pakas atribūti";
}
/*! 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.
*/
virtual QCString trStaticPackageAttribs()
{
return "Statiskie pakas atribûti";
{
return "Statiskie pakas atribūti";
}
//////////////////////////////////////////////////////////////////////////
// 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.
*/
virtual QCString trAll()
......@@ -1445,33 +1445,33 @@ class TranslatorLatvian : public Translator
/*! Put in front of the call graph for a function. */
virtual QCString trCallGraph()
{
return "Ðeit ir visu funkciju izsaugumu grafs:";
return "Šeit ir visu funkciju izsaugumu grafs:";
}
//////////////////////////////////////////////////////////////////////////
// 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.
/*! 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 "Meklçt";
return "Meklēt";
}
/*! This string is used as the title for the page listing the search
* results.
*/
virtual QCString trSearchResultsTitle()
{
return "Meklçðanas rezultâti";
return "Meklēšanas rezultāti";
}
/*! 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
* 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.
*/
......@@ -1485,18 +1485,18 @@ class TranslatorLatvian : public Translator
{
return "Atrasts <b>1</b> dokuments.";
}
else
else
{
return "Atrasti <b>$num</b> Dokumenti. "
"Sâkumâ attçlo tos, kas atbilst visprecîzâk.";
"Sākumā attēlo tos, kas atbilst visprecīzāk.";
}
}
/*! 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.
*/
virtual QCString trSearchMatches()
{
return "Atbilst meklçtajam:";
return "Atbilst meklētajam:";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1518,13 +1518,13 @@ class TranslatorLatvian : public Translator
* hierarchy.
*/
virtual QCString trDirIndex()
{ return "Direktoriju struktûra"; }
{ return "Direktoriju struktūra"; }
/*! This is used as the name of the chapter containing the documentation
* of the directories.
*/
virtual QCString trDirDocumentation()
{ return "Direktorijas dokumentâcija"; }
{ return "Direktorijas dokumentācija"; }
/*! This is used as the title of the directory index and also in the
* Quick links of an HTML page, to link to the directory hierarchy.
......@@ -1532,12 +1532,12 @@ class TranslatorLatvian : public Translator
virtual QCString trDirectories()
{ return "Direktorijas"; }
/*! 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
*/
virtual QCString trDirDescription()
{ return "Ðî direktoriju hierarhija ir aptuveni, "
"bet ne pilnîbâ, alfabçta secîbâ:";
{ return "Šī direktoriju hierarhija ir aptuveni, "
"bet ne pilnībā, alfabēta secībā:";
}
/*! This returns the title of a directory page. The name of the
......@@ -1550,10 +1550,10 @@ class TranslatorLatvian : public Translator
* (\a first_capital) and in sigular or plural form (\a singular).
*/
virtual QCString trDir(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Direktorija" : "direktorija"));
if (!singular) result+="s";
return result;
return result;
}
//////////////////////////////////////////////////////////////////////////
......@@ -1565,9 +1565,9 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trOverloadText()
{
return "Ðî ir elementa pârslogota funkcija, kas "
"parâdîta tikai informâtîvo nolûkos. Tâ atðíiras no iepriekðapraksîtâs "
"funkcijas tikai ar parametriem, ko tâ saòem.";
return "Šī ir elementa pārslogota funkcija, kas "
"parādīta tikai informātīvo nolūkos. Tā atšķiras no iepriekšapraksītās "
"funkcijas tikai ar parametriem, ko tā saņem.";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1577,24 +1577,24 @@ class TranslatorLatvian : public Translator
/*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph()
{
return "Ðeit ir ðîs funkcijas izsaukuma grafs:";
return "Šeit ir šīs funkcijas izsaukuma grafs:";
}
/*! 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
*/
virtual QCString trEnumerationValueDocumentation()
{ return "Uzskaitîjumliterâïa dokumentâcija"; }
{ return "Uzskaitījumliterāļa dokumentācija"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "Elementa funckijas/apakðrutînas dokumentâcija"; }
{ return "Elementa funckijas/apakšrutīnas dokumentācija"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
virtual QCString trCompoundListFortran()
{ return "Datu tipu saraksts"; }
......@@ -1604,30 +1604,30 @@ class TranslatorLatvian : public Translator
/*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran()
{ return "Ðeit ir visu datu tipu saraksts ar îsu aprakstu:"; }
{ return "Šeit ir visu datu tipu saraksts ar īsu aprakstu:"; }
/*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{
QCString result="Ðeit ir visu ";
QCString result="Šeit ir visu ";
if (!extractAll)
{
result+="dokumentçto ";
result+="dokumentēto ";
}
result+="datu tipu saraksts";
result+=" ar saitçm uz ";
if (!extractAll)
result+=" ar saitēm uz ";
if (!extractAll)
{
result+="datu struktûras dokumentâciju katram elementam:";
result+="datu struktūras dokumentāciju katram elementam:";
}
else
else
{
result+="datu tipiem, kam tie pieder:";
}
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
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
......@@ -1637,36 +1637,36 @@ class TranslatorLatvian : public Translator
* the documentation of all data types (Fortran).
*/
virtual QCString trTypeDocumentation()
{ return "Datu tipa dokumentâcija"; }
{ return "Datu tipa dokumentācija"; }
/*! 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) subprograms (Fortran).
*/
virtual QCString trSubprograms()
{ return "Funkcijas/Apakðrutînas"; }
{ return "Funkcijas/Apakšrutīnas"; }
/*! 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 subprograms (Fortran)
*/
virtual QCString trSubprogramDocumentation()
{ return "Funkcijas/Apakðrutînas dokumentâcija"; }
{ return "Funkcijas/Apakšrutīnas dokumentācija"; }
/*! 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 (Fortran)
*/
virtual QCString trDataTypes()
{ return "Datu tipi"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Moduïu saraksts"; }
{ return "Moduļu saraksts"; }
/*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll)
{
QCString result="Ðeit ir visu ";
if (!extractAll) result+="dokumentçto ";
result+="moduïu saraksts ar îsu aprakstu:";
QCString result="Šeit ir visu ";
if (!extractAll) result+="dokumentēto ";
result+="moduļu saraksts ar īsu aprakstu:";
return result;
}
......@@ -1678,13 +1678,13 @@ class TranslatorLatvian : public Translator
QCString result=(QCString)clName;
switch(compType)
{
case ClassDef::Class: result+=" moduïa"; break;
case ClassDef::Class: result+=" moduļa"; break;
case ClassDef::Struct: result+=" tipa"; break;
case ClassDef::Union: result+=" apvienojuma"; break;
case ClassDef::Interface: result+=" interfeisa"; break;
case ClassDef::Protocol: result+=" protokola"; break;
case ClassDef::Category: result+=" kategorijas"; break;
case ClassDef::Exception: result+=" izòçmuma"; break;
case ClassDef::Exception: result+=" izņēmuma"; break;
}
if (isTemplate) result+=" sagataves";
result+=" atsauce";
......@@ -1694,46 +1694,46 @@ class TranslatorLatvian : public Translator
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result=namespaceName;
result+=" moduïu atsauce";
result+=" moduļu atsauce";
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Moduïa elementi"; }
{ return "Moduļa elementi"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
QCString result="Ðeit ir visu ";
if (!extractAll) result+="dokumentçto ";
result+="moduïa elementu saraksts ar saitçm uz ";
if (extractAll)
{
QCString result="Šeit ir visu ";
if (!extractAll) result+="dokumentēto ";
result+="moduļa elementu saraksts ar saitēm uz ";
if (extractAll)
{
result+="moduïa dokumentâciju katram elementam:";
result+="moduļa dokumentāciju katram elementam:";
}
else
else
{
result+="moduïiem, kuriem tie pieder:";
result+="moduļiem, kuriem tie pieder:";
}
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 modules (Fortran).
*/
virtual QCString trModulesIndex()
{ return "Moduïu indekss"; }
{ return "Moduļu indekss"; }
/*! 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.
*/
virtual QCString trModule(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Modu" : "modu"));
if (singular) result+="lis"; else result+="ïi";
return result;
if (singular) result+="lis"; else result+="ļi";
return result;
}
/*! This is put at the bottom of a module documentation page and is
......@@ -1743,7 +1743,7 @@ class TranslatorLatvian : public Translator
bool single)
{
// single is true implies a single file
QCString result=(QCString)"Dokumentâcija ð";
QCString result=(QCString)"Dokumentācija š";
switch(compType)
{
case ClassDef::Class: result+="im modulim"; break;
......@@ -1752,39 +1752,39 @@ class TranslatorLatvian : public Translator
case ClassDef::Interface: result+="im interfeisam"; break;
case ClassDef::Protocol: result+="im protokolam"; break;
case ClassDef::Category: result+="ai kategorijai"; break;
case ClassDef::Exception: result+="im izòçmumam"; break;
case ClassDef::Exception: result+="im izņēmumam"; break;
}
result+=" tika ìenerçta no fail";
result+=" tika ģenerēta no fail";
if (single) result+="a:"; else result+="iem:";
return result;
}
/*! 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.
*/
virtual QCString trType(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Tip" : "tip"));
if (singular) result+="s"; else result+="i";
return result;
return result;
}
/*! 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.
*/
virtual QCString trSubprogram(bool first_capital, bool singular)
{
QCString result((first_capital ? "Apakðprogramma" : "apakðprogramma"));
{
QCString result((first_capital ? "Apakšprogramma" : "apakšprogramma"));
if (!singular) result+="s";
return result;
return result;
}
/*! C# Type Constraint list */
virtual QCString trTypeConstraints()
{
return "Tipa ierobeþojumi";
return "Tipa ierobežojumi";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1794,13 +1794,13 @@ class TranslatorLatvian : public Translator
/*! directory relation for \a name */
virtual QCString trDirRelation(const char *name)
{
return QCString(name)+" relâcija";
return QCString(name)+" relācija";
}
/*! Loading message shown when loading search results */
virtual QCString trLoading()
{
return "Tiek veikta ielâde...";
return "Tiek veikta ielāde...";
}
/*! Label used for search results in the global namespace */
......@@ -1812,13 +1812,13 @@ class TranslatorLatvian : public Translator
/*! Message shown while searching */
virtual QCString trSearching()
{
return "Meklç...";
return "Meklē...";
}
/*! Text shown when no search results are found */
virtual QCString trNoMatches()
{
return "Nav atbilstîbu";
return "Nav atbilstību";
}
//////////////////////////////////////////////////////////////////////////
......@@ -1828,7 +1828,7 @@ class TranslatorLatvian : public Translator
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Direktoriju atkarîbu grafs priekð "+name;
return (QCString)"Direktoriju atkarību grafs priekš "+name;
}
/*! when clicking a directory dependency label, a page with a
......@@ -1849,7 +1849,7 @@ class TranslatorLatvian : public Translator
return (QCString)"Includes file in "+name;
}
/** Compiles a date string.
/** Compiles a date string.
* @param year Year in 4 digits
* @param month Month of the year: 1=January
* @param day Day of the Month: 1..31
......@@ -1864,7 +1864,7 @@ class TranslatorLatvian : public Translator
bool includeTime)
{
static const char *days[] = { "Pirm","Otr","Tr","Cet","Piekt","Sest","Sv" };
static const char *months[] = { "Jan","Feb","Mar","Apr","Mai","Jûn","Jûl","Aug","Sept","Okt","Nov","Dec" };
static const char *months[] = { "Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sept","Okt","Nov","Dec" };
QCString sdate;
sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year);
if (includeTime)
......@@ -1882,15 +1882,15 @@ class TranslatorLatvian : public Translator
/*! Header for the page with bibliographic citations */
virtual QCString trCiteReferences()
{ return "Bibliogrâfiskâs atsauces"; }
{ return "Bibliogrāfiskās atsauces"; }
/*! Text for copyright paragraph */
virtual QCString trCopyright()
{ return "Autortiesîbas"; }
{ return "Autortiesības"; }
/*! Header for the graph showing the directory dependencies */
virtual QCString trDirDepGraph(const char *name)
{ return QCString("Atkarîbu grafs direktorijai ")+name+":"; }
{ return QCString("Atkarību grafs direktorijai ")+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
......@@ -1898,7 +1898,7 @@ class TranslatorLatvian : public Translator
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
{ return "detalizâcijas lîmenis"; }
{ return "detalizācijas līmenis"; }
/*! Section header for list of template parameters */
virtual QCString trTemplateParameters()
......@@ -1906,11 +1906,11 @@ class TranslatorLatvian : public Translator
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number)
{ return "un vçl "+number+"..."; }
{ return "un vēl "+number+"..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "Dokumentâcija ðim uzskaitîjumliterâlim tika ìenerçta no sekojoð";
{ QCString result = "Dokumentācija šim uzskaitījumliterālim tika ģenerēta no sekojoš";
if (single) result+="a"; else result += "iem";
result+=" fail";
if (single) result+="a"; else result += "iem";
......@@ -1920,14 +1920,14 @@ class TranslatorLatvian : public Translator
/*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name)
{ return QCString(name)+" uzskaitîjumliterâïa atsauce"; }
{ return QCString(name)+" uzskaitījumliterāļa atsauce"; }
/*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" manto no "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "Papildus mantotie elementi"; }
......@@ -1937,13 +1937,13 @@ class TranslatorLatvian : public Translator
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
QCString opt = enable ? "iespçjotu" : "atspçjotu";
return "uzklikðíinât, lai "+opt+" paneïu sinhronizâciju";
QCString opt = enable ? "iespējotu" : "atspējotu";
return "uzklikšķināt, lai "+opt+" paneļu sinhronizāciju";
}
/*! Used in a method of an Objective-C class that is declared in a
......@@ -1952,7 +1952,7 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trProvidedByCategory()
{
return "Nodroðina kategorija @1.";
return "Nodrošina kategorija @1.";
}
/*! Used in a method of an Objective-C category that extends a class.
......@@ -1961,7 +1961,7 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trExtendsClass()
{
return "Paplaðina klasi @1.";
return "Paplašina klasi @1.";
}
/*! Used as the header of a list of class methods in Objective-C.
......@@ -1984,7 +1984,7 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trMethodDocumentation()
{
return "Metoþu dokumentâcija";
return "Metožu dokumentācija";
}
/*! Used as the title of the design overview picture created for the
......@@ -1992,7 +1992,7 @@ class TranslatorLatvian : public Translator
*/
virtual QCString trDesignOverview()
{
return "Dizaina pârskats";
return "Dizaina pārskats";
}
//////////////////////////////////////////////////////////////////////////
......
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