Portuguese and Brazilian Portuguese translators updated to 1.8.5.

parent d411fcae
/****************************************************************************** /******************************************************************************
* Copyright (C) 1997-2014 by Dimitri van Heesch. * Copyright (C) 1997-2013 by Dimitri van Heesch.
* *
* Permission to use, copy, modify, and distribute this software and its * Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby * documentation under the terms of the GNU General Public License is hereby
...@@ -15,26 +15,30 @@ ...@@ -15,26 +15,30 @@
* Thanks to Jorge Ramos, Fernando Carijo and others for their contributions. * Thanks to Jorge Ramos, Fernando Carijo and others for their contributions.
* *
* History: * History:
* 20110628: * 20131129:
* - Updated to 1.7.5; * - Updated to 1.8.5;
* 20100531: * - Translation in the method trFileMembers() fixed;
* - Updated to 1.6.3; * - Translation in the method trEnumerationValues() fixed;
* 20091218: * 20110628:
* - Updated to 1.6.1; * - Updated to 1.7.5;
* - Copyright year updated; * 20100531:
* - Translation updates suggested by Fernando Carijó added; * - Updated to 1.6.3;
* 20080709: * 20091218:
* - Updated to 1.6.1;
* - Copyright year updated;
* - Translation updates suggested by Fernando Carijó added;
* 20080709:
* - References to MAX_DOT_GRAPH_HEIGHT removed from trLegendDocs(). * - References to MAX_DOT_GRAPH_HEIGHT removed from trLegendDocs().
* 20080206: * 20080206:
* - Method trTypeContraints() renamed to trTypeConstraints(). * - Method trTypeContraints() renamed to trTypeConstraints().
* 20071216: * 20071216:
* - New methods since 1.5.4 updated. * - New methods since 1.5.4 updated.
* Previous history removed from this version. * Previous history removed from this version.
*/ */
#ifndef TRANSLATOR_BR_H #ifndef TRANSLATOR_BR_H
#define TRANSLATOR_BR_H #define TRANSLATOR_BR_H
class TranslatorBrazilian : public TranslatorAdapter_1_8_0 class TranslatorBrazilian : public Translator
{ {
public: public:
...@@ -194,7 +198,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 ...@@ -194,7 +198,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0
} }
else else
{ {
return "Arquivos Membros"; return "Membros dos Arquivos";
} }
} }
...@@ -432,7 +436,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 ...@@ -432,7 +436,7 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0
* list of (global) variables * list of (global) variables
*/ */
virtual QCString trEnumerationValues() virtual QCString trEnumerationValues()
{ return "Valores enumerados"; } { return "Valores de enumerações"; }
/*! This is used in the documentation of a file before the list of /*! This is used in the documentation of a file before the list of
* documentation blocks for defines * documentation blocks for defines
...@@ -1834,5 +1838,185 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0 ...@@ -1834,5 +1838,185 @@ class TranslatorBrazilian : public TranslatorAdapter_1_8_0
/*! Header for the graph showing the directory dependencies */ /*! Header for the graph showing the directory dependencies */
virtual QCString trDirDepGraph(const char *name) virtual QCString trDirDepGraph(const char *name)
{ return QCString("Grafo de dependências do diretório ")+name+":"; } { return QCString("Grafo de dependências do diretório ")+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
{ return "nível de detalhes"; }
/*! Section header for list of template parameters */
virtual QCString trTemplateParameters()
{ return "Parâmetros de template"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number)
{ return "e "+number+" mais..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "A documentação para esta enumeração foi gerada a partir";
if (single) {
result += "do seguinte arquivo:";
} else {
result += "dos seguintes arquivos:";
}
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name)
{
QCString result = "Referência da enumeração ";
return result + name;
}
/*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" herdados de "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "Outros membros herdados"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
QCString opt = enable ? "ativar" : "desativar";
return "clique para "+opt+" a sincronização do painel";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
virtual QCString trProvidedByCategory()
{
return "Provido pela categoria @1.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
virtual QCString trExtendsClass()
{
return "estende a classe @1.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
virtual QCString trClassMethods()
{
return "Métodos de classe";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
virtual QCString trInstanceMethods()
{
return "Métodos de instância";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
virtual QCString trMethodDocumentation()
{
return "Documentação do método";
}
/*! Used as the title of the design overview picture created for the
* VHDL output.
*/
virtual QCString trDesignOverview()
{
// I'm not sure how to accurately translate it
return "Visão geral do design";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces()
{ return "Interfaces Exportadas"; }
/** old style UNO IDL services: inherited services */
virtual QCString trServices()
{ return "Serviços Incluídos"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroups()
{ return "Grupos de Constantes"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName)
{
QCString result = "Referência do grupo de constantes ";
result += namespaceName;
return result;
}
/** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName)
{
QCString result = "Referência do serviço ";
result += sName;
return result;
}
/** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName)
{
QCString result = "Referência do Singleton ";
result += sName;
return result;
}
/** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"A documentação para este serviço "
"foi gerada a partir ";
if (single) {
result+="do seguinte arquivo:";
} else {
result+="dos: seguintes arquivos:";
}
return result;
}
/** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"A documentação para este singleton "
"foi gerada a partir ";
if (single) {
result+="do seguinte arquivo:";
} else {
result+="dos: seguintes arquivos:";
}
return result;
}
//////////////////////////////////////////////////////////////////////////
}; };
#endif #endif
/****************************************************************************** /******************************************************************************
* Copyright (C) 1997-2014 by Dimitri van Heesch. * Copyright (C) 1997-2013 by Dimitri van Heesch.
* *
* Permission to use, copy, modify, and distribute this software and its * Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby * documentation under the terms of the GNU General Public License is hereby
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
* VERSION HISTORY * VERSION HISTORY
* --------------- * ---------------
* History: * History:
* 20131129:
* - Updated to 1.8.5;
* - Translation in the method trFileMembers() fixed;
* 20110628: * 20110628:
* - Updated to 1.7.5; * - Updated to 1.7.5;
* - All obsolete methods have been removed; * - All obsolete methods have been removed;
...@@ -52,7 +55,7 @@ ...@@ -52,7 +55,7 @@
#define TRANSLATOR_PT_H #define TRANSLATOR_PT_H
class TranslatorPortuguese : public TranslatorAdapter_1_8_0 class TranslatorPortuguese : public Translator
{ {
public: public:
...@@ -216,7 +219,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 ...@@ -216,7 +219,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0
} }
else else
{ {
return "Ficheiros membro"; return "Membros dos Ficheiros";
} }
} }
...@@ -442,7 +445,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 ...@@ -442,7 +445,7 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0
* list of (global) variables * list of (global) variables
*/ */
QCString trEnumerationValues() QCString trEnumerationValues()
{ return "Valores da enumeração"; } { return "Valores de enumerações"; }
/*! This is used in the documentation of a file before the list of /*! This is used in the documentation of a file before the list of
* documentation blocks for defines * documentation blocks for defines
...@@ -1835,6 +1838,185 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0 ...@@ -1835,6 +1838,185 @@ class TranslatorPortuguese : public TranslatorAdapter_1_8_0
/*! Header for the graph showing the directory dependencies */ /*! Header for the graph showing the directory dependencies */
virtual QCString trDirDepGraph(const char *name) virtual QCString trDirDepGraph(const char *name)
{ return QCString("Grafo de dependências do directório ")+name+":"; } { return QCString("Grafo de dependências do directório ")+name+":"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.0
//////////////////////////////////////////////////////////////////////////
/*! Detail level selector shown for hierarchical indices */
virtual QCString trDetailLevel()
{ return "nível de detalhes"; }
/*! Section header for list of template parameters */
virtual QCString trTemplateParameters()
{ return "Parâmetros de template"; }
/*! Used in dot graph when UML_LOOK is enabled and there are many fields */
virtual QCString trAndMore(const QCString &number)
{ return "e "+number+" mais..."; }
/*! Used file list for a Java enum */
virtual QCString trEnumGeneratedFromFiles(bool single)
{ QCString result = "A documentação para esta enumeração foi gerada a partir";
if (single) {
result += "do seguinte ficheiro:";
} else {
result += "dos seguintes ficheiros:";
}
return result;
}
/*! Header of a Java enum page (Java enums are represented as classes). */
virtual QCString trEnumReference(const char *name)
{
QCString result = "Referência da enumeração ";
return result + name;
}
/*! Used for a section containing inherited members */
virtual QCString trInheritedFrom(const char *members,const char *what)
{ return QCString(members)+" herdados de "+what; }
/*! Header of the sections with inherited members specific for the
* base class(es)
*/
virtual QCString trAdditionalInheritedMembers()
{ return "Outros membros herdados"; }
//////////////////////////////////////////////////////////////////////////
// new since 1.8.2
//////////////////////////////////////////////////////////////////////////
/*! Used as a tooltip for the toggle button that appears in the
* navigation tree in the HTML output when GENERATE_TREEVIEW is
* enabled. This tooltip explains the meaning of the button.
*/
virtual QCString trPanelSynchronisationTooltip(bool enable)
{
QCString opt = enable ? "ativar" : "desativar";
return "clique para "+opt+" a sincronização do painel";
}
/*! Used in a method of an Objective-C class that is declared in a
* a category. Note that the @1 marker is required and is replaced
* by a link.
*/
virtual QCString trProvidedByCategory()
{
return "Provido pela categoria @1.";
}
/*! Used in a method of an Objective-C category that extends a class.
* Note that the @1 marker is required and is replaced by a link to
* the class method.
*/
virtual QCString trExtendsClass()
{
return "estende a classe @1.";
}
/*! Used as the header of a list of class methods in Objective-C.
* These are similar to static public member functions in C++.
*/
virtual QCString trClassMethods()
{
return "Métodos de classe";
}
/*! Used as the header of a list of instance methods in Objective-C.
* These are similar to public member functions in C++.
*/
virtual QCString trInstanceMethods()
{
return "Métodos de instância";
}
/*! Used as the header of the member functions of an Objective-C class.
*/
virtual QCString trMethodDocumentation()
{
return "Documentação do método";
}
/*! Used as the title of the design overview picture created for the
* VHDL output.
*/
virtual QCString trDesignOverview()
{
// I'm not sure how to accurately translate it
return "Visão geral do design";
}
//////////////////////////////////////////////////////////////////////////
// new since 1.8.4
//////////////////////////////////////////////////////////////////////////
/** old style UNO IDL services: implemented interfaces */
virtual QCString trInterfaces()
{ return "Interfaces Exportadas"; }
/** old style UNO IDL services: inherited services */
virtual QCString trServices()
{ return "Serviços Incluídos"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroups()
{ return "Grupos de Constantes"; }
/** UNO IDL constant groups */
virtual QCString trConstantGroupReference(const char *namespaceName)
{
QCString result = "Referência do grupo de constantes ";
result += namespaceName;
return result;
}
/** UNO IDL service page title */
virtual QCString trServiceReference(const char *sName)
{
QCString result = "Referência do serviço ";
result += sName;
return result;
}
/** UNO IDL singleton page title */
virtual QCString trSingletonReference(const char *sName)
{
QCString result = "Referência do Singleton ";
result += sName;
return result;
}
/** UNO IDL service page */
virtual QCString trServiceGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"A documentação para este serviço "
"foi gerada a partir ";
if (single) {
result+="do seguinte ficheiro:";
} else {
result+="dos: seguintes ficheiros:";
}
return result;
}
/** UNO IDL singleton page */
virtual QCString trSingletonGeneratedFromFiles(bool single)
{
// single is true implies a single file
QCString result=(QCString)"A documentação para este singleton "
"foi gerada a partir ";
if (single) {
result+="do seguinte ficheiro:";
} else {
result+="dos: seguintes ficheiros:";
}
return result;
}
//////////////////////////////////////////////////////////////////////////
}; };
#endif #endif
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