Commit 168b741d authored by dimitri's avatar dimitri

Release-1.2.2

parent cabe22de
DOXYGEN Version 1.2.1-20000917 DOXYGEN Version 1.2.2
Please read the installation section of the manual for instructions. Please read the installation section of the manual for instructions.
-------- --------
Dimitri van Heesch (17 September 2000) Dimitri van Heesch (24 September 2000)
DOXYGEN Version 1.2.1-20000917 DOXYGEN Version 1.2.2
Please read INSTALL for compilation instructions. Please read INSTALL for compilation instructions.
...@@ -7,4 +7,4 @@ The latest version of doxygen can be obtained at ...@@ -7,4 +7,4 @@ The latest version of doxygen can be obtained at
Enjoy, Enjoy,
Dimitri van Heesch (17 September 2000) Dimitri van Heesch (24 September 2000)
1.2.1-20000917 1.2.2
...@@ -775,7 +775,8 @@ void init() ...@@ -775,7 +775,8 @@ void init()
"information to generate all constant output in the proper language. \n" "information to generate all constant output in the proper language. \n"
"The default language is English, other supported languages are: \n" "The default language is English, other supported languages are: \n"
"Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, \n" "Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, \n"
"Korean, Hungarian, Spanish, Russian, Croatian, Polish, and Portuguese.\n" "Korean, Hungarian, Spanish, Romanian, Russian, Croatian, Polish, and \n"
"Portuguese.\n"
); );
ConfigString::addFixedValue("outputLanguage","English"); ConfigString::addFixedValue("outputLanguage","English");
ConfigString::addFixedValue("outputLanguage","Dutch"); ConfigString::addFixedValue("outputLanguage","Dutch");
...@@ -789,6 +790,7 @@ void init() ...@@ -789,6 +790,7 @@ void init()
ConfigString::addFixedValue("outputLanguage","Japanese"); ConfigString::addFixedValue("outputLanguage","Japanese");
ConfigString::addFixedValue("outputLanguage","Korean"); ConfigString::addFixedValue("outputLanguage","Korean");
ConfigString::addFixedValue("outputLanguage","Spanish"); ConfigString::addFixedValue("outputLanguage","Spanish");
ConfigString::addFixedValue("outputLanguage","Romanian");
ConfigString::addFixedValue("outputLanguage","Russian"); ConfigString::addFixedValue("outputLanguage","Russian");
ConfigString::addFixedValue("outputLanguage","Croatian"); ConfigString::addFixedValue("outputLanguage","Croatian");
ConfigString::addFixedValue("outputLanguage","Polish"); ConfigString::addFixedValue("outputLanguage","Polish");
...@@ -1035,7 +1037,6 @@ void init() ...@@ -1035,7 +1037,6 @@ void init()
"put the command \\sideeffect (or @sideeffect) in the documentation, which \n" "put the command \\sideeffect (or @sideeffect) in the documentation, which \n"
"will result in a user defined paragraph with heading \"Side Effects:\". \n" "will result in a user defined paragraph with heading \"Side Effects:\". \n"
"You can put \\n's in the value part of an alias to insert newlines. \n" "You can put \\n's in the value part of an alias to insert newlines. \n"
"Predefined commands cannot be overwritten using aliases. \n"
); );
//----------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------
ConfigInfo::add( "Messages","configuration options related to warning and progress messages"); ConfigInfo::add( "Messages","configuration options related to warning and progress messages");
......
...@@ -448,7 +448,6 @@ followed by the descriptions of the tags grouped by category. ...@@ -448,7 +448,6 @@ followed by the descriptions of the tags grouped by category.
put the command \\sideeffect (or \@sideeffect) in the documentation, which put the command \\sideeffect (or \@sideeffect) in the documentation, which
will result in a user defined paragraph with heading "Side Effects:". will result in a user defined paragraph with heading "Side Effects:".
You can put \\n's in the value part of an alias to insert newlines. You can put \\n's in the value part of an alias to insert newlines.
Predefined commands cannot be overwritten using aliases.
</dl> </dl>
......
Name: doxygen Name: doxygen
Version: 1.2.1-20000917 Version: 1.2.2
Summary: documentation system for C, C++ and IDL Summary: documentation system for C, C++ and IDL
Release: 1 Release: 1
Source0: doxygen-%{version}.src.tar.gz Source0: doxygen-%{version}.src.tar.gz
......
...@@ -616,6 +616,8 @@ void ClassDef::writeDocumentation(OutputList &ol) ...@@ -616,6 +616,8 @@ void ClassDef::writeDocumentation(OutputList &ol)
ol.startTextBlock(); ol.startTextBlock();
//printf("Class %s brief=`%s' doc=`%s'\n",name().data(),briefDescription().data(),documentation().data());
// write brief description // write brief description
OutputList briefOutput(&ol); OutputList briefOutput(&ol);
if (!briefDescription().isEmpty()) if (!briefDescription().isEmpty())
...@@ -1421,7 +1423,7 @@ bool ClassDef::isBaseClass(ClassDef *bcd) ...@@ -1421,7 +1423,7 @@ bool ClassDef::isBaseClass(ClassDef *bcd)
* superclasses! * superclasses!
*/ */
void ClassDef::mergeMembers(/*ClassDef *cd,BaseClassList *bcl*/) void ClassDef::mergeMembers()
{ {
BaseClassListIterator bcli(*baseClasses()); BaseClassListIterator bcli(*baseClasses());
BaseClassDef *bcd; BaseClassDef *bcd;
...@@ -1648,9 +1650,15 @@ void ClassDef::determineImplUsageRelation() ...@@ -1648,9 +1650,15 @@ void ClassDef::determineImplUsageRelation()
QCString templSpec; QCString templSpec;
if (te>ts) templSpec = type.mid(ts,te-ts); if (te>ts) templSpec = type.mid(ts,te-ts);
// TODO: also check using Nx::Cx cases here! // TODO: also check using Nx::Cx cases here!
ClassDef *cd=getResolvedClass(name()+"::"+type.mid(i,l)); QCString usedClassName = type.mid(i,l);
if (cd==0) cd=getResolvedClass(type.mid(i,l)); // TODO: also try inbetween scopes! ClassDef *cd=0;
//printf("Search for class %s result=%p\n",type.mid(i,l).data(),cd); if (getNamespaceDef()!=0)
{
cd=getResolvedClass(getNamespaceDef()->name()+"::"+usedClassName);
}
if (cd==0) cd=getResolvedClass(name()+"::"+usedClassName);
if (cd==0) cd=getResolvedClass(usedClassName); // TODO: also try inbetween scopes!
//printf("Search for class %s result=%p\n",usedClassName.data(),cd);
if (cd) // class exists if (cd) // class exists
{ {
found=TRUE; found=TRUE;
......
/* This file was generated by configgen on Sat Sep 2 10:51:52 2000 /* This file was generated by configgen on Sun Sep 24 18:38:07 2000
* from config_templ.h * from config_templ.h
* *
* DO NOT EDIT! * DO NOT EDIT!
......
/* This file was generated by configgen on Sat Sep 2 10:51:52 2000 /* This file was generated by configgen on Sun Sep 24 18:38:07 2000
* from config_templ.l * from config_templ.l
* *
* DO NOT EDIT! * DO NOT EDIT!
...@@ -1015,7 +1015,8 @@ void writeTemplateConfig(QFile *f,bool sl) ...@@ -1015,7 +1015,8 @@ void writeTemplateConfig(QFile *f,bool sl)
t << "# information to generate all constant output in the proper language. \n"; t << "# information to generate all constant output in the proper language. \n";
t << "# The default language is English, other supported languages are: \n"; t << "# The default language is English, other supported languages are: \n";
t << "# Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, \n"; t << "# Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, \n";
t << "# Korean, Hungarian, Spanish, Russian, Croatian, Polish, and Portuguese.\n"; t << "# Korean, Hungarian, Spanish, Romanian, Russian, Croatian, Polish, and \n";
t << "# Portuguese.\n";
t << "\n"; t << "\n";
} }
t << "OUTPUT_LANGUAGE = "; t << "OUTPUT_LANGUAGE = ";
...@@ -1193,11 +1194,11 @@ void writeTemplateConfig(QFile *f,bool sl) ...@@ -1193,11 +1194,11 @@ void writeTemplateConfig(QFile *f,bool sl)
if (!sl) if (!sl)
{ {
t << "\n"; t << "\n";
t << "# If the CASE_SENSE_NAMES tag is set to NO (the default) then Doxygen \n"; t << "# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate \n";
t << "# will only generate file names in lower case letters. If set to \n"; t << "# file names in lower case letters. If set to YES upper case letters are also \n";
t << "# YES upper case letters are also allowed. This is useful if you have \n"; t << "# allowed. This is useful if you have classes or files whose names only differ \n";
t << "# classes or files whose names only differ in case and if your file system \n"; t << "# in case and if your file system supports case sensitive file names. Windows \n";
t << "# supports case sensitive file names. \n"; t << "# users are adviced to set this option to NO.\n";
t << "\n"; t << "\n";
} }
t << "CASE_SENSE_NAMES = "; t << "CASE_SENSE_NAMES = ";
...@@ -1344,7 +1345,6 @@ void writeTemplateConfig(QFile *f,bool sl) ...@@ -1344,7 +1345,6 @@ void writeTemplateConfig(QFile *f,bool sl)
t << "# put the command \\sideeffect (or @sideeffect) in the documentation, which \n"; t << "# put the command \\sideeffect (or @sideeffect) in the documentation, which \n";
t << "# will result in a user defined paragraph with heading \"Side Effects:\". \n"; t << "# will result in a user defined paragraph with heading \"Side Effects:\". \n";
t << "# You can put \\n's in the value part of an alias to insert newlines. \n"; t << "# You can put \\n's in the value part of an alias to insert newlines. \n";
t << "# Predefined commands cannot be overwritten using aliases. \n";
t << "\n"; t << "\n";
} }
t << "ALIASES = "; t << "ALIASES = ";
......
...@@ -2069,24 +2069,6 @@ DOCPARAM ([a-z_A-Z0-9:\<\>\=\.\-]+)|("\"".*"\"") ...@@ -2069,24 +2069,6 @@ DOCPARAM ([a-z_A-Z0-9:\<\>\=\.\-]+)|("\"".*"\"")
outDoc->writeChar(' '); outDoc->writeChar(' ');
} }
} }
<DocScan>"\\"[a-z_A-Z][a-z_A-Z0-9]*[\\] { // directory type of text
outDoc->docify(yytext);
}
<DocScan>{CMD}[a-z_A-Z][a-z_A-Z0-9]* {
QCString *pValue=aliasDict[yytext+1];
if (pValue)
{
int i,l=pValue->length();
for (i=l-1;i>=0;i--)
{
unput(pValue->at(i));
}
}
else
{
warn(yyFileName,yyLineNr,"Warning in the documentation of this entity:\nUnknown command `%s' found.",yytext);
}
}
<DocCode,DocEmphasis,DocBold,DocScan,Text>[a-z_A-Z0-9]+ { <DocCode,DocEmphasis,DocBold,DocScan,Text>[a-z_A-Z0-9]+ {
outDoc->docify(yytext); outDoc->docify(yytext);
} }
......
...@@ -3201,7 +3201,7 @@ static void findMember(Entry *root,QCString funcDecl,QCString related,bool overl ...@@ -3201,7 +3201,7 @@ static void findMember(Entry *root,QCString funcDecl,QCString related,bool overl
NamespaceDef *nd=0; NamespaceDef *nd=0;
if (!namespaceName.isEmpty()) nd=getResolvedNamespace(namespaceName); if (!namespaceName.isEmpty()) nd=getResolvedNamespace(namespaceName);
tcd = findClassDefinition(fd,nd,scopeName,classTempList); tcd = findClassDefinition(fd,nd,scopeName,classTempList);
if (cd && tcd==cd) // member's classes match if (cd && tcd==cd) // member's classes match
{ {
Debug::print(Debug::FindMembers,0, Debug::print(Debug::FindMembers,0,
...@@ -5737,7 +5737,29 @@ int main(int argc,char **argv) ...@@ -5737,7 +5737,29 @@ int main(int argc,char **argv)
{ {
QCString name=alias.left(i).stripWhiteSpace(); QCString name=alias.left(i).stripWhiteSpace();
QCString value=alias.right(alias.length()-i-1); QCString value=alias.right(alias.length()-i-1);
value=substitute(value,"\\n","\n"); QCString newValue;
int in,p=0;
// for each \n in the alias command value
while ((in=value.find("\\n",p))!=-1)
{
newValue+=value.mid(p,in-p);
// expand \n's except if \n is part of a built-in command.
if (value.mid(in,5)!="\\note" &&
value.mid(in,5)!="\\name" &&
value.mid(in,10)!="\\namespace" &&
value.mid(in,14)!="\\nosubgrouping"
)
{
newValue+="\n";
}
else
{
newValue+="\\n";
}
p=in+2;
}
newValue+=value.mid(p,value.length()-p);
value=newValue;
//printf("Alias: found name=`%s' value=`%s'\n",name.data(),value.data()); //printf("Alias: found name=`%s' value=`%s'\n",name.data(),value.data());
if (!name.isEmpty()) if (!name.isEmpty())
{ {
......
...@@ -26,7 +26,8 @@ HEADERS = doxygen.h scanner.h doc.h classdef.h classlist.h memberdef.h \ ...@@ -26,7 +26,8 @@ HEADERS = doxygen.h scanner.h doc.h classdef.h classlist.h memberdef.h \
translator_nl.h translator_se.h translator_cz.h translator_fr.h \ translator_nl.h translator_se.h translator_cz.h translator_fr.h \
translator_it.h formula.h debug.h membergroup.h htmlhelp.h \ translator_it.h formula.h debug.h membergroup.h htmlhelp.h \
translator_ru.h translator_pl.h dot.h rtfgen.h xml.h xml_dtd.h \ translator_ru.h translator_pl.h dot.h rtfgen.h xml.h xml_dtd.h \
reflist.h page.h sortdict.h translator_hu.h translator_kr.h reflist.h page.h sortdict.h translator_hu.h translator_kr.h \
translator_ro.h
SOURCES = doxygen.cpp scanner.cpp doc.cpp classdef.cpp classlist.cpp \ SOURCES = doxygen.cpp scanner.cpp doc.cpp classdef.cpp classlist.cpp \
memberdef.cpp membername.cpp index.cpp memberlist.cpp \ memberdef.cpp membername.cpp index.cpp memberlist.cpp \
entry.cpp logos.cpp instdox.cpp message.cpp code.cpp \ entry.cpp logos.cpp instdox.cpp message.cpp code.cpp \
......
...@@ -1673,9 +1673,10 @@ void writeIndex(OutputList &ol) ...@@ -1673,9 +1673,10 @@ void writeIndex(OutputList &ol)
{ {
projPrefix=Config::projectName+" "; projPrefix=Config::projectName+" ";
} }
//--------------------------------------------------------------------
// write HTML index // write HTML index
//ol.disable(OutputGenerator::Man); //--------------------------------------------------------------------
//ol.disable(OutputGenerator::Latex);
ol.disableAllBut(OutputGenerator::Html); ol.disableAllBut(OutputGenerator::Html);
QCString defFileName = QCString defFileName =
...@@ -1690,7 +1691,7 @@ void writeIndex(OutputList &ol) ...@@ -1690,7 +1691,7 @@ void writeIndex(OutputList &ol)
} }
else else
{ {
title = mainPage->title; title = substitute(mainPage->title,"%","");
} }
ol.startFile("index",title,FALSE); ol.startFile("index",title,FALSE);
...@@ -1727,7 +1728,9 @@ void writeIndex(OutputList &ol) ...@@ -1727,7 +1728,9 @@ void writeIndex(OutputList &ol)
endFile(ol); endFile(ol);
ol.disable(OutputGenerator::Html); ol.disable(OutputGenerator::Html);
//--------------------------------------------------------------------
// write LaTeX/RTF index // write LaTeX/RTF index
//--------------------------------------------------------------------
ol.enable(OutputGenerator::Latex); ol.enable(OutputGenerator::Latex);
ol.enable(OutputGenerator::RTF); ol.enable(OutputGenerator::RTF);
...@@ -1844,14 +1847,14 @@ void writeIndex(OutputList &ol) ...@@ -1844,14 +1847,14 @@ void writeIndex(OutputList &ol)
{ {
ol.disable(OutputGenerator::Man); ol.disable(OutputGenerator::Man);
startFile(ol,mainPage->name,mainPage->title); startFile(ol,mainPage->name,mainPage->title);
SectionInfo *si=0; //SectionInfo *si=0;
if (!mainPage->title.isEmpty() && !mainPage->name.isEmpty() && //if (!mainPage->title.isEmpty() && !mainPage->name.isEmpty() &&
(si=sectionDict[mainPage->name])!=0) // (si=sectionDict[mainPage->name])!=0)
{ //{
ol.startSection(si->label,si->title,FALSE); // ol.startSection(si->label,si->title,FALSE);
ol.docify(si->title); // ol.docify(si->title);
ol.endSection(si->label,FALSE); // ol.endSection(si->label,FALSE);
} //}
ol.startTextBlock(); ol.startTextBlock();
parseDoc(ol,defFileName,defLine,0,0,mainPage->doc); parseDoc(ol,defFileName,defLine,0,0,mainPage->doc);
ol.endTextBlock(); ol.endTextBlock();
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "translator_pt.h" #include "translator_pt.h"
#include "translator_hu.h" #include "translator_hu.h"
#include "translator_kr.h" #include "translator_kr.h"
#include "translator_ro.h"
#endif #endif
#define L_EQUAL(a) !stricmp(langName,a) #define L_EQUAL(a) !stricmp(langName,a)
...@@ -110,6 +111,10 @@ bool setTranslator(const char *langName) ...@@ -110,6 +111,10 @@ bool setTranslator(const char *langName)
{ {
theTranslator=new TranslatorKorean; theTranslator=new TranslatorKorean;
} }
else if (L_EQUAL("romanian"))
{
theTranslator=new TranslatorRomanian;
}
#endif #endif
else // use the default language (i.e. english) else // use the default language (i.e. english)
{ {
......
...@@ -139,6 +139,7 @@ static char lastCopyArgChar; ...@@ -139,6 +139,7 @@ static char lastCopyArgChar;
static QCString *pCopyRoundString; static QCString *pCopyRoundString;
static QCString *pCopyCurlyString; static QCString *pCopyCurlyString;
static QCString *pCopyQuotedString; static QCString *pCopyQuotedString;
static QCString *pSkipDoc;
static bool insideFormula; static bool insideFormula;
...@@ -2837,30 +2838,58 @@ TITLE [tT][iI][tT][lL][eE] ...@@ -2837,30 +2838,58 @@ TITLE [tT][iI][tT][lL][eE]
sectionType=SectionInfo::Anchor; sectionType=SectionInfo::Anchor;
BEGIN(AnchorLabel); BEGIN(AnchorLabel);
} }
<Doc,PageDoc,JavaDoc,ClassDoc>("\\\\"|"@@")"verbatim"/[^a-z_A-Z0-9] { <Doc,PageDoc,ClassDoc>("\\\\"|"@@")"verbatim"/[^a-z_A-Z0-9] {
current->doc+="\\\\verbatim"; current->doc+="\\\\verbatim";
} }
<Doc,PageDoc,JavaDoc,ClassDoc>{CMD}"verbatim"/[^a-z_A-Z0-9] { <Doc,PageDoc,ClassDoc>{CMD}"verbatim"/[^a-z_A-Z0-9] {
lastVerbState=YY_START; lastVerbState=YY_START;
current->doc+="\\verbatim"; current->doc+="\\verbatim";
BEGIN(SkipVerbatim); BEGIN(SkipVerbatim);
} }
<Doc,PageDoc,JavaDoc,ClassDoc>{CMD}"addindex"{B}+[^\n]+ { <Doc,PageDoc,ClassDoc>{CMD}"addindex"{B}+[^\n]+ {
current->doc+=yytext; current->doc+=yytext;
} }
<Doc,PageDoc,JavaDoc,ClassDoc>("\\\\"|"@@")"code"/[^a-z_A-Z0-9] { <Doc,PageDoc,ClassDoc>("\\\\"|"@@")"code"/[^a-z_A-Z0-9] {
current->doc+="\\\\code"; current->doc+="\\\\code";
} }
<Doc,PageDoc,JavaDoc,ClassDoc>{CMD}"code"/[^a-z_A-Z0-9] { <Doc,PageDoc,ClassDoc>{CMD}"code"/[^a-z_A-Z0-9] {
lastCodeState=YY_START; lastCodeState=YY_START;
current->doc+="\\code"; current->doc+="\\code";
pSkipDoc=&current->doc;
BEGIN(SkipCode); BEGIN(SkipCode);
} }
<Doc,PageDoc,JavaDoc,ClassDoc>"<"{PRE}{ATTR}">" { <Doc,PageDoc,ClassDoc>"<"{PRE}{ATTR}">" {
lastCodeState=YY_START; lastCodeState=YY_START;
current->doc+="<PRE>"; current->doc+="<PRE>";
pSkipDoc=&current->doc;
BEGIN(SkipCode); BEGIN(SkipCode);
} }
<JavaDoc>"<"{PRE}{ATTR}">" {
lastCodeState=YY_START;
current->brief+="<PRE>";
pSkipDoc=&current->brief;
BEGIN(SkipCode);
}
<JavaDoc>("\\\\"|"@@")"verbatim"/[^a-z_A-Z0-9] {
current->brief+="\\\\verbatim";
}
<JavaDoc>{CMD}"verbatim"/[^a-z_A-Z0-9] {
lastVerbState=YY_START;
current->brief+="\\verbatim";
BEGIN(SkipVerbatim);
}
<JavaDoc>{CMD}"addindex"{B}+[^\n]+ {
current->brief+=yytext;
}
<JavaDoc>("\\\\"|"@@")"code"/[^a-z_A-Z0-9] {
current->brief+="\\\\code";
}
<JavaDoc>{CMD}"code"/[^a-z_A-Z0-9] {
lastCodeState=YY_START;
current->brief+="\\code";
pSkipDoc=&current->brief;
BEGIN(SkipCode);
}
<SkipVerbatim>{CMD}"endverbatim"/[^a-z_A-Z0-9] { <SkipVerbatim>{CMD}"endverbatim"/[^a-z_A-Z0-9] {
current->doc+=yytext; current->doc+=yytext;
BEGIN(lastVerbState); BEGIN(lastVerbState);
...@@ -2890,30 +2919,30 @@ TITLE [tT][iI][tT][lL][eE] ...@@ -2890,30 +2919,30 @@ TITLE [tT][iI][tT][lL][eE]
current->doc+=*yytext; current->doc+=*yytext;
} }
<SkipCode>{CMD}"endcode" { <SkipCode>{CMD}"endcode" {
current->doc+="\\endcode"; *pSkipDoc+="\\endcode";
BEGIN(lastCodeState); BEGIN(lastCodeState);
} }
<SkipCode>"</"{PRE}{ATTR}">" { <SkipCode>"</"{PRE}{ATTR}">" {
current->doc+="</PRE>"; *pSkipDoc+="</PRE>";
BEGIN(lastCodeState); BEGIN(lastCodeState);
} }
<SkipCode>^"//"({B}*"*"+)? { <SkipCode>^"//"({B}*"*"+)? {
if (!removeSlashes) if (!removeSlashes)
current->doc+=yytext; *pSkipDoc+=yytext;
} }
<SkipCode>^{B}*"*"+ <SkipCode>^{B}*"*"+
<SkipCode>"//" { <SkipCode>"//" {
current->doc+=yytext; *pSkipDoc+=yytext;
} }
<SkipCode>[^ \<\*\t\/\\\n]+ { <SkipCode>[^ \<\*\t\/\\\n]+ {
current->doc+=yytext; *pSkipDoc+=yytext;
} }
<SkipCode>\n { <SkipCode>\n {
yyLineNr++; yyLineNr++;
current->doc+=*yytext; *pSkipDoc+=*yytext;
} }
<SkipCode>. { <SkipCode>. {
current->doc+=*yytext; *pSkipDoc+=*yytext;
} }
<AnchorLabel>{ID} { <AnchorLabel>{ID} {
sectionLabel=yytext; sectionLabel=yytext;
...@@ -3004,7 +3033,7 @@ TITLE [tT][iI][tT][lL][eE] ...@@ -3004,7 +3033,7 @@ TITLE [tT][iI][tT][lL][eE]
{ {
err("Error: comment block ended inside \\code ... \\endcode block at line %d in %s!\n", err("Error: comment block ended inside \\code ... \\endcode block at line %d in %s!\n",
yyLineNr,yyFileName); yyLineNr,yyFileName);
current->doc += "\\endcode\n\n"; *pSkipDoc += "\\endcode\n\n";
BEGIN( lastDocContext ); BEGIN( lastDocContext );
} }
else if (YY_START==ClassDocBrief && else if (YY_START==ClassDocBrief &&
...@@ -3340,6 +3369,43 @@ TITLE [tT][iI][tT][lL][eE] ...@@ -3340,6 +3369,43 @@ TITLE [tT][iI][tT][lL][eE]
<Doc,JavaDoc,ClassDoc,PageDoc,ExampleDoc,ReadFormulaShort,ReadFormulaLong,ClassDocBrief,AfterDoc,AfterDocBrief>^{B}*(("//"{B}*)?)"*"+{B}+ { <Doc,JavaDoc,ClassDoc,PageDoc,ExampleDoc,ReadFormulaShort,ReadFormulaLong,ClassDocBrief,AfterDoc,AfterDocBrief>^{B}*(("//"{B}*)?)"*"+{B}+ {
current->doc+=' '; current->doc+=' ';
} }
<Doc,ClassDoc,PageDoc,ExampleDoc,AfterDoc>"\\"[a-z_A-Z][a-z_A-Z0-9]*[\\] { // directory type of text
current->doc+=yytext;
}
<Doc,ClassDoc,PageDoc,ExampleDoc,AfterDoc>{CMD}[a-z_A-Z][a-z_A-Z0-9]* {
QCString *pValue=aliasDict[yytext+1];
if (pValue)
{
int i,l=pValue->length();
for (i=l-1;i>=0;i--)
{
unput(pValue->at(i));
}
}
else
{
current->doc+=yytext;
}
}
<JavaDoc,LineDoc,ClassDocBrief,AfterDocBrief,AfterDocLine>"\\"[a-z_A-Z][a-z_A-Z0-9]*[\\] { // directory type of text
current->brief+=yytext;
}
<JavaDoc,LineDoc,ClassDocBrief,AfterDocBrief,AfterDocLine>{CMD}[a-z_A-Z][a-z_A-Z0-9]* {
QCString *pValue=aliasDict[yytext+1];
if (pValue)
{
int i,l=pValue->length();
for (i=l-1;i>=0;i--)
{
unput(pValue->at(i));
}
}
else
{
current->brief+=yytext;
}
}
<DefLineDoc,LineDoc,ClassDoc,Doc>"/*" { current->doc += yytext; } <DefLineDoc,LineDoc,ClassDoc,Doc>"/*" { current->doc += yytext; }
<SkipCxxComment>.*/\n { <SkipCxxComment>.*/\n {
BEGIN( lastCContext ) ; BEGIN( lastCContext ) ;
......
...@@ -23,6 +23,11 @@ ...@@ -23,6 +23,11 @@
// As opposed to Czech translation this one assumes that Doxygen strings are written in Linux ( it's true, // As opposed to Czech translation this one assumes that Doxygen strings are written in Linux ( it's true,
// I don't have QT pro licence ) , and uses ISOToWin function when built in WIN32 // I don't have QT pro licence ) , and uses ISOToWin function when built in WIN32
// //
// 2000/09/18
// - Added strings from 1.2.1
// - Removed unneeeded decode() calls
// - Changed some CS terminology
//
#ifndef TRANSLATOR_HR_H #ifndef TRANSLATOR_HR_H
#define TRANSLATOR_HR_H #define TRANSLATOR_HR_H
...@@ -32,9 +37,6 @@ class TranslatorCroatian : public Translator ...@@ -32,9 +37,6 @@ class TranslatorCroatian : public Translator
{ {
private: private:
/*! to avoid macro redefinition from translator_cz.h */ /*! to avoid macro redefinition from translator_cz.h */
/* Speed loss is actualy less than in Czech version due to
fewer QCString copying.
*/
inline QCString decode(const QCString& sInput) inline QCString decode(const QCString& sInput)
{ {
#ifdef _WIN32 #ifdef _WIN32
...@@ -56,30 +58,30 @@ class TranslatorCroatian : public Translator ...@@ -56,30 +58,30 @@ class TranslatorCroatian : public Translator
QCString latexBabelPackage() QCString latexBabelPackage()
{ return "croatian"; } { return "croatian"; }
QCString trRelatedFunctions() QCString trRelatedFunctions()
{ return decode("Povezane funkcije"); } { return "Povezane funkcije"; }
QCString trRelatedSubscript() QCString trRelatedSubscript()
{ return decode("(To nisu member funkcije.)"); } { return "(To nisu member funkcije.)"; }
QCString trDetailedDescription() QCString trDetailedDescription()
{ return decode("Detaljno objanjenje"); } { return decode("Detaljno objanjenje"); }
QCString trMemberTypedefDocumentation() QCString trMemberTypedefDocumentation()
{ return decode("Dokumentacija typedef lanova"); } { return decode("Dokumentacija typedef lanova"); }
QCString trMemberEnumerationDocumentation() QCString trMemberEnumerationDocumentation()
{ return decode("Dokumentacija enum lanova"); } { return decode("Dokumentacija enumeracijskih lanova"); }
QCString trEnumerationValueDocumentation() QCString trEnumerationValueDocumentation()
{ return decode("Dokumentacija enum vrijednosti"); } { return "Dokumentacija enumeracijskih vrijednosti"; }
QCString trMemberFunctionDocumentation() QCString trMemberFunctionDocumentation()
{ return decode("Dokumentacija funkcija"); } { return "Dokumentacija funkcija"; }
QCString trMemberDataDocumentation() QCString trMemberDataDocumentation()
{ return decode("Documentacija varijabli"); } { return "Documentacija varijabli"; }
QCString trGeneratedFrom(const char *s,bool single) QCString trGeneratedFrom(const char *s,bool single)
{ {
QCString result= decode("Dokumentacija za ")+s+ QCString result= (QCString)"Dokumentacija za "+s+
decode("je generirana iz "); "je generirana iz ";
if (single) if (single)
result+= decode("datoteke :"); result+= "datoteke :";
else else
result+= decode("slijedeih datoteka:"); result+= "slijedeih datoteka:";
return result; return decode(result);
} }
QCString trMore() QCString trMore()
{ return decode("Opirnije..."); } { return decode("Opirnije..."); }
...@@ -93,9 +95,9 @@ class TranslatorCroatian : public Translator ...@@ -93,9 +95,9 @@ class TranslatorCroatian : public Translator
{ return decode(", ukljuujui naslijeene lanove."); } { return decode(", ukljuujui naslijeene lanove."); }
QCString trGeneratedAutomatically(const char *s) QCString trGeneratedAutomatically(const char *s)
{ QCString result=decode("generirano automatski Doxygen-om"); { QCString result=decode("generirano automatski Doxygen-om");
if (s) result+=(QCString)decode(" za ")+s; if (s) result+=(QCString)" za "+s;
result+=decode(" iz programskog koda."); result+=" iz programskog koda.";
return result; return decode(result);
} }
QCString trEnumName() QCString trEnumName()
{ return decode("enum ime"); } { return decode("enum ime"); }
...@@ -104,17 +106,17 @@ class TranslatorCroatian : public Translator ...@@ -104,17 +106,17 @@ class TranslatorCroatian : public Translator
QCString trDefinedIn() QCString trDefinedIn()
{ return decode("definirano u"); } { return decode("definirano u"); }
QCString trVerbatimText(const char *f) QCString trVerbatimText(const char *f)
{ return (QCString)decode("Ovo je citirani tekst iz include datoteke ")+f+"."; } { return (QCString)"Ovo je citirani tekst iz include datoteke "+f+"."; }
QCString trModules() QCString trModules()
{ return decode("Moduli"); } { return "Moduli"; }
QCString trClassHierarchy() QCString trClassHierarchy()
{ return decode("Stablo klasa"); } { return "Stablo klasa"; }
QCString trCompoundList() QCString trCompoundList()
{ return decode("Sve klase"); } { return "Sve klase"; }
QCString trFileList() QCString trFileList()
{ return decode("Popis datoteka"); } { return "Popis datoteka"; }
QCString trHeaderFiles() QCString trHeaderFiles()
{ return decode("Header datoteke"); } { return "Header datoteke"; }
QCString trCompoundMembers() QCString trCompoundMembers()
{ return decode("Svi lanovi"); } { return decode("Svi lanovi"); }
QCString trFileMembers() QCString trFileMembers()
...@@ -122,7 +124,7 @@ class TranslatorCroatian : public Translator ...@@ -122,7 +124,7 @@ class TranslatorCroatian : public Translator
QCString trRelatedPages() QCString trRelatedPages()
{ return decode("Povezane stranice"); } { return decode("Povezane stranice"); }
QCString trExamples() QCString trExamples()
{ return decode("Primjeri"); } { return "Primjeri"; }
QCString trSearch() QCString trSearch()
{ return decode("Trai"); } { return decode("Trai"); }
QCString trClassHierarchyDescription() QCString trClassHierarchyDescription()
...@@ -131,105 +133,105 @@ class TranslatorCroatian : public Translator ...@@ -131,105 +133,105 @@ class TranslatorCroatian : public Translator
} }
QCString trFileListDescription(bool extractAll) QCString trFileListDescription(bool extractAll)
{ {
QCString result=decode("Popis svih "); QCString result="Popis svih ";
if (!extractAll) result+=decode("dokumentiranih "); if (!extractAll) result+="dokumentiranih ";
result+=decode("datoteka, s kratkim opisom:"); result+="datoteka, s kratkim opisom:";
return result; return decode(result);
} }
QCString trCompoundListDescription() QCString trCompoundListDescription()
{ return decode("Popis svih klasa, unija i struktura " { return "Popis svih klasa, unija i struktura "
"s kratkim opisom :"); "s kratkim opisom :";
} }
QCString trCompoundMembersDescription(bool extractAll) QCString trCompoundMembersDescription(bool extractAll)
{ {
QCString result=decode("Popis svih "); QCString result="Popis svih ";
if (!extractAll) result+=decode("dokumentiranih "); if (!extractAll) result+="dokumentiranih ";
result+=decode("lanova klasa s linkovima na "); result+="lanova klasa s linkovima na ";
if (extractAll) result+=decode("dokumentaciju svakog lana:"); if (extractAll) result+="dokumentaciju svakog lana:";
else result+=decode("dokumentaciju klase :"); else result+="dokumentaciju klase :";
return result; return decode(result);
} }
QCString trFileMembersDescription(bool extractAll) QCString trFileMembersDescription(bool extractAll)
{ {
QCString result=decode("Popis svih "); QCString result="Popis svih ";
if (!extractAll) result+=decode("dokumentiranih "); if (!extractAll) result+="dokumentiranih ";
result+=decode("lanova s linkovima na "); result+="lanova s linkovima na ";
if (extractAll) result+=decode("dokumentaciju datoteke u kojima se nalaze:"); if (extractAll) result+="dokumentaciju datoteke u kojima se nalaze:";
else result+=decode("datoteke u kojima se nalaze:"); else result+="datoteke u kojima se nalaze:";
return result; return decode(result);
} }
QCString trHeaderFilesDescription() QCString trHeaderFilesDescription()
{ return decode("Popis header datoteka koje ine API :"); } { return decode("Popis header datoteka koje ine API :"); }
QCString trExamplesDescription() QCString trExamplesDescription()
{ return decode("Popis primjera :"); } { return "Popis primjera :"; }
QCString trRelatedPagesDescription() QCString trRelatedPagesDescription()
{ return decode("Popis povezanih stranica:"); } { return "Popis povezanih stranica:"; }
QCString trModulesDescription() QCString trModulesDescription()
{ return decode("Popis svih modula:"); } { return "Popis svih modula:"; }
QCString trNoDescriptionAvailable() QCString trNoDescriptionAvailable()
{ return decode("Opis nije dostupan"); } { return "Opis nije dostupan"; }
QCString trDocumentation() QCString trDocumentation()
{ return decode("Dokumentacija"); } { return "Dokumentacija"; }
QCString trModuleIndex() QCString trModuleIndex()
{ return decode("Indeks modula"); } { return "Kazalo modula"; }
QCString trHierarchicalIndex() QCString trHierarchicalIndex()
{ return decode("Hijerarhijski indeks"); } { return "Hijerarhijsko kazalo"; }
QCString trCompoundIndex() QCString trCompoundIndex()
{ return decode("Skupni indeks"); } { return "Skupno kazalo "; }
QCString trFileIndex() QCString trFileIndex()
{ return decode("Indeks datoteka"); } { return "Kazalo datoteka"; }
QCString trModuleDocumentation() QCString trModuleDocumentation()
{ return decode("Dokumentacija modula"); } { return "Dokumentacija modula"; }
QCString trClassDocumentation() QCString trClassDocumentation()
{ return decode("Dokumentacija klasa"); } { return "Dokumentacija klasa"; }
QCString trFileDocumentation() QCString trFileDocumentation()
{ return decode("Dokumentacija datoteka"); } { return "Dokumentacija datoteka"; }
QCString trExampleDocumentation() QCString trExampleDocumentation()
{ return decode("Dokumentacija primjera"); } { return "Dokumentacija primjera"; }
QCString trPageDocumentation() QCString trPageDocumentation()
{ return decode("Dokumentacija za povezane stranice"); } { return "Dokumentacija vezane stranice"; }
QCString trReferenceManual() QCString trReferenceManual()
{ return decode("Prirunik"); } { return decode("Prirunik"); }
QCString trDefines() QCString trDefines()
{ return decode("Define-ovi"); } { return "Definicije"; }
QCString trFuncProtos() QCString trFuncProtos()
{ return decode("Prototipi funkcija"); } { return "Prototipi funkcija"; }
QCString trTypedefs() QCString trTypedefs()
{ return decode("Typedef-ovi"); } { return "Typedef-ovi"; }
QCString trEnumerations() QCString trEnumerations()
{ return decode("Enumeracije"); } { return "Enumeracije"; }
QCString trFunctions() QCString trFunctions()
{ return decode("Funkcije"); } { return "Funkcije"; }
QCString trVariables() QCString trVariables()
{ return decode("Varijable"); } { return "Varijable"; }
QCString trEnumerationValues() QCString trEnumerationValues()
{ return decode("Vrijednosti enum-ova"); } { return "Vrijednosti enumeracija"; }
QCString trAuthor() QCString trAuthor()
{ return decode("autor"); } { return "autor"; }
QCString trDefineDocumentation() QCString trDefineDocumentation()
{ return decode("Dokumentacija define-a"); } { return "Dokumentacija definicija"; }
QCString trFunctionPrototypeDocumentation() QCString trFunctionPrototypeDocumentation()
{ return decode("Dokumentacija prototipa funkcije"); } { return "Dokumentacija prototipa funkcije"; }
QCString trTypedefDocumentation() QCString trTypedefDocumentation()
{ return decode("Dokumentacija typedef-a"); } { return "Dokumentacija typedef-a"; }
QCString trEnumerationTypeDocumentation() QCString trEnumerationTypeDocumentation()
{ return decode("Dokumentacija enum tipa"); } { return "Dokumentacija enumeracijskog tipa"; }
QCString trFunctionDocumentation() QCString trFunctionDocumentation()
{ return decode("Dokumentacije funkcijs"); } { return "Dokumentacije funkcija"; }
QCString trVariableDocumentation() QCString trVariableDocumentation()
{ return decode("Dokumentacija varijable"); } { return "Dokumentacija varijable"; }
QCString trCompounds() QCString trCompounds()
{ return decode("Strukture"); } { return "Strukture"; }
QCString trFiles() QCString trFiles()
{ return decode("Datoteke"); } { return "Datoteke"; }
QCString trGeneratedAt(const char *date,const char *projName) QCString trGeneratedAt(const char *date,const char *projName)
{ {
QCString result=(QCString)decode("Generirano ")+date; QCString result=(QCString)"Generirano "+date;
if (projName) result+=(QCString)decode(" projekt: ")+projName; if (projName) result+=(QCString)" projekt: "+projName;
result+=(QCString)decode(" generator: "); result+=" generator: ";
return result; return decode(result);
} }
QCString trWrittenBy() QCString trWrittenBy()
{ {
...@@ -246,38 +248,38 @@ class TranslatorCroatian : public Translator ...@@ -246,38 +248,38 @@ class TranslatorCroatian : public Translator
"Nema utjecaja na API."); "Nema utjecaja na API.");
} }
QCString trWarning() QCString trWarning()
{ return decode("Upozorenje"); } { return "Upozorenje"; }
QCString trBugsAndLimitations() QCString trBugsAndLimitations()
{ return decode("Greke i ogranienja"); } { return decode("Greke i ogranienja"); }
QCString trVersion() QCString trVersion()
{ return decode("Verzija"); } { return "Verzija"; }
QCString trDate() QCString trDate()
{ return decode("Datum"); } { return "Datum"; }
QCString trAuthors() QCString trAuthors()
{ return decode("Autor(i)"); } { return "Autor(i)"; }
QCString trReturns() QCString trReturns()
{ return decode("Povratne vrijednosti"); } { return "Povratne vrijednosti"; }
QCString trSeeAlso() QCString trSeeAlso()
{ return decode("Vidi takoer"); } { return decode("Vidi takoer"); }
QCString trParameters() QCString trParameters()
{ return decode("Parametri"); } { return "Parametri"; }
QCString trExceptions() QCString trExceptions()
{ return decode("Iznimke"); } { return "Iznimke"; }
QCString trGeneratedBy() QCString trGeneratedBy()
{ return decode("Generirao"); } { return "Generirao"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990307 // new since 0.49-990307
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
QCString trNamespaceList() QCString trNamespaceList()
{ return decode("Popis namespace-ova"); } { return "Popis namespace-ova"; }
QCString trNamespaceListDescription(bool extractAll) QCString trNamespaceListDescription(bool extractAll)
{ {
QCString result=decode("Popis svih "); QCString result="Popis svih ";
if (!extractAll) result+=decode("dokumentiranih "); if (!extractAll) result+="dokumentiranih ";
result+=decode("namespace-ova s kratkim opisom:"); result+="namespace-ova s kratkim opisom:";
return result; return decode(result);
} }
QCString trFriends() QCString trFriends()
{ return decode("Friend-ovi "); } { return decode("Friend-ovi "); }
...@@ -287,7 +289,7 @@ class TranslatorCroatian : public Translator ...@@ -287,7 +289,7 @@ class TranslatorCroatian : public Translator
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
QCString trRelatedFunctionDocumentation() QCString trRelatedFunctionDocumentation()
{ return decode("Dokumentacija povezanih funkcija"); } { return "Dokumentacija povezanih funkcija"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990425 // new since 0.49-990425
...@@ -298,48 +300,48 @@ class TranslatorCroatian : public Translator ...@@ -298,48 +300,48 @@ class TranslatorCroatian : public Translator
bool /*isTemplate*/) bool /*isTemplate*/)
// used as the title of the HTML page of a class/struct/union // used as the title of the HTML page of a class/struct/union
{ {
QCString result=decode("Opis "); QCString result="Opis ";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+=decode(" klase "); break; case ClassDef::Class: result+=" klase "; break;
case ClassDef::Struct: result+=decode(" strukture "); break; case ClassDef::Struct: result+=" strukture "; break;
case ClassDef::Union: result+=decode(" unije "); break; case ClassDef::Union: result+=" unije "; break;
case ClassDef::Interface: result+=decode(" suelja (interface) "); break; case ClassDef::Interface: result+=" suelja (interface) "; break;
case ClassDef::Exception: result+=decode(" iznimke (exception) "); break; case ClassDef::Exception: result+=" iznimke (exception) "; break;
} }
result += (QCString)clName; result += clName;
return result; return decode(result);
} }
QCString trFileReference(const char *fileName) QCString trFileReference(const char *fileName)
// used as the title of the HTML page of a file // used as the title of the HTML page of a file
{ {
QCString result=decode("Opis datoteke "); QCString result="Opis datoteke ";
result+=fileName; result+=fileName;
return result; return decode(result);
} }
QCString trNamespaceReference(const char *namespaceName) QCString trNamespaceReference(const char *namespaceName)
// used as the title of the HTML page of a namespace // used as the title of the HTML page of a namespace
{ {
QCString result =decode("Opis namespace-a "); QCString result ="Opis namespace-a ";
result+=namespaceName; result+=namespaceName;
return result; return decode(result);
} }
// these are for the member sections of a class, struct or union // these are for the member sections of a class, struct or union
QCString trPublicMembers() QCString trPublicMembers()
{ return decode("Public lanovi"); } { return decode("Public lanovi"); }
QCString trPublicSlots() QCString trPublicSlots()
{ return decode("Public slotovi"); } { return "Public slotovi"; }
QCString trSignals() QCString trSignals()
{ return decode("Signali"); } { return "Signali"; }
QCString trStaticPublicMembers() QCString trStaticPublicMembers()
{ return decode("Static public lanovi"); } { return decode("Static public lanovi"); }
QCString trProtectedMembers() QCString trProtectedMembers()
{ return decode("Protected lanovi"); } { return decode("Protected lanovi"); }
QCString trProtectedSlots() QCString trProtectedSlots()
{ return decode("Protected slotovi"); } { return "Protected slotovi"; }
QCString trStaticProtectedMembers() QCString trStaticProtectedMembers()
{ return decode("Static protected lanovi"); } { return decode("Static protected lanovi"); }
QCString trPrivateMembers() QCString trPrivateMembers()
...@@ -405,23 +407,23 @@ class TranslatorCroatian : public Translator ...@@ -405,23 +407,23 @@ class TranslatorCroatian : public Translator
QCString trNamespaceMemberDescription(bool extractAll) QCString trNamespaceMemberDescription(bool extractAll)
// This is an introduction to the page with all namespace members // This is an introduction to the page with all namespace members
{ {
QCString result=decode("Lista svih "); QCString result="Lista svih ";
if (!extractAll) result+=decode("dokumentiranih "); if (!extractAll) result+="dokumentiranih ";
result+=decode("namespace lanova s linkovima na "); result+="namespace lanova s linkovima na ";
if (extractAll) if (extractAll)
result+=decode("namespace dokumentaciju svakog lana:"); result+="namespace dokumentaciju svakog lana:";
else else
result+=decode("namespace kojima pripadaju:"); result+="namespace kojima pripadaju:";
return result; return decode(result);
} }
QCString trNamespaceIndex() QCString trNamespaceIndex()
// 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.
{ return decode("Indeks namespace-a"); } { return "Kazalo namespace-a"; }
QCString trNamespaceDocumentation() QCString trNamespaceDocumentation()
// This is used in LaTeX as the title of the chapter containing // This is used in LaTeX as the title of the chapter containing
// the documentation of all namespaces. // the documentation of all namespaces.
{ return decode("Dokumentacija namespace-a"); } { return "Dokumentacija namespace-a"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990728 // new since 0.49-990728
...@@ -434,25 +436,25 @@ class TranslatorCroatian : public Translator ...@@ -434,25 +436,25 @@ class TranslatorCroatian : public Translator
bool single) bool single)
{ // here s is one of " Class", " Struct" or " Union" { // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)decode("Dokumentacija ove "); QCString result="Dokumentacija ove ";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+=decode("klase"); break; case ClassDef::Class: result+="klase"; break;
case ClassDef::Struct: result+=decode("strukture"); break; case ClassDef::Struct: result+="strukture"; break;
case ClassDef::Union: result+=decode("unije"); break; case ClassDef::Union: result+="unije"; break;
case ClassDef::Interface: result+=decode("suelja (interface)"); break; case ClassDef::Interface: result+="suelja (interface)"; break;
case ClassDef::Exception: result+=decode("iznimke (exception)"); break; case ClassDef::Exception: result+="iznimke (exception)"; break;
} }
result+=decode(" je generirana iz datotek"); result+=" je generirana iz datotek";
if (single) result+="e :"; else result+="a :"; if (single) result+="e :"; else result+="a :";
return result; return decode(result);
} }
/*! This is in the (quick) index as a link to the alphabetical compound /*! This is in the (quick) index as a link to the alphabetical compound
* list. * list.
*/ */
QCString trAlphabeticalList() QCString trAlphabeticalList()
{ return decode("Abecedni popis"); } { return "Abecedni popis"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990901 // new since 0.49-990901
...@@ -460,18 +462,18 @@ class TranslatorCroatian : public Translator ...@@ -460,18 +462,18 @@ class TranslatorCroatian : public Translator
/*! This is used as the heading text for the retval command. */ /*! This is used as the heading text for the retval command. */
QCString trReturnValues() QCString trReturnValues()
{ return decode("Povratna vrijednost"); } { return "Povratna vrijednost"; }
/*! This is in the (quick) index as a link to the main page (index.html) /*! This is in the (quick) index as a link to the main page (index.html)
*/ */
QCString trMainPage() QCString trMainPage()
{ return decode("Glavna stranica"); } { return "Glavna stranica"; }
/*! 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.
*/ */
QCString trPageAbbreviation() QCString trPageAbbreviation()
{ return decode("str."); } { return "str."; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-991106 // new since 0.49-991106
...@@ -479,15 +481,15 @@ class TranslatorCroatian : public Translator ...@@ -479,15 +481,15 @@ class TranslatorCroatian : public Translator
QCString trSources() QCString trSources()
{ {
return decode("Izvorne datoteke"); return "Izvorne datoteke";
} }
QCString trDefinedAtLineInSourceFile() QCString trDefinedAtLineInSourceFile()
{ {
return decode("Definirano u liniji @0 datoteke @1."); return "Definirano u liniji @0 datoteke @1.";
} }
QCString trDefinedInSourceFile() QCString trDefinedInSourceFile()
{ {
return decode("Definirano u datoteci @0."); return "Definirano u datoteci @0.";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -496,7 +498,7 @@ class TranslatorCroatian : public Translator ...@@ -496,7 +498,7 @@ class TranslatorCroatian : public Translator
QCString trDeprecated() QCString trDeprecated()
{ {
return decode("Zastarjelo"); return "Zastarjelo";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -516,32 +518,32 @@ class TranslatorCroatian : public Translator ...@@ -516,32 +518,32 @@ class TranslatorCroatian : public Translator
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
QCString trConstructorDocumentation() QCString trConstructorDocumentation()
{ {
return decode("Dokumentacija konstruktora i destruktora "); return "Dokumentacija konstruktora i destruktora ";
} }
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
QCString trGotoSourceCode() QCString trGotoSourceCode()
{ {
return decode("Izvorni kod"); return "Izvorni kod";
} }
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
QCString trGotoDocumentation() QCString trGotoDocumentation()
{ {
return decode("Dokumenacija za ovu datoteku."); return "Dokumenacija za ovu datoteku.";
} }
/*! Text for the \pre command */ /*! Text for the \pre command */
QCString trPrecondition() QCString trPrecondition()
{ {
return decode("Preduvjeti"); return "Preduvjeti";
} }
/*! Text for the \post command */ /*! Text for the \post command */
QCString trPostcondition() QCString trPostcondition()
{ {
return decode("Postuvjeti"); return "Postuvjeti";
} }
/*! Text for the \invariant command */ /*! Text for the \invariant command */
QCString trInvariant() QCString trInvariant()
{ {
return decode("Invarijanta"); return "Invarijanta";
} }
/*! Text shown before a multi-line variable/enum initialization */ /*! Text shown before a multi-line variable/enum initialization */
QCString trInitialValue() QCString trInitialValue()
...@@ -551,7 +553,7 @@ class TranslatorCroatian : public Translator ...@@ -551,7 +553,7 @@ class TranslatorCroatian : public Translator
/*! Text used the source code in the file index */ /*! Text used the source code in the file index */
QCString trCode() QCString trCode()
{ {
return decode("kod"); return "kod";
} }
QCString trGraphicalHierarchy() QCString trGraphicalHierarchy()
{ {
...@@ -563,11 +565,11 @@ class TranslatorCroatian : public Translator ...@@ -563,11 +565,11 @@ class TranslatorCroatian : public Translator
} }
QCString trGotoTextualHierarchy() QCString trGotoTextualHierarchy()
{ {
return decode("Tekstualno stablo klasa"); return "Tekstualno stablo klasa";
} }
QCString trPageIndex() QCString trPageIndex()
{ {
return decode("Indeks stranice"); return "Indeks stranice";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -576,43 +578,43 @@ class TranslatorCroatian : public Translator ...@@ -576,43 +578,43 @@ class TranslatorCroatian : public Translator
QCString trNote() QCString trNote()
{ {
return decode("Primjedba"); return "Primjedba";
} }
QCString trPublicTypes() QCString trPublicTypes()
{ {
return decode("Public tipovi"); return "Public tipovi";
} }
QCString trPublicAttribs() QCString trPublicAttribs()
{ {
return decode("Public atributi"); return "Public atributi";
} }
QCString trStaticPublicAttribs() QCString trStaticPublicAttribs()
{ {
return decode("Static public atributi"); return "Static public atributi";
} }
QCString trProtectedTypes() QCString trProtectedTypes()
{ {
return decode("Protected tipovi"); return "Protected tipovi";
} }
QCString trProtectedAttribs() QCString trProtectedAttribs()
{ {
return decode("Protected atributi"); return "Protected atributi";
} }
QCString trStaticProtectedAttribs() QCString trStaticProtectedAttribs()
{ {
return decode("Static protected atributi"); return "Static protected atributi";
} }
QCString trPrivateTypes() QCString trPrivateTypes()
{ {
return decode("Private tipovi"); return "Private tipovi";
} }
QCString trPrivateAttribs() QCString trPrivateAttribs()
{ {
return decode("Private atributi"); return "Private atributi";
} }
QCString trStaticPrivateAttribs() QCString trStaticPrivateAttribs()
{ {
return decode("Static private atributi"); return "Static private atributi";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.1.3 // new since 1.1.3
...@@ -621,12 +623,12 @@ class TranslatorCroatian : public Translator ...@@ -621,12 +623,12 @@ class TranslatorCroatian : public Translator
/*! Used as a marker that is put before a todo item */ /*! Used as a marker that is put before a todo item */
virtual QCString trTodo() virtual QCString trTodo()
{ {
return decode("Za uraditi"); return "Za uraditi";
} }
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
{ {
return decode("Ostalo za uraditi"); return "Ostalo za uraditi";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -635,11 +637,11 @@ class TranslatorCroatian : public Translator ...@@ -635,11 +637,11 @@ class TranslatorCroatian : public Translator
virtual QCString trReferencedBy() virtual QCString trReferencedBy()
{ {
return decode("Referencirano od"); return "Referencirano od";
} }
virtual QCString trRemarks() virtual QCString trRemarks()
{ {
return decode("Napomene"); return "Napomene";
} }
virtual QCString trAttention() virtual QCString trAttention()
{ {
...@@ -652,7 +654,7 @@ class TranslatorCroatian : public Translator ...@@ -652,7 +654,7 @@ class TranslatorCroatian : public Translator
} }
virtual QCString trSince() virtual QCString trSince()
{ {
return decode("Od"); return "Od";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -662,7 +664,7 @@ class TranslatorCroatian : public Translator ...@@ -662,7 +664,7 @@ class TranslatorCroatian : public Translator
/*! title of the graph legend page */ /*! title of the graph legend page */
virtual QCString trLegendTitle() virtual QCString trLegendTitle()
{ {
return decode("Legenda"); return "Legenda";
} }
/*! 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()
...@@ -721,7 +723,7 @@ class TranslatorCroatian : public Translator ...@@ -721,7 +723,7 @@ class TranslatorCroatian : public Translator
/*! text for the link to the legend page */ /*! text for the link to the legend page */
virtual QCString trLegend() virtual QCString trLegend()
{ {
return decode("legenda"); return "legenda";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.2.0 // new since 1.2.0
...@@ -737,6 +739,16 @@ class TranslatorCroatian : public Translator ...@@ -737,6 +739,16 @@ class TranslatorCroatian : public Translator
{ {
return "Test lista"; return "Test lista";
} }
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "DCOP metode";
}
}; };
#endif #endif
/******************************************************************************
*
*
*
* Copyright (C) 1997-2000 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
* granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
* Documents produced by Doxygen are derivative works derived from the
* input used in their production; they are not affected by this license.
*
*/
/* The translation from English to Romanian by Alexandru Iosup [aiosup@yahoo.com].
*
* Disclaimer: I hope I translated these to Romanian keeping
* the meaning of the sentences intact. Keep in mind that I used C-words were possible,
* (e.g. the romanian for typedef is much unexpressive than the original), since we are
* producing C-documentation of our projects.
*
* If you have suggestions, please mail the comments and text proposals to the address
* shown aprox.10 lines above
*
* Project start:
* --------------
* 20.Sep.2k
*/
#ifndef TRANSLATOR_RO_H
#define TRANSLATOR_RO_H
#include "qtbc.h"
#include "classdef.h"
#include "util.h"
class TranslatorRomanian: public Translator
{
public:
// --- Language contol methods -------------------
/*! Used for identification of the language. May resemble
* the string returned by latexBabelPackage(), but it is not used
* for the same purpose. The identification should not be translated.
* It should be replaced by the name of the language in English
* (e.g. Czech, Japanese, Russian, etc.). It should be equal to
* the identification in language.h.
*/
virtual QCString idLanguage()
{ return "romanian"; }
/*! Used to get the command(s) for the language support. This method
* was designed for languages which do not prefer babel package.
* If this methods returns empty string, then the latexBabelPackage()
* method is used to generate the command for using the babel package.
*/
virtual QCString latexLanguageSupportCommand()
{
return "\\usepackage{romanian}\n";
}
/*! returns the name of the package that is included by LaTeX */
virtual QCString latexBabelPackage()
{ return "romanian"; }
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "iso-8859-2";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions()
{ return "Funcþii înrudite"; }
/*! subscript for the related functions. */
virtual QCString trRelatedSubscript()
{ return "(Atenþie: NU sunt funcþii membre.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription()
{ return "Descriere Detaliatã"; }
/*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation()
{ return "Documentaþia Declaraþiilor Typedef membre"; }
/*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation()
{ return "Documentaþia membrilor Enum"; }
/*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation()
{ return "Documentaþia Funcþiilor membre"; }
/*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation()
{ return "Documentaþia Datelor membre"; }
/*! this is the text of a link put after brief descriptions. */
virtual QCString trMore()
{ return "Mai mult..."; }
/*! put in the class documentation */
virtual QCString trListOfAllMembers()
{ return "Lista tuturor membrilor."; }
/*! used as the title of the "list of all members" page of a class */
virtual QCString trMemberList()
{ return "Lista Membrilor"; }
/*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers()
{ return "Aceasta este lista completã a membrilor din "; }
/*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers()
{ return ", inclusiv a tuturor membrilor moºteniþi."; }
/*! 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="Generat automat de Doxygen";
if (s) result+=(QCString)" pentru "+s;
result+=" din codul sursã.";
return result;
}
/*! put after an enum name in the list of all members */
virtual QCString trEnumName()
{ return "nume enum"; }
/*! put after an enum value in the list of all members */
virtual QCString trEnumValue()
{ return "valoare enum"; }
/*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn()
{ return "definit în"; }
/*! put as in introduction in the verbatim header file of a class.
* parameter f is the name of the include file.
*/
virtual QCString trVerbatimText(const char *f)
{ return (QCString)"Acesta este textul original al fiºierului inclus "+f; }
// quick reference sections
/*! 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 "Module"; }
/*! This is put above each page as a link to the class hierarchy */
virtual QCString trClassHierarchy()
{ return "Ierarhia Claselor"; }
/*! This is put above each page as a link to the list of annotated classes */
virtual QCString trCompoundList()
{ return "Lista Componenþilor"; }
/*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList()
{ return "Lista fiºierelor"; }
/*! This is put above each page as a link to the list of all verbatim headers */
virtual QCString trHeaderFiles()
{ return "Fiºiere Header"; }
/*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers()
{ return "Membrii Componenþi"; }//cu articol hotarat
/*! This is put above each page as a link to all members of files. */
virtual QCString trFileMembers()
{ return "Membrii din Fiºier"; }//cu articol hotarat
/*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages()
{ return "Pagini înrudite"; }
/*! This is put above each page as a link to all examples. */
virtual QCString trExamples()
{ return "Exemples"; }
/*! This is put above each page as a link to the search engine. */
virtual QCString trSearch()
{ return "Cautã"; }
/*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription()
{ return "Aceastã listã de legãturi este sortatã în mare, "
"dar nu complet, în ordine alfabeticã:";
}
/*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool extractAll)
{
QCString result="Aici este lista tuturor ";
result+="fiºierelor";
if (!extractAll) result+=" documentate";
result+=", cu scurte descrieri:";
return result;
}
/*! This is an introduction to the annotated compound list. */
virtual QCString trCompoundListDescription()
{ return "Aici sunt clasele, structurile, uniunile ºi interfeþele"
", cu scurte descrieri";
}
/*! This is an introduction to the page with all class members. */
virtual QCString trCompoundMembersDescription(bool extractAll)
{
QCString result="Aici este lista tuturor ";
result+="membrilor ";
if (!extractAll) result+="documentaþi ";
result+="din toate clasele, cu legãturi cãtre ";
if (extractAll)
result+="documentaþia clasei pentru fiecare membru în parte:";
else
result+="clasele de care aparþin:";
return result;
}
/*! This is an introduction to the page with all file members. */
virtual QCString trFileMembersDescription(bool extractAll)
{
QCString result="Aici este lista tuturor ";
result+="membrilor ";
if (!extractAll) result+="documentaþi ";
result+="din toate fiºierele, cu legãturi cãtre ";
if (extractAll)
result+="documentaþia fiºierului pentru fiecare membru în parte:";
else
result+="fiºierele de care aparþin:";
return result;
}
/*! This is an introduction to the page with the list of all header files. */
virtual QCString trHeaderFilesDescription()
{ return "Aici sunt fiºierele Header care fac parte din API:"; }
/*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription()
{ return "Aici este lista tuturor exemplelor:"; }
/*! This is an introduction to the page with the list of related pages */
virtual QCString trRelatedPagesDescription()
{ return "Aici este lista tuturor documentaþiilor înrudite:"; }
/*! This is an introduction to the page with the list of class/file groups */
virtual QCString trModulesDescription()
{ return "Aici este lista tuturor modulelor:"; }
/*! This sentences is used in the annotated class/file lists if no brief
* description is given.
*/
virtual QCString trNoDescriptionAvailable()
{ return "Nici o descriere disponibilã"; }
// index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation()
{ return "Documentaþie"; }
/*! This is used in LaTeX as the title of the chapter with the
* index of all groups.
*/
virtual QCString trModuleIndex()
{ return "Indexul Modulelor"; }
/*! This is used in LaTeX as the title of the chapter with the
* class hierarchy.
*/
virtual QCString trHierarchicalIndex()
{ return "Index Ierarhic"; }
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index.
*/
virtual QCString trCompoundIndex()
{ return "Indexul Componenþilor"; }
/*! This is used in LaTeX as the title of the chapter with the
* list of all files.
*/
virtual QCString trFileIndex()
{ return "Indexul Fiºierelor"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all groups.
*/
virtual QCString trModuleDocumentation()
{ return "Documentaþia Modulelor"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all classes, structs and unions.
*/
virtual QCString trClassDocumentation()
{ return "Documentaþia Claselor"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all files.
*/
virtual QCString trFileDocumentation()
{ return "Documentaþia Fiºierelor"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all examples.
*/
virtual QCString trExampleDocumentation()
{ return "Documentaþia Exemplelor"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all related pages.
*/
virtual QCString trPageDocumentation()
{ return "Documentaþii înrudite"; }
/*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual()
{ return "Manual de utilizare"; }
/*! This is used in the documentation of a file as a header before the
* list of defines
*/
virtual QCString trDefines()
{ return "Definiþii"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Prototipuri de funcþii"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
virtual QCString trTypedefs()
{ return "Declaraþii Typedef"; }
/*! This is used in the documentation of a file as a header before the
* list of enumerations
*/
virtual QCString trEnumerations()
{ return "Enumeraþii"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) functions
*/
virtual QCString trFunctions()
{ return "Funcþii"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trVariables()
{ return "Variabile"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) variables
*/
virtual QCString trEnumerationValues()
{ return "Valori enum"; }
/*! This is used in man pages as the author section. */
virtual QCString trAuthor()
{ return "Autor"; }
/*! This is used in the documentation of a file before the list of
* documentation blocks for defines
*/
virtual QCString trDefineDocumentation()
{ return "Documentaþia definiþiilor"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Documentaþia prototipurilor de funcþii"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
virtual QCString trTypedefDocumentation()
{ return "Documentaþia definiþiilor Typedef"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types
*/
virtual QCString trEnumerationTypeDocumentation()
{ return "Documentaþia tipurilor enum"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
{ return "Documentaþia valorilor enum"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions
*/
virtual QCString trFunctionDocumentation()
{ return "Documentaþia funcþiilor"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables
*/
virtual QCString trVariableDocumentation()
{ return "Documentaþia variabilelor"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds
*/
virtual QCString trCompounds()
{ return "Membri"; }
/*! This is used in the documentation of a group before the list of
* links to documented files
*/
virtual QCString trFiles()
{ return "Fiºiere"; }
/*! 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)"Generat la "+date;
if (projName) result+=(QCString)" pentru "+projName;
result+=(QCString)" de cãtre";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "scris de";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
{
return (QCString)"Diagrama de relaþii pentru "+clName;
}
/*! this text is generated when the \internal command is used. */
virtual QCString trForInternalUseOnly()
{ return "Doar pentru uz intern."; }
/*! this text is generated when the \reimp command is used. */
virtual QCString trReimplementedForInternalReasons()
{ return "Reimplementat din motive interne; API-ul nu este afectat."; }
/*! this text is generated when the \warning command is used. */
virtual QCString trWarning()
{ return "Atenþie"; }
/*! this text is generated when the \bug command is used. */
virtual QCString trBugsAndLimitations()
{ return "Buguri ºi limitãri"; }
/*! this text is generated when the \version command is used. */
virtual QCString trVersion()
{ return "Versiunea"; }
/*! this text is generated when the \date command is used. */
virtual QCString trDate()
{ return "Data"; }
/*! this text is generated when the \author command is used. */
virtual QCString trAuthors()
{ return "Autorul/Autorii"; }
/*! this text is generated when the \return command is used. */
virtual QCString trReturns()
{ return "Întoarce"; }
/*! this text is generated when the \sa command is used. */
virtual QCString trSeeAlso()
{ return "Vezi ºi"; }
/*! this text is generated when the \param command is used. */
virtual QCString trParameters()
{ return "Parametri"; }
/*! this text is generated when the \exception command is used. */
virtual QCString trExceptions()
{ return "Excepþii"; }
/*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy()
{ return "Generat de"; }
// new since 0.49-990307
/*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList()
{ return "Lista Namespace"; }
/*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool extractAll)
{
QCString result="Aici este lista tuturor ";
result+="namespace-urilor ";
if (!extractAll) result+="documentate ";
result+=", cu scurte descrieri:";
return result;
}
/*! used in the class documentation as a header before the list of all
* friends of a class
*/
virtual QCString trFriends()
{ return "Prieteni"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
/*! used in the class documentation as a header before the list of all
* related classes
*/
virtual QCString trRelatedFunctionDocumentation()
{ return "Documentaþia funcþiilor prietene sau înrudite"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990425
//////////////////////////////////////////////////////////////////////////
/*! used as the title of the HTML page of a class/struct/union */
virtual QCString trCompoundReference(const char *clName,
ClassDef::CompoundType compType,
bool isTemplate)
{
QCString result="Referinþã la ";
switch(compType)
{
case ClassDef::Class: result+="clasa"; break;
case ClassDef::Struct: result+="structura"; break;
case ClassDef::Union: result+="uniunea"; break;
case ClassDef::Interface: result+="interfaþa"; break;
case ClassDef::Exception: result+="excepþia"; break;
}
if (isTemplate) result+=" (Template) ";
result+=(QCString)clName;
return result;
}
/*! used as the title of the HTML page of a file */
virtual QCString trFileReference(const char *fileName)
{
QCString result="Referinþã la fiºierul";
result+=fileName;
return result;
}
/*! used as the title of the HTML page of a namespace */
virtual QCString trNamespaceReference(const char *namespaceName)
{
QCString result="Referinþã la Namespace-ul ";
result+=namespaceName;
return result;
}
/*! \mgroup Class sections
* these are for the member sections of a class, struct or union
*/
virtual QCString trPublicMembers()
{ return "Metode Publice"; }
virtual QCString trPublicSlots()
{ return "Sloturi Publice"; }
virtual QCString trSignals()
{ return "Semnale"; }
virtual QCString trStaticPublicMembers()
{ return "Metode Statice Publice"; }
virtual QCString trProtectedMembers()
{ return "Metode Protejate"; }
virtual QCString trProtectedSlots()
{ return "Sloturi Protejate"; }
virtual QCString trStaticProtectedMembers()
{ return "Metode Statice Protejate"; }
virtual QCString trPrivateMembers()
{ return "Metode Private"; }
virtual QCString trPrivateSlots()
{ return "Sloturi Private"; }
virtual QCString trStaticPrivateMembers()
{ return "Metode Statice Private"; }
/*! \endmgroup */
/*! this function is used to produce a comma-separated list of items.
* use generateMarker(i) to indicate where item i should be put.
*/
virtual QCString trWriteList(int numEntries)
{
QCString result;
int i;
// the inherits list contain `numEntries' classes
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
// (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
result+=", ";
else // the fore last entry
result+=" ºi ";
}
}
return result;
}
/*! used in class documentation to produce a list of base classes,
* if class diagrams are disabled.
*/
virtual QCString trInheritsList(int numEntries)
{
return "Moºteneºte "+trWriteList(numEntries)+".";
}
/*! used in class documentation to produce a list of super classes,
* if class diagrams are disabled.
*/
virtual QCString trInheritedByList(int numEntries)
{
return "Moºtenit de "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* members that are hidden by this one.
*/
virtual QCString trReimplementedFromList(int numEntries)
{
return "Reimplementat din "+trWriteList(numEntries)+".";
}
/*! used in member documentation blocks to produce a list of
* all member that overwrite the implementation of this member.
*/
virtual QCString trReimplementedInList(int numEntries)
{
return "Reimplementat în "+trWriteList(numEntries)+".";
}
/*! This is put above each page as a link to all members of namespaces. */
virtual QCString trNamespaceMembers()
{ return "Membrii Namespace-ului"; }
/*! This is an introduction to the page with all namespace members */
virtual QCString trNamespaceMemberDescription(bool extractAll)
{
QCString result="Aici este lista tuturor membrilor ";
if (!extractAll) result+="documentaþi ";
result+="din toate namespace-urile, cu legãturi cãtre ";
if (extractAll)
result+="documentaþia namespace-ului pentru fiecare membru în parte:";
else
result+="namespace-urile de care aparþin:";
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all namespaces.
*/
virtual QCString trNamespaceIndex()
{ return "Indexul Namespace-ului"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all namespaces.
*/
virtual QCString trNamespaceDocumentation()
{ return "Documentaþia Namespace-ului"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990522
//////////////////////////////////////////////////////////////////////////
/*! This is used in the documentation before the list of all
* namespaces in a file.
*/
virtual QCString trNamespaces()
{ return "Namespace-uri"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
/*! This is put at the bottom of a class documentation page and is
* followed by a list of files that were used to generate the page.
*/
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single)
{ // here s is one of " Class", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)"Documentaþia pentru aceastã ";
switch(compType)
{
case ClassDef::Class: result+="clasã"; break;
case ClassDef::Struct: result+="structurã"; break;
case ClassDef::Union: result+="uniune"; break;
case ClassDef::Interface: result+="interfaþã"; break;
case ClassDef::Exception: result+="excepþie"; break;
}
result+=" a fost generatã din fiºier";
if (single) result+="ul:"; else result+="ele:";
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Listã Alfabeticã"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
/*! This is used as the heading text for the retval command. */
virtual QCString trReturnValues()
{ return "Valori returnate"; }
/*! This is in the (quick) index as a link to the main page (index.html)
*/
virtual QCString trMainPage()
{ return "Pagina principalã"; }
/*! 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()
{ return "pg."; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991003
//////////////////////////////////////////////////////////////////////////
virtual QCString trSources()
{
return "Surse";
}
virtual QCString trDefinedAtLineInSourceFile()
{
return "Definiþia în linia @0 a fiºierului @1.";
}
virtual QCString trDefinedInSourceFile()
{
return "Definiþia în fiºierul @0.";
}
//////////////////////////////////////////////////////////////////////////
// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
virtual QCString trDeprecated()
{
return "Învechitã(Deprecated)";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName)
{
return (QCString)"Diagrama de relaþii pentru "+clName+":";
}
/*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName)
{
return (QCString)"Graful dependenþelor prin incluziune pentru "+fName+":";
}
/*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation()
{
return "Documentaþia pentru Constructori ºi Destructori";
}
/*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode()
{
return "Vezi sursele.";
}
/*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation()
{
return "Vezi documentaþia.";
}
/*! Text for the \pre command */
virtual QCString trPrecondition()
{
return "Precondiþie";
}
/*! Text for the \post command */
virtual QCString trPostcondition()
{
return "Postcondiþie";
}
/*! Text for the \invariant command */
virtual QCString trInvariant()
{
return "Invariant";
}
/*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue()
{
return "Iniþializare:";
}
/*! Text used the source code in the file index */
virtual QCString trCode()
{
return "cod";
}
virtual QCString trGraphicalHierarchy()
{
return "Ierarhia claselor în mod grafic";
}
virtual QCString trGotoGraphicalHierarchy()
{
return "Vezi ierarhia claselor în mod grafic";
}
virtual QCString trGotoTextualHierarchy()
{
return "Vezi ierarhia claselor în mod text";
}
virtual QCString trPageIndex()
{
return "Indexul Paginilor";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.0
//////////////////////////////////////////////////////////////////////////
virtual QCString trNote()
{
return "Notã";
}
virtual QCString trPublicTypes()
{
return "Tipuri publice";
}
virtual QCString trPublicAttribs()
{
return "Atribute Publice";
}
virtual QCString trStaticPublicAttribs()
{
return "Atribute Statice Publice";
}
virtual QCString trProtectedTypes()
{
return "Tipuri Protejate";
}
virtual QCString trProtectedAttribs()
{
return "Atribute Protejate";
}
virtual QCString trStaticProtectedAttribs()
{
return "Atribute Statice Protejate";
}
virtual QCString trPrivateTypes()
{
return "Tipuri Private";
}
virtual QCString trPrivateAttribs()
{
return "Atribute Private";
}
virtual QCString trStaticPrivateAttribs()
{
return "Atribute Statice Private";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.3
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a todo item */
virtual QCString trTodo()
{
return "De fãcut";
}
/*! Used as the header of the todo list */
virtual QCString trTodoList()
{
return "Lista lucrurilor rãmase de fãcut";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.4
//////////////////////////////////////////////////////////////////////////
virtual QCString trReferencedBy()
{
return "Semnalat de";
}
virtual QCString trRemarks()
{
return "Observaþii";
}
virtual QCString trAttention()
{
return "Atenþie";
}
virtual QCString trInclByDepGraph()
{
return "Acest graf aratã care fiºiere includ, "
"direct sau indirect, acest fiºier:";
}
virtual QCString trSince()
{
return "Din";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.1.5
//////////////////////////////////////////////////////////////////////////
/*! title of the graph legend page */
virtual QCString trLegendTitle()
{
return "Legenda grafului";
}
/*! page explaining how the dot graph's should be interpreted */
virtual QCString trLegendDocs()
{
return
"Aceastã paginã aratã modul în care trebuie sã interpretaþi "
"grafurile generate de doxygen.<p>\n"
"Consideraþi urmãtorul exemplu:\n"
"\\code\n"
"/*! Clasã invizibilã, tãiatã din cauza depãºirii spaþiului */\n"
"class Invisible { };\n\n"
"/*! Altã clasã tãiatã, relaþia de moºtenire este ascunsã */\n"
"class Truncated : public Invisible { };\n\n"
"/* Clasã necomentatã în stil doxygen */\n"
"class Undocumented { };\n\n"
"/*! Clasã care este moºtenitã în mod public */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! Clasã care este moºtenitã în mod protejat */\n"
"class ProtectedBase { };\n\n"
"/*! Clasã care este moºtenitã în mod privat */\n"
"class PrivateBase { };\n\n"
"/*! Clasã care este folositã de clasa Inherited */\n"
"class Used { };\n\n"
"/*! Superclasã care moºteneºte un numãr de alte clase */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
"Dacã tagul \\c MAX_DOT_GRAPH_HEIGHT din fiºierul de configuraþie "
"Este setat la 200 acesta este graful rezultat:"
"<p><center><img src=\"graph_legend.gif\"></center>\n"
"<p>\n"
"Cãsuþele din partea de sus au urmãtoarea semnificaþie:\n"
"<ul>\n"
"<li>O cãsuþã neagrã reprezintã structura sau clasa pentru care "
"graful este generat.\n"
"<li>O cãsuþã cu marginea neagrã reprezintã o structurã sau o clasã documentate.\n"
"<li>O cãsuþã cu marginea gri reprezintã o structurã sau o clasã nedocumentate.\n"
"<li>O cãsuþã cu marginea roºie reprezintã o structurã sau o clasã documentate, pentru\n"
"care nu toate relaþiile de moºtenire/incluziune sunt arãtate. Un graf este "
"tãiat dacã nu încape în marginile specificate."
"</ul>\n"
"Sãgeþile au urmãtoarea semnificaþie:\n"
"<ul>\n"
"<li>O sãgeatã de un albastru închis este folositã când avem o relaþie de "
"moºtenire publicã între douã clase.\n"
"<li>O sãgeatã de un verde închis este folositã când avem o moºtenire protejatã.\n"
"<li>O sãgeatã de un roºu închis este folositã când avem o moºtenire privatã.\n"
"<li>O sãgeatã violetã punctatã este folositã pentru o clasã conþinutã sau folositã "
"de o altã clasã. Sãgeata este marcatã cu variabila(e) "
"prin care este accesibilã clasa sau structura spre care este îndreptatã. \n"
"</ul>\n";
}
/*! text for the link to the legend page */
virtual QCString trLegend()
{
return "legenda";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
virtual QCString trTest()
{
return "Test";
}
/*! Used as the header of the test list */
virtual QCString trTestList()
{
return "Listã de teste";
}
};
#endif
...@@ -26,6 +26,10 @@ class TranslatorRussian : public Translator ...@@ -26,6 +26,10 @@ class TranslatorRussian : public Translator
{ return "russian"; } { return "russian"; }
QCString latexBabelPackage() QCString latexBabelPackage()
{ return "russian"; } { return "russian"; }
QCString idLanguageCharset()
{
return "koi8-r";
}
QCString trRelatedFunctions() QCString trRelatedFunctions()
{ {
return " "; return " ";
...@@ -691,7 +695,108 @@ class TranslatorRussian : public Translator ...@@ -691,7 +695,108 @@ class TranslatorRussian : public Translator
{ {
return " "; return " ";
} }
QCString trTodo()
{
return "Todo";
}
QCString trTodoList()
{
return " ";
}
QCString trReferencedBy()
{
return " ";
}
QCString trRemarks()
{
return "";
}
QCString trAttention()
{
return "";
}
QCString trInclByDepGraph()
{
return " , "
" :";
}
QCString trSince()
{
return "";
}
QCString trLegendTitle()
{
return " ";
}
QCString trLegendDocs()
{
return
" , , "
"doxygen.<p>\n"
" :\n"
"\\code\n"
"/*! - */\n"
"class Invisible { };\n\n"
"/*! , */\n"
"class Truncated : public Invisible { };\n\n"
"/* , doxygen */\n"
"class Undocumented { };\n\n"
"/*! , */\n"
"class PublicBase : public Truncated { };\n\n"
"/*! , */\n"
"class ProtectedBase { };\n\n"
"/*! , */\n"
"class PrivateBase { };\n\n"
"/*! , Inherited */\n"
"class Used { };\n\n"
"/*! , */\n"
"class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n"
" private PrivateBase,\n"
" public Undocumented\n"
"{\n"
" private:\n"
" Used *m_usedClass;\n"
"};\n"
"\\endcode\n"
" \\c MAX_DOT_GRAPH_HEIGHT "
" 200, :"
"<p><center><img src=\"graph_legend.gif\"></center>\n"
"<p>\n"
" :\n"
"<ul>\n"
"<li> , "
" .\n"
"<li> .\n"
"<li> .\n"
"<li> , \n"
" / . , "
" ."
"</ul>\n"
" :\n"
"<ul>\n"
"<li> "
" .\n"
"<li> .\n"
"<li> .\n"
"<li> , "
". , "
" . \n"
"</ul>\n";
}
QCString trLegend()
{
return "";
}
QCString trTest()
{
return "";
}
QCString trTestList()
{
return " ";
}
}; };
#endif #endif
...@@ -491,6 +491,10 @@ void linkifyText(const TextGeneratorIntf &out,const char *scName,const char *nam ...@@ -491,6 +491,10 @@ void linkifyText(const TextGeneratorIntf &out,const char *scName,const char *nam
out.writeBreak(); out.writeBreak();
out.writeString(splitText.right(splitLength-i-1)); out.writeString(splitText.right(splitLength-i-1));
} }
else
{
out.writeString(splitText);
}
floatingIndex=splitLength-i-1; floatingIndex=splitLength-i-1;
} }
else else
......
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