From f7c8264049868843f3ee7e8ce8f418c0e1c31374 Mon Sep 17 00:00:00 2001
From: Dimitri van Heesch Starts a new paragraph.
starts a code fragment, - equivalent to the command \\code (see section \ref cmdcode). -
starts a preformatted fragment. +
-Currently, supported languages are English, French, Czech, Dutch, Spannish, -Swedish, Russian, Czech, Croatian, Italian, Hungarian, Finnish, German and Japanese, -and Korean. +Currently, supported for over 20 languages is available. + Here is a list of the languages and their current maintainers:
@@ -269,7 +268,7 @@ let them (or me) know. If you want to add support for a language that is not yet listed please see the next section. -
if { ... }
-translator_xx.h
:
TRANSLATOR_NL_H
to TRANSLATOR_XX_H
twice.
- latexBabelPackage()
change "dutch" into the name of the
- latex package that adds support for your language.
- TRANSLATOR_EN_H
to TRANSLATOR_XX_H
twice.
+ idLanguage()
change "english" into the
+ name of the your language (use lower case characters only). Depending
+ on the language you may also wish to change the member functions
+ latexLanguageSupportCommand() and idLanguageCharset().
+ OUTPUT_LANGUAGE = your_language_name
in the config file to generate output in your language.
-translator_xx.h
or a diff -u
of the changes
- to me so I can add it to doxygen.
+translator_xx.h
to me so I can add it to doxygen.
+
+-
-
-
-
-
-
-
-
-
-
-
-
-Here is a list of all documented files with brief descriptions: -
-
-
Compounds | |||
class | C1 | ||
class | C2 | ||
class | C3 | ||
class | C4 | ||
class | C5 | ||
class | C6 |
-
-
-
- -
"+root->brief+root->doc);
+ }
+ else
+ {
+ warn(root->fileName,root->startLine,
+ "Warning: ignoring addtogroup command for undefined "
+ "group `%s'.",root->name.data());
+ }
+ }
+ EntryListIterator eli(*root->sublist);
+ Entry *e;
+ for (;(e=eli.current());++eli)
+ {
+ addToGroupSections(e);
+ }
+}
+
//----------------------------------------------------------------------
static void buildFileList(Entry *root)
@@ -2564,7 +2588,10 @@ static void addTodoTestBugReferences()
ClassDef *cd=Doxygen::classList.first();
while (cd)
{
- addRefItem(cd->todoId(),cd->testId(),cd->bugId(),"class",cd->getOutputFileBase(),cd->name());
+ addRefItem(cd->todoId(),cd->testId(),cd->bugId(),
+ theTranslator->trClass(TRUE,TRUE),
+ cd->getOutputFileBase(),cd->name()
+ );
cd=Doxygen::classList.next();
}
FileName *fn=Doxygen::inputNameList.first();
@@ -2573,7 +2600,9 @@ static void addTodoTestBugReferences()
FileDef *fd=fn->first();
while (fd)
{
- addRefItem(fd->todoId(),fd->testId(),fd->bugId(),"file",fd->getOutputFileBase(),fd->name());
+ addRefItem(fd->todoId(),fd->testId(),fd->bugId(),
+ theTranslator->trFile(TRUE,TRUE),
+ fd->getOutputFileBase(),fd->name());
fd=fn->next();
}
fn=Doxygen::inputNameList.next();
@@ -2581,20 +2610,26 @@ static void addTodoTestBugReferences()
NamespaceDef *nd=Doxygen::namespaceList.first();
while (nd)
{
- addRefItem(nd->todoId(),nd->testId(),nd->bugId(),"namespace",nd->getOutputFileBase(),nd->name());
+ addRefItem(nd->todoId(),nd->testId(),nd->bugId(),
+ theTranslator->trNamespace(TRUE,TRUE),
+ nd->getOutputFileBase(),nd->name());
nd=Doxygen::namespaceList.next();
}
GroupDef *gd=Doxygen::groupList.first();
while (gd)
{
- addRefItem(gd->todoId(),gd->testId(),gd->bugId(),"group",gd->getOutputFileBase(),gd->groupTitle());
+ addRefItem(gd->todoId(),gd->testId(),gd->bugId(),
+ theTranslator->trGroup(TRUE,TRUE),
+ gd->getOutputFileBase(),gd->groupTitle());
gd=Doxygen::groupList.next();
}
PageSDictIterator pdi(*Doxygen::pageSDict);
PageInfo *pi=0;
for (pdi.toFirst();(pi=pdi.current());++pdi)
{
- addRefItem(pi->todoId,pi->testId,pi->bugId,"page",pi->name,pi->title);
+ addRefItem(pi->todoId,pi->testId,pi->bugId,
+ theTranslator->trPage(TRUE,TRUE),
+ pi->name,pi->title);
}
MemberNameListIterator mnli(Doxygen::memberNameList);
MemberName *mn=0;
@@ -2610,8 +2645,15 @@ static void addTodoTestBugReferences()
if (d==0) d=md->getGroupDef();
if (d==0) d=md->getFileDef();
// TODO: i18n this
- QCString memLabel="member";
- if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) memLabel="field";
+ QCString memLabel;
+ if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ memLabel=theTranslator->trField(TRUE,TRUE);
+ }
+ else
+ {
+ memLabel=theTranslator->trMember(TRUE,TRUE);
+ }
if (d)
{
addRefItem(md->todoId(),md->testId(),md->bugId(),memLabel,d->getOutputFileBase()+":"+md->anchor(),scopeName+"::"+md->name(),md->argsString());
@@ -2631,8 +2673,15 @@ static void addTodoTestBugReferences()
if (d==0) d=md->getGroupDef();
if (d==0) d=md->getFileDef();
// TODO: i18n this
- QCString memLabel="member";
- if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) memLabel="global";
+ QCString memLabel;
+ if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ memLabel=theTranslator->trGlobal(TRUE,TRUE);
+ }
+ else
+ {
+ memLabel=theTranslator->trMember(TRUE,TRUE);
+ }
if (d)
{
addRefItem(md->todoId(),md->testId(),md->bugId(),memLabel,d->getOutputFileBase()+":"+md->anchor(),md->name(),md->argsString());
@@ -6294,6 +6343,7 @@ void parseInput()
msg("Building group list...\n");
buildGroupList(root);
organizeSubGroups(root);
+ addToGroupSections(root);
msg("Building namespace list...\n");
buildNamespaceList(root);
diff --git a/src/doxysearch.cpp b/src/doxysearch.cpp
index c4e69b3..3b5b227 100644
--- a/src/doxysearch.cpp
+++ b/src/doxysearch.cpp
@@ -55,11 +55,12 @@
struct FileInfo
{
- FileInfo() { f=0; url=0; }
+ FileInfo() { name[0]='\0'; f=0; url=0; }
~FileInfo() { if (f) fclose(f);
delete[] url;
}
FILE *f;
+ char name[MAXSTRLEN];
int index;
int refOffset;
char *url;
@@ -396,8 +397,11 @@ void searchIndex(const char *word,SearchResults *results)
FileInfo *fi=fileList.first;
while (fi)
{
+ fi->f = fopen(fi->name, "rb");
fseek(fi->f,8,SEEK_SET);
searchRecursive(results,fi,word);
+ fclose(fi->f);
+ fi->f=0;
fi=fi->next;
}
@@ -516,6 +520,10 @@ void generateResults(SearchResults *sr)
if (skipEntries == 0)
{
SearchDoc *d=docPtrArray[i];
+ if (d->fileInfo->f == 0)
+ {
+ d->fileInfo->f = fopen(d->fileInfo->name, "rb");
+ }
FILE *f=d->fileInfo->f;
fseek(f,d->fileInfo->refOffset+d->index*4,SEEK_SET);
int offset=readInt(f);
@@ -531,6 +539,11 @@ void generateResults(SearchResults *sr)
rank*2+55, 255-rank*2, rank,
d->fileInfo->url, htmlName, linkName);
pageEntries--;
+ if (d->fileInfo->f != 0)
+ {
+ fclose(d->fileInfo->f);
+ d->fileInfo->f = 0;
+ }
}
else
{
@@ -946,6 +959,7 @@ int main(int argc,char **argv)
FileInfo *fi=fileList.add();
FILE *g;
+ strcpy(fi->name,indexFile);
if ((fi->f=fopen(indexFile,"rb"))==NULL)
{
message("Error: could not open index file %s\n",indexFile);
@@ -982,6 +996,8 @@ int main(int argc,char **argv)
}
// read and store the offset to the link index
fi->refOffset=readInt(fi->f);
+ fclose(fi->f);
+ fi->f = 0;
}
char *word;
diff --git a/src/entry.h b/src/entry.h
index 1dd7f91..0417b40 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -176,7 +176,8 @@ class Entry
MAINPAGEDOC_SEC = 0x01200000,
MEMBERGRP_SEC = 0x01300000,
USINGDECL_SEC = 0x01400000,
- PACKAGE_SEC = 0x01500000
+ PACKAGE_SEC = 0x01500000,
+ ADDGRPDOC_SEC = 0x01600000
};
enum MemberSpecifier
{
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index ccb81de..18f616a 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -357,7 +357,7 @@ void GroupDef::writeDocumentation(OutputList &ol)
if (fileList->count()>0)
{
ol.startMemberHeader();
- parseText(ol,theTranslator->trFiles());
+ parseText(ol,theTranslator->trFile(TRUE,FALSE));
ol.endMemberHeader();
ol.startMemberList();
FileDef *fd=fileList->first();
diff --git a/src/index.cpp b/src/index.cpp
index f7aa869..1c0c3c4 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2350,14 +2350,18 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,bool subLevel)
{
if(htmlHelp)
{
- htmlHelp->addContentsItem(TRUE, convertToHtml(theTranslator->trFiles()), gd->getOutputFileBase(), 0);
+ htmlHelp->addContentsItem(TRUE,
+ convertToHtml(theTranslator->trFile(TRUE,FALSE)),
+ gd->getOutputFileBase(), 0);
htmlHelp->incContentsDepth();
}
if(ftvHelp)
{
- ftvHelp->addContentsItem(TRUE, gd->getReference(), gd->getOutputFileBase(), 0, theTranslator->trFiles());
+ ftvHelp->addContentsItem(TRUE, gd->getReference(),
+ gd->getOutputFileBase(), 0,
+ theTranslator->trFile(TRUE,FALSE));
ftvHelp->incContentsDepth();
}
diff --git a/src/language.cpp b/src/language.cpp
index d8b2b86..35e92bd 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -17,6 +17,7 @@
#include "message.h"
#include "language.h"
+#include "translator_en.h"
#if !defined(ENGLISH_ONLY)
#include "translator_nl.h"
#include "translator_se.h"
@@ -48,7 +49,7 @@ bool setTranslator(const char *langName)
{
if (L_EQUAL("english"))
{
- theTranslator=new Translator;
+ theTranslator=new TranslatorEnglish;
}
#if !defined(ENGLISH_ONLY)
else if (L_EQUAL("dutch"))
@@ -134,8 +135,11 @@ bool setTranslator(const char *langName)
#endif
else // use the default language (i.e. english)
{
- theTranslator=new Translator;
+ theTranslator=new TranslatorEnglish;
return FALSE;
}
+
+ QCString msg = theTranslator->updateNeededMessage();
+ if (!msg.isEmpty()) warn_cont(msg);
return TRUE;
}
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index 761845f..00f12e9 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -249,21 +249,10 @@ static void writeDefaultHeaderPart1(QTextStream &t)
if (!sLanguageSupportCommand.isEmpty())
{
- // The command is not empty. The language does
- // not want to use the babel package. Use this
- // command instead.
+ // The command is not empty. Put it to the output.
+ // if the command is empty, no output is needed.
t << sLanguageSupportCommand;
}
- else
- {
- if (!theTranslator->latexBabelPackage().isEmpty())
- {
- // The result of the LatexLanguageSupportCommand()
- // is empty, which means that the language prefers
- // the babel package, or no package is needed at all.
- t << "\\usepackage[" << theTranslator->latexBabelPackage() << "]{babel}\n";
- }
- }
QStrList &extraPackages = Config_getList("EXTRA_PACKAGES");
const char *s=extraPackages.first();
@@ -280,7 +269,6 @@ static void writeDefaultHeaderPart1(QTextStream &t)
"\\vspace*{7cm}\n"
"\\begin{center}\n"
"{\\Large ";
-
}
static void writeDefaultHeaderPart2(QTextStream &t)
diff --git a/src/libdoxygen.pro.in b/src/libdoxygen.pro.in
index 60bfef6..a371d00 100644
--- a/src/libdoxygen.pro.in
+++ b/src/libdoxygen.pro.in
@@ -16,30 +16,135 @@
TEMPLATE = libdoxygen.t
CONFIG = console warn_on staticlib $extraopts
-HEADERS = doxygen.h scanner.h doc.h classdef.h classlist.h memberdef.h \
- membername.h index.h memberlist.h definition.h \
- entry.h logos.h instdox.h message.h code.h \
- filedef.h util.h cppvalue.h constexp.h \
- outputgen.h outputlist.h htmlgen.h latexgen.h \
- filename.h defargs.h groupdef.h gifenc.h diagram.h image.h \
- namespacedef.h version.h language.h translator.h \
- translator_nl.h translator_se.h translator_cz.h translator_fr.h \
- translator_it.h formula.h debug.h membergroup.h htmlhelp.h \
- translator_ru.h translator_pl.h dot.h rtfgen.h \
- reflist.h page.h sortdict.h translator_hu.h translator_kr.h \
- translator_ro.h translator_si.h translator_cn.h ftvhelp.h \
- treeview.h tagreader.h packagedef.h
-SOURCES = doxygen.cpp scanner.cpp doc.cpp classdef.cpp classlist.cpp \
- memberdef.cpp membername.cpp index.cpp memberlist.cpp \
- entry.cpp logos.cpp instdox.cpp message.cpp code.cpp \
- filedef.cpp util.cpp groupdef.cpp \
- outputgen.cpp outputlist.cpp htmlgen.cpp latexgen.cpp mangen.cpp \
- cppvalue.cpp ce_lex.cpp ce_parse.cpp pre.cpp \
- filename.cpp declinfo.cpp defargs.cpp define.cpp \
- diagram.cpp gifenc.cpp image.cpp namespacedef.cpp \
- version.cpp language.cpp definition.cpp formula.cpp debug.cpp \
- membergroup.cpp htmlhelp.cpp dot.cpp rtfgen.cpp \
- reflist.cpp ftvhelp.cpp tagreader.cpp packagedef.cpp
+HEADERS = bufstr.h \
+ classdef.h \
+ classlist.h \
+ code.h \
+ config.h \
+ constexp.h \
+ cppvalue.h \
+ debug.h \
+ doxygen.h \
+ scanner.h \
+ doc.h \
+ dot.h \
+ doxygen.h \
+ entry.h \
+ example.h \
+ filedef.h \
+ filename.h \
+ formula.h \
+ ftvhelp.h \
+ gifenc.h \
+ groupdef.h \
+ htmlgen.h \
+ htmlhelp.h \
+ image.h \
+ index.h \
+ instdox.h \
+ language.h \
+ latexgen.h \
+ logos.h \
+ mangen.h \
+ memberdef.h \
+ membergroup.h \
+ memberlist.h \
+ membername.h \
+ message.h \
+ namespacedef.h \
+ outputgen.h \
+ outputlist.h \
+ packagedef.h \
+ page.h \
+ pre.h \
+ qtbc.h \
+ reflist.h \
+ rtfgen.h \
+ scanner.h \
+ searchindex.h \
+ section.h \
+ sortdict.h \
+ suffixtree.h \
+ tagreader.h \
+ translator.h \
+ translator_adapter.h \
+ translator_br.h \
+ translator_cn.h \
+ translator_cz.h \
+ translator_de.h \
+ translator_en.h \
+ translator_es.h \
+ translator_fi.h \
+ translator_fr.h \
+ translator_hr.h \
+ translator_hu.h \
+ translator_it.h \
+ translator_jp.h \
+ translator_kr.h \
+ translator_nl.h \
+ translator_no.h \
+ translator_pl.h \
+ translator_pt.h \
+ translator_ro.h \
+ translator_ru.h \
+ translator_se.h \
+ translator_si.h \
+ treeview.h \
+ unistd.h \
+ util.h \
+ version.h
+SOURCES = ce_lex.cpp \
+ ce_parse.cpp \
+ classdef.cpp \
+ classlist.cpp \
+ code.cpp \
+ config.cpp \
+ cppvalue.cpp \
+ debug.cpp \
+ declinfo.cpp \
+ defargs.cpp \
+ define.cpp \
+ definition.cpp \
+ diagram.cpp \
+ doc.cpp \
+ dot.cpp \
+ doxygen.cpp \
+ entry.cpp \
+ filedef.cpp \
+ filename.cpp \
+ formula.cpp \
+ ftvhelp.cpp \
+ gifenc.cpp \
+ groupdef.cpp \
+ htmlgen.cpp \
+ htmlhelp.cpp \
+ image.cpp \
+ index.cpp \
+ instdox.cpp \
+ language.cpp \
+ latexgen.cpp \
+ logos.cpp \
+ main.cpp \
+ mangen.cpp \
+ memberdef.cpp \
+ membergroup.cpp \
+ memberlist.cpp \
+ membername.cpp \
+ message.cpp \
+ namespacedef.cpp \
+ outputgen.cpp \
+ outputlist.cpp \
+ packagedef.cpp \
+ pre.cpp \
+ reflist.cpp \
+ rtfgen.cpp \
+ scanner.cpp \
+ searchindex.cpp \
+ suffixtree.cpp \
+ tagreader.cpp \
+ util.cpp \
+ version.cpp
+
win32:TMAKE_CXXFLAGS += -DQT_NODLL
INCLUDEPATH += ../qtools
win32:INCLUDEPATH += .
diff --git a/src/mangen.cpp b/src/mangen.cpp
index 68a59ed..758be75 100644
--- a/src/mangen.cpp
+++ b/src/mangen.cpp
@@ -15,6 +15,9 @@
*
*/
+/* http://www.cubic.org/source/archive/fileform/txt/man/ has some
+ nice introductions to groff and man pages. */
+
#include \n"
- "The boxes in the above graph have the following meaning:\n"
- " \n"
+ "The boxes in the above graph have the following meaning:\n"
+ "\n"
- "
\n"
- "The arrows have the following meaning:\n"
- "\n"
- "
\n";
- }
+ virtual QCString trLegendDocs() = 0;
+
/*! text for the link to the legend page */
- virtual QCString trLegend()
- {
- return "legend";
- }
+ virtual QCString trLegend() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.0
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a test item */
- virtual QCString trTest()
- {
- return "Test";
- }
+ virtual QCString trTest() = 0;
+
/*! Used as the header of the test list */
- virtual QCString trTestList()
- {
- return "Test List";
- }
+ virtual QCString trTestList() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
- virtual QCString trDCOPMethods()
- {
- return "DCOP Methods";
- }
+ virtual QCString trDCOPMethods() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for IDL properties */
- virtual QCString trProperties()
- {
- return "Properties";
- }
+ virtual QCString trProperties() = 0;
+
/*! Used as a section header for IDL property documentation */
- virtual QCString trPropertyDocumentation()
- {
- return "Property Documentation";
- }
+ virtual QCString trPropertyDocumentation() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.4
//////////////////////////////////////////////////////////////////////////
/*! Used for Java interfaces in the summary section of Java packages */
- virtual QCString trInterfaces()
- {
- return "Interfaces";
- }
+ virtual QCString trInterfaces() = 0;
+
/*! Used for Java classes in the summary section of Java packages */
- virtual QCString trClasses()
- {
- if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
- {
- return "Data Structures";
- }
- else
- {
- return "Classes";
- }
- }
+ virtual QCString trClasses() = 0;
+
/*! Used as the title of a Java package */
- virtual QCString trPackage(const char *name)
- {
- return (QCString)"Package "+name;
- }
+ virtual QCString trPackage(const char *name) = 0;
+
/*! Title of the package index page */
- virtual QCString trPackageList()
- {
- return "Package List";
- }
+ virtual QCString trPackageList() = 0;
+
/*! The description of the package index page */
- virtual QCString trPackageListDescription()
- {
- return "Here are the packages with brief descriptions (if available):";
- }
+ virtual QCString trPackageListDescription() = 0;
+
/*! The link name in the Quick links header for each page */
- virtual QCString trPackages()
- {
- return "Packages";
- }
+ virtual QCString trPackages() = 0;
+
/*! Used as a chapter title for Latex & RTF output */
- virtual QCString trPackageDocumentation()
- {
- return "Package Documentation";
- }
+ virtual QCString trPackageDocumentation() = 0;
+
/*! Text shown before a multi-line define */
- virtual QCString trDefineValue()
- {
- return "Value:";
- }
+ virtual QCString trDefineValue() = 0;
//////////////////////////////////////////////////////////////////////////
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
/*! Used as a marker that is put before a \\bug item */
- virtual QCString trBug()
- {
- return "Bug";
- }
+ virtual QCString trBug() = 0;
+
/*! Used as the header of the bug list */
- virtual QCString trBugList()
- {
- return "Bug List";
- }
+ virtual QCString trBugList() = 0;
//////////////////////////////////////////////////////////////////////////
-// new since 1.2.?
+// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
+
/*! Used as ansicpg for RTF file */
- virtual QCString trRTFansicp()
- {
- return "1252";
- }
+ virtual QCString trRTFansicp() = 0;
+
/*! Used as ansicpg for RTF fcharset */
- virtual QCString trRTFCharSet()
- {
- return "0";
- }
+ virtual QCString trRTFCharSet() = 0;
+
/*! Used as header RTF general index */
- virtual QCString trRTFGeneralIndex()
- {
- return "Index";
- }
+ virtual QCString trRTFGeneralIndex() = 0;
+
+ /*! The following are 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 trClass(bool first_capital, bool singular) = 0;
+ virtual QCString trFile(bool first_capital, bool singular) = 0;
+ virtual QCString trNamespace(bool first_capital, bool singular) = 0;
+ virtual QCString trGroup(bool first_capital, bool singular) = 0;
+ virtual QCString trPage(bool first_capital, bool singular) = 0;
+ virtual QCString trMember(bool first_capital, bool singular) = 0;
+ virtual QCString trField(bool first_capital, bool singular) = 0;
+ virtual QCString trGlobal(bool first_capital, bool singular) = 0;
};
#endif
diff --git a/src/translator_adapter.h b/src/translator_adapter.h
new file mode 100644
index 0000000..04d35d4
--- /dev/null
+++ b/src/translator_adapter.h
@@ -0,0 +1,463 @@
+#ifndef TRANSLATOR_ADAPTER_H
+#define TRANSLATOR_ADAPTER_H
+
+#include "translator_en.h"
+
+/*! A function to generate a warning message to signal the user
+ * that the translation of his/her language of choice needs updating
+ * \relates TranslatorAdapterBase
+ */
+inline QCString createUpdateNeededMessage(const char *languageName,
+ const char *versionString)
+{
+ return (QCString)"Warning: The selected output language \""+languageName+
+ "\" has not been updated\nsince release "+versionString+
+ ". As a result some sentences may appear in English.\n";
+}
+
+/*! \brief Base of the translator adapter tree
+ *
+ * This class provides access to the english translations, to be used
+ * as a substitute for real translations.
+ */
+class TranslatorAdapterBase : public Translator
+{
+ protected:
+ TranslatorEnglish english;
+};
+
+/*! \brief Translator adapter class for release 1.2.6
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.2.6
+ */
+class TranslatorAdapter_1_2_6 : public TranslatorAdapterBase
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.2.6"); }
+
+ /*! Used as ansicpg for RTF file */
+ QCString trRTFansicp()
+ {
+ return "1252";
+ }
+
+ /*! Used as ansicpg for RTF fcharset */
+ QCString trRTFCharSet()
+ {
+ return "0";
+ }
+
+ /*! Used as header RTF general index */
+ QCString trRTFGeneralIndex()
+ {
+ return "Index";
+ }
+
+ //////////////////////////////////////////////////////////////////
+ // The following methods were replaced by newer equivalent, but
+ // the obsolete method may be localized. Let's use the localized
+ // result if possible.
+
+
+ /*! This is the default implementation of the obsolete method
+ * used in the documentation of a group before the list of
+ * links to documented files. This is possibly localized.
+ */
+ QCString trFiles()
+ { return "Files"; }
+
+ /*! This is the localized implementation of newer equivalent
+ * using the obsolete method trFiles().
+ */
+ QCString trFile(bool first_capital, bool singular)
+ {
+ if (first_capital && !singular)
+ return trFiles(); // possibly localized
+ else
+ return english.trFile(first_capital, singular);
+ }
+
+ /*! The latexBabelPackage() was superceeded by
+ * latexLanguageSupportCommand(). The default implementation
+ * of the obsolete method follows.
+ */
+ QCString latexBabelPackage()
+ { return ""; }
+
+ /*! Default implementation of the newer method. */
+ QCString latexLanguageSupportCommand()
+ {
+ QCString result(latexBabelPackage());
+ if (!result.isEmpty())
+ {
+ result = "\\usepackage[" + result;
+ result += "]{babel}\n";
+ }
+ return result;
+ }
+
+ QCString idLanguageCharset()
+ { return english.idLanguageCharset(); }
+
+ QCString trClass(bool first_capital, bool singular)
+ { return english.trClass(first_capital,singular); }
+
+ QCString trNamespace(bool first_capital, bool singular)
+ { return english.trNamespace(first_capital,singular); }
+
+ QCString trGroup(bool first_capital, bool singular)
+ { return english.trGroup(first_capital,singular); }
+
+ QCString trPage(bool first_capital, bool singular)
+ { return english.trPage(first_capital,singular); }
+
+ QCString trMember(bool first_capital, bool singular)
+ { return english.trMember(first_capital,singular); }
+
+ QCString trField(bool first_capital, bool singular)
+ { return english.trField(first_capital,singular); }
+
+ QCString trGlobal(bool first_capital, bool singular)
+ { return english.trGlobal(first_capital,singular); }
+
+};
+
+/*! \brief Translator adapter class for release 1.2.5
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.2.5
+ */
+class TranslatorAdapter_1_2_5 : public TranslatorAdapter_1_2_6
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.2.5"); }
+
+ QCString trBug()
+ { return english.trBug(); }
+
+ QCString trBugList()
+ { return english.trBugList(); }
+};
+
+/*! \brief Translator adapter class for release 1.2.4
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.2.4
+ */
+class TranslatorAdapter_1_2_4 : public TranslatorAdapter_1_2_5
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.2.4"); }
+
+ QCString trInterfaces()
+ { return english.trInterfaces(); }
+
+ QCString trClasses()
+ { return english.trClasses(); }
+
+ QCString trPackage(const char *name)
+ { return english.trPackage(name); }
+
+ QCString trPackageList()
+ { return english.trPackageList(); }
+
+ QCString trPackageListDescription()
+ { return english.trPackageListDescription(); }
+
+ QCString trPackages()
+ { return english.trPackages(); }
+
+ QCString trPackageDocumentation()
+ { return english.trPackageDocumentation(); }
+
+ QCString trDefineValue()
+ { return english.trDefineValue(); }
+
+};
+
+/*! \brief Translator adapter class for release 1.2.2
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.2.2
+ */
+class TranslatorAdapter_1_2_2 : public TranslatorAdapter_1_2_4
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.2.2"); }
+
+ QCString trProperties()
+ { return english.trProperties(); }
+
+ QCString trPropertyDocumentation()
+ { return english.trPropertyDocumentation(); }
+};
+
+/*! \brief Translator adapter class for release 1.2.1
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.2.1
+ */
+class TranslatorAdapter_1_2_1 : public TranslatorAdapter_1_2_2
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.2.1"); }
+
+ QCString trDCOPMethods()
+ { return english.trDCOPMethods(); }
+};
+
+/*! \brief Translator adapter class for release 1.2.0
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.2.0
+ */
+class TranslatorAdapter_1_2_0 : public TranslatorAdapter_1_2_1
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.2.0"); }
+
+ QCString trTest()
+ { return english.trTest(); }
+
+ QCString trTestList()
+ { return english.trTestList(); }
+
+};
+
+/*! \brief Translator adapter class for release 1.1.5
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.1.5
+ */
+class TranslatorAdapter_1_1_5 : public TranslatorAdapter_1_2_0
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.1.5"); }
+
+ QCString trLegendTitle()
+ { return english.trLegendTitle(); }
+
+ QCString trLegendDocs()
+ { return english.trLegendDocs(); }
+
+ QCString trLegend()
+ { return english.trLegend(); }
+};
+
+/*! \brief Translator adapter class for release 1.1.4
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.1.4
+ */
+class TranslatorAdapter_1_1_4 : public TranslatorAdapter_1_1_5
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.1.4"); }
+
+ QCString trReferencedBy()
+ { return english.trReferencedBy(); }
+
+ QCString trRemarks()
+ { return english.trRemarks(); }
+
+ QCString trAttention()
+ { return english.trAttention(); }
+
+ QCString trInclByDepGraph()
+ { return english.trInclByDepGraph(); }
+
+ QCString trSince()
+ { return english.trSince(); }
+};
+
+/*! \brief Translator adapter class for release 1.1.3
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.1.3
+ */
+class TranslatorAdapter_1_1_3 : public TranslatorAdapter_1_1_4
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.1.3"); }
+
+ QCString trTodo()
+ { return english.trTodo(); }
+
+ QCString trTodoList()
+ { return english.trTodoList(); }
+};
+
+/*! \brief Translator adapter class for release 1.1.0
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.1.0
+ */
+class TranslatorAdapter_1_1_0 : public TranslatorAdapter_1_1_3
+{
+ public:
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.1.0"); }
+
+ QCString trNote()
+ { return english.trNote(); }
+
+ QCString trPublicTypes()
+ { return english.trPublicTypes(); }
+
+ QCString trPublicAttribs()
+ { return english.trPublicAttribs(); }
+
+ QCString trStaticPublicAttribs()
+ { return english.trStaticPublicAttribs(); }
+
+ QCString trProtectedTypes()
+ { return english.trProtectedTypes(); }
+
+ QCString trProtectedAttribs()
+ { return english.trProtectedAttribs(); }
+
+ QCString trStaticProtectedAttribs()
+ { return english.trStaticProtectedAttribs(); }
+
+ QCString trPrivateTypes()
+ { return english.trPrivateTypes(); }
+
+ QCString trPrivateAttribs()
+ { return english.trPrivateAttribs(); }
+
+ QCString trStaticPrivateAttribs()
+ { return english.trStaticPrivateAttribs(); }
+
+ QCString trEnumerationValueDocumentation()
+ { return english.trEnumerationValueDocumentation(); }
+};
+
+/*! \brief Translator adapter class for release 1.0.0
+ *
+ * Translator adapter for dealing with translator changes since
+ * release 1.0.0
+ */
+class TranslatorAdapter_1_0_0 : public TranslatorAdapter_1_1_0
+{
+ QCString updateNeededMessage()
+ { return createUpdateNeededMessage(idLanguage(),"1.0.0"); }
+
+ QCString trIncludingInheritedMembers()
+ { return english.trIncludingInheritedMembers(); }
+
+ QCString trFuncProtos()
+ { return english.trFuncProtos(); }
+
+ QCString trNamespaces()
+ { return english.trNamespaces(); }
+
+ QCString trGeneratedFromFiles(ClassDef::CompoundType compType,
+ bool single)
+ { return english.trGeneratedFromFiles(compType, single); }
+
+ QCString trAlphabeticalList()
+ { return english.trAlphabeticalList(); }
+
+ QCString trReturnValues()
+ { return english.trReturnValues(); }
+
+ QCString trMainPage()
+ { return english.trMainPage(); }
+
+ QCString trPageAbbreviation()
+ { return english.trPageAbbreviation(); }
+
+ QCString trSources()
+ { return english.trSources(); }
+
+ QCString trStaticProtectedMembers()
+ { return english.trStaticProtectedMembers(); }
+
+ QCString trDefinedAtLineInSourceFile()
+ { return english.trDefinedAtLineInSourceFile(); }
+
+ QCString trDefinedInSourceFile()
+ { return english.trDefinedInSourceFile(); }
+
+ QCString trDeprecated()
+ { return english.trDeprecated(); }
+
+ QCString trCollaborationDiagram(const char *clName)
+ { return english.trCollaborationDiagram(clName); }
+
+ QCString trInclDepGraph(const char *fName)
+ { return english.trInclDepGraph(fName); }
+
+ QCString trConstructorDocumentation()
+ { return english.trConstructorDocumentation(); }
+
+ QCString trGotoSourceCode()
+ { return english.trGotoSourceCode(); }
+
+ QCString trGotoDocumentation()
+ { return english.trGotoDocumentation(); }
+
+ QCString trPrecondition()
+ { return english.trPrecondition(); }
+
+ QCString trPostcondition()
+ { return english.trPostcondition(); }
+
+ QCString trInvariant()
+ { return english.trInvariant(); }
+
+ QCString trInitialValue()
+ { return english.trInitialValue(); }
+
+ QCString trCode()
+ { return english.trCode(); }
+
+ QCString trGraphicalHierarchy()
+ { return english.trGraphicalHierarchy(); }
+
+ QCString trGotoGraphicalHierarchy()
+ { return english.trGotoGraphicalHierarchy(); }
+
+ QCString trGotoTextualHierarchy()
+ { return english.trGotoTextualHierarchy(); }
+
+ QCString trPageIndex()
+ { return english.trPageIndex(); }
+
+ QCString trReimplementedForInternalReasons()
+ { return english.trReimplementedForInternalReasons(); }
+
+ QCString trClassHierarchyDescription()
+ { return english.trClassHierarchyDescription(); }
+
+ QCString trNoDescriptionAvailable()
+ { return english.trNoDescriptionAvailable(); }
+
+ QCString trEnumerationValues()
+ { return english.trEnumerationValues(); }
+
+ QCString trFunctionPrototypeDocumentation()
+ { return english.trFunctionPrototypeDocumentation(); }
+
+ QCString trEnumerationTypeDocumentation()
+ { return english.trEnumerationTypeDocumentation(); }
+
+ QCString trFunctionDocumentation()
+ { return english.trFunctionDocumentation(); }
+
+ QCString trRelatedFunctionDocumentation()
+ { return english.trRelatedFunctionDocumentation(); }
+
+};
+
+#endif
diff --git a/src/translator_br.h b/src/translator_br.h
index ae8ed73..a2f748f 100644
--- a/src/translator_br.h
+++ b/src/translator_br.h
@@ -18,9 +18,9 @@
#ifndef TRANSLATOR_BR_H
#define TRANSLATOR_BR_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorBrazilian: public Translator
+class TranslatorBrazilian: public TranslatorAdapter_1_2_6
{
public:
diff --git a/src/translator_cn.h b/src/translator_cn.h
index ebc0652..f534346 100644
--- a/src/translator_cn.h
+++ b/src/translator_cn.h
@@ -18,7 +18,7 @@
#ifndef TRANSLATOR_CN_H
#define TRANSLATOR_CN_H
-#include "translator.h"
+#include "translator_adapter.h"
/*!
If you want insert a space whenever Chinese meets English charactors, set
@@ -26,7 +26,7 @@
*/
#define CN_SPC
-class TranslatorChinese : public Translator
+class TranslatorChinese : public TranslatorAdapter_1_2_1
{
public:
QCString idLanguage()
@@ -389,6 +389,18 @@ class TranslatorChinese : public Translator
{ return "цЭцШ©у╪Днд╣╣"; }
//////////////////////////////////////////////////////////////////////////
+// new since 0.49-990522
+//////////////////////////////////////////////////////////////////////////
+
+ /*! This is used in the documentation before the list of all
+ * namespaces in a file.
+ */
+ QCString trNamespaces()
+ {
+ return "Namespaces";
+ }
+
+//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
diff --git a/src/translator_cz.h b/src/translator_cz.h
index 41187da..479eba6 100644
--- a/src/translator_cz.h
+++ b/src/translator_cz.h
@@ -18,7 +18,6 @@
#ifndef TRANSLATOR_CZ_H
#define TRANSLATOR_CZ_H
-#include "translator.h"
// The first translation from English to Czech was started by
// Vlastimil Havran. He wrote:
@@ -32,76 +31,83 @@
// The prototype version of Czech strings with diacritics was
// implemented by Petr Prikryl (prikrylp@skil.cz), 2000/06/20. As
// Vlastimil was quite busy at the time, he agreed that Petr be the
-// second maintainer.
+// maintainer for a while (from 2000/06/20).
//
// Updates:
// --------
-// 2000/06/20 (Petr Prikryl)
+// 2000/06/20
// - The prototype version of Czech strings with diacritics. The
// translation was based on translator.h of Doxygen version
// 1.1.4 (from scratch).
//
-// 2000/07/10 (Petr Prikryl)
+// 2000/07/10
// - Updated version based on 1.1.5 sources (including important updates
// of the up-to-1.1.4 strings). Czech strings in this file were written
// in windows-1250 encoding. On-line decoding into iso-8859-2 ensured
// via conditional compilation if the sources are compiled under UNIX.
//
-// 2000/07/19 (Petr Prikryl)
+// 2000/07/19
// - Encoding conversion tables moved to the methods that use them.
// - Updates for "new since 1.1.5".
//
// 2000/08/02 (Petr Prikryl)
// - Updated for 1.2.0
//
-// 2000/08/24 (Petr Prikryl)
+// 2000/08/24
// - Changed trTodo() text from "Udelat" to "Planovane upravy"
// which seems more appropriate in the document context.
// - Typo corrected in trMemberTypedefDocumentation().
//
-// 2000/08/30 (Petr Prikryl)
+// 2000/08/30
// - Macro DECODE replaced by the inline Decode() (proposed by
// Boris Bralo \n"
+ "
\n"
+ "The arrows have the following meaning:\n"
+ "\n"
+ "
\n";
+ }
+ /*! text for the link to the legend page */
+ virtual QCString trLegend()
+ {
+ return "legend";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.0
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a marker that is put before a test item */
+ virtual QCString trTest()
+ {
+ return "Test";
+ }
+ /*! Used as the header of the test list */
+ virtual QCString trTestList()
+ {
+ return "Test List";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.1
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a section header for KDE-2 IDL methods */
+ virtual QCString trDCOPMethods()
+ {
+ return "DCOP Methods";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.2
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a section header for IDL properties */
+ virtual QCString trProperties()
+ {
+ return "Properties";
+ }
+ /*! Used as a section header for IDL property documentation */
+ virtual QCString trPropertyDocumentation()
+ {
+ return "Property Documentation";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.4
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used for Java interfaces in the summary section of Java packages */
+ virtual QCString trInterfaces()
+ {
+ return "Interfaces";
+ }
+ /*! Used for Java classes in the summary section of Java packages */
+ virtual QCString trClasses()
+ {
+ if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C"))
+ {
+ return "Data Structures";
+ }
+ else
+ {
+ return "Classes";
+ }
+ }
+ /*! Used as the title of a Java package */
+ virtual QCString trPackage(const char *name)
+ {
+ return (QCString)"Package "+name;
+ }
+ /*! Title of the package index page */
+ virtual QCString trPackageList()
+ {
+ return "Package List";
+ }
+ /*! The description of the package index page */
+ virtual QCString trPackageListDescription()
+ {
+ return "Here are the packages with brief descriptions (if available):";
+ }
+ /*! The link name in the Quick links header for each page */
+ virtual QCString trPackages()
+ {
+ return "Packages";
+ }
+ /*! Used as a chapter title for Latex & RTF output */
+ virtual QCString trPackageDocumentation()
+ {
+ return "Package Documentation";
+ }
+ /*! Text shown before a multi-line define */
+ virtual QCString trDefineValue()
+ {
+ return "Value:";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.5
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a marker that is put before a \\bug item */
+ virtual QCString trBug()
+ {
+ return "Bug";
+ }
+ /*! Used as the header of the bug list */
+ virtual QCString trBugList()
+ {
+ return "Bug List";
+ }
+
+//////////////////////////////////////////////////////////////////////////
+// new since 1.2.6
+//////////////////////////////////////////////////////////////////////////
+
+ /*! Used as ansicpg for RTF file */
+ virtual QCString trRTFansicp()
+ {
+ return "1252";
+ }
+
+ /*! Used as ansicpg for RTF fcharset */
+ virtual QCString trRTFCharSet()
+ {
+ return "0";
+ }
+
+ /*! Used as header RTF general index */
+ virtual QCString trRTFGeneralIndex()
+ {
+ return "Index";
+ }
+
+ /*! 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 trClass(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Class" : "class"));
+ if (first_capital) toupper(result.at(0));
+ if (!singular) result+="es";
+ 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 trFile(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "File" : "file"));
+ if (!singular) result+="s";
+ 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 trNamespace(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Namespace" : "namespace"));
+ if (!singular) result+="s";
+ 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 trGroup(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Group" : "group"));
+ if (!singular) result+="s";
+ 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 trPage(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Page" : "page"));
+ if (!singular) result+="s";
+ 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 trMember(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Member" : "member"));
+ if (!singular) result+="s";
+ 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 ? "Field" : "field"));
+ if (!singular) result+="s";
+ 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 trGlobal(bool first_capital, bool singular)
+ {
+ QCString result((first_capital ? "Global" : "global"));
+ if (!singular) result+="s";
+ return result;
+ }
+
+};
+
+#endif
diff --git a/src/translator_es.h b/src/translator_es.h
index ceea071..374b387 100644
--- a/src/translator_es.h
+++ b/src/translator_es.h
@@ -25,9 +25,9 @@
#ifndef TRANSLATOR_ES_H
#define TRANSLATOR_ES_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorSpanish : public Translator
+class TranslatorSpanish : public TranslatorAdapter_1_1_5
{
public:
virtual QCString idLanguage()
@@ -413,31 +413,31 @@ class TranslatorSpanish : public Translator
return (QCString)"Diagrama de herencias de "+clName;
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
virtual QCString trForInternalUseOnly()
{ return "Para uso interno exclusivamente."; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
virtual QCString trReimplementedForInternalReasons()
{ return "Reimplementado por razones internas; el API no se ve afectado."; }
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
virtual QCString trWarning()
{ return "AtenciСn"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
virtual QCString trBugsAndLimitations()
{ return "Bugs y limitaciones"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
virtual QCString trVersion()
{ return "VersiСn"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
virtual QCString trDate()
{ return "Fecha"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
virtual QCString trAuthors()
{ return "Autor(es)"; }
@@ -445,15 +445,15 @@ class TranslatorSpanish : public Translator
virtual QCString trReturns()
{ return "Devuelve"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
{ return "Ver tambiИn"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
{ return "ParАmetros"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return "Excepciones"; }
diff --git a/src/translator_fi.h b/src/translator_fi.h
index 5f44a24..fc39795 100644
--- a/src/translator_fi.h
+++ b/src/translator_fi.h
@@ -74,9 +74,9 @@ positiiviset kommentit otetaan ilolla vastaan.
#ifndef TRANSLATOR_SF_H
#define TRANSLATOR_SF_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorFinnish : public Translator
+class TranslatorFinnish : public TranslatorAdapter_1_0_0
{
public:
QCString idLanguage()
diff --git a/src/translator_fr.h b/src/translator_fr.h
index ce356ce..85ba3de 100644
--- a/src/translator_fr.h
+++ b/src/translator_fr.h
@@ -20,9 +20,9 @@
#ifndef TRANSLATOR_FR_H
#define TRANSLATOR_FR_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorFrench : public Translator
+class TranslatorFrench : public TranslatorAdapter_1_2_0
{
public:
QCString idLanguage()
@@ -413,49 +413,49 @@ class TranslatorFrench : public Translator
return (QCString)"Graphe d'hИritage de la classe "+clName;
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "ю usage interne uniquement."; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "RedИfini pour des raisons internes; "
"l'interface n'est pas modifiИe";
}
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "Avertissement"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "Bogues et limitations"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "Version"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "Date"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "Auteur(s)"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "Renvoie"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "Voir Иgalement"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "ParamХtres"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "Exceptions"; }
diff --git a/src/translator_hr.h b/src/translator_hr.h
index 2863632..e0b81c1 100644
--- a/src/translator_hr.h
+++ b/src/translator_hr.h
@@ -34,9 +34,9 @@
#ifndef TRANSLATOR_HR_H
#define TRANSLATOR_HR_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorCroatian : public Translator
+class TranslatorCroatian : public TranslatorAdapter_1_2_6
{
private:
/*! to avoid macro redefinition from translator_cz.h */
@@ -419,6 +419,18 @@ class TranslatorCroatian : public Translator
{ return "Dokumentacija namespace-a"; }
//////////////////////////////////////////////////////////////////////////
+// new since 0.49-990522
+//////////////////////////////////////////////////////////////////////////
+
+ /*! This is used in the documentation before the list of all
+ * namespaces in a file.
+ */
+ QCString trNamespaces()
+ {
+ return "Namespaces";
+ }
+
+//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
@@ -801,6 +813,36 @@ class TranslatorCroatian : public Translator
{
return "Vrijednost:";
}
+
+ //////////////////////////////////////////////////////////////////////////
+ // new since 1.2.5
+ //////////////////////////////////////////////////////////////////////////
+
+ /*! Used as a marker that is put before a \\bug item */
+ virtual QCString trBug()
+ {
+ return decode("Gre╧ka");
+ }
+ /*! Used as the header of the bug list */
+ virtual QCString trBugList()
+ {
+ return decode("Popis gre╧aka");
+ }
+
+ //////////////////////////////////////////////////////////////////////////
+ // new since 1.2.6
+ //////////////////////////////////////////////////////////////////////////
+
+ /*! Used as ansicpg for RTF file */
+ virtual QCString trRTFansicp()
+ {
+ return "1252";
+ }
+ /*! Used as ansicpg for RTF fcharset */
+ virtual QCString trRTFCharSet()
+ {
+ return "238";
+ }
};
#endif
diff --git a/src/translator_hu.h b/src/translator_hu.h
index b23047a..e399914 100644
--- a/src/translator_hu.h
+++ b/src/translator_hu.h
@@ -20,7 +20,7 @@
#include "translator.h"
-class TranslatorHungarian : public Translator
+class TranslatorHungarian : public TranslatorAdapter_1_2_1
{
public:
@@ -425,47 +425,47 @@ class TranslatorHungarian : public Translator
return clName+(QCString)" osztАly szАrmaztatАsi diagramja";
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "CSAK BELSу HASZNаLATRA!"; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "BelsУ okok miatt ЗjraimplementАlva, az API-t nem Иrinti."; }
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "FigyelmeztetИs"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "HibАk Иs korlАtozАsok"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "VerziС"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "DАtum"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "SzerzУ(k)"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "Visszaadott ИrtИk"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "LАsd mИg"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "ParamИterek"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "KivИtelek"; }
diff --git a/src/translator_it.h b/src/translator_it.h
index e1a36ed..436ff7f 100644
--- a/src/translator_it.h
+++ b/src/translator_it.h
@@ -30,9 +30,9 @@
#ifndef TRANSLATOR_IT_H
#define TRANSLATOR_IT_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorItalian : public Translator
+class TranslatorItalian : public TranslatorAdapter_1_2_5
{
public:
QCString idLanguage()
@@ -418,47 +418,47 @@ class TranslatorItalian : public Translator
return (QCString)"Diagramma delle classi per "+clName;
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "Solo per uso interno."; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "Reimplementato per motivi interni; l'API non Х stata modificata.";}
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "Avvertimento"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "Bugs e limitazioni"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "Versione"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "Data"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "Autore(i)"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "Restituisce"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "Vedi anche"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "Parametri"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "Eccezioni"; }
diff --git a/src/translator_jp.h b/src/translator_jp.h
index c97a6af..e6f4eae 100644
--- a/src/translator_jp.h
+++ b/src/translator_jp.h
@@ -18,9 +18,9 @@
#ifndef TRANSLATOR_JP_H
#define TRANSLATOR_JP_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorJapanese : public Translator
+class TranslatorJapanese : public TranslatorAdapter_1_2_5
{
public:
QCString idLanguage()
@@ -402,48 +402,48 @@ class TranslatorJapanese : public Translator
return (QCString)clName+"╓кбп╓╧╓К╔╞╔И╔╧Ё╛аь©ч";
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "фБиТ╩хмя╓н╓ъ║ё"; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "фБиТе╙╓ймЩмЁ╓к╓Х╓Й╨ф╪баУ╓╣╓Л╓ч╓╥╓©╓╛║╒API╓к╓о╠ф╤а╓╥╓ч╓╩╓С║ё";
}
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "╥ы╧П"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "╔п╔╟╓хю╘╦б"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "╔п║╪╔╦╔Г╔С"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "фЭиу"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "╨Н╪т"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "лА╓Йцм"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "╩╡╬х"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "╟З©Т"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "нЦЁ╟"; }
diff --git a/src/translator_kr.h b/src/translator_kr.h
index c1c5fea..50b0654 100644
--- a/src/translator_kr.h
+++ b/src/translator_kr.h
@@ -18,9 +18,9 @@
#ifndef TRANSLATOR_KR_H
#define TRANSLATOR_KR_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorKorean : public Translator
+class TranslatorKorean : public TranslatorAdapter_1_1_0
{
public:
QCString idLanguage()
@@ -411,48 +411,48 @@ class TranslatorKorean : public Translator
return (QCString)clName+"©║ ╢Кгя ╩С╪с ╣╣г╔"; // "Inheritance diagram for "+clName
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "Ё╩╨н ╩Г©К╦╦ю╩ ю╖гь"; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "Ё╩╨нюШ юлю╞╦╕ ю╖гь юГ╠╦гЖ╣х: API╟║ ©╣гБю╩ ╧чаЖ╬й╬р╢ы."; }
// "Reimplemented for internal reasons; the API is not affected."
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "╟Ф╟М"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "╧Ж╠в╣И╟З гя╟Х╣И"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "╧ЖюЭ"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "Ё╞б╔"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "юЗюз(╣И)"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "╧щх╞"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "бЭа╤го╫ц©Д"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "╦е╟Ё╨╞╪Ж╣И"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "©╧©э╣И"; }
@@ -720,7 +720,7 @@ class TranslatorKorean : public Translator
}
//////////////////////////////////////////////////////////////////////////
-// new since 1.0.0
+// new since 0.49-991205
//////////////////////////////////////////////////////////////////////////
QCString trDeprecated()
@@ -729,7 +729,7 @@ class TranslatorKorean : public Translator
}
//////////////////////////////////////////////////////////////////////////
-// new since 1.1.0
+// new since 1.0.0
//////////////////////////////////////////////////////////////////////////
/*! this text is put before a collaboration diagram */
diff --git a/src/translator_nl.h b/src/translator_nl.h
index e8ecbde..9665e54 100644
--- a/src/translator_nl.h
+++ b/src/translator_nl.h
@@ -18,9 +18,9 @@
#ifndef TRANSLATOR_NL_H
#define TRANSLATOR_NL_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorDutch : public Translator
+class TranslatorDutch : public TranslatorAdapter_1_2_6
{
public:
QCString idLanguage()
@@ -385,6 +385,18 @@ class TranslatorDutch : public Translator
{ return "Namespace Documentatie"; }
//////////////////////////////////////////////////////////////////////////
+// new since 0.49-990522
+//////////////////////////////////////////////////////////////////////////
+
+ /*! This is used in the documentation before the list of all
+ * namespaces in a file.
+ */
+ QCString trNamespaces()
+ {
+ return "Namespaces";
+ }
+
+//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
@@ -779,7 +791,7 @@ class TranslatorDutch : public Translator
// new since 1.2.5
//////////////////////////////////////////////////////////////////////////
- /*! Used as a marker that is put before a \bug item */
+ /*! Used as a marker that is put before a \\bug item */
QCString trBug()
{
return "Bug";
diff --git a/src/translator_no.h b/src/translator_no.h
index 18d6506..03ed9a5 100644
--- a/src/translator_no.h
+++ b/src/translator_no.h
@@ -24,9 +24,9 @@
#ifndef TRANSLATOR_NO_H
#define TRANSLATOR_NO_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorNorwegian : public Translator
+class TranslatorNorwegian : public TranslatorAdapter_1_2_2
{
public:
QCString idLanguage()
@@ -120,7 +120,7 @@ class TranslatorNorwegian : public Translator
QCString trSearch()
{ return "SЬk"; }
- QCString trClassHierarchyDescripsjon()
+ QCString trClassHierarchyDescription()
{ return "Denne listen over arv er grovt, men ikke helt, "
"sortert i alfabetisk rekkefЬlge:";
}
@@ -171,7 +171,7 @@ class TranslatorNorwegian : public Translator
QCString trModulesDescription()
{ return "Her fЬlger en liste over alle moduler:"; }
- QCString trNoDescripsjonAvailable()
+ QCString trNoDescriptionAvailable()
{ return "Beskrivelse mangler"; }
QCString trDocumentation()
@@ -221,7 +221,7 @@ class TranslatorNorwegian : public Translator
QCString trVariables()
{ return "Variable"; }
- QCString trEnumerasjonValues()
+ QCString trEnumerationValues()
{ return "Enumererte typers verdier"; }
QCString trAuthor()
@@ -230,19 +230,19 @@ class TranslatorNorwegian : public Translator
QCString trDefineDocumentation()
{ return "Dokumentasjon over definisjoner"; }
- QCString trFuncsjonPrototypeDocumentation()
+ QCString trFunctionPrototypeDocumentation()
{ return "Dokumentasjon over funksjonsprototyper"; }
QCString trTypedefDocumentation()
{ return "Dokumentasjon over typedefinisjoner"; }
- QCString trEnumerasjonTypeDocumentation()
+ QCString trEnumerationTypeDocumentation()
{ return "Dokumentasjon over enumererte typer"; }
- QCString trEnumerasjonValueDocumentation()
+ QCString trEnumerationValueDocumentation()
{ return "Dokumentasjon over enumererte typers verdier"; }
- QCString trFuncsjonDocumentation()
+ QCString trFunctionDocumentation()
{ return "Dokumentasjon over funksjoner"; }
QCString trVariableDocumentation()
@@ -328,7 +328,7 @@ class TranslatorNorwegian : public Translator
// new since 0.49-990405
//////////////////////////////////////////////////////////////////////////
- virtual QCString trRelatedFuncsjonDocumentation()
+ virtual QCString trRelatedFunctionDocumentation()
{ return "Venners och beslektede funksjoners dokumentasjon"; }
//////////////////////////////////////////////////////////////////////////
diff --git a/src/translator_pl.h b/src/translator_pl.h
index 71ff0b3..54777ea 100644
--- a/src/translator_pl.h
+++ b/src/translator_pl.h
@@ -18,9 +18,9 @@
#ifndef TRANSLATOR_PL_H
#define TRANSLATOR_PL_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorPolish : public Translator
+class TranslatorPolish : public TranslatorAdapter_1_2_1
{
public:
@@ -427,47 +427,47 @@ class TranslatorPolish : public Translator
return (QCString)"Diagram dziedziczenia dla "+clName;
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "Tylko do u©ytku wewnЙtrznego."; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "Reimplementowana z wewnЙtrzych przyczyn; nie dotyczy API."; }
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "Ostrze©enie"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "BЁЙdy i ograniczenia"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "Wersja"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "Data"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "Autorzy"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "Powroty"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "Zobacz rСwnie©"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "Parametry"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "Wyj╠tki"; }
diff --git a/src/translator_pt.h b/src/translator_pt.h
index 2f80e6e..3fd93ab 100644
--- a/src/translator_pt.h
+++ b/src/translator_pt.h
@@ -20,9 +20,9 @@
#ifndef TRANSLATOR_PT_H
#define TRANSLATOR_PT_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorPortuguese : public Translator
+class TranslatorPortuguese : public TranslatorAdapter_1_1_5
{
public:
QCString idLanguage()
@@ -403,48 +403,48 @@ class TranslatorPortuguese : public Translator
return (QCString)"Diagrama de heranГas da classe "+clName;
}
- /*! this text is generated when the \internal command is used. */
+ /*! this text is generated when the \\internal command is used. */
QCString trForInternalUseOnly()
{ return "Apenas para uso interno."; }
- /*! this text is generated when the \reimp command is used. */
+ /*! this text is generated when the \\reimp command is used. */
QCString trReimplementedForInternalReasons()
{ return "Redefinido por razУes internas; o interface nЦo И afectado";
}
- /*! this text is generated when the \warning command is used. */
+ /*! this text is generated when the \\warning command is used. */
QCString trWarning()
{ return "Aviso"; }
- /*! this text is generated when the \bug command is used. */
+ /*! this text is generated when the \\bug command is used. */
QCString trBugsAndLimitations()
{ return "Bugs e limitaГУes"; }
- /*! this text is generated when the \version command is used. */
+ /*! this text is generated when the \\version command is used. */
QCString trVersion()
{ return "VersЦo"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
QCString trDate()
{ return "Data"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
QCString trAuthors()
{ return "Autor(es)"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
QCString trReturns()
{ return "Retorna"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
QCString trSeeAlso()
{ return "Veja tambИm"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
QCString trParameters()
{ return "ParБmetros"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
QCString trExceptions()
{ return "ExcepГУes"; }
diff --git a/src/translator_ro.h b/src/translator_ro.h
index f5d6c3b..c2a6e2a 100644
--- a/src/translator_ro.h
+++ b/src/translator_ro.h
@@ -32,10 +32,9 @@
#ifndef TRANSLATOR_RO_H
#define TRANSLATOR_RO_H
-#include "classdef.h"
-#include "util.h"
+#include "translator_adapter.h"
-class TranslatorRomanian: public Translator
+class TranslatorRomanian: public TranslatorAdapter_1_2_1
{
public:
@@ -452,47 +451,47 @@ class TranslatorRomanian: public Translator
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()
{ return "Doar pentru uz intern."; }
- /*! this text is generated when the \reimp command is used. */
+ /*! 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()
{ return "AtenЧie"; }
- /*! this text is generated when the \bug command is used. */
+ /*! 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()
{ return "Versiunea"; }
- /*! this text is generated when the \date command is used. */
+ /*! this text is generated when the \\date command is used. */
virtual QCString trDate()
{ return "Data"; }
- /*! this text is generated when the \author command is used. */
+ /*! this text is generated when the \\author command is used. */
virtual QCString trAuthors()
{ return "Autorul/Autorii"; }
- /*! this text is generated when the \return command is used. */
+ /*! this text is generated when the \\return command is used. */
virtual QCString trReturns()
{ return "нntoarce"; }
- /*! this text is generated when the \sa command is used. */
+ /*! this text is generated when the \\sa command is used. */
virtual QCString trSeeAlso()
{ return "Vezi ╨i"; }
- /*! this text is generated when the \param command is used. */
+ /*! this text is generated when the \\param command is used. */
virtual QCString trParameters()
{ return "Parametri"; }
- /*! this text is generated when the \exception command is used. */
+ /*! this text is generated when the \\exception command is used. */
virtual QCString trExceptions()
{ return "ExcepЧii"; }
diff --git a/src/translator_ru.h b/src/translator_ru.h
index e13591c..70507eb 100644
--- a/src/translator_ru.h
+++ b/src/translator_ru.h
@@ -48,92 +48,10 @@
#ifndef TRANSLATOR_RU_H
#define TRANSLATOR_RU_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorRussian : public Translator
+class TranslatorRussian : public TranslatorAdapter_1_2_5
{
- protected:
- /*! Returns the string converted from koi8-r to windows-1251. */
- /* The method was designed initially for translator_cz.h.
- It is used for on-line encoding conversion related to conditional
- compilation in Unix/MS Windows environments (both use different
- encoding).
- Encoding table got from QT:qtextcodec.cpp
- */
- QCString Koi8RToWindows1251( const QCString sInput )
- {
- static Q_UINT16 koi8_r[128] =
- { 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524,
- 0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590,
- 0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219/**/, 0x221A, 0x2248,
- 0x2264, 0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7,
- 0x2550, 0x2551, 0x2552, 0x0451, 0x2553, 0x2554, 0x2555, 0x2556,
- 0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x255C, 0x255D, 0x255E,
- 0x255F, 0x2560, 0x2561, 0x0401, 0x2562, 0x2563, 0x2564, 0x2565,
- 0x2566, 0x2567, 0x2568, 0x2569, 0x256A, 0x256B, 0x256C, 0x00A9,
- 0x044E, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433,
- 0x0445, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E,
- 0x043F, 0x044F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432,
- 0x044C, 0x044B, 0x0437, 0x0448, 0x044D, 0x0449, 0x0447, 0x044A,
- 0x042E, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413,
- 0x0425, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E,
- 0x041F, 0x042F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412,
- 0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A
- };
-
- QString result;
- int len = sInput.length();
-
- result.setUnicode(0, len);
- QChar* uc = (QChar*)result.unicode(); // const_cast
- const unsigned char * c = (const unsigned char *)(const char*)sInput;
- for( int i=0; i\n"
"
\n");
@@ -1306,7 +1217,7 @@ class TranslatorRussian : public Translator
}
//////////////////////////////////////////////////////////////////////////
-// new since 1.2.?
+// new since 1.2.6
//////////////////////////////////////////////////////////////////////////
/*! Used as ansicpg for RTF file */
virtual QCString trRTFansicp()
diff --git a/src/translator_se.h b/src/translator_se.h
index 6aa3e99..79ec0e2 100644
--- a/src/translator_se.h
+++ b/src/translator_se.h
@@ -62,9 +62,9 @@ Problem!
#ifndef TRANSLATOR_SE_H
#define TRANSLATOR_SE_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorSwedish : public Translator
+class TranslatorSwedish : public TranslatorAdapter_1_0_0
{
public:
QCString idLanguage()
diff --git a/src/translator_si.h b/src/translator_si.h
index 4810344..98d6824 100644
--- a/src/translator_si.h
+++ b/src/translator_si.h
@@ -20,9 +20,9 @@
#ifndef TRANSLATOR_SI_H
#define TRANSLATOR_SI_H
-#include "translator.h"
+#include "translator_adapter.h"
-class TranslatorSlovene : public Translator
+class TranslatorSlovene : public TranslatorAdapter_1_1_5
{
public:
QCString idLanguage()
@@ -404,6 +404,18 @@ class TranslatorSlovene : public Translator
{ return "Podati o imenskih prostorih"; }
//////////////////////////////////////////////////////////////////////////
+// new since 0.49-990522
+//////////////////////////////////////////////////////////////////////////
+
+ /*! This is used in the documentation before the list of all
+ * namespaces in a file.
+ */
+ QCString trNamespaces()
+ {
+ return "Namespaces";
+ }
+
+//////////////////////////////////////////////////////////////////////////
// new since 0.49-990728
//////////////////////////////////////////////////////////////////////////
--
cgit v0.12