Commit c84e679c authored by Petr Prikryl's avatar Petr Prikryl

idLanguageCharset() method removed from all translator classes

parent d274d6cf
......@@ -41,7 +41,6 @@ class Translator
virtual QCString idLanguage() = 0;
virtual QCString latexLanguageSupportCommand() = 0;
virtual QCString idLanguageCharset() = 0;
// --- Language translation methods -------------------
......
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. */
......
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. */
......
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. */
......@@ -1877,7 +1871,7 @@ class TranslatorEsperanto : public TranslatorAdapter_1_8_4
}
return sdate;
}
//////////////////////////////////////////////////////////////////////////
// new since 1.7.5
//////////////////////////////////////////////////////////////////////////
......@@ -1926,8 +1920,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 +1931,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. */
......
......@@ -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. */
......
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. */
......
......@@ -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. */
......
......@@ -108,12 +108,6 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
return "\\usepackage[italian]{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. */
......@@ -1507,7 +1501,7 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
virtual QCString trDirectories()
{ return "Directory"; }
/*! This returns a sentences that introduces the directory hierarchy.
/*! This returns a sentences that introduces the directory hierarchy.
* and the fact that it is sorted alphabetically per level
*/
virtual QCString trDirDescription()
......@@ -1554,7 +1548,7 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
return "Questo è il grafo dei chiamanti di questa funzione:";
}
/*! This is used in the documentation of a file/namespace before the list
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for enumeration values
*/
virtual QCString trEnumerationValueDocumentation()
......@@ -1563,12 +1557,12 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
//////////////////////////////////////////////////////////////////////////
// new since 1.5.4 (mainly for Fortran)
//////////////////////////////////////////////////////////////////////////
/*! header that is put before the list of member subprograms (Fortran). */
virtual QCString trMemberFunctionDocumentationFortran()
{ return "Documentazione delle funzioni membro/subroutine"; }
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
/*! This is put above each page as a link to the list of annotated data types (Fortran). */
virtual QCString trCompoundListFortran()
{ return "Elenco dei tipi di dato"; }
......@@ -1589,18 +1583,18 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
result+="documentati ";
}
result+="dei tipi di dato con collegamenti ";
if (!extractAll)
if (!extractAll)
{
result+="alla documentazione della struttura dati per ciascun membro:";
}
else
else
{
result+="ai tipi dato a cui appartengono:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
/*! This is used in LaTeX as the title of the chapter with the
* annotated compound index (Fortran).
*/
virtual QCString trCompoundIndexFortran()
......@@ -1612,24 +1606,24 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
virtual QCString trTypeDocumentation()
{ return "Documentazione dei tipi dato"; }
/*! This is used in the documentation of a file as a header before the
/*! This is used in the documentation of a file as a header before the
* list of (global) subprograms (Fortran).
*/
virtual QCString trSubprograms()
{ return "Funzioni/Subroutine"; }
/*! This is used in the documentation of a file/namespace before the list
/*! This is used in the documentation of a file/namespace before the list
* of documentation blocks for subprograms (Fortran)
*/
virtual QCString trSubprogramDocumentation()
{ return "Documentazione funzioni/subroutine"; }
/*! This is used in the documentation of a file/namespace/group before
/*! This is used in the documentation of a file/namespace/group before
* the list of links to documented compounds (Fortran)
*/
virtual QCString trDataTypes()
{ return "Tipi di dato"; }
/*! used as the title of page containing all the index of all modules (Fortran). */
virtual QCString trModulesList()
{ return "Elenco dei moduli"; }
......@@ -1669,47 +1663,47 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
virtual QCString trModuleReference(const char *namespaceName)
{
QCString result="Riferimenti per il modulo ";
result+=namespaceName;
result+=namespaceName;
return result;
}
/*! This is put above each page as a link to all members of modules. (Fortran) */
virtual QCString trModulesMembers()
{ return "Membri del modulo"; }
/*! This is an introduction to the page with all modules members (Fortran) */
virtual QCString trModulesMemberDescription(bool extractAll)
{
{
QCString result="Questo è un elenco di tutti i membri dei moduli ";
if (!extractAll) result+="documentati ";
result+="con collegamenti ";
if (extractAll)
if (extractAll)
{
result+="alla documentazione del modulo per ciascun membro:";
}
else
else
{
result+="al modulo a cui appartengono:";
}
return result;
}
/*! This is used in LaTeX as the title of the chapter with the
/*! This is used in LaTeX as the title of the chapter with the
* index of all modules (Fortran).
*/
virtual QCString trModulesIndex()
{ return "Indice dei moduli"; }
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trModule(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Modul" : "modul"));
if (singular) result+="o";
else result+="i";
return result;
return result;
}
/*! This is put at the bottom of a module documentation page and is
* followed by a list of files that were used to generate the page.
......@@ -1735,26 +1729,26 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trType(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Tip" : "tip"));
if (singular) result+="o";
else result+="i";
return result;
return result;
}
/*! This is used for translation of the word that will possibly
* be followed by a single name or by a list of names
* be followed by a single name or by a list of names
* of the category.
*/
virtual QCString trSubprogram(bool first_capital, bool singular)
{
{
QCString result((first_capital ? "Sottoprogramm" : "sottoprogramm"));
if (singular) result+="a";
else result+="i";
return result;
return result;
}
/*! C# Type Contraint list */
......@@ -1901,8 +1895,8 @@ class TranslatorItalian : public TranslatorAdapter_1_8_2
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" ereditati da "+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 "Altri membri ereditati"; }
......
......@@ -35,13 +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()
{
return "utf-8";
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()
......
......@@ -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 "utf-8";
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. */
......
......@@ -65,12 +65,6 @@ class TranslatorLithuanian : public TranslatorAdapter_1_4_6
"\\usepackage[lithuanian]{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. */
......
......@@ -80,13 +80,6 @@ class TranslatorLatvian : public Translator
"\\usepackage[latvian]{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. */
......
This diff is collapsed.
This diff is collapsed.
......@@ -76,12 +76,6 @@ class TranslatorNorwegian : public TranslatorAdapter_1_4_6
"\\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. */
......
This diff is collapsed.
This diff is collapsed.
......@@ -75,12 +75,6 @@ class TranslatorRomanian : public Translator
return "\\usepackage[romanian]{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. */
......
This diff is collapsed.
This diff is collapsed.
......@@ -38,10 +38,6 @@ class TranslatorSlovene : public TranslatorAdapter_1_4_6
{
return "\\usepackage[slovene]{babel}\n\\usepackage[T1]{fontenc}\n";
}
QCString idLanguageCharset()
{
return "utf-8";
}
QCString trRelatedFunctions()
{ return "Povezane funkcije"; }
QCString trRelatedSubscript()
......
......@@ -43,12 +43,6 @@ class TranslatorSlovak : public Translator
virtual QCString latexLanguageSupportCommand()
{ return "\\usepackage[slovak]{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. */
......
This diff is collapsed.
......@@ -95,12 +95,6 @@ class TranslatorSwedish : public TranslatorAdapter_1_6_0
return "\\usepackage[swedish]{babel}\n";
}
/*! return the language charset. This will be used for the HTML output */
virtual QCString idLanguageCharset()
{
return "utf-8";
}
virtual QCString trRelatedFunctions()
{ return "Besläktade funktioner"; }
......
This diff is collapsed.
......@@ -75,12 +75,6 @@ class TranslatorChinesetraditional : public Translator
return "";
}
/*! 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. */
......
......@@ -32,12 +32,6 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4
return "\\usepackage[T2A]{fontenc}\n\\usepackage[ukrainian]{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. */
......@@ -757,7 +751,7 @@ class TranslatorUkrainian : public TranslatorAdapter_1_8_4
case ClassDef::Exception:
if (single) result+="цього винятку"; else result+="цих винятків";
break;
default:
default:
break;
}
result+=" була створена з файл";
......
This diff is collapsed.
......@@ -62,12 +62,6 @@ class TranslatorAfrikaans : public TranslatorAdapter_1_6_0
return "";
}
/*! 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. */
......
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