Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
7da215a5
Commit
7da215a5
authored
Sep 10, 2014
by
Fabio Jun Takada Chino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portuguese and Brazilian Portuguese translators updated to 1.8.5.
parent
d411fcae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
387 additions
and
21 deletions
+387
-21
translator_br.h
src/translator_br.h
+201
-17
translator_pt.h
src/translator_pt.h
+186
-4
No files found.
src/translator_br.h
View file @
7da215a5
/******************************************************************************
/******************************************************************************
* Copyright (C) 1997-201
4
by Dimitri van Heesch.
* Copyright (C) 1997-201
3
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,6 +15,10 @@
...
@@ -15,6 +15,10 @@
* Thanks to Jorge Ramos, Fernando Carijo and others for their contributions.
* Thanks to Jorge Ramos, Fernando Carijo and others for their contributions.
*
*
* History:
* History:
* 20131129:
* - Updated to 1.8.5;
* - Translation in the method trFileMembers() fixed;
* - Translation in the method trEnumerationValues() fixed;
* 20110628:
* 20110628:
* - Updated to 1.7.5;
* - Updated to 1.7.5;
* 20100531:
* 20100531:
...
@@ -34,7 +38,7 @@
...
@@ -34,7 +38,7 @@
#ifndef TRANSLATOR_BR_H
#ifndef TRANSLATOR_BR_H
#define TRANSLATOR_BR_H
#define TRANSLATOR_BR_H
class
TranslatorBrazilian
:
public
Translator
Adapter_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 Membr
os"
;
return
"
Membros dos Arquiv
os"
;
}
}
}
}
...
@@ -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
enumerado
s"
;
}
{
return
"Valores
de enumeraçõe
s"
;
}
/*! 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
src/translator_pt.h
View file @
7da215a5
/******************************************************************************
/******************************************************************************
* Copyright (C) 1997-201
4
by Dimitri van Heesch.
* Copyright (C) 1997-201
3
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
Translator
Adapter_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 d
a enumeração
"
;
}
{
return
"Valores d
e 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment