From c84e679ca11f8945f449b8b8ad6d93c05d97839e Mon Sep 17 00:00:00 2001 From: Petr Prikryl Date: Tue, 25 Jun 2013 11:57:37 +0200 Subject: idLanguageCharset() method removed from all translator classes --- src/translator.h | 1 - src/translator_am.h | 270 ++++++++++++++++---------------- src/translator_ar.h | 346 ++++++++++++++++++++-------------------- src/translator_br.h | 94 ++++++----- src/translator_ca.h | 374 ++++++++++++++++++++++--------------------- src/translator_cn.h | 375 ++++++++++++++++++++++---------------------- src/translator_cz.h | 6 - src/translator_de.h | 306 ++++++++++++++++++------------------ src/translator_dk.h | 6 - src/translator_en.h | 391 +++++++++++++++++++++++---------------------- src/translator_eo.h | 14 +- src/translator_es.h | 344 ++++++++++++++++++++-------------------- src/translator_fa.h | 366 +++++++++++++++++++++---------------------- src/translator_fi.h | 442 ++++++++++++++++++++++++++------------------------- src/translator_fr.h | 7 - src/translator_gr.h | 6 - src/translator_hr.h | 272 ++++++++++++++++---------------- src/translator_hu.h | 6 - src/translator_id.h | 6 - src/translator_it.h | 64 ++++---- src/translator_je.h | 7 +- src/translator_jp.h | 6 +- src/translator_ke.h | 7 +- src/translator_kr.h | 6 - src/translator_lt.h | 6 - src/translator_lv.h | 7 - src/translator_mk.h | 384 ++++++++++++++++++++++----------------------- src/translator_nl.h | 244 ++++++++++++++--------------- src/translator_no.h | 6 - src/translator_pl.h | 386 ++++++++++++++++++++++----------------------- src/translator_pt.h | 150 +++++++++--------- src/translator_ro.h | 6 - src/translator_ru.h | 268 ++++++++++++++++--------------- src/translator_sc.h | 388 ++++++++++++++++++++++----------------------- src/translator_si.h | 4 - src/translator_sk.h | 6 - src/translator_sr.h | 444 ++++++++++++++++++++++++++-------------------------- src/translator_sv.h | 6 - src/translator_tr.h | 412 ++++++++++++++++++++++++------------------------ src/translator_tw.h | 6 - src/translator_ua.h | 8 +- src/translator_vi.h | 382 ++++++++++++++++++++++---------------------- src/translator_za.h | 6 - 43 files changed, 3298 insertions(+), 3543 deletions(-) diff --git a/src/translator.h b/src/translator.h index da832e3..9fbbddd 100644 --- a/src/translator.h +++ b/src/translator.h @@ -41,7 +41,6 @@ class Translator virtual QCString idLanguage() = 0; virtual QCString latexLanguageSupportCommand() = 0; - virtual QCString idLanguageCharset() = 0; // --- Language translation methods ------------------- diff --git a/src/translator_am.h b/src/translator_am.h index d8ab0fd..9700cc9 100644 --- a/src/translator_am.h +++ b/src/translator_am.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2013 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -33,13 +33,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString latexLanguageSupportCommand() { return "
\\usepackage[latin]{armtex}\n"
-			   "\\usepackage[armscii8]{inputenc}\n
"; - } - - /*! return the language charset. This will be used for the HTML output */ - virtual QCString idLanguageCharset() - { - return "utf-8"; + "\\usepackage[armscii8]{inputenc}\n"; } // --- Language translation methods ------------------- @@ -132,7 +126,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 // quick reference sections - /*! This is put above each page as a link to the list of all groups of + /*! This is put above each page as a link to the list of all groups of * compounds or files (see the \\group command). */ virtual QCString trModules() @@ -178,11 +172,11 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 { if (Config_getBool("OPTIMIZE_OUTPUT_FOR_C")) { - return "Գլոբալներ"; + return "Գլոբալներ"; } else { - return "Ֆայլի անդամներ"; + return "Ֆայլի անդամներ"; } } @@ -291,26 +285,26 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trModulesDescription() { return "Բոլոր մոդուլների ցուցակը."; } - // index titles (the project name is prepended for these) + // index titles (the project name is prepended for these) /*! This is used in HTML as the title of index.html. */ virtual QCString trDocumentation() { return " - Փաստագրություն"; } - /*! This is used in LaTeX as the title of the chapter with the + /*! This is used in LaTeX as the title of the chapter with the * index of all groups. */ virtual QCString trModuleIndex() { return "Մոդուլներ"; } - /*! 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 * class hierarchy. */ virtual QCString trHierarchicalIndex() { return "Դասակարգումներ"; } - /*! 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. */ virtual QCString trCompoundIndex() @@ -374,43 +368,43 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trReferenceManual() { return "Հղումների ձեռնարկ"; } - /*! 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 defines */ virtual QCString trDefines() { return "Մակրոսներ"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of function prototypes */ virtual QCString trFuncProtos() { return "Ֆունկցիաների նախատիպեր"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() { return "Տիպի սահմանումներ (typedef)"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of enumerations */ virtual QCString trEnumerations() { return "Համարակալումներ"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) functions */ virtual QCString trFunctions() { return "Ֆունկցիաներ"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trVariables() { return "Փոփոխականներ"; } - /*! This is used in the documentation of a file as a header before the + /*! This is used in the documentation of a file as a header before the * list of (global) variables */ virtual QCString trEnumerationValues() @@ -422,37 +416,37 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 virtual QCString trDefineDocumentation() { return "Մակրոսներ"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for function prototypes */ virtual QCString trFunctionPrototypeDocumentation() { return "Ֆունկցիաների նախատիպեր"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() { return "Տիպի սահմանումներ (typedef)"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for enumeration types */ virtual QCString trEnumerationTypeDocumentation() { return "Համարակալման տիպեր"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for functions */ virtual QCString trFunctionDocumentation() { return "Ֆունկցիաներ"; } - /*! This is used in the documentation of a file/namespace before the list + /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for variables */ virtual QCString trVariableDocumentation() { return "Փոփոխականներ"; } - /*! 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 */ virtual QCString trCompounds() @@ -462,20 +456,20 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 return "Տվյալների կառուցվածք"; } else - { + { return "Դասեր"; } } - /*! This is used in the documentation of a group before the list of + /*! This is used in the documentation of a group before the list of * links to documented files */ - /*! This is used in the standard footer of each page and indicates when - * the page was generated + /*! This is used in the standard footer of each page and indicates when + * the page was generated */ virtual QCString trGeneratedAt(const char *date,const char *projName) - { + { QCString result=(QCString)"Ստեղծվել է "+date; if (projName) result+=projName+QCString(" -ի համար,"); result+=(QCString)" հետևյալ համակարգով."; @@ -529,11 +523,11 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Ստեղծված է հետևյալ համակարգի կողմից"; } - + ////////////////////////////////////////////////////////////////////////// -// new since 0.49-990307 +// new since 0.49-990307 ////////////////////////////////////////////////////////////////////////// - + /*! used as the title of page containing all the index of all namespaces. */ virtual QCString trNamespaceList() { return "Անունների տարածությունների ցուցակ"; } @@ -556,13 +550,13 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 ////////////////////////////////////////////////////////////////////////// // new since 0.49-990405 ////////////////////////////////////////////////////////////////////////// - + /*! used in the class documentation as a header before the list of all - * related classes + * related classes */ virtual QCString trRelatedFunctionDocumentation() { return "Դասի ընկերներ և կապված ֆունկցիաներ"; } - + ////////////////////////////////////////////////////////////////////////// // new since 0.49-990425 ////////////////////////////////////////////////////////////////////////// @@ -574,7 +568,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 { QCString result=(QCString)clName; if (isTemplate) - { + { switch(compType) { case ClassDef::Class: result+=" Դասի"; break; @@ -618,7 +612,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 result+=" անունների տարածություններ"; return result; } - + virtual QCString trPublicMembers() { return "Բաց անդամ ֆունկցիաներ"; } virtual QCString trPublicSlots() @@ -639,7 +633,7 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 { return "Փակ սլոթեր"; } virtual QCString trStaticPrivateMembers() { return "Փակ ստատիկ անդամ ֆունկցիաներ"; } - + /*! this function is used to produce a comma-separated list of items. * use generateMarker(i) to indicate where item i should be put. */ @@ -648,23 +642,23 @@ class TranslatorArmenian : public TranslatorAdapter_1_8_0 QCString result; int i; // the inherits list contain `numEntries' classes - for (i=0;i