Commit 5f3d8499 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Release-1.5.8-20090129

parent a0924f7d
DOXYGEN Version 1.5.8 DOXYGEN Version 1.5.8-20090129
Please read the installation section of the manual Please read the installation section of the manual
(http://www.doxygen.org/install.html) for instructions. (http://www.doxygen.org/install.html) for instructions.
-------- --------
Dimitri van Heesch (27 December 2008) Dimitri van Heesch (29 January 2009)
DOXYGEN Version 1.5.8 DOXYGEN Version 1.5.8_20090129
Please read INSTALL for compilation instructions. Please read INSTALL for compilation instructions.
...@@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives. ...@@ -17,4 +17,4 @@ to subscribe to the lists or to visit the archives.
Enjoy, Enjoy,
Dimitri van Heesch (dimitri@stack.nl) (27 December 2008) Dimitri van Heesch (dimitri@stack.nl) (29 January 2009)
...@@ -14,6 +14,10 @@ MOC_DIR = moc ...@@ -14,6 +14,10 @@ MOC_DIR = moc
RCC_DIR = rcc RCC_DIR = rcc
DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
macx-g++ {
CONFIG += x86 ppc
}
# Input # Input
HEADERS += doxywizard.h version.h expert.h config.h helplabel.h \ HEADERS += doxywizard.h version.h expert.h config.h helplabel.h \
inputbool.h inputstring.h inputint.h inputstrlist.h wizard.h inputbool.h inputstring.h inputint.h inputstrlist.h wizard.h
......
...@@ -543,7 +543,7 @@ EOF ...@@ -543,7 +543,7 @@ EOF
EOF EOF
fi fi
fi fi
if test "$f_platform" = "hpux-g++"; then if test "$f_platform" = "hpux-g++" -o "$f_platform" = "linux-g++"; then
cat >> .tmakeconfig <<EOF cat >> .tmakeconfig <<EOF
TMAKE_CXXFLAGS += -D_LARGEFILE_SOURCE TMAKE_CXXFLAGS += -D_LARGEFILE_SOURCE
EOF EOF
......
...@@ -133,7 +133,7 @@ class ClassDefImpl ...@@ -133,7 +133,7 @@ class ClassDefImpl
/*! The class this class is an instance of. */ /*! The class this class is an instance of. */
ClassDef *templateMaster; ClassDef *templateMaster;
/*! class name with outer class scope, but without namespace scope. */ /*! local class name which could be a typedef'ed alias name. */
QCString className; QCString className;
/*! If this class is a Objective-C category, then this points to the /*! If this class is a Objective-C category, then this points to the
...@@ -209,8 +209,8 @@ void ClassDefImpl::init(const char *defFileName, const char *name, ...@@ -209,8 +209,8 @@ void ClassDefImpl::init(const char *defFileName, const char *name,
membersMerged = FALSE; membersMerged = FALSE;
categoryOf = 0; categoryOf = 0;
usedOnly = FALSE; usedOnly = FALSE;
QCString ns; //QCString ns;
extractNamespaceName(name,className,ns); //extractNamespaceName(name,className,ns);
//printf("m_name=%s m_className=%s ns=%s\n",m_name.data(),m_className.data(),ns.data()); //printf("m_name=%s m_className=%s ns=%s\n",m_name.data(),m_className.data(),ns.data());
if (((QCString)defFileName).right(5)!=".java" && if (((QCString)defFileName).right(5)!=".java" &&
...@@ -3025,7 +3025,7 @@ QCString ClassDef::qualifiedNameWithTemplateParameters( ...@@ -3025,7 +3025,7 @@ QCString ClassDef::qualifiedNameWithTemplateParameters(
if (!scName.isEmpty()) scName+=scopeSeparator; if (!scName.isEmpty()) scName+=scopeSeparator;
} }
scName+=m_impl->className; scName+=className();
ArgumentList *al=0; ArgumentList *al=0;
bool isSpecialization = localName().find('<')!=-1; bool isSpecialization = localName().find('<')!=-1;
if (templateArguments()) if (templateArguments())
...@@ -3052,7 +3052,14 @@ QCString ClassDef::qualifiedNameWithTemplateParameters( ...@@ -3052,7 +3052,14 @@ QCString ClassDef::qualifiedNameWithTemplateParameters(
QCString ClassDef::className() const QCString ClassDef::className() const
{ {
if (m_impl->className.isEmpty())
{
return localName();
}
else
{
return m_impl->className; return m_impl->className;
}
}; };
void ClassDef::setClassName(const char *name) void ClassDef::setClassName(const char *name)
......
...@@ -225,7 +225,8 @@ The format is ext=language, where ext is a file extension, and language is one o ...@@ -225,7 +225,8 @@ The format is ext=language, where ext is a file extension, and language is one o
the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP, the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
.inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
use: inc=Fortran f=C use: inc=Fortran f=C. Note that for custom extensions you also need to set
FILE_PATTERNS otherwise the files are not read by doxygen.
'> '>
</option> </option>
<option type='bool' id='BUILTIN_STL_SUPPORT' docs=' <option type='bool' id='BUILTIN_STL_SUPPORT' docs='
......
...@@ -8617,6 +8617,7 @@ static QCString resolveSymlink(QCString path) ...@@ -8617,6 +8617,7 @@ static QCString resolveSymlink(QCString path)
QDict<void> nonSymlinks; QDict<void> nonSymlinks;
QDict<void> known; QDict<void> known;
QCString result = path; QCString result = path;
QCString oldPrefix = "/";
do do
{ {
#ifdef WIN32 #ifdef WIN32
...@@ -8637,7 +8638,7 @@ static QCString resolveSymlink(QCString path) ...@@ -8637,7 +8638,7 @@ static QCString resolveSymlink(QCString path)
QString target = fi.readLink(); QString target = fi.readLink();
if (QFileInfo(target).isRelative()) if (QFileInfo(target).isRelative())
{ {
target = QDir::cleanDirPath(prefix+"/"+target.data()); target = QDir::cleanDirPath(oldPrefix+"/"+target.data());
} }
if (sepPos!=-1) if (sepPos!=-1)
{ {
...@@ -8656,6 +8657,7 @@ static QCString resolveSymlink(QCString path) ...@@ -8656,6 +8657,7 @@ static QCString resolveSymlink(QCString path)
{ {
nonSymlinks.insert(prefix,(void*)0x8); nonSymlinks.insert(prefix,(void*)0x8);
} }
oldPrefix = prefix;
} }
} }
while (sepPos!=-1); while (sepPos!=-1);
...@@ -8698,6 +8700,8 @@ int readDir(QFileInfo *fi, ...@@ -8698,6 +8700,8 @@ int readDir(QFileInfo *fi,
//printf("killDict=%p count=%d\n",killDict,killDict->count()); //printf("killDict=%p count=%d\n",killDict,killDict->count());
const QFileInfoList *list = dir.entryInfoList(); const QFileInfoList *list = dir.entryInfoList();
if (list)
{
QFileInfoListIterator it( *list ); QFileInfoListIterator it( *list );
QFileInfo *cfi; QFileInfo *cfi;
...@@ -8762,6 +8766,7 @@ int readDir(QFileInfo *fi, ...@@ -8762,6 +8766,7 @@ int readDir(QFileInfo *fi,
} }
++it; ++it;
} }
}
return totalSize; return totalSize;
} }
...@@ -10472,7 +10477,7 @@ void generateOutput() ...@@ -10472,7 +10477,7 @@ void generateOutput()
QCString const qhpFileName = Qhp::getQhpFileName(); QCString const qhpFileName = Qhp::getQhpFileName();
QCString const qchFileName = getQchFileName(); QCString const qchFileName = getQchFileName();
QCString const args = QCString().sprintf("%s -o %s", qhpFileName.data(), qchFileName.data()); QCString const args = QCString().sprintf("%s -o \"%s\"", qhpFileName.data(), qchFileName.data());
QString const oldDir = QDir::currentDirPath(); QString const oldDir = QDir::currentDirPath();
QDir::setCurrent(Config_getString("HTML_OUTPUT")); QDir::setCurrent(Config_getString("HTML_OUTPUT"));
if (portable_system(Config_getString("QHG_LOCATION"), args.data(), FALSE)) if (portable_system(Config_getString("QHG_LOCATION"), args.data(), FALSE))
......
...@@ -191,17 +191,8 @@ class Entry ...@@ -191,17 +191,8 @@ class Entry
/*! Kind of entries that are supported */ /*! Kind of entries that are supported */
enum Sections { enum Sections {
CLASS_SEC = 0x00000001, CLASS_SEC = 0x00000001,
//STRUCT_SEC = 0x00000002,
//UNION_SEC = 0x00000004,
//EXCEPTION_SEC = 0x00000008,
NAMESPACE_SEC = 0x00000010, NAMESPACE_SEC = 0x00000010,
//INTERFACE_SEC = 0x00000020, COMPOUND_MASK = CLASS_SEC,
//PROTOCOL_SEC = 0x00000040,
//CATEGORY_SEC = 0x00000080,
COMPOUND_MASK = CLASS_SEC //| STRUCT_SEC | UNION_SEC |
//INTERFACE_SEC | EXCEPTION_SEC |
//PROTOCOL_SEC | CATEGORY_SEC
,
SCOPE_MASK = COMPOUND_MASK | NAMESPACE_SEC, SCOPE_MASK = COMPOUND_MASK | NAMESPACE_SEC,
CLASSDOC_SEC = 0x00000800, CLASSDOC_SEC = 0x00000800,
......
...@@ -916,7 +916,7 @@ void HtmlGenerator::writeObjectLink(const char *ref,const char *f, ...@@ -916,7 +916,7 @@ void HtmlGenerator::writeObjectLink(const char *ref,const char *f,
t << "href=\""; t << "href=\"";
if (ref) if (ref)
{ {
if ((dest=Doxygen::tagDestinationDict[ref])) t << relPath << *dest << "/"; if ((dest=Doxygen::tagDestinationDict[ref])) t << *dest << "/";
} }
else else
{ {
......
...@@ -372,6 +372,23 @@ void HtmlHelp::initialize() ...@@ -372,6 +372,23 @@ void HtmlHelp::initialize()
0x412 Korean 0x412 Korean
0x804 Chinese (PRC) 0x804 Chinese (PRC)
0x404 Chinese (Taiwan) 0x404 Chinese (Taiwan)
New LCIDs:
0x421 Indonesian
0x41A Croatian
0x418 Romanian
0x424 Slovenian
0x41B Slovak
0x422 Ukrainian
0x81A Serbian (Serbia, Latin)
0x403 Catalan
0x427 Lithuanian
0x436 Afrikaans
0x42A Vietnamese
0x429 Persian (Iran)
0xC01 Arabic (Egypt) - I don't know which version of arabic is used inside translator_ar.h ,
so I have chosen Egypt at random
*/ */
s_languageDict.setAutoDelete(TRUE); s_languageDict.setAutoDelete(TRUE);
s_languageDict.clear(); s_languageDict.clear();
...@@ -381,22 +398,38 @@ void HtmlHelp::initialize() ...@@ -381,22 +398,38 @@ void HtmlHelp::initialize()
s_languageDict.insert("finnish", new QCString("0x40B Finnish")); s_languageDict.insert("finnish", new QCString("0x40B Finnish"));
s_languageDict.insert("french", new QCString("0x40C French")); s_languageDict.insert("french", new QCString("0x40C French"));
s_languageDict.insert("german", new QCString("0x407 German")); s_languageDict.insert("german", new QCString("0x407 German"));
s_languageDict.insert("greece", new QCString("0x408 Greece")); s_languageDict.insert("greek", new QCString("0x408 Greece"));
s_languageDict.insert("hungarian", new QCString("0x40E Hungarian")); s_languageDict.insert("hungarian", new QCString("0x40E Hungarian"));
s_languageDict.insert("italian", new QCString("0x410 Italian")); s_languageDict.insert("italian", new QCString("0x410 Italian"));
s_languageDict.insert("norwegian", new QCString("0x814 Norwegian")); s_languageDict.insert("norwegian", new QCString("0x814 Norwegian"));
s_languageDict.insert("polish", new QCString("0x415 Polish")); s_languageDict.insert("polish", new QCString("0x415 Polish"));
s_languageDict.insert("portugese", new QCString("0x816 Portuguese(Portugal)")); s_languageDict.insert("portuguese", new QCString("0x816 Portuguese(Portugal)"));
s_languageDict.insert("brazil", new QCString("0x416 Portuguese(Brazil)")); s_languageDict.insert("brazil", new QCString("0x416 Portuguese(Brazil)"));
s_languageDict.insert("russian", new QCString("0x419 Russian")); s_languageDict.insert("russian", new QCString("0x419 Russian"));
s_languageDict.insert("spanish", new QCString("0x40A Spannish(Traditional Sort)")); s_languageDict.insert("spanish", new QCString("0x40A Spanish(Traditional Sort)"));
s_languageDict.insert("swedish", new QCString("0x41D Swedish")); s_languageDict.insert("swedish", new QCString("0x41D Swedish"));
s_languageDict.insert("turkey", new QCString("0x41F Turkey")); s_languageDict.insert("turkish", new QCString("0x41F Turkey"));
s_languageDict.insert("japanese", new QCString("0x411 Japanese")); s_languageDict.insert("japanese", new QCString("0x411 Japanese"));
s_languageDict.insert("japanese-en", new QCString("0x411 Japanese")); s_languageDict.insert("japanese-en", new QCString("0x411 Japanese"));
s_languageDict.insert("korean", new QCString("0x412 Korean")); s_languageDict.insert("korean", new QCString("0x412 Korean"));
s_languageDict.insert("korean-en", new QCString("0x412 Korean"));
s_languageDict.insert("chinese", new QCString("0x804 Chinese (PRC)")); s_languageDict.insert("chinese", new QCString("0x804 Chinese (PRC)"));
s_languageDict.insert("chinese-traditional", new QCString("0x404 Chinese (Taiwan)")); s_languageDict.insert("chinese-traditional", new QCString("0x404 Chinese (Taiwan)"));
// new LCIDs
s_languageDict.insert("indonesian", new QCString("0x412 Indonesian"));
s_languageDict.insert("croatian", new QCString("0x41A Croatian"));
s_languageDict.insert("romanian", new QCString("0x418 Romanian"));
s_languageDict.insert("slovene", new QCString("0x424 Slovenian"));
s_languageDict.insert("slovak", new QCString("0x41B Slovak"));
s_languageDict.insert("ukrainian", new QCString("0x422 Ukrainian"));
s_languageDict.insert("serbian", new QCString("0x81A Serbian (Serbia, Latin)"));
s_languageDict.insert("catalan", new QCString("0x403 Catalan"));
s_languageDict.insert("lithuanian", new QCString("0x427 Lithuanian"));
s_languageDict.insert("afrikaans", new QCString("0x436 Afrikaans"));
s_languageDict.insert("vietnamese", new QCString("0x42A Vietnamese"));
s_languageDict.insert("persian", new QCString("0x429 Persian (Iran)"));
s_languageDict.insert("arabic", new QCString("0xC01 Arabic (Egypt)"));
} }
......
...@@ -280,11 +280,13 @@ void MemberList::writePlainDeclarations(OutputList &ol, ...@@ -280,11 +280,13 @@ void MemberList::writePlainDeclarations(OutputList &ol,
} }
case MemberDef::EnumValue: case MemberDef::EnumValue:
{ {
if (!m_inGroup) return; if (m_inGroup)
printf("EnumValue!\n"); {
//printf("EnumValue!\n");
if (first) ol.startMemberList(),first=FALSE; if (first) ol.startMemberList(),first=FALSE;
md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup); md->writeDeclaration(ol,cd,nd,fd,gd,m_inGroup);
} }
}
break; break;
} }
} }
......
...@@ -180,7 +180,7 @@ static char **last_environ; ...@@ -180,7 +180,7 @@ static char **last_environ;
void portable_setenv(const char *name,const char *value) void portable_setenv(const char *name,const char *value)
{ {
#ifdef _WIN32 #if defined(_WIN32) && !defined(__CYGWIN__)
SetEnvironmentVariable(name,value); SetEnvironmentVariable(name,value);
#else #else
register char **ep = 0; register char **ep = 0;
...@@ -259,7 +259,7 @@ void portable_setenv(const char *name,const char *value) ...@@ -259,7 +259,7 @@ void portable_setenv(const char *name,const char *value)
void portable_unsetenv(const char *variable) void portable_unsetenv(const char *variable)
{ {
#ifdef _WIN32 #if defined(_WIN32) && !defined(__CYGWIN__)
SetEnvironmentVariable(variable,0); SetEnvironmentVariable(variable,0);
#else #else
/* Some systems don't have unsetenv(), so we do it ourselves */ /* Some systems don't have unsetenv(), so we do it ourselves */
......
...@@ -2619,7 +2619,10 @@ void RTFGenerator::postProcess(QByteArray &a) ...@@ -2619,7 +2619,10 @@ void RTFGenerator::postProcess(QByteArray &a)
for (i=0;i<a.size();i++) for (i=0;i<a.size();i++)
{ {
unsigned char c = (unsigned char)a.at(i); unsigned char c = (unsigned char)a.at(i);
if (c>0x80 || mbFlag)
// treat characters > 0x80 as multibyte characters, except when they
// are control characters
if (c>0x80 || (mbFlag && c!='\\' && c!='{' && c!='}'))
{ {
char s[10]; char s[10];
sprintf(s,"\\'%X",c); sprintf(s,"\\'%X",c);
......
...@@ -3998,7 +3998,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?) ...@@ -3998,7 +3998,7 @@ TYPEDEFPREFIX (("typedef"{BN}+)?)((("volatile"|"const"){BN}+)?)
int tempArg=current->name.find('<'); int tempArg=current->name.find('<');
QCString tempName; QCString tempName;
if (tempArg==-1) tempName=current->name; else tempName=current->name.left(tempArg); if (tempArg==-1) tempName=current->name; else tempName=current->name.left(tempArg);
if (current->type.isEmpty() && if (!current->type.isEmpty() &&
(current->type.find(re,0)!=-1 || current->type.left(8)=="typedef ")) (current->type.find(re,0)!=-1 || current->type.left(8)=="typedef "))
{ {
//printf("Scanner.l: found in class variable: `%s' `%s' `%s'\n", current->type.data(),current->name.data(),current->args.data()); //printf("Scanner.l: found in class variable: `%s' `%s' `%s'\n", current->type.data(),current->name.data(),current->args.data());
......
...@@ -114,6 +114,9 @@ ...@@ -114,6 +114,9 @@
// 2008/02/04 Jens Seidel (jensseidel@users.sourceforge.net) // 2008/02/04 Jens Seidel (jensseidel@users.sourceforge.net)
// - Updated for "new since 1.5.4" version // - Updated for "new since 1.5.4" version
// //
// 2009/01/09 Jens Seidel (jensseidel@users.sourceforge.net)
// - Resynced the trLegendDocs() method
//
// Todo: // Todo:
// - see FIXME // - see FIXME
...@@ -665,7 +668,7 @@ class TranslatorGerman : public Translator ...@@ -665,7 +668,7 @@ class TranslatorGerman : public Translator
bool isTemplate) bool isTemplate)
{ {
QCString result=(QCString)clName+" "; QCString result=(QCString)clName+" ";
if (isTemplate) result+="Template "; if (isTemplate) result+="Template-";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+="Klassen"; break; case ClassDef::Class: result+="Klassen"; break;
...@@ -831,8 +834,7 @@ class TranslatorGerman : public Translator ...@@ -831,8 +834,7 @@ class TranslatorGerman : public Translator
*/ */
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) bool single)
{ // 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)"Die Dokumentation für diese"; QCString result=(QCString)"Die Dokumentation für diese";
switch(compType) switch(compType)
{ {
...@@ -1117,7 +1119,7 @@ class TranslatorGerman : public Translator ...@@ -1117,7 +1119,7 @@ class TranslatorGerman : public Translator
"class Undocumented { };\n\n" "class Undocumented { };\n\n"
"/*! Mithilfe öffentlicher Vererbung vererbte Klasse */\n" "/*! Mithilfe öffentlicher Vererbung vererbte Klasse */\n"
"class PublicBase : public Truncated { };\n\n" "class PublicBase : public Truncated { };\n\n"
"/*! Eine Template Klasse */\n" "/*! Eine Template-Klasse */\n"
"template<class T> class Templ { };\n\n" "template<class T> class Templ { };\n\n"
"/*! Mithilfe geschützter Vererbung vererbte Klasse */\n" "/*! Mithilfe geschützter Vererbung vererbte Klasse */\n"
"class ProtectedBase { };\n\n" "class ProtectedBase { };\n\n"
...@@ -1135,14 +1137,13 @@ class TranslatorGerman : public Translator ...@@ -1135,14 +1137,13 @@ class TranslatorGerman : public Translator
" private:\n" " private:\n"
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n\n" "\\endcode\n"
"Setzen des Tags \\c MAX_DOT_GRAPH_HEIGHT in der Konfigurationsdatei " "Dies liefert den folgenden Graphen:"
"auf 240 liefert den folgenden Graphen:"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"Die Rechtecke in obigem Graphen bedeuten:\n" "Die Rechtecke in obigem Graphen bedeuten:\n"
"<ul>\n" "<ul>\n"
"<li>Ein schwarz gefülltes Rechteck stellt die Struktur oder " "<li>Ein grau gefülltes Rechteck stellt die Struktur oder "
"Klasse dar, für die der Graph erzeugt wurde.\n" "Klasse dar, für die der Graph erzeugt wurde.\n"
"<li>Ein Rechteck mit schwarzem Rahmen kennzeichnet eine dokumentierte " "<li>Ein Rechteck mit schwarzem Rahmen kennzeichnet eine dokumentierte "
"Struktur oder Klasse.\n" "Struktur oder Klasse.\n"
......
...@@ -767,8 +767,7 @@ class TranslatorEnglish : public Translator ...@@ -767,8 +767,7 @@ class TranslatorEnglish : public Translator
*/ */
virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
bool single) bool single)
{ // 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)"The documentation for this "; QCString result=(QCString)"The documentation for this ";
switch(compType) switch(compType)
{ {
...@@ -1731,7 +1730,7 @@ class TranslatorEnglish : public Translator ...@@ -1731,7 +1730,7 @@ class TranslatorEnglish : public Translator
*/ */
virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType, virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single) bool single)
{ // here s is one of " Module", " Struct" or " Union" {
// single is true implies a single file // single is true implies a single file
QCString result=(QCString)"The documentation for this "; QCString result=(QCString)"The documentation for this ";
switch(compType) switch(compType)
......
...@@ -32,7 +32,12 @@ Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi> ...@@ -32,7 +32,12 @@ Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi>
2008-08-26 2008-08-26
* MAX_DOT_GRAPH_HEIGHT poistettu, versio 1.5.6 * MAX_DOT_GRAPH_HEIGHT poistettu, versio 1.5.6
* Tekstit muutettu UTF-8:ksi * Tekstit muutettu UTF-8:ksi
* 2009-01-17
* versio 1.5.8
* Kantaluokka vaihdettu TranslatorEnglishistä Translatoriksi
* Enumeraatio -> luettelotyyppi
* Paranneltu kieltä ja poistettu kirjoitusvirheitä
* Tehtävää: * Tehtävää:
- Termien kokoaminen listaksi ja suomennosten järkevyyden tarkastelu. (lista on jo melko kattava) - Termien kokoaminen listaksi ja suomennosten järkevyyden tarkastelu. (lista on jo melko kattava)
Author = Tekijä Author = Tekijä
...@@ -44,7 +49,7 @@ Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi> ...@@ -44,7 +49,7 @@ Antti Laine (0.49-990425 -> ) <antti.a.laine@tut.fi>
Description = Selite Description = Selite
Detailed = Yksityiskohtainen Detailed = Yksityiskohtainen
Diagram = Kaavio Diagram = Kaavio
Enum = Enumeraatio / Luettelotyyppi Enum = Luettelotyyppi
Exceptions = Poikkeukset Exceptions = Poikkeukset
File = Tiedosto File = Tiedosto
Friends = Ystävät Friends = Ystävät
...@@ -81,7 +86,7 @@ positiiviset kommentit otetaan ilolla vastaan. ...@@ -81,7 +86,7 @@ positiiviset kommentit otetaan ilolla vastaan.
#ifndef TRANSLATOR_FI_H #ifndef TRANSLATOR_FI_H
#define TRANSLATOR_FI_H #define TRANSLATOR_FI_H
class TranslatorFinnish : public TranslatorEnglish class TranslatorFinnish : public Translator
{ {
public: public:
/*! This method is used to generate a warning message to signal /*! This method is used to generate a warning message to signal
...@@ -152,7 +157,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -152,7 +157,7 @@ class TranslatorFinnish : public TranslatorEnglish
/*! header that is put before the list of enumerations. */ /*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation() virtual QCString trMemberEnumerationDocumentation()
{ return "Jäsenenumeraatioiden dokumentaatio"; } // "Member Enumeration Documentation" { return "Jäsenluettelotyyppien dokumentaatio"; } // "Member Enumeration Documentation"
/*! header that is put before the list of member functions. */ /*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation() virtual QCString trMemberFunctionDocumentation()
...@@ -185,7 +190,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -185,7 +190,7 @@ class TranslatorFinnish : public TranslatorEnglish
/*! this is the first part of a sentence that is followed by a class name */ /*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers() virtual QCString trThisIsTheListOfAllMembers()
{ return "Tämä on lista kaikista jäsenistä"; } // "This is the complete list of members for " { return "Tämä on lista kaikista jäsenistä luokassa "; } // "This is the complete list of members for "
/*! this is the remainder of the sentence after the class name */ /*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers() virtual QCString trIncludingInheritedMembers()
...@@ -195,7 +200,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -195,7 +200,7 @@ class TranslatorFinnish : public TranslatorEnglish
* parameter s is name of the project name. * parameter s is name of the project name.
*/ */
virtual QCString trGeneratedAutomatically(const char *s) virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result=(QCString)"Automaattisesti generoitu Doxygenilla " { QCString result=(QCString)"Automaattisesti luotu Doxygenilla "
"lähdekoodista projektille "+s; // "Generated automatically by Doxygen" ... "for" ... "from the sourcecode" "lähdekoodista projektille "+s; // "Generated automatically by Doxygen" ... "for" ... "from the sourcecode"
//if (s) result+=(QCString)" voor "+s; //if (s) result+=(QCString)" voor "+s;
// tässä on ongelma, kuinka taivuttaa parametria, esim. "Jcad"+"in"; "IFC2VRML konversio"+"n" // tässä on ongelma, kuinka taivuttaa parametria, esim. "Jcad"+"in"; "IFC2VRML konversio"+"n"
...@@ -208,11 +213,11 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -208,11 +213,11 @@ class TranslatorFinnish : public TranslatorEnglish
/*! put after an enum name in the list of all members */ /*! put after an enum name in the list of all members */
virtual QCString trEnumName() virtual QCString trEnumName()
{ return "enumeraation nimi"; } // "enum name" { return "luettelotyypin nimi"; } // "enum name"
/*! put after an enum value in the list of all members */ /*! put after an enum value in the list of all members */
virtual QCString trEnumValue() virtual QCString trEnumValue()
{ return "enumeraation arvo"; } // "enum value" { return "luettelotyypin arvo"; } // "enum value"
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
...@@ -296,7 +301,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -296,7 +301,7 @@ class TranslatorFinnish : public TranslatorEnglish
{ {
QCString result="Tässä on lista kaikista "; QCString result="Tässä on lista kaikista ";
if (!extractAll) result+="dokumentoiduista "; // "documented " if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="tiedostoista lyhyen selitteen kera:"; // "files with brief descriptions:" result+="tiedostoista lyhyen selitteen kanssa:"; // "files with brief descriptions:"
return result; return result;
} }
...@@ -306,12 +311,12 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -306,12 +311,12 @@ class TranslatorFinnish : public TranslatorEnglish
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Tässä ovat tietueet lyhyen selitteen kera:"; // "Here are the data structures with brief descriptions:" return "Tässä ovat tietueet lyhyen selitteen kanssa:"; // "Here are the data structures with brief descriptions:"
} }
else else
{ {
return "Tässä ovat luokat, tietueet ja " // "Here are the classes, structs and " return "Tässä ovat luokat, tietueet ja " // "Here are the classes, structs and "
"yhdisteet lyhyen selitteen kera:"; // "unions with brief descriptions:" "yhdisteet lyhyen selitteen kanssa:"; // "unions with brief descriptions:"
} }
} }
...@@ -365,7 +370,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -365,7 +370,7 @@ class TranslatorFinnish : public TranslatorEnglish
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="funktioista, muuttujista, määrittelyistä, luetteloista ja tyyppimäärittelyistä"; // "functions, variables, defines, enums, and typedefs" result+="funktioista, muuttujista, määrittelyistä, luettelotyypeistä ja tyyppimäärittelyistä"; // "functions, variables, defines, enums, and typedefs"
} }
else else
{ {
...@@ -373,7 +378,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -373,7 +378,7 @@ class TranslatorFinnish : public TranslatorEnglish
} }
result+=" linkitettyinä "; // " with links to " result+=" linkitettyinä "; // " with links to "
if (extractAll) if (extractAll)
result+="tiedostoon, johon ne kuuluvat:"; // "the files they belong to:" result+="tiedostoihin, joihin ne kuuluvat:"; // "the files they belong to:"
else else
result+="dokumentaatioon:"; // "the documentation:" result+="dokumentaatioon:"; // "the documentation:"
return result; return result;
...@@ -642,7 +647,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -642,7 +647,7 @@ class TranslatorFinnish : public TranslatorEnglish
{ {
QCString result="Tässä on lista kaikista "; // "Here is a list of all " QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista "; // "documented " if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="nimiavaruuksista lyhyen selitteen kera:"; // "namespaces with brief descriptions:" result+="nimiavaruuksista lyhyen selitteen kanssa:"; // "namespaces with brief descriptions:"
return result; return result;
} }
...@@ -770,7 +775,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -770,7 +775,7 @@ class TranslatorFinnish : public TranslatorEnglish
*/ */
virtual QCString trReimplementedFromList(int numEntries) virtual QCString trReimplementedFromList(int numEntries)
{ {
return (QCString)"Uudelleen toteuttaa "+(numEntries > 1 ? "luokat " : "luokan ")+trWriteList(numEntries)+"."; // "Reimplemented from " return (QCString)"Uudelleentoteuttaa "+(numEntries > 1 ? "luokat " : "luokan ")+trWriteList(numEntries)+"."; // "Reimplemented from "
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -778,7 +783,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -778,7 +783,7 @@ class TranslatorFinnish : public TranslatorEnglish
*/ */
virtual QCString trReimplementedInList(int numEntries) virtual QCString trReimplementedInList(int numEntries)
{ {
return (QCString)"Uudelleen toteutettu "+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Reimplemented in " return (QCString)"Uudelleentoteutetaan "+(numEntries > 1 ? "luokissa " : "luokassa ")+trWriteList(numEntries)+"."; // "Reimplemented in "
} }
/*! This is put above each page as a link to all members of namespaces. */ /*! This is put above each page as a link to all members of namespaces. */
...@@ -841,8 +846,8 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -841,8 +846,8 @@ class TranslatorFinnish : public TranslatorEnglish
case ClassDef::Category: result+="kategorialle"; break; // "category" case ClassDef::Category: result+="kategorialle"; break; // "category"
case ClassDef::Exception: result+="poikkeukselle"; break; // "exception" case ClassDef::Exception: result+="poikkeukselle"; break; // "exception"
} }
if (single) result+=" generoitiin seuraavasta tiedostosta:"; // " was generated from the following file" if (single) result+=" luotiin seuraavasta tiedostosta:"; // " was generated from the following file"
else result+=" generoitiin seuraavista tiedostoista:"; // ":" or "s:" else result+=" luotiin seuraavista tiedostoista:"; // ":" or "s:"
return result; return result;
} }
...@@ -920,7 +925,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -920,7 +925,7 @@ class TranslatorFinnish : public TranslatorEnglish
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return "Mene tämän tiedoston dokumentaatioon."; // "Go to the documentation of this file." return "Siirry tämän tiedoston dokumentaatioon."; // "Go to the documentation of this file."
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
...@@ -1024,7 +1029,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1024,7 +1029,7 @@ class TranslatorFinnish : public TranslatorEnglish
/*! 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 "Vielä tehtävä"; // "Todo" return "Vielä tehtävä"; // "Todo"
} }
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
...@@ -1050,7 +1055,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1050,7 +1055,7 @@ class TranslatorFinnish : public TranslatorEnglish
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return "Tämä kaavio näyttää, mitkä tiedostot suorasti" return "Tämä kaavio näyttää, mitkä tiedostot suorasti "
"tai epäsuorasti sisällyttävät tämän tiedoston"; "tai epäsuorasti sisällyttävät tämän tiedoston";
// "This graph shows which files directly or " // "This graph shows which files directly or "
// "indirectly include this file:" // "indirectly include this file:"
...@@ -1076,7 +1081,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1076,7 +1081,7 @@ class TranslatorFinnish : public TranslatorEnglish
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return return
"Tämä sivu selittää, kuinka doxygenin generoimia kaavioita tulkitaan.<p>\n" "Tämä sivu selittää, kuinka doxygenin luomia kaavioita tulkitaan.<p>\n"
// "This page explains how to interpret the graphs that are generated " // "This page explains how to interpret the graphs that are generated "
// "by doxygen.<p>\n" // "by doxygen.<p>\n"
"Ajattele seuraavaa esimerkkiä:\n" "Ajattele seuraavaa esimerkkiä:\n"
...@@ -1144,7 +1149,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1144,7 +1149,7 @@ class TranslatorFinnish : public TranslatorEnglish
"<ul>\n" "<ul>\n"
"<li>Täytetty harmaa laatikko esittää tietuetta tai luokkaa, jolle " "<li>Täytetty harmaa laatikko esittää tietuetta tai luokkaa, jolle "
// "<li>%A filled gray box represents the struct or class for which the " // "<li>%A filled gray box represents the struct or class for which the "
"kaavio on generoitu.\n" "kaavio on luotu.\n"
// "graph is generated.\n" // "graph is generated.\n"
"<li>Mustareunainen laatikko merkitsee dokumentoitua tietuetta tai luokkaa.\n" "<li>Mustareunainen laatikko merkitsee dokumentoitua tietuetta tai luokkaa.\n"
// "<li>%A box with a black border denotes a documented struct or class.\n" // "<li>%A box with a black border denotes a documented struct or class.\n"
...@@ -1591,7 +1596,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1591,7 +1596,7 @@ class TranslatorFinnish : public TranslatorEnglish
} }
else else
{ {
return "Löytyi <b>$num dokumenttia, jotka vastasivat hakuasi. " // "Found <b>$num</b> documents matching your query. " return "Löytyi <b>$num</b> dokumenttia, jotka vastasivat hakuasi. " // "Found <b>$num</b> documents matching your query. "
"Parhaat tulokset näytetään ensin."; // "Showing best matches first." "Parhaat tulokset näytetään ensin."; // "Showing best matches first."
} }
} }
...@@ -1673,7 +1678,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1673,7 +1678,7 @@ class TranslatorFinnish : public TranslatorEnglish
{ {
return "Tämä on ylikuormitettu jäsenfunktio, ja se tarjotaan " return "Tämä on ylikuormitettu jäsenfunktio, ja se tarjotaan "
"käytön helpottamiseksi. Se eroaa ylläolevasta " "käytön helpottamiseksi. Se eroaa ylläolevasta "
"funktiosta ainoastaan hyväksymiltä parametreiltaan."; "funktiosta ainoastaan hyväksymiltään parametreilta.";
// "This is an overloaded member function, " // "This is an overloaded member function, "
// "provided for convenience. It differs from the above " // "provided for convenience. It differs from the above "
// "function only in what argument(s) it accepts." // "function only in what argument(s) it accepts."
...@@ -1713,7 +1718,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1713,7 +1718,7 @@ class TranslatorFinnish : public TranslatorEnglish
/*! This is an introduction to the annotated compound list (Fortran). */ /*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran() virtual QCString trCompoundListDescriptionFortran()
{ return "Tässä ovat tietotyypit lyhyillä selityksillä:"; } // "Here are the data types with brief descriptions:" { return "Tässä ovat tietotyypit lyhyiden selitysten kanssa:"; } // "Here are the data types with brief descriptions:"
/*! This is an introduction to the page with all data types (Fortran). */ /*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
...@@ -1775,7 +1780,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1775,7 +1780,7 @@ class TranslatorFinnish : public TranslatorEnglish
{ {
QCString result="Tässä on lista kaikista "; // "Here is a list of all " QCString result="Tässä on lista kaikista "; // "Here is a list of all "
if (!extractAll) result+="dokumentoiduista "; // "documented " if (!extractAll) result+="dokumentoiduista "; // "documented "
result+="moduuleista lyhillä selityksillä:"; // "modules with brief descriptions:" result+="moduuleista lyhyiden selitysten kanssa:"; // "modules with brief descriptions:"
return result; return result;
} }
...@@ -1862,7 +1867,7 @@ class TranslatorFinnish : public TranslatorEnglish ...@@ -1862,7 +1867,7 @@ class TranslatorFinnish : public TranslatorEnglish
case ClassDef::Category: result+="kategorialle"; break; // "category" case ClassDef::Category: result+="kategorialle"; break; // "category"
case ClassDef::Exception: result+="poikkeukselle"; break; // "exception" case ClassDef::Exception: result+="poikkeukselle"; break; // "exception"
} }
result+=" generoitiin "; // " was generated from the following file" result+=" luotiin "; // " was generated from the following file"
if (single) result+="seuraavasta tiedostosta:"; else result+="seuraavista tiedostoista:"; // ":" / "s:" if (single) result+="seuraavasta tiedostosta:"; else result+="seuraavista tiedostoista:"; // ":" / "s:"
return result; return result;
} }
......
...@@ -68,6 +68,9 @@ ...@@ -68,6 +68,9 @@
// 2006/06/11 // 2006/06/11
// - Added strings for 1.4.6 // - Added strings for 1.4.6
// //
// 2009/01/09
// - Updated trLegendDocs
//
#ifndef TRANSLATOR_HR_H #ifndef TRANSLATOR_HR_H
#define TRANSLATOR_HR_H #define TRANSLATOR_HR_H
...@@ -776,26 +779,29 @@ class TranslatorCroatian : public Translator ...@@ -776,26 +779,29 @@ class TranslatorCroatian : public Translator
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"Ako je \\c MAX_DOT_GRAPH_HEIGHT tag u konfiguracijskoj datoteci " "To e rezultirati grafikonom:"
"postavljen na 200 gornje veze e rezultirati grafikonom:"
"<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"Pravokutnici imaju slijedee znaenje:\n" "Pravokutnici imaju slijedee znaenje:\n"
"<ul>\n" "<ul>\n"
"<li>Puni crni predstavlja klasu za koji je generiran graf.\n" "<li>%A Puni crni predstavlja klasu za koji je generiran graf.\n"
"<li>Pravokutnik s crnim rubom predstavlja dokumentiranu klasu.\n" "<li>%A Pravokutnik s crnim rubom predstavlja dokumentiranu klasu.\n"
"<li>Pravokutnik s sivim rubom predstavlja nedokumentiranu klasu.\n" "<li>%A Pravokutnik s sivim rubom predstavlja nedokumentiranu klasu.\n"
"<li>Pravokutnik s crvenim rubom predstavlja dokumentiranu klasu\n" "<li>%A Pravokutnik s crvenim rubom predstavlja dokumentiranu klasu\n"
"Za koju nije prikazan graf naslijeivanja. Graf je odrezan " "Za koju nije prikazan graf naslijeivanja. Graf je odrezan "
"ako ne stane unutar odreenih granica." "ako ne stane unutar odreenih granica."
"</ul>\n" "</ul>\n"
"Strelice imaju slijedee znaenje:\n" "Strelice imaju slijedee znaenje:\n"
"<ul>\n" "<ul>\n"
"<li>Tamnoplava strelica oznaava public naslijeivanje.\n" "<li>%A Tamnoplava strelica oznaava public naslijeivanje.\n"
"<li>Tamnozelena strelica oznaava protected naslijeivanje.\n" "<li>%A Tamnozelena strelica oznaava protected naslijeivanje.\n"
"<li>Tamnocrvena strelica oznaava private naslijeivanje.\n" "<li>%A Tamnocrvena strelica oznaava private naslijeivanje.\n"
"<li>Ljubiasta isprekidana strelica se koristi za agregate vezu. " "<li>%A Ljubiasta isprekidana strelica se koristi ako je klasa dio "
"druge klase ili ako se klasa koristi u drugoj klasi. Natpis na "
"strelici je ime varijable u drugoj klasi\n"
"Strelica je oznaena imenom varijable.\n" "Strelica je oznaena imenom varijable.\n"
"<li>%A uta isprekidana strelica oznaava relaciju izmeu template instance "
"i template klase. Oznaena je imenom template parametra\n"
"</ul>\n"); "</ul>\n");
} }
/*! text for the link to the legend page */ /*! text for the link to the legend page */
......
...@@ -1064,8 +1064,7 @@ class TranslatorKorean : public Translator ...@@ -1064,8 +1064,7 @@ class TranslatorKorean : public Translator
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"만약 설정파일에서 \\c MAX_DOT_GRAPH_HEIGHT 태그가 " "다음과 같은 그래프가 출력될 것입니다. :"
"240으로 설정되었다면, 다음과 같은 그래프가 출력될 것입니다. :"
"<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img alt=\"\" src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"위 그래프의 박스들은 다음과 같은 의미를 가집니다. :\n" "위 그래프의 박스들은 다음과 같은 의미를 가집니다. :\n"
...@@ -1789,7 +1788,7 @@ class TranslatorKorean : public Translator ...@@ -1789,7 +1788,7 @@ class TranslatorKorean : public Translator
return result; return result;
} }
/*! C# Type Contraint list */ /*! C# Type Constraint list */
virtual QCString trTypeConstraints() virtual QCString trTypeConstraints()
{ {
return "타입 한정자들"; return "타입 한정자들";
......
...@@ -15,26 +15,20 @@ ...@@ -15,26 +15,20 @@
* *
*/ */
/* The translation from English to Romanian by Alexandru Iosup [aiosup@yahoo.com]. /* Original translation from English to Romanian by Alexandru Iosup [aiosup@yahoo.com].
* Updated by Ionut Dumitrascu [reddumy@yahoo.com] * Updated by Ionuţ Dumitraşcu [reddumy@yahoo.com]
*
* Disclaimer: I hope I translated these to Romanian keeping
* the meaning of the sentences intact. I used C-words were possible,
* (e.g. the Romanian "definire de tip" for "typedef" is too long and
* unexpressive).
*
* If you have suggestions, please mail the comments and text proposals to the address
* shown aprox.10 lines above
* *
* ------------------------------------------- * -------------------------------------------
* Project start : 20.Sep.2k * Project start : 20.09.2000
* Last Doxygen version covered : 1.4.1 * Last Doxygen version covered : 1.5.8
* Last revision : 01.Mar.2k5 * Last revision : 15.01.2009
* ------------------------------------------- * -------------------------------------------
* *
* Revision history * Revision history
* ---------------- * ----------------
* 28.07.2008 - Updated version - covering Doxygen 1.5.6 - and some minor changes * 15.01.2009 - Updated Romanian translation to Doxygen 1.5.8 and modified strings to UTF-8, as well as some other changes (Ionuţ Dumitraşcu)
* 28.07.2008 - Updated version - covering Doxygen 1.5.6 - and some minor changes (Ionuţ Dumitraşcu)
*
* 01.Mar.2k5 Third revision, covering Doxygen 1.4.1 * 01.Mar.2k5 Third revision, covering Doxygen 1.4.1
* *
* 07.Mar.2k2 Second revision, covering Doxygen 1.2.14 * 07.Mar.2k2 Second revision, covering Doxygen 1.2.14
...@@ -47,7 +41,7 @@ ...@@ -47,7 +41,7 @@
#define TRANSLATOR_RO_H #define TRANSLATOR_RO_H
class TranslatorRomanian : public TranslatorAdapter_1_4_1 class TranslatorRomanian : public Translator
{ {
public: public:
...@@ -83,45 +77,45 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -83,45 +77,45 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! return the language charset. This will be used for the HTML output */ /*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset() virtual QCString idLanguageCharset()
{ {
return "iso-8859-2"; return "utf-8";
} }
// --- Language translation methods ------------------- // --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */ /*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions() virtual QCString trRelatedFunctions()
{ return "Funcþii înrudite"; } { return "Funcţii înrudite"; }
/*! subscript for the related functions. */ /*! subscript for the related functions. */
virtual QCString trRelatedSubscript() virtual QCString trRelatedSubscript()
{ return "(Atenþie: NU sunt funcþii membre.)"; } { return "(Atenţie: acestea nu sunt funcţii membre.)"; }
/*! header that is put before the detailed description of files, classes and namespaces. */ /*! header that is put before the detailed description of files, classes and namespaces. */
virtual QCString trDetailedDescription() virtual QCString trDetailedDescription()
{ return "Descriere Detaliatã"; } { return "Descriere Detaliată"; }
/*! header that is put before the list of typedefs. */ /*! header that is put before the list of typedefs. */
virtual QCString trMemberTypedefDocumentation() virtual QCString trMemberTypedefDocumentation()
{ return "Documentaþia Declaraþiilor Typedef membre"; } { return "Documentaţia Definiţiilor de Tipuri (typedef) Membre"; }
/*! header that is put before the list of enumerations. */ /*! header that is put before the list of enumerations. */
virtual QCString trMemberEnumerationDocumentation() virtual QCString trMemberEnumerationDocumentation()
{ return "Documentaþia membrilor Enum"; } { return "Documentaţia Enumerărilor Membre"; }
/*! header that is put before the list of member functions. */ /*! header that is put before the list of member functions. */
virtual QCString trMemberFunctionDocumentation() virtual QCString trMemberFunctionDocumentation()
{ return "Documentaþia Funcþiilor membre"; } { return "Documentaţia Funcţiilor Membre"; }
/*! header that is put before the list of member attributes. */ /*! header that is put before the list of member attributes. */
virtual QCString trMemberDataDocumentation() virtual QCString trMemberDataDocumentation()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Documentaþia Câmpurilor"; return "Documentaţia Câmpurilor";
} }
else else
{ {
return "Documentaþia Datelor membre"; return "Documentaţia Datelor Membre";
} }
} }
...@@ -140,11 +134,11 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -140,11 +134,11 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! this is the first part of a sentence that is followed by a class name */ /*! this is the first part of a sentence that is followed by a class name */
virtual QCString trThisIsTheListOfAllMembers() virtual QCString trThisIsTheListOfAllMembers()
{ return "Lista completã a membrilor din "; } { return "Lista completă a membrilor din "; }
/*! this is the remainder of the sentence after the class name */ /*! this is the remainder of the sentence after the class name */
virtual QCString trIncludingInheritedMembers() virtual QCString trIncludingInheritedMembers()
{ return ", inclusiv a tuturor membrilor moºteniþi."; } { return ", inclusiv a tuturor membrilor moşteniţi."; }
/*! this is put at the author sections at the bottom of man pages. /*! this is put at the author sections at the bottom of man pages.
* parameter s is name of the project name. * parameter s is name of the project name.
...@@ -152,21 +146,21 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -152,21 +146,21 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
virtual QCString trGeneratedAutomatically(const char *s) virtual QCString trGeneratedAutomatically(const char *s)
{ QCString result="Generat automat de Doxygen"; { QCString result="Generat automat de Doxygen";
if (s) result+=(QCString)" pentru "+s; if (s) result+=(QCString)" pentru "+s;
result+=" din codul sursã."; result+=" din codul sursă.";
return result; return result;
} }
/*! put after an enum name in the list of all members */ /*! put after an enum name in the list of all members */
virtual QCString trEnumName() virtual QCString trEnumName()
{ return "nume enum"; } { return "nume enumerare"; }
/*! put after an enum value in the list of all members */ /*! put after an enum value in the list of all members */
virtual QCString trEnumValue() virtual QCString trEnumValue()
{ return "valoare enum"; } { return "valoare enumerare"; }
/*! put after an undocumented member in the list of all members */ /*! put after an undocumented member in the list of all members */
virtual QCString trDefinedIn() virtual QCString trDefinedIn()
{ return "definit în"; } { return "definit în"; }
// quick reference sections // quick reference sections
...@@ -189,29 +183,25 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -189,29 +183,25 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
} }
else else
{ {
return "Lista Membrilor Componenþi"; return "Lista Claselor";
} }
} }
/*! This is put above each page as a link to the list of documented files */ /*! This is put above each page as a link to the list of documented files */
virtual QCString trFileList() virtual QCString trFileList()
{ return "Lista fiºierelor"; } { 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. */ /*! This is put above each page as a link to all members of compounds. */
virtual QCString trCompoundMembers() virtual QCString trCompoundMembers()
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Câmpurile de Date"; return "Câmpurile de Date";
} }
else else
{ {
return "Membrii Componenþi"; //cu articol hotarat return "Membrii Componenţi"; //cu articol hotarat
} }
} }
...@@ -225,34 +215,34 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -225,34 +215,34 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
} }
else else
{ {
return "Membrii din Fiºier"; //cu articol hotarat return "Membrii din Fişier"; //cu articol hotarat
} }
} }
/*! This is put above each page as a link to all related pages. */ /*! This is put above each page as a link to all related pages. */
virtual QCString trRelatedPages() virtual QCString trRelatedPages()
{ return "Pagini înrudite"; } { return "Pagini înrudite"; }
/*! This is put above each page as a link to all examples. */ /*! This is put above each page as a link to all examples. */
virtual QCString trExamples() virtual QCString trExamples()
{ return "Exemples"; } { return "Exemple"; }
/*! This is put above each page as a link to the search engine. */ /*! This is put above each page as a link to the search engine. */
virtual QCString trSearch() virtual QCString trSearch()
{ return "Cautã"; } { return "Caută"; }
/*! This is an introduction to the class hierarchy. */ /*! This is an introduction to the class hierarchy. */
virtual QCString trClassHierarchyDescription() virtual QCString trClassHierarchyDescription()
{ return "Aceastã listã de legãturi este sortatã în general, " { return "Această listă de moşteniri este sortată în general, "
"dar nu complet, în ordine alfabeticã:"; "dar nu complet, în ordine alfabetică:";
} }
/*! This is an introduction to the list with all files. */ /*! This is an introduction to the list with all files. */
virtual QCString trFileListDescription(bool extractAll) virtual QCString trFileListDescription(bool extractAll)
{ {
QCString result="Lista tuturor "; QCString result="Lista tuturor ";
result+="fiºierelor"; result+="fişierelor";
if (!extractAll) result+=" documentate"; if (!extractAll) result+=" documentate";
result+=", cu scurte descrieri:"; result+=", cu scurte descrieri:";
return result; return result;
...@@ -267,7 +257,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -267,7 +257,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
} }
else else
{ {
return "Lista claselor, structurilor, uniunilor ºi interfeþelor" return "Lista claselor, structurilor, uniunilor şi interfeţelor"
", cu scurte descrieri:"; ", cu scurte descrieri:";
} }
...@@ -280,37 +270,37 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -280,37 +270,37 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="câmpurilor "; result+="câmpurilor ";
if (!extractAll) result+=" documentate "; if (!extractAll) result+=" documentate ";
result+="din structuri si uniuni "; result+="din structuri si uniuni ";
} }
else else
{ {
result+="membrilor "; result+="membrilor ";
if (!extractAll) result+="documentaþi "; if (!extractAll) result+="documentaţi ";
result+="din toate clasele "; result+="din toate clasele ";
} }
result+=", cu legãturi cãtre "; result+=", cu legături către ";
if (!extractAll) if (!extractAll)
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="documentaþia structurii/uniunii pentru fiecare câmp în parte:"; result+="documentaţia structurii/uniunii pentru fiecare câmp în parte:";
} }
else else
{ {
result+="documentaþia clasei pentru fiecare membru în parte:"; result+="documentaţia clasei pentru fiecare membru în parte:";
} }
} }
else else
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="structurile/uniunile de care aparþin:"; result+="structurile/uniunile de care aparţin:";
} }
else else
{ {
result+="clasele de care aparþin:"; result+="clasele de care aparţin:";
} }
} }
...@@ -323,52 +313,42 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -323,52 +313,42 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
QCString result="Lista tuturor "; QCString result="Lista tuturor ";
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
result+="funcþiilor, variabilelor, define-urilor, enum-urilor ºi typedef-urilor"; result+="funcţiilor, variabilelor, definiţiilor, enumerărilor şi definiţiilor de tip";
if (!extractAll) result+=" documentate"; if (!extractAll) result+=" documentate";
} }
else else
{ {
result+="membrilor "; result+="membrilor ";
if (!extractAll) result+="documentaþi "; if (!extractAll) result+="documentaţi ";
result+="din toate fiºierele"; result+="din toate fişierele";
} }
result+=", cu legãturi cãtre "; result+=", cu legături către ";
if (extractAll) if (extractAll)
result+="fiºierele de care aparþin:"; result+="fişierele de care aparţin:";
else else
result+="documentaþia aferentã:"; result+="documentaţia aferentă:";
return result; return result;
} }
/*! This is an introduction to the page with the list of all header files. */
virtual QCString trHeaderFilesDescription()
{ return "Lista fiºierele Header care fac parte din API:"; }
/*! This is an introduction to the page with the list of all examples */ /*! This is an introduction to the page with the list of all examples */
virtual QCString trExamplesDescription() virtual QCString trExamplesDescription()
{ return "Lista tuturor exemplelor:"; } { return "Lista tuturor exemplelor:"; }
/*! This is an introduction to the page with the list of related pages */ /*! This is an introduction to the page with the list of related pages */
virtual QCString trRelatedPagesDescription() virtual QCString trRelatedPagesDescription()
{ return "Lista tuturor documentaþiilor înrudite:"; } { return "Lista tuturor documentaţiilor înrudite:"; }
/*! This is an introduction to the page with the list of class/file groups */ /*! This is an introduction to the page with the list of class/file groups */
virtual QCString trModulesDescription() virtual QCString trModulesDescription()
{ return "Lista tuturor modulelor:"; } { return "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) // index titles (the project name is prepended for these)
/*! This is used in HTML as the title of index.html. */ /*! This is used in HTML as the title of index.html. */
virtual QCString trDocumentation() virtual QCString trDocumentation()
{ return "Documentaþie"; } { return "Documentaţie"; }
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
* index of all groups. * index of all groups.
...@@ -402,13 +382,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -402,13 +382,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* list of all files. * list of all files.
*/ */
virtual QCString trFileIndex() virtual QCString trFileIndex()
{ return "Indexul Fiºierelor"; } { return "Indexul Fişierelor"; }
/*! 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 groups. * the documentation of all groups.
*/ */
virtual QCString trModuleDocumentation() virtual QCString trModuleDocumentation()
{ return "Documentaþia Modulelor"; } { return "Documentaţia Modulelor"; }
/*! 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 classes, structs and unions. * the documentation of all classes, structs and unions.
...@@ -417,11 +397,11 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -417,11 +397,11 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Documentaþia Structurilor de Date"; return "Documentaţia Structurilor de Date";
} }
else else
{ {
return "Documentaþia Claselor"; return "Documentaţia Claselor";
} }
} }
...@@ -430,19 +410,19 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -430,19 +410,19 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* the documentation of all files. * the documentation of all files.
*/ */
virtual QCString trFileDocumentation() virtual QCString trFileDocumentation()
{ return "Documentaþia Fiºierelor"; } { return "Documentaţia Fişierelor"; }
/*! 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 examples. * the documentation of all examples.
*/ */
virtual QCString trExampleDocumentation() virtual QCString trExampleDocumentation()
{ return "Documentaþia Exemplelor"; } { return "Documentaţia Exemplelor"; }
/*! 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 related pages. * the documentation of all related pages.
*/ */
virtual QCString trPageDocumentation() virtual QCString trPageDocumentation()
{ return "Documentaþii înrudite"; } { return "Documentaţii înrudite"; }
/*! This is used in LaTeX as the title of the document */ /*! This is used in LaTeX as the title of the document */
virtual QCString trReferenceManual() virtual QCString trReferenceManual()
...@@ -452,31 +432,31 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -452,31 +432,31 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* list of defines * list of defines
*/ */
virtual QCString trDefines() virtual QCString trDefines()
{ return "Definiþii"; } { return "Definiţii"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of function prototypes * list of function prototypes
*/ */
virtual QCString trFuncProtos() virtual QCString trFuncProtos()
{ return "Prototipuri de funcþii"; } { return "Prototipuri de funcţii"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of typedefs * list of typedefs
*/ */
virtual QCString trTypedefs() virtual QCString trTypedefs()
{ return "Declaraþii Typedef"; } { return "Definiţii de tipuri"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of enumerations * list of enumerations
*/ */
virtual QCString trEnumerations() virtual QCString trEnumerations()
{ return "Enumerii"; } { return "Enumerări"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of (global) functions * list of (global) functions
*/ */
virtual QCString trFunctions() virtual QCString trFunctions()
{ return "Funcþii"; } { return "Funcţii"; }
/*! This is used in the documentation of a file as a header before the /*! This is used in the documentation of a file as a header before the
* list of (global) variables * list of (global) variables
...@@ -488,49 +468,43 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -488,49 +468,43 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* list of (global) variables * list of (global) variables
*/ */
virtual QCString trEnumerationValues() virtual QCString trEnumerationValues()
{ return "Valori enum"; } { return "Valori de enumerări"; }
/*! This is used in the documentation of a file before the list of /*! This is used in the documentation of a file before the list of
* documentation blocks for defines * documentation blocks for defines
*/ */
virtual QCString trDefineDocumentation() virtual QCString trDefineDocumentation()
{ return "Documentaþia definiþiilor"; } { return "Documentaţia definiţiilor"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes * of documentation blocks for function prototypes
*/ */
virtual QCString trFunctionPrototypeDocumentation() virtual QCString trFunctionPrototypeDocumentation()
{ return "Documentaþia prototipurilor de funcþii"; } { return "Documentaţia prototipurilor de funcţii"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs * of documentation blocks for typedefs
*/ */
virtual QCString trTypedefDocumentation() virtual QCString trTypedefDocumentation()
{ return "Documentaþia definiþiilor Typedef"; } { return "Documentaţia definiţiilor de tipuri"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration types * of documentation blocks for enumeration types
*/ */
virtual QCString trEnumerationTypeDocumentation() virtual QCString trEnumerationTypeDocumentation()
{ return "Documentaþia tipurilor enum"; } { return "Documentaţia enumerărilor"; }
/*! 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 /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for functions * of documentation blocks for functions
*/ */
virtual QCString trFunctionDocumentation() virtual QCString trFunctionDocumentation()
{ return "Documentaþia funcþiilor"; } { return "Documentaţia funcţiilor"; }
/*! This is used in the documentation of a file/namespace before the list /*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for variables * of documentation blocks for variables
*/ */
virtual QCString trVariableDocumentation() virtual QCString trVariableDocumentation()
{ return "Documentaþia variabilelor"; } { return "Documentaţia variabilelor"; }
/*! This is used in the documentation of a file/namespace/group before /*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds * the list of links to documented compounds
...@@ -555,7 +529,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -555,7 +529,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
{ {
QCString result=(QCString)"Generat "+date; QCString result=(QCString)"Generat "+date;
if (projName) result+=(QCString)" pentru "+projName; if (projName) result+=(QCString)" pentru "+projName;
result+=(QCString)" de cãtre"; result+=(QCString)" de către";
return result; return result;
} }
/*! This is part of the sentence used in the standard footer of each page. /*! This is part of the sentence used in the standard footer of each page.
...@@ -568,24 +542,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -568,24 +542,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! this text is put before a class diagram */ /*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName) virtual QCString trClassDiagram(const char *clName)
{ {
return (QCString)"Diagrama de relaþii pentru "+clName; return (QCString)"Diagrama de relaţii pentru "+clName;
} }
/*! this text is generated when the \\internal command is used. */ /*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly() virtual QCString trForInternalUseOnly()
{ return "Doar pentru uz intern."; } { 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. */ /*! this text is generated when the \\warning command is used. */
virtual QCString trWarning() virtual QCString trWarning()
{ return "Atenþie"; } { 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. */ /*! this text is generated when the \\version command is used. */
virtual QCString trVersion() virtual QCString trVersion()
...@@ -597,11 +563,11 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -597,11 +563,11 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! this text is generated when the \\return command is used. */ /*! this text is generated when the \\return command is used. */
virtual QCString trReturns() virtual QCString trReturns()
{ return "Întoarce"; } { return "Întoarce"; }
/*! this text is generated when the \\sa command is used. */ /*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso() virtual QCString trSeeAlso()
{ return "Vezi ºi"; } { return "Vezi şi"; }
/*! this text is generated when the \\param command is used. */ /*! this text is generated when the \\param command is used. */
virtual QCString trParameters() virtual QCString trParameters()
...@@ -609,7 +575,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -609,7 +575,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! this text is generated when the \\exception command is used. */ /*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions() virtual QCString trExceptions()
{ return "Excepþii"; } { return "Excepţii"; }
/*! this text is used in the title page of a LaTeX document. */ /*! this text is used in the title page of a LaTeX document. */
virtual QCString trGeneratedBy() virtual QCString trGeneratedBy()
...@@ -619,7 +585,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -619,7 +585,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! used as the title of page containing all the index of all namespaces. */ /*! used as the title of page containing all the index of all namespaces. */
virtual QCString trNamespaceList() virtual QCString trNamespaceList()
{ return "Lista Namespace"; } { return "Lista de Namespace-uri"; }
/*! used as an introduction to the namespace list */ /*! used as an introduction to the namespace list */
virtual QCString trNamespaceListDescription(bool extractAll) virtual QCString trNamespaceListDescription(bool extractAll)
...@@ -645,7 +611,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -645,7 +611,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* related classes * related classes
*/ */
virtual QCString trRelatedFunctionDocumentation() virtual QCString trRelatedFunctionDocumentation()
{ return "Documentaþia funcþiilor prietene sau înrudite"; } { return "Documentaţia funcţiilor prietene sau înrudite"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990425 // new since 0.49-990425
...@@ -656,16 +622,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -656,16 +622,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
ClassDef::CompoundType compType, ClassDef::CompoundType compType,
bool isTemplate) bool isTemplate)
{ {
QCString result="Referinþã la "; QCString result="Referinţă la ";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+="clasa "; break; case ClassDef::Class: result+="clasa "; break;
case ClassDef::Struct: result+="structura "; break; case ClassDef::Struct: result+="structura "; break;
case ClassDef::Union: result+="uniunea "; break; case ClassDef::Union: result+="uniunea "; break;
case ClassDef::Interface: result+="interfaþa "; break; case ClassDef::Interface: result+="interfaţa "; break;
case ClassDef::Protocol: result+="protocolul "; break; case ClassDef::Protocol: result+="protocolul "; break;
case ClassDef::Category: result+="categoria "; break; case ClassDef::Category: result+="categoria "; break;
case ClassDef::Exception: result+="excepþia "; break; case ClassDef::Exception: result+="excepţia "; break;
} }
if (isTemplate) result+=" (Template) "; if (isTemplate) result+=" (Template) ";
result+=(QCString)clName; result+=(QCString)clName;
...@@ -676,7 +642,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -676,7 +642,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! used as the title of the HTML page of a file */ /*! used as the title of the HTML page of a file */
virtual QCString trFileReference(const char *fileName) virtual QCString trFileReference(const char *fileName)
{ {
QCString result="Referinþã la fiºierul "; QCString result="Referinţă la fişierul ";
result+=fileName; result+=fileName;
return result; return result;
} }
...@@ -684,7 +650,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -684,7 +650,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! used as the title of the HTML page of a namespace */ /*! used as the title of the HTML page of a namespace */
virtual QCString trNamespaceReference(const char *namespaceName) virtual QCString trNamespaceReference(const char *namespaceName)
{ {
QCString result="Referinþã la Namespace-ul "; QCString result="Referinţă la Namespace-ul ";
result+=namespaceName; result+=namespaceName;
return result; return result;
} }
...@@ -701,13 +667,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -701,13 +667,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
virtual QCString trProtectedMembers() virtual QCString trProtectedMembers()
{ return "Metode Protejate"; } { return "Metode Protejate"; }
virtual QCString trProtectedSlots() virtual QCString trProtectedSlots()
{ return "Sloturi Protejate"; } { return "Conectori (slots) Protejaţi"; }
virtual QCString trStaticProtectedMembers() virtual QCString trStaticProtectedMembers()
{ return "Metode Statice Protejate"; } { return "Metode Statice Protejate"; }
virtual QCString trPrivateMembers() virtual QCString trPrivateMembers()
{ return "Metode Private"; } { return "Metode Private"; }
virtual QCString trPrivateSlots() virtual QCString trPrivateSlots()
{ return "Conectori (slots) Privaþi"; } { return "Conectori (slots) Privaţi"; }
virtual QCString trStaticPrivateMembers() virtual QCString trStaticPrivateMembers()
{ return "Metode Statice Private"; } { return "Metode Statice Private"; }
...@@ -730,7 +696,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -730,7 +696,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
if (i<numEntries-2) // not the fore last entry if (i<numEntries-2) // not the fore last entry
result+=", "; result+=", ";
else // the fore last entry else // the fore last entry
result+=" ºi "; result+=" şi ";
} }
} }
return result; return result;
...@@ -741,7 +707,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -741,7 +707,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trInheritsList(int numEntries) virtual QCString trInheritsList(int numEntries)
{ {
return "Moºteneºte "+trWriteList(numEntries)+"."; return "Moşteneşte "+trWriteList(numEntries)+".";
} }
/*! used in class documentation to produce a list of super classes, /*! used in class documentation to produce a list of super classes,
...@@ -749,7 +715,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -749,7 +715,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trInheritedByList(int numEntries) virtual QCString trInheritedByList(int numEntries)
{ {
return "Moºtenit de "+trWriteList(numEntries)+"."; return "Moştenit de "+trWriteList(numEntries)+".";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -765,7 +731,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -765,7 +731,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trReimplementedInList(int numEntries) virtual QCString trReimplementedInList(int numEntries)
{ {
return "Reimplementat în "+trWriteList(numEntries)+"."; return "Reimplementat în "+trWriteList(numEntries)+".";
} }
/*! This is put above each page as a link to all members of namespaces. */ /*! This is put above each page as a link to all members of namespaces. */
...@@ -776,13 +742,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -776,13 +742,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
virtual QCString trNamespaceMemberDescription(bool extractAll) virtual QCString trNamespaceMemberDescription(bool extractAll)
{ {
QCString result="Lista tuturor membrilor "; QCString result="Lista tuturor membrilor ";
if (!extractAll) result+="documentaþi "; if (!extractAll) result+="documentaţi ";
result+="din toate namespace-urile, cu legãturi cãtre "; result+="din toate namespace-urile, cu legături către ";
if (extractAll) if (extractAll)
result+="documentaþia namespace-ului pentru fiecare membru în parte:"; result+="documentaţia namespace-ului pentru fiecare membru în parte:";
else else
result+="namespace-urile de care aparþin:"; result+="namespace-urile de care aparţin:";
return result; return result;
} }
/*! This is used in LaTeX as the title of the chapter with the /*! This is used in LaTeX as the title of the chapter with the
...@@ -795,7 +761,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -795,7 +761,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* the documentation of all namespaces. * the documentation of all namespaces.
*/ */
virtual QCString trNamespaceDocumentation() virtual QCString trNamespaceDocumentation()
{ return "Documentaþia Namespace-ului"; } { return "Documentaţia Namespace-ului"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990522 // new since 0.49-990522
...@@ -818,18 +784,18 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -818,18 +784,18 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
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)"Documentaþia pentru aceastã "; QCString result=(QCString)"Documentaţia pentru această ";
switch(compType) switch(compType)
{ {
case ClassDef::Class: result+="clasã"; break; case ClassDef::Class: result+="clasă"; break;
case ClassDef::Struct: result+="structurã"; break; case ClassDef::Struct: result+="structură"; break;
case ClassDef::Union: result+="uniune"; break; case ClassDef::Union: result+="uniune"; break;
case ClassDef::Interface: result+="interfaþã"; break; case ClassDef::Interface: result+="interfaţă"; break;
case ClassDef::Protocol: result+="protocol"; break; case ClassDef::Protocol: result+="protocol"; break;
case ClassDef::Category: result+="categorie"; break; case ClassDef::Category: result+="categorie"; break;
case ClassDef::Exception: result+="excepþie"; break; case ClassDef::Exception: result+="excepţie"; break;
} }
result+=" a fost generatã din fiºier"; result+=" a fost generată din fişier";
if (single) result+="ul:"; else result+="ele:"; if (single) result+="ul:"; else result+="ele:";
return result; return result;
} }
...@@ -838,7 +804,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -838,7 +804,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* list. * list.
*/ */
virtual QCString trAlphabeticalList() virtual QCString trAlphabeticalList()
{ return "Listã Alfabeticã"; } { return "Listă Alfabetică"; }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 0.49-990901 // new since 0.49-990901
...@@ -851,7 +817,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -851,7 +817,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! 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)
*/ */
virtual QCString trMainPage() virtual QCString trMainPage()
{ return "Pagina principalã"; } { return "Pagina principală"; }
/*! 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.
...@@ -863,17 +829,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -863,17 +829,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
// new since 0.49-991003 // new since 0.49-991003
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
virtual QCString trSources()
{
return "Surse";
}
virtual QCString trDefinedAtLineInSourceFile() virtual QCString trDefinedAtLineInSourceFile()
{ {
return "Definiþia în linia @0 a fiºierului @1."; return "Definiţia în linia @0 a fişierului @1.";
} }
virtual QCString trDefinedInSourceFile() virtual QCString trDefinedInSourceFile()
{ {
return "Definiþia în fiºierul @0."; return "Definiţia în fişierul @0.";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -882,7 +844,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -882,7 +844,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
virtual QCString trDeprecated() virtual QCString trDeprecated()
{ {
return "Învechitã(Deprecated)"; return "Învechită(Deprecated)";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -892,17 +854,17 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -892,17 +854,17 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! this text is put before a collaboration diagram */ /*! this text is put before a collaboration diagram */
virtual QCString trCollaborationDiagram(const char *clName) virtual QCString trCollaborationDiagram(const char *clName)
{ {
return (QCString)"Diagrama de relaþii pentru "+clName+":"; return (QCString)"Diagrama de relaţii pentru "+clName+":";
} }
/*! this text is put before an include dependency graph */ /*! this text is put before an include dependency graph */
virtual QCString trInclDepGraph(const char *fName) virtual QCString trInclDepGraph(const char *fName)
{ {
return (QCString)"Graful dependenþelor prin incluziune pentru "+fName+":"; return (QCString)"Graful dependenţelor prin incluziune pentru "+fName+":";
} }
/*! header that is put before the list of constructor/destructors. */ /*! header that is put before the list of constructor/destructors. */
virtual QCString trConstructorDocumentation() virtual QCString trConstructorDocumentation()
{ {
return "Documentaþia pentru Constructori ºi Destructori"; return "Documentaţia pentru Constructori şi Destructori";
} }
/*! Used in the file documentation to point to the corresponding sources. */ /*! Used in the file documentation to point to the corresponding sources. */
virtual QCString trGotoSourceCode() virtual QCString trGotoSourceCode()
...@@ -912,17 +874,17 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -912,17 +874,17 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! Used in the file sources to point to the corresponding documentation. */ /*! Used in the file sources to point to the corresponding documentation. */
virtual QCString trGotoDocumentation() virtual QCString trGotoDocumentation()
{ {
return "Vezi documentaþia."; return "Vezi documentaţia.";
} }
/*! Text for the \\pre command */ /*! Text for the \\pre command */
virtual QCString trPrecondition() virtual QCString trPrecondition()
{ {
return "Precondiþie"; return "Precondiţie";
} }
/*! Text for the \\post command */ /*! Text for the \\post command */
virtual QCString trPostcondition() virtual QCString trPostcondition()
{ {
return "Postcondiþie"; return "Postcondiţie";
} }
/*! Text for the \\invariant command */ /*! Text for the \\invariant command */
virtual QCString trInvariant() virtual QCString trInvariant()
...@@ -932,7 +894,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -932,7 +894,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! Text shown before a multi-line variable/enum initialization */ /*! Text shown before a multi-line variable/enum initialization */
virtual QCString trInitialValue() virtual QCString trInitialValue()
{ {
return "Iniþializare:"; return "Valoarea iniţială:";
} }
/*! Text used the source code in the file index */ /*! Text used the source code in the file index */
virtual QCString trCode() virtual QCString trCode()
...@@ -941,15 +903,15 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -941,15 +903,15 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
} }
virtual QCString trGraphicalHierarchy() virtual QCString trGraphicalHierarchy()
{ {
return "Ierarhia claselor în mod grafic"; return "Ierarhia Claselor în mod grafic";
} }
virtual QCString trGotoGraphicalHierarchy() virtual QCString trGotoGraphicalHierarchy()
{ {
return "Vezi ierarhia claselor în mod grafic"; return "Vezi ierarhia claselor în mod grafic";
} }
virtual QCString trGotoTextualHierarchy() virtual QCString trGotoTextualHierarchy()
{ {
return "Vezi ierarhia claselor în mod text"; return "Vezi ierarhia claselor în mod text";
} }
virtual QCString trPageIndex() virtual QCString trPageIndex()
{ {
...@@ -962,7 +924,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -962,7 +924,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
virtual QCString trNote() virtual QCString trNote()
{ {
return "Notã"; return "Notă";
} }
virtual QCString trPublicTypes() virtual QCString trPublicTypes()
{ {
...@@ -972,7 +934,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -972,7 +934,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
{ {
if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
{ {
return "Câmpuri de Date"; return "Câmpuri de Date";
} }
else else
{ {
...@@ -1016,12 +978,12 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1016,12 +978,12 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! 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 "De fãcut"; return "De făcut";
} }
/*! Used as the header of the todo list */ /*! Used as the header of the todo list */
virtual QCString trTodoList() virtual QCString trTodoList()
{ {
return "Lista lucrurilor de fãcut"; return "Lista lucrurilor de făcut";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1034,16 +996,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1034,16 +996,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
} }
virtual QCString trRemarks() virtual QCString trRemarks()
{ {
return "Observaþii"; return "Observaţii";
} }
virtual QCString trAttention() virtual QCString trAttention()
{ {
return "Atenþie"; return "Atenţie";
} }
virtual QCString trInclByDepGraph() virtual QCString trInclByDepGraph()
{ {
return "Acest graf aratã care fiºiere includ, " return "Acest graf arată care fişiere includ, "
"direct sau indirect, acest fiºier:"; "direct sau indirect, acest fişier:";
} }
virtual QCString trSince() virtual QCString trSince()
{ {
...@@ -1063,27 +1025,27 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1063,27 +1025,27 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
virtual QCString trLegendDocs() virtual QCString trLegendDocs()
{ {
return return
"Aceastã paginã aratã modul în care trebuie sã interpretaþi " "Această pagină arată modul în care trebuie să interpretaţi "
"grafurile generate de doxygen.<p>\n" "grafurile generate de doxygen.<p>\n"
"Consideraþi urmãtorul exemplu:\n" "Consideraţi următorul exemplu:\n"
"\\code\n" "\\code\n"
"/*! Clasã invizibilã, tãiatã din cauza depãºirii spaþiului */\n" "/*! Clasă invizibilă, tăiată din cauza depăşirii spaţiului */\n"
"class Invisible { };\n\n" "class Invisible { };\n\n"
"/*! Altã clasã tãiatã, relaþia de moºtenire este ascunsã */\n" "/*! Altă clasă tăiată, relaţia de moştenire este ascunsă */\n"
"class Truncated : public Invisible { };\n\n" "class Truncated : public Invisible { };\n\n"
"/* Clasã necomentatã în stil doxygen */\n" "/* Clasă necomentată în stil doxygen */\n"
"class Undocumented { };\n\n" "class Undocumented { };\n\n"
"/*! Clasã care este moºtenitã în mod public */\n" "/*! Clasă care este moştenită în mod public */\n"
"class PublicBase : public Truncated { };\n\n" "class PublicBase : public Truncated { };\n\n"
"/*! Clasã template */\n" "/*! Clasă template */\n"
"template<class T> class Templ { };\n\n" "template<class T> class Templ { };\n\n"
"/*! Clasã care este moºtenitã în mod protejat */\n" "/*! Clasă care este moştenită în mod protejat */\n"
"class ProtectedBase { };\n\n" "class ProtectedBase { };\n\n"
"/*! Clasã care este moºtenitã în mod privat */\n" "/*! Clasă care este moştenită în mod privat */\n"
"class PrivateBase { };\n\n" "class PrivateBase { };\n\n"
"/*! Clasã care este folositã de clasa Inherited */\n" "/*! Clasă care este folosită de clasa Inherited */\n"
"class Used { };\n\n" "class Used { };\n\n"
"/*! Superclasã care moºteneºte un numãr de alte clase */\n" "/*! Superclasă care moşteneşte un număr de alte clase */\n"
"class Inherited : public PublicBase,\n" "class Inherited : public PublicBase,\n"
" protected ProtectedBase,\n" " protected ProtectedBase,\n"
" private PrivateBase,\n" " private PrivateBase,\n"
...@@ -1094,29 +1056,29 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1094,29 +1056,29 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
" Used *m_usedClass;\n" " Used *m_usedClass;\n"
"};\n" "};\n"
"\\endcode\n" "\\endcode\n"
"Dacã tagul \\c MAX_DOT_GRAPH_HEIGHT din fiºierul de configuraþie " "Dacă tagul \\c MAX_DOT_GRAPH_HEIGHT din fişierul de configurare "
"este setat la 200, acesta este graful rezultat:" "este setat la 200, acesta este graful rezultat:"
"<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n" "<p><center><img src=\"graph_legend."+Config_getEnum("DOT_IMAGE_FORMAT")+"\"></center>\n"
"<p>\n" "<p>\n"
"Cãsuþele din partea de sus au urmãtoarea semnificaþie:\n" "Căsuţele din partea de sus au următoarea semnificaţie:\n"
"<ul>\n" "<ul>\n"
"<li>O cãsuþã neagrã reprezintã structura sau clasa pentru care " "<li>O căsuţă neagră reprezintă structura sau clasa pentru care "
"graful este generat.\n" "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 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 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" "<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 " "care nu toate relaţiile de moştenire/incluziune sunt arătate. Un graf este "
"tãiat dacã nu încape în marginile specificate." "tăiat dacă nu încape în marginile specificate."
"</ul>\n" "</ul>\n"
"Sãgeþile au urmãtoarea semnificaþie:\n" "Săgeţile au următoarea semnificaţie:\n"
"<ul>\n" "<ul>\n"
"<li>O sãgeatã de un albastru închis este folositã când avem o relaþie de " "<li>O săgeată de un albastru închis este folosită când avem o relaţie de "
"moºtenire publicã între douã clase.\n" "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 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ă 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ã " "<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) " "de o altă clasă. Săgeata este marcată cu variabila(e) "
"prin care este accesibilã clasa sau structura spre care este îndreptatã. \n" "prin care este accesibilă clasa sau structura spre care este îndreptată. \n"
"</ul>\n"; "</ul>\n";
} }
/*! text for the link to the legend page */ /*! text for the link to the legend page */
...@@ -1137,7 +1099,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1137,7 +1099,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! Used as the header of the test list */ /*! Used as the header of the test list */
virtual QCString trTestList() virtual QCString trTestList()
{ {
return "Listã de teste"; return "Listă de teste";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1157,23 +1119,18 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1157,23 +1119,18 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! Used as a section header for IDL properties */ /*! Used as a section header for IDL properties */
virtual QCString trProperties() virtual QCString trProperties()
{ {
return "Proprietãþi"; return "Proprietăţi";
} }
/*! Used as a section header for IDL property documentation */ /*! Used as a section header for IDL property documentation */
virtual QCString trPropertyDocumentation() virtual QCString trPropertyDocumentation()
{ {
return "Documentaþia Proprietãþilor"; return "Documentaţia Proprietăţilor";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
// new since 1.2.4 // new since 1.2.4
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
/*! Used for Java interfaces in the summary section of Java packages */
virtual QCString trInterfaces()
{
return "Interfeþe";
}
/*! Used for Java classes in the summary section of Java packages */ /*! Used for Java classes in the summary section of Java packages */
virtual QCString trClasses() virtual QCString trClasses()
{ {
...@@ -1199,18 +1156,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1199,18 +1156,13 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! The description of the package index page */ /*! The description of the package index page */
virtual QCString trPackageListDescription() virtual QCString trPackageListDescription()
{ {
return "Lista pachetelor, însoþitã de scurte explicaþii, acolo unde acestea existã:"; return "Lista pachetelor, însoţită de scurte explicaţii, acolo unde acestea există:";
} }
/*! The link name in the Quick links header for each page */ /*! The link name in the Quick links header for each page */
virtual QCString trPackages() virtual QCString trPackages()
{ {
return "Pachete"; return "Pachete";
} }
/*! Used as a chapter title for Latex & RTF output */
virtual QCString trPackageDocumentation()
{
return "Documentaþia Pachetelor";
}
/*! Text shown before a multi-line define */ /*! Text shown before a multi-line define */
virtual QCString trDefineValue() virtual QCString trDefineValue()
{ {
...@@ -1263,7 +1215,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1263,7 +1215,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trRTFansicp() virtual QCString trRTFansicp()
{ {
return "1250"; //EASTEUROPE_CHARSET [don't know if this is correct:Ro has a 0x418 index in that file] return "1250"; //EASTEUROPE_CHARSET
} }
...@@ -1272,7 +1224,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1272,7 +1224,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trRTFCharSet() virtual QCString trRTFCharSet()
{ {
return "0x418"; // well, I could not find a decent doc about this one - I think Ro code is 0x418 return "238";
} }
/*! Used as header RTF general index */ /*! Used as header RTF general index */
...@@ -1298,7 +1250,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1298,7 +1250,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trFile(bool first_capital, bool singular) virtual QCString trFile(bool first_capital, bool singular)
{ {
QCString result((first_capital ? "Fiºier" : "fiºier")); QCString result((first_capital ? "Fişier" : "fişier"));
result+= singular ? "ul":"ele"; result+= singular ? "ul":"ele";
return result; return result;
} }
...@@ -1347,17 +1299,6 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1347,17 +1299,6 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
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
* of the category.
*/
virtual QCString trField(bool first_capital, bool singular)
{
QCString result((first_capital ? "Câmp" : "câmp"));
result+= singular ? "ul":"urile";
return result;
}
/*! This is used for translation of the word that will possibly /*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names * be followed by a single name or by a list of names
* of the category. * of the category.
...@@ -1390,7 +1331,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1390,7 +1331,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trReferences() virtual QCString trReferences()
{ {
return "Referinþe"; return "Referinţe";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1402,7 +1343,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1402,7 +1343,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trImplementedFromList(int numEntries) virtual QCString trImplementedFromList(int numEntries)
{ {
return "Implementeazã "+trWriteList(numEntries)+"."; return "Implementează "+trWriteList(numEntries)+".";
} }
/*! used in member documentation blocks to produce a list of /*! used in member documentation blocks to produce a list of
...@@ -1410,7 +1351,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1410,7 +1351,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trImplementedInList(int numEntries) virtual QCString trImplementedInList(int numEntries)
{ {
return "Implementat în "+trWriteList(numEntries)+"."; return "Implementat în "+trWriteList(numEntries)+".";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1422,7 +1363,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1422,7 +1363,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trRTFTableOfContents() virtual QCString trRTFTableOfContents()
{ {
return "Conþinut"; return "Cuprins";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1434,7 +1375,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1434,7 +1375,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trDeprecatedList() virtual QCString trDeprecatedList()
{ {
return "Lista elementelor învechite (deprecated)"; return "Lista elementelor învechite (deprecated)";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1451,7 +1392,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1451,7 +1392,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! Header used for the documentation section of a class' events. */ /*! Header used for the documentation section of a class' events. */
virtual QCString trEventDocumentation() virtual QCString trEventDocumentation()
{ {
return "Documentaþia aferentã evenimentelor"; return "Documentaţia aferentă evenimentelor";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1462,35 +1403,35 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1462,35 +1403,35 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trPackageTypes() virtual QCString trPackageTypes()
{ {
return "Tipuri în pachet"; return "Tipuri în pachet";
} }
/*! Used as a heading for a list of Java class functions with package /*! Used as a heading for a list of Java class functions with package
* scope. * scope.
*/ */
virtual QCString trPackageMembers() virtual QCString trPackageMembers()
{ {
return "Funcþii în pachet"; return "Funcţii în pachet";
} }
/*! Used as a heading for a list of static Java class functions with /*! Used as a heading for a list of static Java class functions with
* package scope. * package scope.
*/ */
virtual QCString trStaticPackageMembers() virtual QCString trStaticPackageMembers()
{ {
return "Funcþii statice în pachet"; return "Funcţii statice în pachet";
} }
/*! Used as a heading for a list of Java class variables with package /*! Used as a heading for a list of Java class variables with package
* scope. * scope.
*/ */
virtual QCString trPackageAttribs() virtual QCString trPackageAttribs()
{ {
return "Atribute în pachet"; return "Atribute în pachet";
} }
/*! Used as a heading for a list of static Java class variables with /*! Used as a heading for a list of static Java class variables with
* package scope. * package scope.
*/ */
virtual QCString trStaticPackageAttribs() virtual QCString trStaticPackageAttribs()
{ {
return "Atribute statice în pachet"; return "Atribute statice în pachet";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1507,7 +1448,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1507,7 +1448,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
/*! Put in front of the call graph for a function. */ /*! Put in front of the call graph for a function. */
virtual QCString trCallGraph() virtual QCString trCallGraph()
{ {
return "Graful de apel al acestei funcþii:"; return "Graful de apel al acestei funcţii:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1520,14 +1461,14 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1520,14 +1461,14 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trSearchForIndex() virtual QCString trSearchForIndex()
{ {
return "Cautã"; return "Caută";
} }
/*! This string is used as the title for the page listing the search /*! This string is used as the title for the page listing the search
* results. * results.
*/ */
virtual QCString trSearchResultsTitle() virtual QCString trSearchResultsTitle()
{ {
return "Rezultatele cãutarii"; return "Rezultatele căutarii";
} }
/*! This string is put just before listing the search results. The /*! This string is put just before listing the search results. The
* text can be different depending on the number of documents found. * text can be different depending on the number of documents found.
...@@ -1541,16 +1482,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1541,16 +1482,16 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
{ {
if (numDocuments==0) if (numDocuments==0)
{ {
return "Din pacate nu am gãsit nici un document care sã corespundã cererii."; return "Din păcate nu am găsit nici un document care să corespundă cererii.";
} }
else if (numDocuments==1) else if (numDocuments==1)
{ {
return "Am gãsit <b>1</b> document corespunzând cererii."; return "Am găsit <b>1</b> document corespunzând cererii.";
} }
else else
{ {
return "Am gãsit <b>$num</b> documente corespunzând cererii. " return "Am găsit <b>$num</b> documente corespunzând cererii. "
"Lista documentelor gãsite, sortate dupã relevanþã."; "Lista documentelor găsite, sortate după relevanţă.";
} }
} }
/*! 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
...@@ -1558,7 +1499,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1558,7 +1499,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trSearchMatches() virtual QCString trSearchMatches()
{ {
return "Gãsite:"; return "Găsite:";
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1569,7 +1510,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1569,7 +1510,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trSourceFile(QCString& filename) virtual QCString trSourceFile(QCString& filename)
{ {
return " Fiºierul sursã " + filename; return " Fişierul sursă " + filename;
} }
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
...@@ -1586,7 +1527,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1586,7 +1527,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* of the directories. * of the directories.
*/ */
virtual QCString trDirDocumentation() virtual QCString trDirDocumentation()
{ return "Documentaþia directoarelor"; } { return "Documentaţia directoarelor"; }
/*! This is used as the title of the directory index and also in the /*! This is used as the title of the directory index and also in the
* Quick links of a HTML page, to link to the directory hierarchy. * Quick links of a HTML page, to link to the directory hierarchy.
...@@ -1598,8 +1539,8 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1598,8 +1539,8 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
* and the fact that it is sorted alphabetically per level * and the fact that it is sorted alphabetically per level
*/ */
virtual QCString trDirDescription() virtual QCString trDirDescription()
{ return "Aceastã ierarhie de directoare este sortatã, " { return "Această ierarhie de directoare este sortată în general, "
"per nivel, in ordine alfabeticã:"; "dar nu complet, în ordine alfabetică:";
} }
/*! This returns the title of a directory page. The name of the /*! This returns the title of a directory page. The name of the
...@@ -1607,7 +1548,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1607,7 +1548,7 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
*/ */
virtual QCString trDirReference(const char *dirName) virtual QCString trDirReference(const char *dirName)
{ {
QCString result="Director-referinþã "; result+=dirName; QCString result="Director-referinţă "; result+=dirName;
return result; return result;
} }
...@@ -1621,6 +1562,236 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1 ...@@ -1621,6 +1562,236 @@ class TranslatorRomanian : public TranslatorAdapter_1_4_1
return result; return result;
} }
//////////////////////////////////////////////////////////////////////////
// new since 1.4.1
//////////////////////////////////////////////////////////////////////////
/*! This text is added to the documentation when the \\overload command
* is used for a overloaded function.
*/
virtual QCString trOverloadText()
{
return "Aceasta este o funcţie membră suprascrisă. "
"Diferă de funcţia de mai sus "
"doar prin argumentele acceptate.";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.4.6
//////////////////////////////////////////////////////////////////////////
/*! This is used to introduce a caller (or called-by) graph */
virtual QCString trCallerGraph()
{
return "Graful de apeluri pentru această funcţie:";
}
/*! 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 Enumeratorilor"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "Documentaţia Funcţiei Membre/Subrutinei"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
virtual QCString trCompoundListFortran()
{ return "Lista Tipurilor de Date"; }
/*! This is put above each page as a link to all members of compounds (Fortran). */
virtual QCString trCompoundMembersFortran()
{ return "Câmpuri de date"; }
/*! This is an introduction to the annotated compound list (Fortran). */
virtual QCString trCompoundListDescriptionFortran()
{ return "Tipurile de date, cu scurte descrieri:"; }
/*! This is an introduction to the page with all data types (Fortran). */
virtual QCString trCompoundMembersDescriptionFortran(bool extractAll)
{
QCString result="Lista tuturor tipurilor de date ";
if (!extractAll)
{
result+="documentate ";
}
result+=" cu legături către ";
if (!extractAll)
{
result+="documentaţia structurii de date pentru fiecare membru";
}
else
{
result+="tipurile de date de care aparţin:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
{ return "Indexul Tipurilor de Date"; }
/*! This is used in LaTeX as the title of the chapter containing
* the documentation of all data types (Fortran).
*/
virtual QCString trTypeDocumentation()
{ return "Documentaţia Tipurilor de Date"; }
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
virtual QCString trSubprograms()
{ return "Funcţii/Subrutine"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
virtual QCString trSubprogramDocumentation()
{ return "Documentaţia Funcţiilor/Subrutinelor"; }
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
virtual QCString trDataTypes()
{ return "Tipuri de Date"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Lista Modulelor"; }
/*! used as an introduction to the modules list (Fortran) */
virtual QCString trModulesListDescription(bool extractAll)
{
QCString result="Lista tuturor modulelor ";
if (!extractAll) result+="documentate ";
result+="cu scurte descrieri:";
return result;
}
/*! used as the title of the HTML page of a module/type (Fortran) */
virtual QCString trCompoundReferenceFortran(const char *clName,
ClassDef::CompoundType compType,
bool isTemplate)
{
QCString result="Referinţă la ";
switch(compType)
{
case ClassDef::Class: result+="Modulul "; break;
case ClassDef::Struct: result+="Tipul "; break;
case ClassDef::Union: result+="Uniunea "; break;
case ClassDef::Interface: result+="Interfaţa "; break;
case ClassDef::Protocol: result+="Protocolul "; break;
case ClassDef::Category: result+="Categoria "; 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 module (Fortran) */
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result="Referinţă la Modulul ";
result += namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Membrii Modulului"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
QCString result="Lista tuturor membrilor ";
if (!extractAll) result+="documentaţi ai ";
result+="modulului cu legături către ";
if (extractAll)
{
result+="documentaţia modulului pentru fiecare membru:";
}
else
{
result+="modulele de care aparţin:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
virtual QCString trModulesIndex()
{ return "Indexul Modulelor"; }
/*! This is used for translation of the word that will possibly
* 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 ? "Modul" : "modul"));
if (singular) result+="ul";
else result += "ele";
return result;
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
*/
virtual QCString trGeneratedFromFilesFortran(ClassDef::CompoundType compType,
bool single)
{ // here s is one of " Module", " Struct" or " Union"
// single is true implies a single file
QCString result=(QCString)"Documentaţia ";
switch(compType)
{
case ClassDef::Class: result+="modulului"; break;
case ClassDef::Struct: result+="tipului"; break;
case ClassDef::Union: result+="uniunii"; break;
case ClassDef::Interface: result+="interfeţei"; break;
case ClassDef::Protocol: result+="protocolului"; break;
case ClassDef::Category: result+="categoriei"; break;
case ClassDef::Exception: result+="excepţiei"; break;
}
result+=" a fost generată din următo";
if (single) result+="rul fişier:"; else result+="arele fişiere:";
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
* of the category.
*/
virtual QCString trType(bool first_capital, bool singular)
{
QCString result((first_capital ? "Tip" : "tip"));
if (singular) result+="ul";
else result += "urile";
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
* of the category.
*/
virtual QCString trSubprogram(bool first_capital, bool singular)
{
QCString result((first_capital ? "Subprogram" : "subprogram"));
if (singular) result+="ul";
else result += "urile";
return result;
}
/*! C# Type Constraint list */
virtual QCString trTypeConstraints()
{
return "Constrângerile de Tip";
}
}; };
#endif #endif
...@@ -1663,7 +1663,10 @@ nextChar: ...@@ -1663,7 +1663,10 @@ nextChar:
} }
} }
ADD_CHAR(c); ADD_CHAR(c);
if (cliSupport && (c=='^' || c=='%') && i>1 && isId(s.at(i-1))) if (cliSupport &&
(c=='^' || c=='%') && i>1 && isId(s.at(i-1)) &&
!findOperator(s,i)
)
{ {
ADD_CHAR(' '); // C++/CLI: Type^ name and Type% name ADD_CHAR(' '); // C++/CLI: Type^ name and Type% name
} }
......
...@@ -660,9 +660,14 @@ static void writeFuncProto() ...@@ -660,9 +660,14 @@ static void writeFuncProto()
{ {
QList<Argument> ql; QList<Argument> ql;
QCString name,ret; QCString name,ret;
VhdlDocGen::parseFuncProto(g_FuncProto.data(),ql,name,ret,FALSE); VhdlDocGen::parseFuncProto(g_FuncProto,ql,name,ret,FALSE);
QStringList qlist=QStringList::split(name.data(),g_FuncProto,FALSE); if (name.isEmpty())
{
codifyLines(g_FuncProto.data(),g_CurrClass.data());
return;
}
QStringList qlist=QStringList::split(name,g_FuncProto,FALSE);
QCString temp=(QCString)qlist[0]; QCString temp=(QCString)qlist[0];
codifyLines(temp.data(),g_CurrClass.data()); codifyLines(temp.data(),g_CurrClass.data());
g_FuncProto.stripPrefix(temp.data()); g_FuncProto.stripPrefix(temp.data());
......
...@@ -1049,10 +1049,10 @@ void VhdlDocGen::parseFuncProto(const char* text,QList<Argument>& qlist, ...@@ -1049,10 +1049,10 @@ void VhdlDocGen::parseFuncProto(const char* text,QList<Argument>& qlist,
QCString s1(text); QCString s1(text);
s1=s1.stripWhiteSpace(); s1=s1.stripWhiteSpace();
int i=s1.find("(",0,FALSE); int i=s1.find("(",0,FALSE);
int s=s1.find(" ",0,FALSE); int s=s1.find(QRegExp("[ \\t]"));
if (i==-1) if (i==-1 || i<s)
s1=VhdlDocGen::getIndexWord(s1.data(),1); s1=VhdlDocGen::getIndexWord(s1.data(),1);
else else // s<i, s=start of name, i=end of name
s1=s1.mid(s,(i-s)); s1=s1.mid(s,(i-s));
name=s1.stripWhiteSpace(); name=s1.stripWhiteSpace();
......
...@@ -356,7 +356,7 @@ static void parseProcessProto() ...@@ -356,7 +356,7 @@ static void parseProcessProto()
getBufText(qcs,0); getBufText(qcs,0);
if (qcs.contains('(') != qcs.contains(')')) return; if (qcs.contains('(') != qcs.contains(')')) return;
VhdlDocGen::deleteAllChars(qcs,'\n'); VhdlDocGen::deleteAllChars(qcs,'\n');
VhdlDocGen::parseProcessProto(qcs.data(),name,ql); VhdlDocGen::parseProcessProto(qcs,name,ql);
current->section=Entry::FUNCTION_SEC; current->section=Entry::FUNCTION_SEC;
//current->stat=TRUE; //current->stat=TRUE;
current->spec=VhdlDocGen::PROCESS; current->spec=VhdlDocGen::PROCESS;
...@@ -409,7 +409,6 @@ static void parseFunctionProto() ...@@ -409,7 +409,6 @@ static void parseFunctionProto()
return; // function without a prototype return; // function without a prototype
if (qcs.contains("function",FALSE)==0 && qcs.contains("procedure",FALSE)==0) if (qcs.contains("function",FALSE)==0 && qcs.contains("procedure",FALSE)==0)
return; return;
//Entry* ppEntry=new Entry;
while (qcs.stripPrefix(" ")); while (qcs.stripPrefix(" "));
if (qcs.stripPrefix("impure")) if (qcs.stripPrefix("impure"))
current->exception="impure"; current->exception="impure";
...@@ -417,6 +416,7 @@ static void parseFunctionProto() ...@@ -417,6 +416,7 @@ static void parseFunctionProto()
current->exception="pure"; current->exception="pure";
VhdlDocGen::parseFuncProto(qcs.data(),ql,name,ret); VhdlDocGen::parseFuncProto(qcs.data(),ql,name,ret);
//printf("parseFuncProto(%s)=%s,%s\n",qcs.data(),name.data(),ret.data());
current->name=name; current->name=name;
current->startLine=iFuncLine; current->startLine=iFuncLine;
current->bodyLine=iFuncLine; current->bodyLine=iFuncLine;
...@@ -442,7 +442,7 @@ static void parseFunctionProto() ...@@ -442,7 +442,7 @@ static void parseFunctionProto()
} }
current->args+" )"; current->args+" )";
if (ret.data()) if (!ret.isEmpty())
current->spec=VhdlDocGen::FUNCTION; current->spec=VhdlDocGen::FUNCTION;
else else
current->spec=VhdlDocGen::PROCEDURE; current->spec=VhdlDocGen::PROCEDURE;
...@@ -1051,6 +1051,7 @@ ALLID [^;()\t ] ...@@ -1051,6 +1051,7 @@ ALLID [^;()\t ]
bb=FALSE; bb=FALSE;
} }
bool ss = VhdlDocGen::isFunctionProto(ttt); bool ss = VhdlDocGen::isFunctionProto(ttt);
//printf("VhdlDocGen::isFunctionProto(%s)=%d\n",ttt.data(),ss);
if (ss && bb) if (ss && bb)
{ {
bufferClear(); bufferClear();
......
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