Commit 3fd821c2 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Merge branch 'master' of https://github.com/pepr/doxygen into pepr

Conflicts:
	src/libdoxygen.pro.in
	winbuild/Doxygen.vcproj
parents 10dc9dd5 78b905a4
......@@ -42,6 +42,7 @@ Makefile
/src/pyscanner.cpp
/src/scanner.cpp
/src/tclscanner.cpp
/src/unistd.h
/src/version.cpp
/src/vhdlcode.cpp
/src/vhdlparser.cpp
......
......@@ -61,6 +61,7 @@
2010/09/27 - The underscore in \latexonly part of the generated language.doc
was prefixed by backslash (was LaTeX related error).
2013/02/19 - Better diagnostics when translator_xx.h is too crippled.
2013/06/25 - TranslatorDecoder checks removed after removing the class.
"""
from __future__ import generators
......@@ -185,7 +186,6 @@ class Transl:
self.missingMethods = None # list of prototypes to be implemented
self.implementedMethods = None # list of implemented required methods
self.adaptMinClass = None # The newest adapter class that can be used
self.isDecodedTranslator = None # Flag related to internal usage of UTF-8
def __tokenGenerator(self):
"""Generator that reads the file and yields tokens as 4-tuples.
......@@ -1117,13 +1117,6 @@ class Transl:
else:
self.missingMethods.append(p)
# Set the least important note first if the translator is decoded.
# If yes, then it means that the implementation should be switched
# to UTF-8 later (suggestion).
self.isDecodedTranslator = self.classId in self.manager.decodedTranslators
if self.isDecodedTranslator:
self.note = 'Reimplementation using UTF-8 suggested.'
# Check whether adapter must be used or suggest the newest one.
# Change the status and set the note accordingly.
if self.baseClassId != 'Translator':
......@@ -1307,44 +1300,10 @@ class TrManager:
self.numLang = None # excluding coupled En-based
self.doxVersion = None # Doxygen version
# Capture the knowledge about translators that are not implemented
# to use UTF-8 internally.
self.decodedTranslators = self.getDecodedTranslators()
# Build objects where each one is responsible for one translator.
self.__build()
def getDecodedTranslators(self):
"""Parses language.cpp to find what translators do not use UTF-8 yet"""
decodedTranslators = []
# Regular expression to detect the lines like
# theTranslator=new TranslatorDecoder(new TranslatorSwedish);
rex = re.compile(r'^\s*theTranslator\s*=\s*new\s+.*$')
# Regular expression to get the (optional) TranslatorDecoder and TranslatorXXX
rex2 = re.compile(r'\bTranslator\w+')
# Parse the lines in the specific source code.
f = open(os.path.join(self.src_path, 'language.cpp'), 'rU')
for line in f:
if rex.match(line):
lst = rex2.findall(line)
if lst[0] == 'TranslatorDecoder':
decodedTranslators.append(lst[1])
f.close()
# Display warning when all translator implementations were converted
# to UTF-8.
if len(decodedTranslators) == 0:
print 'This script should be updated. All translators do use UTF-8'
print 'internally. The TranslatorDecoder adapter should be removed'
print 'from the code and its usage should not be checked any more.'
return decodedTranslators
def __build(self):
"""Find the translator files and build the objects for translators."""
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -21,7 +21,6 @@
#include "language.h"
#include "lang_cfg.h"
#include "translator.h"
#include "translatordecoder.h"
#include "translator_en.h"
#if !defined(ENGLISH_ONLY)
#include "translator_adapter.h"
......@@ -231,7 +230,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_JE
else if (L_EQUAL("japanese-en"))
{
theTranslator=new TranslatorDecoder(new TranslatorJapaneseEn);
theTranslator=new TranslatorJapaneseEn;
}
#endif
#ifdef LANG_ES
......@@ -285,7 +284,7 @@ bool setTranslator(const char *langName)
#ifdef LANG_KE
else if (L_EQUAL("korean-en"))
{
theTranslator=new TranslatorDecoder(new TranslatorKoreanEn);
theTranslator=new TranslatorKoreanEn;
}
#endif
#ifdef LANG_RO
......
......@@ -259,8 +259,7 @@ SOURCES = arguments.cpp \
tagreader.cpp \
tclscanner.cpp \
textdocvisitor.cpp \
tooltip.cpp \
translator.cpp \
tooltip.cpp \
util.cpp \
version.cpp \
vhdlcode.cpp \
......
/*! \file translator.cpp
* \brief Implementation of generally used translator methods.
*
* This file contains implementation of the translator methods that
* are not expected to be reimplemented by derived translator classes.
* It also contains static data tables used by the methods.
*
*/
#include "translator.h"
#include <stdio.h>
/*! The translation table used by Win1250ToISO88592() method. */
const char Translator::Win1250ToISO88592Tab[] =
{
'\x80', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87',
'\x88', '\x89', '\xA9', '\x8B', '\xA6', '\xAB', '\xAE', '\xAC',
'\x90', '\x91', '\x92', '\x93', '\x94', '\x2E', '\x96', '\x97',
'\x98', '\x99', '\xB9', '\x9B', '\xB6', '\xBB', '\xBE', '\xBC',
'\xA0', '\x20', '\x20', '\xA3', '\xA4', '\xA1', '\xA6', '\xA7',
'\x22', '\xA9', '\xAA', '\x3C', '\xAC', '\x2D', '\xAE', '\xAF',
'\x2E', '\x2B', '\x20', '\xB3', '\x27', '\x75', '\xB6', '\xB7',
'\x20', '\xB1', '\xBA', '\x3E', '\xA5', '\x22', '\xB5', '\xBF',
'\xC0', '\xC1', '\xC2', '\xC3', '\xC4', '\xC5', '\xC6', '\xC7',
'\xC8', '\xC9', '\xCA', '\xCB', '\xCC', '\xCD', '\xCE', '\xCF',
'\xD0', '\xD1', '\xD2', '\xD3', '\xD4', '\xD5', '\xD6', '\xD7',
'\xD8', '\xD9', '\xDA', '\xDB', '\xDC', '\xDD', '\xDE', '\xDF',
'\xE0', '\xE1', '\xE2', '\xE3', '\xE4', '\xE5', '\xE6', '\xE7',
'\xE8', '\xE9', '\xEA', '\xEB', '\xEC', '\xED', '\xEE', '\xEF',
'\xF0', '\xF1', '\xF2', '\xF3', '\xF4', '\xF5', '\xF6', '\x2D',
'\xF8', '\xF9', '\xFA', '\xFB', '\xFC', '\xFD', '\xFE', '\xFF',
'\0'
};
/*! The translation table used by ISO88592ToWin1250() method. */
const char Translator::ISO88592ToWin1250Tab[] = {
'\x80', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87',
'\x88', '\x89', '\x8A', '\x8B', '\x8C', '\x8D', '\x8E', '\x8F',
'\x90', '\x91', '\x92', '\x93', '\x94', '\x95', '\x96', '\x97',
'\x98', '\x99', '\x9A', '\x9B', '\x9C', '\x9D', '\x9E', '\x9F',
'\xA0', '\xA5', '\xA2', '\xA3', '\xA4', '\xBC', '\x8C', '\xA7',
'\xA8', '\x8A', '\xAA', '\x8D', '\x8F', '\xAD', '\x8E', '\xAF',
'\xB0', '\xB9', '\xB2', '\xB3', '\xB4', '\xBE', '\x9C', '\xB7',
'\xB8', '\x9A', '\xBA', '\x9D', '\x9F', '\xBD', '\x9E', '\xBF',
'\xC0', '\xC1', '\xC2', '\xC3', '\xC4', '\xC5', '\xC6', '\xC7',
'\xC8', '\xC9', '\xCA', '\xCB', '\xCC', '\xCD', '\xCE', '\xCF',
'\xD0', '\xD1', '\xD2', '\xD3', '\xD4', '\xD5', '\xD6', '\xD7',
'\xD8', '\xD9', '\xDA', '\xDB', '\xDC', '\xDD', '\xDE', '\xDF',
'\xE0', '\xE1', '\xE2', '\xE3', '\xE4', '\xE5', '\xE6', '\xE7',
'\xE8', '\xE9', '\xEA', '\xEB', '\xEC', '\xED', '\xEE', '\xEF',
'\xF0', '\xF1', '\xF2', '\xF3', '\xF4', '\xF5', '\xF6', '\xF7',
'\xF8', '\xF9', '\xFA', '\xFB', '\xFC', '\xFD', '\xFE', '\xFF',
'\0'
};
/*! The translation table used by Koi8RToWindows1251() method. */
const unsigned char Translator::Koi8RToWindows1251Tab[128] =
{ 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
254,224,225,246,228,229,244,227,245,232,233,234,235,236,237,238,
239,255,240,241,242,243,230,226,252,251,231,248,253,249,247,250,
222,192,193,214,196,197,212,195,213,200,201,202,203,204,205,206,
207,223,208,209,210,211,198,194,220,219,199,216,221,217,215,218
};
/*! The translation table used by Windows1251ToKoi8R() method. */
const unsigned char Translator::Windows1251ToKoi8RTab[128] =
{ 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,
144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,
160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,
176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,
225,226,247,231,228,229,246,250,233,234,235,236,237,238,239,240,
242,243,244,245,230,232,227,254,251,253,255,249,248,252,224,241,
193,194,215,199,196,197,214,218,201,202,203,204,205,206,207,208,
210,211,212,213,198,200,195,222,219,221,223,217,216,220,192,209
};
/*! Returns the string converted from windows-1250 to iso-8859-2. */
/* 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). Later, the translator_hr.h
* (by Boris Bralo) used and improved the same style. As the
* method with the translation table was the same, the
* decision to move it to this base class was made. The same
* holds for ISO88592ToWin1250() method.
*
* Alexandr Chelpanov used the same approach for
* Koi8RToWindows1251() and Windows1251ToKoi8R() methods. Notice,
* that he uses Unicode tables.
*
* It is recommended for possibly other similar methods in future.
*/
QCString Translator::Win1250ToISO88592(const QCString & sInput)
{
// The conversion table for characters >127
//
QCString result;
int len = sInput.length();
for (int i = 0; i < len; ++i)
{
unsigned int c = sInput[i];
result += (c > 127) ? Win1250ToISO88592Tab[c & 0x7F] : c;
}
return result;
}
/*! returns the string converted from iso-8859-2 to windows-1250 */
/* See the comments of the Win1250ToISO88592() method for details. */
QCString Translator::ISO88592ToWin1250(const QCString & sInput)
{
// The conversion table for characters >127
//
QCString result;
int len = sInput.length();
for (int i = 0; i < len; ++i)
{
unsigned int c = sInput[i];
result += (c > 127) ? ISO88592ToWin1250Tab[c & 0x7F] : c;
}
return result;
}
/*! 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 Translator::Koi8RToWindows1251( const QCString & sInput )
{
QCString result(sInput);
int len = sInput.length();
const unsigned char * c = (const unsigned char *)(const char*)sInput;
unsigned char *dc = (unsigned char*)(const char*)result;
for( int i=0; i<len; i++ ) {
if ( c[i] > 127 )
dc[i] = Koi8RToWindows1251Tab[c[i]-128];
}
return result;
}
/*! returns the string converted from Windows-1251 to koi8-r */
/* See the comments of the Koi8RToWindows1251() method for details.
Encoding table got from QT:qtextcodec.cpp */
QCString Translator::Windows1251ToKoi8R( const QCString & sInput )
{
QCString result(sInput);
int len = sInput.length();
const unsigned char * c = (const unsigned char *)(const char*)sInput;
unsigned char *dc = (unsigned char*)(const char*)result;
for( int i=0; i<len; i++ ) {
if ( c[i] > 127 )
dc[i] = Windows1251ToKoi8RTab[c[i]-128];
}
return result;
}
/*! returns the caracter converted from hankaku-kana to zenkakukana.
Thanks Yongmao Ni http://alfin.mine.utsunomiya-u.ac.jp/~niy/algo/ */
unsigned int hankaku2zen(int hankaku)
{
static unsigned int z[64] = {
0x2121,0x2123,0x2156,0x2157,0x2122,0x2126,0x2572,0x2521,
0x2523,0x2525,0x2527,0x2529,0x2563,0x2565,0x2567,0x2543,
0x213c,0x2522,0x2524,0x2526,0x2528,0x252a,0x252b,0x252d,
0x252f,0x2531,0x2533,0x2535,0x2537,0x2539,0x253b,0x253d,
0x253f,0x2541,0x2544,0x2546,0x2548,0x254a,0x254b,0x254c,
0x254d,0x254e,0x254f,0x2552,0x2555,0x2558,0x255b,0x255e,
0x255f,0x2560,0x2561,0x2562,0x2564,0x2566,0x2568,0x2569,
0x256a,0x256b,0x256c,0x256d,0x256f,0x2573,0x212b,0x212c };
if (hankaku < 0xa0 || hankaku > 0xdf) return 0;
return z[hankaku - 0xa0];
}
/*! returns the character converted from japaneseEUC to SJIS
Thanks Yongmao Ni http://alfin.mine.utsunomiya-u.ac.jp/~niy/algo/ */
unsigned int euc2sjis(unsigned int euc)
{
unsigned int jis;
unsigned int hib, lob;
if ((euc & 0xff00) == 0x8e00)
jis = hankaku2zen(euc & 0xff);
else jis = euc & ~0x8080;
hib = (jis >> 8) & 0xff;
lob = jis & 0xff;
lob += (hib & 1) ? 0x1f : 0x7d;
if (lob >= 0x7f) lob++;
hib = ((hib - 0x21) >> 1) + 0x81;
if (hib > 0x9f) hib += 0x40;
return (hib << 8) | lob;
}
/*! returns the string converted from Japanese-EUC to SJIS */
QCString Translator::JapaneseEucToSjis( const QCString & sInput )
{
QString result;
int len = sInput.length();
int c1,c2,sj;
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<len;)
{
c1 = c[i];
if( c1 == EOF ) break;
/* if MSB=0 then the character is ascii */
if(!( c1 & 0x80))
{
uc[i] = c[i];
i=i+1;
}
else
{
c2 = c[i+1];
if( c2 == EOF ) break;
sj = euc2sjis( (c1 << 8) + c2 );
uc[i] = sj >> 8;
uc[i+1] = sj & 0xff;
i+=2;
}
}
return result.latin1();
}
This diff is collapsed.
......@@ -161,8 +161,6 @@ class TranslatorAdapter_1_6_3 : public TranslatorAdapter_1_7_5
virtual QCString updateNeededMessage()
{ return createUpdateNeededMessage(idLanguage(),"release 1.6.3"); }
virtual QCString trDirDependency(const char *name)
{ return english.trDirDependency(name); }
virtual QCString trFileIn(const char *name)
{ return english.trFileIn(name); }
virtual QCString trIncludesFileIn(const char *name)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -99,12 +99,6 @@ class TranslatorCzech : public Translator
"\\usepackage[czech]{babel}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -459,12 +453,6 @@ class TranslatorCzech : public Translator
virtual QCString trDefines()
{ return "Definice maker"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Prototypy"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -501,12 +489,6 @@ class TranslatorCzech : public Translator
virtual QCString trDefineDocumentation()
{ return "Dokumentace k definicím maker"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Dokumentace prototypů"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -558,12 +540,6 @@ class TranslatorCzech : public Translator
result += " programem";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return " -- autor ";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -839,12 +815,6 @@ class TranslatorCzech : public Translator
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Rejstřík tříd"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1157,16 +1127,6 @@ class TranslatorCzech : public Translator
return "Seznam testů";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "Metody DCOP";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1477,13 +1437,6 @@ class TranslatorCzech : public Translator
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the index
* of each page before the search field.
*/
virtual QCString trSearchForIndex()
{
return "Vyhledat";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1862,12 +1815,6 @@ class TranslatorCzech : public Translator
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Graf závislosti adresářů pro "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......
This diff is collapsed.
......@@ -120,12 +120,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
"\\usepackage[T1]{fontenc}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -433,12 +427,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
virtual QCString trDefines()
{ return "#Defines"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Funktionsprototyper"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -475,12 +463,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
virtual QCString trDefineDocumentation()
{ return "#Define-dokumentation"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Dokumentation af funktionsprototyper"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -533,10 +515,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
result+=(QCString)" af";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{ return "skrevet af"; }
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -797,12 +775,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Alfabetisk oversigt"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1073,16 +1045,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
return "Testliste";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "DCOP-metoder";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1367,15 +1329,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "Søg efter";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1749,12 +1702,6 @@ class TranslatorDanish : public TranslatorAdapter_1_8_0
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Afhængighedsgraf for "+name; // "Directory dependency graph for "
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......
This diff is collapsed.
......@@ -76,12 +76,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
return "\\usepackage[esperanto]{babel}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -424,12 +418,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
virtual QCString trDefines()
{ return "Difinoj"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Funkciaj Prototipoj"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -466,12 +454,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
virtual QCString trDefineDocumentation()
{ return "Difina Dokumentado"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Dokumentado de Funkciaj Prototipoj"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -521,12 +503,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
result+=(QCString)" de";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "skribita de";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -789,12 +765,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Alfabeta Listo"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1094,16 +1064,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
return "Testa Listo";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "DCOP Membraj Funkcioj";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1447,14 +1407,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "Serĉi";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1819,12 +1771,6 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Diagramo de dependecoj dosierujaj por "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......@@ -1877,7 +1823,7 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
}
return sdate;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
......@@ -1926,8 +1872,8 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" heredita el "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "Kromaj Hereditaj Membroj"; }
......@@ -1937,7 +1883,7 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -134,13 +134,6 @@ class TranslatorFrench : public Translator
return "\\usepackage[french]{babel}\n";
}
/*! return the language charset. This will be used
when transcoding the translatable strings in this file to UTF-8 */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -481,12 +474,6 @@ class TranslatorFrench : public Translator
virtual QCString trDefines()
{ return "Macros"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Prototypes de fonction"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -523,12 +510,6 @@ class TranslatorFrench : public Translator
virtual QCString trDefineDocumentation()
{ return "Documentation des macros"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Documentation des prototypes de fonction"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -578,12 +559,6 @@ class TranslatorFrench : public Translator
result+=(QCString)" par";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "écrit par";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -850,12 +825,6 @@ class TranslatorFrench : public Translator
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Liste alphabétique"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1156,16 +1125,6 @@ class TranslatorFrench : public Translator
return "Liste des tests";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "Fonctions membres DCOP";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1510,14 +1469,6 @@ class TranslatorFrench : public Translator
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "Rechercher";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1884,12 +1835,6 @@ class TranslatorFrench : public Translator
// new since 1.6.3
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Graphe des dépendances de répertoire pour "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......
......@@ -47,12 +47,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
return "\\usepackage[greek,english]{babel}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -394,12 +388,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
virtual QCString trDefines()
{ return "Ορισμοί"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Πρωτοτυπήσεις Συναρτήσεων"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -436,12 +424,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
virtual QCString trDefineDocumentation()
{ return "Τεκμηρίωση Ορισμών"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Τεκμηρίωση Πρωτοτυπήσεων των Συναρτήσεων"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -491,12 +473,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
result+=(QCString)" από";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "γραμμένο από τον ";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -759,12 +735,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Αλφαβητική Λίστα"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1067,16 +1037,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
return "Λίστα Δοκιμαστικών";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "Μέδοδοι DCOP";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1419,14 +1379,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "Αναζήτηση για";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1792,12 +1744,6 @@ class TranslatorGreek : public TranslatorAdapter_1_8_4
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Διάγραμμα εξάρτησης φακέλου για το "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......
This diff is collapsed.
......@@ -58,12 +58,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
"\\usepackage[magyar]{babel}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "iso-8859-2";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -404,12 +398,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
virtual QCString trDefines()
{ return "Makródefiníciók"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Függvény-prototípusok"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -446,12 +434,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
virtual QCString trDefineDocumentation()
{ return "Makródefiníciók dokumentációja"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Függvény-prototípusok dokumentációja"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -501,12 +483,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
result+=(QCString)" Készült: "+date+" Készítette: ";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return " melyet írt ";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -770,12 +746,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Betűrendes lista"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1072,16 +1042,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
return "Tesztlista";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "DCOP tagfüggvények";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1425,14 +1385,6 @@ class TranslatorHungarian : public TranslatorAdapter_1_4_6
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "Keresési kulcs";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......
......@@ -58,12 +58,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
return "\\usepackage[bahasa]{babel}";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -405,12 +399,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trDefines()
{ return "Makro Definisi"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "Prototipe Fungsi"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -447,12 +435,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
virtual QCString trDefineDocumentation()
{ return "Dokumentasi Makro Definisi"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "Dokumentasi Prototipe Fungsi"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -502,12 +484,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
result+=(QCString)" oleh";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "ditulis oleh";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -771,12 +747,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "Daftar Berdasarkan Abjad"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1075,16 +1045,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
return "Daftar Tes";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "Fungsi Anggota: DCOP";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1428,14 +1388,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "Cari";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1799,12 +1751,6 @@ class TranslatorIndonesian : public TranslatorAdapter_1_8_0
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return (QCString)"Bagan dependensi direktori untuk "+name;
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......
This diff is collapsed.
......@@ -35,20 +35,8 @@ class TranslatorJapaneseEn : public TranslatorEnglish
virtual QCString idLanguage()
{ return "japanese-en"; }
virtual QCString latexLanguageSupportCommand()
{
return "platex";
}
/*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset()
{
//if (Config_getBool("USE_WINDOWS_ENCODING"))
//{
// return "Shift_JIS";
//}
//else
//{
return "euc-jp";
//}
return "platex";
}
virtual QCString trRTFansicp()
{
......
......@@ -37,15 +37,11 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
public:
virtual QCString idLanguage()
{ return "japanese"; }
virtual QCString latexLanguageSupportCommand()
{
return "";
}
/*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
/*! used in the compound documentation before a list of related functions. */
virtual QCString trRelatedFunctions()
......@@ -377,12 +373,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trDefines()
{ return "マクロ定義"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "関数プロトタイプ"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -418,12 +408,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
virtual QCString trDefineDocumentation()
{ return "マクロ定義"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "関数プロトタイプ"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -472,12 +456,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
result+=(QCString)date+"に生成されました。";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "作者";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -744,12 +722,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "アルファベット順一覧"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1048,16 +1020,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
return "テスト一覧";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "DCOPメソッド";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1405,14 +1367,6 @@ class TranslatorJapanese : public TranslatorAdapter_1_6_0
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "検索";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......
......@@ -34,13 +34,8 @@ class TranslatorKoreanEn : public TranslatorEnglish
virtual QCString idLanguage()
{ return "korean-en"; }
virtual QCString latexLanguageSupportCommand()
{
return "\\usepackage{hfont}\n";
}
/*! returns the name of the package that is included by LaTeX */
virtual QCString idLanguageCharset()
{
return "euc-kr";
return "\\usepackage{hfont}\n";
}
virtual QCString trRTFansicp()
{
......
......@@ -89,12 +89,6 @@ class TranslatorKorean : public Translator
return "\\usepackage{hfont}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
// --- Language translation methods -------------------
/*! used in the compound documentation before a list of related functions. */
......@@ -443,12 +437,6 @@ class TranslatorKorean : public Translator
virtual QCString trDefines()
{ return "매크로"; }
/*! This is used in the documentation of a file as a header before the
* list of function prototypes
*/
virtual QCString trFuncProtos()
{ return "함수 원형"; }
/*! This is used in the documentation of a file as a header before the
* list of typedefs
*/
......@@ -485,12 +473,6 @@ class TranslatorKorean : public Translator
virtual QCString trDefineDocumentation()
{ return "매크로 문서화"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for function prototypes
*/
virtual QCString trFunctionPrototypeDocumentation()
{ return "함수 원형 문서화"; }
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for typedefs
*/
......@@ -540,12 +522,6 @@ class TranslatorKorean : public Translator
result+=(QCString)", 생성자 : ";
return result;
}
/*! This is part of the sentence used in the standard footer of each page.
*/
virtual QCString trWrittenBy()
{
return "작성자 : ";
}
/*! this text is put before a class diagram */
virtual QCString trClassDiagram(const char *clName)
......@@ -809,12 +785,6 @@ class TranslatorKorean : public Translator
return result;
}
/*! This is in the (quick) index as a link to the alphabetical compound
* list.
*/
virtual QCString trAlphabeticalList()
{ return "알파벳순 목록"; }
//////////////////////////////////////////////////////////////////////////
// new since 0.49-990901
//////////////////////////////////////////////////////////////////////////
......@@ -1108,16 +1078,6 @@ class TranslatorKorean : public Translator
return "테스트 목록";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.1
//////////////////////////////////////////////////////////////////////////
/*! Used as a section header for KDE-2 IDL methods */
virtual QCString trDCOPMethods()
{
return "DCOP 멤버 함수";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.2.2
//////////////////////////////////////////////////////////////////////////
......@@ -1461,14 +1421,6 @@ class TranslatorKorean : public Translator
// new since 1.3.3
//////////////////////////////////////////////////////////////////////////
/*! When the search engine is enabled this text is put in the header
* of each page before the field where one can enter the text to search
* for.
*/
virtual QCString trSearchForIndex()
{
return "검색";
}
/*! This string is used as the title for the page listing the search
* results.
*/
......@@ -1834,12 +1786,6 @@ class TranslatorKorean : public Translator
// new since 1.6.3 (missing items for the directory pages)
//////////////////////////////////////////////////////////////////////////
/*! introduction text for the directory dependency graph */
virtual QCString trDirDependency(const char *name)
{
return QCString(name) + "에 대한 디렉토리 의존 그래프";
}
/*! when clicking a directory dependency label, a page with a
* table is shown. The heading for the first column mentions the
* source file that has a relation to another file.
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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