From f2d616203ef5d2cace7b01d794791cf350a8b2c7 Mon Sep 17 00:00:00 2001 From: Petr Prikryl Date: Tue, 18 Jun 2013 09:31:57 +0200 Subject: Translators for ES and FR -- base class fixed. --- src/translator_es.h | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++- src/translator_fr.h | 2 +- 2 files changed, 59 insertions(+), 2 deletions(-) diff --git a/src/translator_es.h b/src/translator_es.h index 59a82ac..8654d28 100644 --- a/src/translator_es.h +++ b/src/translator_es.h @@ -31,9 +31,10 @@ * Updated to 1.6.4 by Bartomeu Creus Navarro (26-mayo-2010) [(16-jun-2010) grabado en UTF-8] * Updated to 1.8.0 by Bartomeu Creus Navarro (11-abril-2012) * Updated to 1.8.2 by Bartomeu Creus Navarro (01-julio-2012) + * Updated to 1.8.4 by Bartomeu Creus Navarro (17-julio-2013) */ -class TranslatorSpanish : public TranslatorAdapter_1_8_4 +class TranslatorSpanish : public Translator { public: @@ -2056,6 +2057,62 @@ class TranslatorSpanish : public TranslatorAdapter_1_8_4 } ////////////////////////////////////////////////////////////////////////// +// new since 1.8.4 +////////////////////////////////////////////////////////////////////////// + + /** old style UNO IDL services: implemented interfaces */ + virtual QCString trInterfaces() + { return "Interface exportada"; } + + /** old style UNO IDL services: inherited services */ + virtual QCString trServices() + { return "Servicios incluidos"; } + + /** UNO IDL constant groups */ + virtual QCString trConstantGroups() + { return "Grupos constantes"; } + + /** UNO IDL constant groups */ + virtual QCString trConstantGroupReference(const char *namespaceName) + { + QCString result=namespaceName; + result+=" referencia de grupos constantes"; + return result; + } + /** UNO IDL service page title */ + virtual QCString trServiceReference(const char *sName) + { + QCString result=(QCString)sName; + result+=" Referencia servicio"; + return result; + } + /** UNO IDL singleton page title */ + virtual QCString trSingletonReference(const char *sName) + { + QCString result=(QCString)sName; + result+=" referencia Singleton"; + return result; + } + /** UNO IDL service page */ + virtual QCString trServiceGeneratedFromFiles(bool single) + { + // single is true implies a single file + QCString result=(QCString)"La documentacion para este servicio " + "se ha generado desde "; + if (single) result+="el siguiente fichero:"; else result+="los siguientes ficheros:"; + return result; + } + /** UNO IDL singleton page */ + virtual QCString trSingletonGeneratedFromFiles(bool single) + { + // single is true implies a single file + QCString result=(QCString)"La documentación para este singleton " + "se ha generado desde "; + if (single) result+="el siguiente fichero:"; else result+="los siguientes ficheros:"; + return result; + } + +////////////////////////////////////////////////////////////////////////// }; diff --git a/src/translator_fr.h b/src/translator_fr.h index 20c2580..87bc874 100644 --- a/src/translator_fr.h +++ b/src/translator_fr.h @@ -103,7 +103,7 @@ // Translator class (by the local maintainer) when the localized // translator is made up-to-date again. -class TranslatorFrench : public TranslatorAdapter_1_8_0 +class TranslatorFrench : public Translator { public: -- cgit v0.12