From 2099b0bb692257e2f3b55c84b87e76864e473f8c Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 20 May 2013 10:28:56 +0200 Subject: Fixed translation base class and updated Czech translation --- doc/language.doc | 30 +++++++++---------- doc/translator_report.txt | 76 +++++++++-------------------------------------- src/translator_cz.h | 59 +++++++++++++++++++++++++++++++++++- src/translator_de.h | 2 +- src/translator_eo.h | 2 +- src/translator_es.h | 2 +- src/translator_gr.h | 2 +- src/translator_nl.h | 60 +++++++++++++++++++++++++++++++++++-- src/translator_ua.h | 2 +- 9 files changed, 150 insertions(+), 85 deletions(-) diff --git a/doc/language.doc b/doc/language.doc index 0673fea..41f2d04 100644 --- a/doc/language.doc +++ b/doc/language.doc @@ -23,7 +23,7 @@ text fragments, generated by doxygen, can be produced in languages other than English (the default). The output language is chosen through the configuration file (with default name and known as Doxyfile). -Currently (version 1.8.3.1), 40 languages +Currently (version 1.8.4), 40 languages are supported (sorted alphabetically): Afrikaans, Arabic, Armenian, Brazilian Portuguese, Catalan, Chinese, Chinese Traditional, Croatian, Czech, Danish, Dutch, English, @@ -104,7 +104,7 @@ when the translator was updated. Czech Petr Přikryl prikryl at atlas dot cz - 1.8.04 + up-to-date Danish @@ -116,7 +116,7 @@ when the translator was updated. Dutch Dimitri van Heesch dimitri at stack dot nl - 1.8.04 + up-to-date English @@ -128,7 +128,7 @@ when the translator was updated. Esperanto Ander Martínez ander dot basaundi at gmail dot com - 1.8.04 + 1.8.4 Finnish @@ -146,13 +146,13 @@ when the translator was updated. German Peter Grotrian
Jens Seidel Peter dot Grotrian at pdv-FS dot de
jensseidel at users dot sf dot net - 1.8.04 + 1.8.4 Greek Paul Gessos gessos dot paul at yahoo dot gr - 1.8.04 + 1.8.4 Hungarian @@ -278,7 +278,7 @@ when the translator was updated. Spanish Bartomeu
Francisco Oltra Thennet
David Vaquero bartomeu at loteria3cornella dot com
[unreachable]
david at grupoikusnet dot com - 1.8.04 + 1.8.4 Swedish @@ -296,7 +296,7 @@ when the translator was updated. Ukrainian Olexij Tkatchenko
Petro Yermolenko [resigned]
python at i dot ua - 1.8.04 + 1.8.4 Vietnamese @@ -341,26 +341,26 @@ when the translator was updated. \hline Croatian & Boris Bralo & {\tt\tiny boris dot bralo at gmail dot com} & 1.8.2 \\ \hline - Czech & Petr Přikryl & {\tt\tiny prikryl at atlas dot cz} & 1.8.04 \\ + Czech & Petr Přikryl & {\tt\tiny prikryl at atlas dot cz} & up-to-date \\ \hline Danish & Poul-Erik Hansen & {\tt\tiny pouhan at gnotometrics dot dk} & 1.8.0 \\ ~ & Erik Søe Sørensen & {\tt\tiny eriksoe+doxygen at daimi dot au dot dk} & ~ \\ \hline - Dutch & Dimitri van Heesch & {\tt\tiny dimitri at stack dot nl} & 1.8.04 \\ + Dutch & Dimitri van Heesch & {\tt\tiny dimitri at stack dot nl} & up-to-date \\ \hline English & Dimitri van Heesch & {\tt\tiny dimitri at stack dot nl} & up-to-date \\ \hline - Esperanto & Ander Martínez & {\tt\tiny ander dot basaundi at gmail dot com} & 1.8.04 \\ + Esperanto & Ander Martínez & {\tt\tiny ander dot basaundi at gmail dot com} & 1.8.4 \\ \hline Finnish & Antti Laine & {\tt\tiny antti dot a dot laine at tut dot fi} & 1.6.0 \\ \hline French & David Martinet & {\tt\tiny contact at e-concept-applications dot fr} & 1.8.0 \\ ~ & Xavier Outhier & {\tt\tiny xouthier at yahoo dot fr} & ~ \\ \hline - German & Peter Grotrian & {\tt\tiny Peter dot Grotrian at pdv-FS dot de} & 1.8.04 \\ + German & Peter Grotrian & {\tt\tiny Peter dot Grotrian at pdv-FS dot de} & 1.8.4 \\ ~ & Jens Seidel & {\tt\tiny jensseidel at users dot sf dot net} & ~ \\ \hline - Greek & Paul Gessos & {\tt\tiny gessos dot paul at yahoo dot gr} & 1.8.04 \\ + Greek & Paul Gessos & {\tt\tiny gessos dot paul at yahoo dot gr} & 1.8.4 \\ \hline Hungarian & Ákos Kiss & {\tt\tiny akiss at users dot sourceforge dot net} & 1.4.6 \\ ~ & Földvári György & {\tt\tiny [unreachable] foldvari lost at cyberspace} & ~ \\ @@ -417,7 +417,7 @@ when the translator was updated. \hline Slovene & Matjaž Ostroveršnik & {\tt\tiny matjaz dot ostroversnik at ostri dot org} & 1.4.6 \\ \hline - Spanish & Bartomeu & {\tt\tiny bartomeu at loteria3cornella dot com} & 1.8.04 \\ + Spanish & Bartomeu & {\tt\tiny bartomeu at loteria3cornella dot com} & 1.8.4 \\ ~ & Francisco Oltra Thennet & {\tt\tiny [unreachable] foltra at puc dot cl} & ~ \\ ~ & David Vaquero & {\tt\tiny david at grupoikusnet dot com} & ~ \\ \hline @@ -425,7 +425,7 @@ when the translator was updated. \hline Turkish & Emin Ilker Cetinbas & {\tt\tiny niw3 at yahoo dot com} & 1.7.5 \\ \hline - Ukrainian & Olexij Tkatchenko & {\tt\tiny [resigned] olexij at tkatchenko dot com} & 1.8.04 \\ + Ukrainian & Olexij Tkatchenko & {\tt\tiny [resigned] olexij at tkatchenko dot com} & 1.8.4 \\ ~ & Petro Yermolenko & {\tt\tiny python at i dot ua} & ~ \\ \hline Vietnamese & Dang Minh Tuan & {\tt\tiny tuanvietkey at gmail dot com} & 1.6.0 \\ diff --git a/doc/translator_report.txt b/doc/translator_report.txt index 0fffb30..c7704a7 100644 --- a/doc/translator_report.txt +++ b/doc/translator_report.txt @@ -1,4 +1,4 @@ -(1.8.3.1) +(1.8.4) Doxygen supports the following 40 languages (sorted alphabetically): @@ -10,7 +10,7 @@ Macedonian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, SerbianCyrilic, Slovak, Slovene, Spanish, Swedish, Turkish, Ukrainian, and Vietnamese. -Of them, 5 translators are up-to-date, 35 translators are based on +Of them, 7 translators are up-to-date, 33 translators are based on some adapter class, and 2 are English based. ---------------------------------------------------------------------- @@ -19,6 +19,8 @@ alphabetically). This means that they derive from the Translator class and they implement all 250 of the required methods. Anyway, there still may be some details listed even for them: + TranslatorCzech + TranslatorDutch TranslatorEnglish TranslatorKorean -- Change the base class to Translator. TranslatorLatvian -- Reimplementation using UTF-8 suggested. @@ -31,27 +33,11 @@ obsolete at the end). The other info shows the estimation of Doxygen version when the class was last updated and number of methods that must be implemented to become up-to-date: - TranslatorUkrainian 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - - TranslatorSpanish 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - - TranslatorGreek 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - - TranslatorGerman 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - - TranslatorEsperanto 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - - TranslatorDutch 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - - TranslatorCzech 1.8.04 8 methods to implement (3 %) - Note: Change the base class to TranslatorAdapter_1_8_4. - + TranslatorUkrainian 1.8.4 8 methods to implement (3 %) + TranslatorSpanish 1.8.4 8 methods to implement (3 %) + TranslatorGreek 1.8.4 8 methods to implement (3 %) + TranslatorGerman 1.8.4 8 methods to implement (3 %) + TranslatorEsperanto 1.8.4 8 methods to implement (3 %) TranslatorPolish 1.8.2 14 methods to implement (5 %) TranslatorItalian 1.8.2 15 methods to implement (6 %) TranslatorCroatian 1.8.2 15 methods to implement (6 %) @@ -429,23 +415,6 @@ TranslatorCroatian (TranslatorAdapter_1_8_2) 15 methods to implement (6 %) virtual QCString trInstanceMethods() -TranslatorCzech (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) ---------------- - - Implements 242 of the required methods (96 %). - - Missing methods (should be implemented): - - virtual QCString trServices() - virtual QCString trSingletonGeneratedFromFiles(bool single) - virtual QCString trServiceReference(const char * sName) - virtual QCString trConstantGroups() - virtual QCString trInterfaces() - virtual QCString trServiceGeneratedFromFiles(bool single) - virtual QCString trConstantGroupReference(const char * namespaceName) - virtual QCString trSingletonReference(const char * sName) - - TranslatorDanish (TranslatorAdapter_1_8_0) 22 methods to implement (8 %) ---------------- @@ -477,24 +446,7 @@ TranslatorDanish (TranslatorAdapter_1_8_0) 22 methods to implement (8 %) virtual QCString trInstanceMethods() -TranslatorDutch (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) ---------------- - - Implements 242 of the required methods (96 %). - - Missing methods (should be implemented): - - virtual QCString trServices() - virtual QCString trSingletonGeneratedFromFiles(bool single) - virtual QCString trServiceReference(const char * sName) - virtual QCString trConstantGroups() - virtual QCString trInterfaces() - virtual QCString trServiceGeneratedFromFiles(bool single) - virtual QCString trConstantGroupReference(const char * namespaceName) - virtual QCString trSingletonReference(const char * sName) - - -TranslatorEsperanto (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) +TranslatorEsperanto (TranslatorAdapter_1_8_4) 8 methods to implement (3 %) ------------------- Implements 242 of the required methods (96 %). @@ -585,7 +537,7 @@ TranslatorFrench (TranslatorAdapter_1_8_0) 22 methods to implement (8 %) virtual QCString trInstanceMethods() -TranslatorGerman (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) +TranslatorGerman (TranslatorAdapter_1_8_4) 8 methods to implement (3 %) ---------------- Implements 242 of the required methods (96 %). @@ -602,7 +554,7 @@ TranslatorGerman (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) virtual QCString trSingletonReference(const char * sName) -TranslatorGreek (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) +TranslatorGreek (TranslatorAdapter_1_8_4) 8 methods to implement (3 %) --------------- Implements 242 of the required methods (96 %). @@ -1323,7 +1275,7 @@ TranslatorSlovene (TranslatorAdapter_1_4_6) 58 methods to implement (23 %) virtual QCString trInstanceMethods() -TranslatorSpanish (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) +TranslatorSpanish (TranslatorAdapter_1_8_4) 8 methods to implement (3 %) ----------------- Implements 242 of the required methods (96 %). @@ -1417,7 +1369,7 @@ TranslatorTurkish (TranslatorAdapter_1_7_5) 25 methods to implement (10 %) virtual QCString trInstanceMethods() -TranslatorUkrainian (TranslatorAdapter_1_8_2) 8 methods to implement (3 %) +TranslatorUkrainian (TranslatorAdapter_1_8_4) 8 methods to implement (3 %) ------------------- Implements 242 of the required methods (96 %). diff --git a/src/translator_cz.h b/src/translator_cz.h index 31d645f..6fb4259 100644 --- a/src/translator_cz.h +++ b/src/translator_cz.h @@ -20,6 +20,7 @@ // Updates: // -------- +// 2013/04/11 - Updates for "new since 1.8.4". // 2012/07/31 - Updates for "new since 1.8.2". // 2012/04/10 - Updates for "new since 1.8.0". // 2011/07/28 - Updates for "new since 1.7.5". @@ -84,7 +85,7 @@ // something else. It is difficult to find the general translation // for all kinds in the Czech language. -class TranslatorCzech : public TranslatorAdapter_1_8_2 +class TranslatorCzech : public Translator { public: // --- Language control methods ------------------- @@ -2032,6 +2033,62 @@ class TranslatorCzech : public TranslatorAdapter_1_8_2 } ////////////////////////////////////////////////////////////////////////// +// new since 1.8.4 +////////////////////////////////////////////////////////////////////////// + + /** old style UNO IDL services: implemented interfaces */ + virtual QCString trInterfaces() + { return "Exportovaná rozhraní"; } + + /** old style UNO IDL services: inherited services */ + virtual QCString trServices() + { return "Začleněné služby"; } + + /** UNO IDL constant groups */ + virtual QCString trConstantGroups() + { return "Konstantní skupiny"; } + + /** UNO IDL constant groups */ + virtual QCString trConstantGroupReference(const char *namespaceName) + { + QCString result="Konstantní skupiny z "; + result += namespaceName; + return result; + } + /** UNO IDL service page title */ + virtual QCString trServiceReference(const char *sName) + { + QCString result="Popis služby "; + result += sName; + return result; + } + /** UNO IDL singleton page title */ + virtual QCString trSingletonReference(const char *sName) + { + QCString result="Popis singletonu "; + result += sName; + return result; + } + /** UNO IDL service page */ + virtual QCString trServiceGeneratedFromFiles(bool single) + { + // single is true implies a single file + QCString result="Dokumentace k této službě byla generována "; + if (single) result+="z následujícího souboru:"; + else result+="z následujících souborů:"; + return result; + } + /** UNO IDL singleton page */ + virtual QCString trSingletonGeneratedFromFiles(bool single) + { + // single is true implies a single file + QCString result="Dokumentace k tomuto singletonu byla generována "; + if (single) result+="z následujícího souboru:"; + else result+="z následujících souborů:"; + return result; + } + +////////////////////////////////////////////////////////////////////////// }; diff --git a/src/translator_de.h b/src/translator_de.h index ed9bf29..5486f6c 100644 --- a/src/translator_de.h +++ b/src/translator_de.h @@ -133,7 +133,7 @@ #ifndef TRANSLATOR_DE_H #define TRANSLATOR_DE_H -class TranslatorGerman : public TranslatorAdapter_1_8_2 +class TranslatorGerman : public TranslatorAdapter_1_8_4 { public: diff --git a/src/translator_eo.h b/src/translator_eo.h index 9c08d4c..c949901 100644 --- a/src/translator_eo.h +++ b/src/translator_eo.h @@ -42,7 +42,7 @@ Translator class (by the local maintainer) when the localized translator is made up-to-date again. */ -class TranslatorEsperanto : public TranslatorAdapter_1_8_2 +class TranslatorEsperanto : public TranslatorAdapter_1_8_4 { public: diff --git a/src/translator_es.h b/src/translator_es.h index 9d3ba1d..59a82ac 100644 --- a/src/translator_es.h +++ b/src/translator_es.h @@ -33,7 +33,7 @@ * Updated to 1.8.2 by Bartomeu Creus Navarro (01-julio-2012) */ -class TranslatorSpanish : public TranslatorAdapter_1_8_2 +class TranslatorSpanish : public TranslatorAdapter_1_8_4 { public: diff --git a/src/translator_gr.h b/src/translator_gr.h index 636da39..3b6aaf4 100644 --- a/src/translator_gr.h +++ b/src/translator_gr.h @@ -26,7 +26,7 @@ #ifndef TRANSLATOR_GR_H #define TRANSLATOR_GR_H -class TranslatorGreek : public TranslatorAdapter_1_8_2 +class TranslatorGreek : public TranslatorAdapter_1_8_4 { public: diff --git a/src/translator_nl.h b/src/translator_nl.h index 41d77fb..405d712 100644 --- a/src/translator_nl.h +++ b/src/translator_nl.h @@ -18,7 +18,7 @@ #ifndef TRANSLATOR_NL_H #define TRANSLATOR_NL_H -class TranslatorDutch : public TranslatorAdapter_1_8_2 +class TranslatorDutch : public Translator { public: QCString idLanguage() @@ -681,7 +681,7 @@ class TranslatorDutch : public TranslatorAdapter_1_8_2 "De rechthoeken in the bovenstaande graaf hebben de volgende betekenis:\n" "