summaryrefslogtreecommitdiff
path: root/autodoc
diff options
context:
space:
mode:
authorAllmann-Rahn <allmann-rahn@ubuntu.ubuntu-domain>2011-08-22 11:39:37 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-08-23 17:36:50 +0100
commitfbc30846acc2391a4c323c07ea04b308a685ce46 (patch)
tree83da7330222d751cfed20898f79f3b7a8d9b4ebe /autodoc
parentc02eaf4bb94b2c81f6f27d7af665b344c2e1370a (diff)
Translated German comments and removed the redundant ones in the directories accessibility to (incl.) basebmp.
Diffstat (limited to 'autodoc')
-rw-r--r--autodoc/inc/ary/ceslot.hxx2
-rw-r--r--autodoc/inc/ary_i/d_token.hxx2
-rw-r--r--autodoc/source/parser/adoc/cx_a_std.cxx16
-rw-r--r--autodoc/source/parser/cpp/cx_c_std.cxx16
-rw-r--r--autodoc/source/parser/cpp/cx_c_sub.cxx2
-rw-r--r--autodoc/source/parser/cpp/pe_funct.hxx25
-rw-r--r--autodoc/source/parser/cpp/pe_vafu.hxx24
-rw-r--r--autodoc/source/parser/tokens/tkpstama.cxx2
-rw-r--r--autodoc/source/parser_i/idl/cx_idlco.cxx18
-rw-r--r--autodoc/source/parser_i/idoc/cx_dsapi.cxx16
-rw-r--r--autodoc/source/parser_i/tokens/tkpstam2.cxx1
11 files changed, 61 insertions, 63 deletions
diff --git a/autodoc/inc/ary/ceslot.hxx b/autodoc/inc/ary/ceslot.hxx
index ae0beb2d3f14..9dcd1599f92d 100644
--- a/autodoc/inc/ary/ceslot.hxx
+++ b/autodoc/inc/ary/ceslot.hxx
@@ -41,7 +41,7 @@ namespace ary
class Display;
-/** Unterscheidungen von Slots
+/** differentiation of Slots
Slots:
- ReadWrite or ReadOnly
diff --git a/autodoc/inc/ary_i/d_token.hxx b/autodoc/inc/ary_i/d_token.hxx
index 7fed7d16104f..dd1133658086 100644
--- a/autodoc/inc/ary_i/d_token.hxx
+++ b/autodoc/inc/ary_i/d_token.hxx
@@ -248,7 +248,7 @@ class DT_SeeAlsoAtTag : public DT_AtTag
virtual void DisplayAt(
DocumentationDisplay &
o_rDisplay ) const;
- const String & LinkText() const { return sTitle; } // Missbrauch von sTitle
+ const String & LinkText() const { return sTitle; } // abuse of sTitle
};
class DT_ParameterAtTag : public DT_AtTag
diff --git a/autodoc/source/parser/adoc/cx_a_std.cxx b/autodoc/source/parser/adoc/cx_a_std.cxx
index 18d11b560ab0..a295d75da819 100644
--- a/autodoc/source/parser/adoc/cx_a_std.cxx
+++ b/autodoc/source/parser/adoc/cx_a_std.cxx
@@ -250,16 +250,16 @@ Context_AdocStd::PerformStatusFunction( uintt i_nStatusSignal,
void
Context_AdocStd::SetupStateMachine()
{
- // Besondere Array-Stati (kein Tokenabschluss oder Kontextwechsel):
-// const INT16 bas = 0; // Base-Status
- const INT16 wht = 1; // Whitespace-Status
- const INT16 awd = 2; // Any-Word-Read-Status
+ // special array statuses (no tokenfinish or change of context):
+// const INT16 bas = 0; // base-status
+ const INT16 wht = 1; // whitespace-status
+ const INT16 awd = 2; // any-word-read-status
- // Kontextwechsel-Stati:
+ // change of context statuses
const INT16 goto_CheckStar = 3;
const INT16 goto_AtTag = 4;
- // Tokenfinish-Stati:
+ // tokenfinish statuses:
const INT16 finError = 5;
// const INT16 finIgnore = 6;
const INT16 finEol = 7;
@@ -267,7 +267,7 @@ Context_AdocStd::SetupStateMachine()
const INT16 finAnyWord = 9;
const INT16 finWhitespace = 10;
- // Konstanten zur Benutzung in der Tabelle:
+ // constants for use in the table:
const INT16 fof = finEof;
const INT16 err = finError;
const INT16 faw = finAnyWord;
@@ -361,7 +361,7 @@ Context_AdocStd::SetupStateMachine()
DYN StmBoundsStatus * dpBst_finWhitespace
= new StmBoundsStatus( *this, *this, nF_fin_Whitespace, true);
- // dpMain aufbauen:
+ // construct dpMain:
aStateMachine.AddStatus(dpStatusTop);
aStateMachine.AddStatus(dpStatusWhite);
aStateMachine.AddStatus(dpStatusWord);
diff --git a/autodoc/source/parser/cpp/cx_c_std.cxx b/autodoc/source/parser/cpp/cx_c_std.cxx
index 73eed711dad4..c3710d66332b 100644
--- a/autodoc/source/parser/cpp/cx_c_std.cxx
+++ b/autodoc/source/parser/cpp/cx_c_std.cxx
@@ -239,12 +239,12 @@ Context_CppStd::PerformStatusFunction( uintt i_nStatusSignal,
void
Context_CppStd::SetupStateMachine()
{
- // Besondere Array-Stati (kein Tokenabschluss oder Kontextwechsel):
-// const INT16 top = 0; // Top-Status
- const INT16 wht = 1; // Whitespace-berlese-Status
- const INT16 bez = 2; // Bezeichner-lese-Status
+ // special array statuses (no tokenfinish or change of context):
+// const INT16 top = 0; // top status
+ const INT16 wht = 1; // skip whitespace status
+ const INT16 bez = 2; // read identifier status
- // Tokenfinish-Stati:
+ // tokenfinish statuses:
const INT16 finError = 3;
const INT16 finIgnore = 4;
const INT16 finBezeichner = 5;
@@ -255,7 +255,7 @@ Context_CppStd::SetupStateMachine()
const INT16 finEOL = 10;
const INT16 finEOF = 11;
- // Kontextwechsel-Stati:
+ // change of context statuses:
const INT16 gotoComment = 12;
const INT16 gotoDocu = 13;
const INT16 gotoPreprocessor = 14;
@@ -264,7 +264,7 @@ Context_CppStd::SetupStateMachine()
const INT16 gotoConstNumeric = 17;
const INT16 gotoUnblockMacro = 18;
- // Abbreviations to be used in status tables:
+ // abbreviations to be used in status tables:
const INT16 err = finError;
const INT16 fig = finIgnore;
const INT16 fbz = finBezeichner;
@@ -378,7 +378,7 @@ Context_CppStd::SetupStateMachine()
DYN StmBoundsStatus * dpBst_gotoUnblockMacro
= new StmBoundsStatus( *this, *pContext_UnblockMacro, nF_goto_UnblockMacro, false );
- // dpMain aufbauen:
+ // construct dpMain:
aStateMachine.AddStatus(dpStatusTop);
aStateMachine.AddStatus(dpStatusWhite);
diff --git a/autodoc/source/parser/cpp/cx_c_sub.cxx b/autodoc/source/parser/cpp/cx_c_sub.cxx
index 76e5779312b4..fbdd50529cd5 100644
--- a/autodoc/source/parser/cpp/cx_c_sub.cxx
+++ b/autodoc/source/parser/cpp/cx_c_sub.cxx
@@ -144,7 +144,7 @@ Context_ConstNumeric::ReadCharChain(CharacterSource & io_rText)
if (cNext == '+' OR cNext == '-')
cNext = io_rText.MoveOn();
} // endif
- } while (isalnum(cNext) OR cNext == '.'); // Reicht aus, wenn Zahlen korrekt geschrieben sind
+ } while (isalnum(cNext) OR cNext == '.'); // suffices, if the numbers are spelled correctly
SetNewToken(new Tok_Constant(io_rText.CutToken()));
}
diff --git a/autodoc/source/parser/cpp/pe_funct.hxx b/autodoc/source/parser/cpp/pe_funct.hxx
index 20d8b5e35d5c..2f6a183150bb 100644
--- a/autodoc/source/parser/cpp/pe_funct.hxx
+++ b/autodoc/source/parser/cpp/pe_funct.hxx
@@ -219,16 +219,16 @@ PE_Function::Result_WithImplementation() const
-/* // Overview of Stati
+/* // Overview of statuses
Undecided
---------
-start // vor und whrend storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da
+expectName // type is there
afterName
@@ -238,18 +238,17 @@ afterName
Variable
--------
-start // vor und whrend storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da -> im Falle von '(': notyetimplemented
+expectName // type is there -> in case of '(': notyetimplemented
afterName
expectSize // after [
expectFinish
- // vor ; oder ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
-
+ // before ; or ,
+expectNextVarName // in contrast to expectName here can also be a * or &
@@ -257,13 +256,13 @@ expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
Function
--------
-start // vor und whrend storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da
-expectBracket // Nach Name
-expectParameter // nach ( oder ,
+expectName // type is there
+expectBracket // after name
+expectParameter // after ( or ,
-> Parameter
after Parameters // before const, volatile throw or = 0.
after throw // expect (
@@ -271,7 +270,7 @@ expectException // after (
after exceptions // = 0 oder ; oder ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
+expectNextVarName // in contrast to expectName here can also be a * or &
diff --git a/autodoc/source/parser/cpp/pe_vafu.hxx b/autodoc/source/parser/cpp/pe_vafu.hxx
index c31bbb5daf47..0fa760c36b0a 100644
--- a/autodoc/source/parser/cpp/pe_vafu.hxx
+++ b/autodoc/source/parser/cpp/pe_vafu.hxx
@@ -223,12 +223,12 @@ PE_VarFunc::Result_CeType() const
#endif
-/* // Overview of Stati
+/* // Overview of statuses
Undecided
---------
-start // vor und whrend storage class specifiern
+start // before and inside storage class specifiers
any ->stay
operaator ->goto Function
@@ -246,17 +246,17 @@ afterName ->goto Variable or Function
Variable
--------
-start // vor und whrend storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da -> im Falle von '(': notyetimplemented
+expectName // type is there -> in case of '(': notyetimplemented
afterName
expectSize // after [
expectFinish
- // vor ; oder ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
+ // before ; or ,
+expectNextVarName // in contrast to expectName here can also be a * or &
@@ -265,21 +265,21 @@ expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
Function
--------
-start // vor und whrend storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da
-expectBracket // Nach Name
-expectParameter // nach ( oder ,
+expectName // type is there
+expectBracket // after name
+expectParameter // after ( or ,
-> Parameter
after Parameters // before const, volatile throw or = 0.
after throw // expect (
expectException // after (
-after exceptions // = 0 oder ; oder ,
+after exceptions // = 0 or ; or ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
+expectNextVarName // in contrast to expectName here can also be a * or &
diff --git a/autodoc/source/parser/tokens/tkpstama.cxx b/autodoc/source/parser/tokens/tkpstama.cxx
index aefe72cac10b..f3e88b323040 100644
--- a/autodoc/source/parser/tokens/tkpstama.cxx
+++ b/autodoc/source/parser/tokens/tkpstama.cxx
@@ -71,7 +71,7 @@ StateMachine::AddToken( const char * in_sToken,
if (csv::no_str(in_sToken))
return;
- // Durch existierende Stati durchhangeln:
+
nCurrentStatus = 0;
nPeekedStatus = 0;
diff --git a/autodoc/source/parser_i/idl/cx_idlco.cxx b/autodoc/source/parser_i/idl/cx_idlco.cxx
index 42ace9448462..4e1f1da418f3 100644
--- a/autodoc/source/parser_i/idl/cx_idlco.cxx
+++ b/autodoc/source/parser_i/idl/cx_idlco.cxx
@@ -308,12 +308,12 @@ Context_UidlCode::PerformStatusFunction( uintt i_nStatusSignal,
void
Context_UidlCode::SetupStateMachine()
{
- // Besondere Array-Stati (kein Tokenabschluss oder Kontextwechsel):
-// const INT16 top = 0; // Top-Status
- const INT16 wht = 1; // Whitespace-berlese-Status
- const INT16 bez = 2; // Bezeichner-lese-Status
+ // special array statuses (no tokenfinish or change of context):
+// const INT16 top = 0; // top status
+ const INT16 wht = 1; // skip whitespace status
+ const INT16 bez = 2; // read identifier status
- // Tokenfinish-Stati:
+ // tokenfinish statuses:
const INT16 finErr = 3;
const INT16 finIgn = 4;
const INT16 finBez = 5;
@@ -322,7 +322,7 @@ Context_UidlCode::SetupStateMachine()
const INT16 finEOL = 8;
const INT16 finEOF = 9;
- // Kontextwechsel-Stati:
+ // change of context statuses:
const INT16 gotoMld = 10;
const INT16 gotoSld = 11;
const INT16 gotoMlc = 12;
@@ -330,7 +330,7 @@ Context_UidlCode::SetupStateMachine()
const INT16 gotoPrp = 14;
const INT16 gotoAsg = 15;
- // Konstanten zur Benutzung in der Tabelle:
+ // constants for use in the table:
const INT16 err = finErr;
const INT16 fbz = finBez;
const INT16 fig = finIgn;
@@ -338,7 +338,7 @@ Context_UidlCode::SetupStateMachine()
// const INT16 fkw = finKeyw;
// const INT16 fpc = finPunct;
- /// Die '0'en werden spaeter durch AddToken() ersetzt.
+ /// '0's are going to be replaced by AddToken() later
const INT16 A_nTopStatus[C_nStatusSize] =
// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@@ -435,7 +435,7 @@ Context_UidlCode::SetupStateMachine()
DYN StmBoundsStatu2 * dpBst_gotoAsg
= new StmBoundsStatu2( *this, *dpContext_Assignment, nF_goto_Assignment, false );
- // dpMain aufbauen:
+ // construct dpMain:
aStateMachine.AddStatus(dpStatusTop);
aStateMachine.AddStatus(dpStatusWhite);
diff --git a/autodoc/source/parser_i/idoc/cx_dsapi.cxx b/autodoc/source/parser_i/idoc/cx_dsapi.cxx
index b1cf5fddcc63..662af48e2fcb 100644
--- a/autodoc/source/parser_i/idoc/cx_dsapi.cxx
+++ b/autodoc/source/parser_i/idoc/cx_dsapi.cxx
@@ -279,12 +279,12 @@ Context_Docu::PerformStatusFunction( uintt i_nStatusSignal,
void
Context_Docu::SetupStateMachine()
{
- // Besondere Array-Stati (kein Tokenabschluss oder Kontextwechsel):
-// const INT16 bas = 0; // Base-Status
- const INT16 wht = 1; // Whitespace-overlook-Status
- const INT16 awd = 2; // Any-Word-Read-Status
+ // special array statuses (no tokenfinish or change of context):
+// const INT16 bas = 0; // base status
+ const INT16 wht = 1; // skip whitespace status
+ const INT16 awd = 2; // any word read status
- // Kontextwechsel-Stati:
+ // change of context statuses:
const INT16 goto_EoHtml = 3;
const INT16 goto_EoXmlConst = 4;
const INT16 goto_EoXmlLink_BeginTag = 5;
@@ -293,7 +293,7 @@ Context_Docu::SetupStateMachine()
const INT16 goto_EoXmlFormat_EndTag = 8;
const INT16 goto_CheckStar = 9;
- // Tokenfinish-Stati:
+ // tokenfinish statuses:
const INT16 finError = 10;
// const INT16 finIgnore = 11;
const INT16 finEof = 12;
@@ -303,7 +303,7 @@ Context_Docu::SetupStateMachine()
// const INT16 finComma = 16;
const INT16 finWhite = 17;
- // Konstanten zur Benutzung in der Tabelle:
+ // constants for use in the table:
const INT16 ght = goto_EoHtml;
/*
const INT16 gxc = goto_EoXmlConst;
@@ -435,7 +435,7 @@ Context_Docu::SetupStateMachine()
= new StmBoundsStatu2( *this, *this, nF_fin_White, false);
- // dpMain aufbauen:
+ // construct dpMain:
aStateMachine.AddStatus(dpStatusTop);
aStateMachine.AddStatus(dpStatusWhite);
aStateMachine.AddStatus(dpStatusWord);
diff --git a/autodoc/source/parser_i/tokens/tkpstam2.cxx b/autodoc/source/parser_i/tokens/tkpstam2.cxx
index 90978c10ae2b..97b0d723a15c 100644
--- a/autodoc/source/parser_i/tokens/tkpstam2.cxx
+++ b/autodoc/source/parser_i/tokens/tkpstam2.cxx
@@ -72,7 +72,6 @@ StateMachin2::AddToken( const char * in_sToken,
if (csv::no_str(in_sToken))
return;
- // Durch existierende Stati durchhangeln:
nCurrentStatus = 0;
nPeekedStatus = 0;