[Libreoffice-commits] .: autodoc/source basctl/source basic/source

Stefan Knorr astron at kemper.freedesktop.org
Mon Dec 12 13:37:03 PST 2011


 autodoc/source/parser/cpp/all_toks.hxx |    4 ++--
 basctl/source/basicide/baside2.cxx     |    2 +-
 basctl/source/basicide/macrodlg.cxx    |    2 +-
 basic/source/classes/sb.cxx            |    2 +-
 basic/source/classes/sbunoobj.cxx      |   10 +++++-----
 basic/source/classes/sbxmod.cxx        |    2 +-
 basic/source/inc/parser.hxx            |    2 +-
 basic/source/runtime/methods.cxx       |    6 +++---
 basic/source/runtime/runtime.cxx       |    2 +-
 basic/source/sbx/sbxobj.cxx            |    2 +-
 basic/source/sbx/sbxvalue.cxx          |    2 +-
 basic/source/sbx/sbxvar.cxx            |    4 ++--
 12 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 583582c5bf11abf04393c378131be75f14a46922
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Dec 12 22:35:05 2011 +0100

    German translations
    
    By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch

diff --git a/autodoc/source/parser/cpp/all_toks.hxx b/autodoc/source/parser/cpp/all_toks.hxx
index 4aeae6e..1531dd7 100644
--- a/autodoc/source/parser/cpp/all_toks.hxx
+++ b/autodoc/source/parser/cpp/all_toks.hxx
@@ -189,8 +189,8 @@ class Tok_UnblockMacro : public ::TextToken
 class Tok_TypeKey : public cpp::Token                  // file-><type-PE>
 class Tok_Template : public cpp::Token                 // file
 class Tok_Namespace : public cpp::Token                // file
-class Tok_Bracket : public cpp::Token                  // ueberall
-class Tok_Separator : public cpp::Token                // ueberall
+class Tok_Bracket : public cpp::Token                  // everywhere
+class Tok_Separator : public cpp::Token                // everywhere
 
 class Tok_Identifier : public cpp::Token               // ueberall
 class Tok_NameSeparator : public cpp::Token            // Type, Name
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index cf245ca..7adc866 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -248,7 +248,7 @@ void ModulWindow::Resize()
 }
 
 
-// "Import" von baside4.cxx
+// "Import" of baside4.cxx
 void CreateEngineForBasic( StarBASIC* pBasic );
 
 void ModulWindow::CheckCompileBasic()
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index 0ddc22d..dea7cc0 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -36,7 +36,7 @@
 #include <macrodlg.hrc>
 #include <basidesh.hrc>
 #include <basidesh.hxx>
-#include <baside2.hrc>      // ID's fuer Imagese
+#include <baside2.hrc>      // ID's for Images
 #include <basobj.hxx>
 #include <baside3.hxx>
 
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index 0256f88..09be4c7 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1455,7 +1455,7 @@ sal_Bool StarBASIC::IsCompilerError()       { return GetSbData()->bCompiler; }
 // through the table SFX_VB_ErrorTab[]. This is indeed not with good performance,
 // but it consumes much less memory than corresponding switch blocs.
 // Because the conversion of error codes has not to be fast. there is no
-// binaere search by VB-Error -> SFX-Error.
+// binary search by VB Error -> Error SFX.
 
 // Map back new error codes to old, Sbx-compatible
 sal_uInt16 StarBASIC::GetVBErrorCode( SbError nError )
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 605de05..b2b6ffd 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2471,7 +2471,7 @@ void SbUnoObject::doIntrospection( void )
 
     if( !mxUnoAccess.is() )
     {
-        // #51475 mark an invalid objekt kennzeichnen (no mxMaterialHolder)
+        // #51475 mark to indicate an invalid object (no mxMaterialHolder)
         return;
     }
 
@@ -2701,9 +2701,9 @@ SbxVariable* SbUnoObject::Find( const String& rName, SbxClassType t )
                     {
                         Any aAny = xNameAccess->getByName( aUName2 );
 
-                        // ATTENTION: Die hier erzeugte Variable darf wegen bei XNameAccess
-                        // nicht als feste Property in das Object aufgenommen werden und
-                        // wird daher nirgendwo gehalten.
+                        // ATTENTION: Because of XNameAccess, the variable generated here
+                        // may not be included as a fixed property in the object and therefore
+                        // won't be stored anywhere.
                         // If this leads to problems, it has to be created synthetically or
                         // a class SbUnoNameAccessProperty, whose existence had to be checked
                         // constantly and which were if necessary thrown away
@@ -2972,7 +2972,7 @@ void RTL_Impl_CreateUnoStruct( StarBASIC* pBasic, SbxArray& rPar, sal_Bool bWrit
     if( !xUnoObj )
         return;
 
-    // return the objekt
+    // return the object
     SbxVariableRef refVar = rPar.Get(0);
     refVar->PutObject( (SbUnoObject*)xUnoObj );
 }
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index e659245..07194fa 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1986,7 +1986,7 @@ void SbModule::handleProcedureProperties( SfxBroadcaster& rBC, const SfxHint& rH
 }
 
 
-// Implementation SbJScriptModule (Basic-Modul fuer JavaScript-Sourcen)
+// Implementation SbJScriptModule (Basic module for JavaScript source code)
 SbJScriptModule::SbJScriptModule( const String& rName )
     :SbModule( rName )
 {
diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx
index c17c99d..33d8e45 100644
--- a/basic/source/inc/parser.hxx
+++ b/basic/source/inc/parser.hxx
@@ -84,7 +84,7 @@ public:
     sal_Bool          bClassModule;     // sal_True: OPTION ClassModule
     StringVector  aIfaceVector;     // Holds all interfaces implemented by a class module
     StringVector  aRequiredTypes;   // Types used in Dim As New <type> outside subs
-    SbxDataType   eDefTypes[26];    // DEFxxx-Datentypen
+    SbxDataType   eDefTypes[26];    // DEFxxx data types
 
     SbiParser( StarBASIC*, SbModule* );
     sal_Bool Parse();
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index b5a04c0..b98c586 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -3222,9 +3222,9 @@ RTLFUNC(Rnd)
 //  WindowStyles (VBA-kompatibel):
 //      2 == Minimized
 //      3 == Maximized
-//     10 == Full-Screen (Textmodus-Anwendungen OS/2, WIN95, WNT)
-// !!!HACK der WindowStyle wird im Creator an Application::StartApp
-//         uebergeben. Format: "xxxx2"
+//     10 == Full-Screen (text mode applications OS/2, WIN95, WNT)
+//     HACK: The WindowStyle will be passed to
+//     Application::StartApp in Creator. Format: "xxxx2"
 
 
 RTLFUNC(Shell)
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 53f104e..fe2e769 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -196,7 +196,7 @@ SbiRuntime::pStep2 SbiRuntime::aStep2[] = {// all opcodes with two operands
     &SbiRuntime::StepSTMNT,         // beginning of a statement (+Line+Col)
     // E/A
     &SbiRuntime::StepOPEN,          // (+SvStreamFlags+Flags)
-    // Objekte
+    // Objects
     &SbiRuntime::StepLOCAL,     // define local variable (+StringId+Typ)
     &SbiRuntime::StepPUBLIC,        // module global variable (+StringID+Typ)
     &SbiRuntime::StepGLOBAL,        // define global variable (+StringID+Typ)
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 3afe8ca..81574ef 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -250,7 +250,7 @@ SbxVariable* SbxObject::Find( const XubString& rName, SbxClassType t )
             pRes = pArray->Find( rName, t );
     }
     // ExtendedsSearch in the Object-Array?
-    // For objects and DontCare is the Objektarray already
+    // For objects and DontCare is the array of objects already
     // searched through
     if( !pRes && ( t == SbxCLASS_METHOD || t == SbxCLASS_PROPERTY ) )
         pRes = pObjs->Find( rName, t );
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 2c36ce5..0d6aa84 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -1655,7 +1655,7 @@ sal_Bool SbxValue::StoreData( SvStream& r ) const
         case SbxUSHORT:
             r << aData.nUShort; break;
         case SbxOBJECT:
-            // to save itself as Objektptr doesn't work!
+            // to save itself as Objectptr does not work!
             if( aData.pObj )
             {
                 if( PTR_CAST(SbxValue,aData.pObj) != this )
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index f297476..58b3cb7 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -45,7 +45,7 @@ using namespace com::sun::star::uno;
 TYPEINIT1(SbxVariable,SbxValue)
 TYPEINIT1(SbxHint,SfxSimpleHint)
 
-extern sal_uInt32 nVarCreator;          // in SBXBASE.CXX, fuer LoadData()
+extern sal_uInt32 nVarCreator;          // in SBXBASE.CXX, for LoadData()
 #ifdef DBG_UTIL
 static sal_uIntPtr nVar = 0;
 #endif
@@ -174,7 +174,7 @@ void SbxVariable::Broadcast( sal_uIntPtr nHintId )
 {
     if( pCst && !IsSet( SBX_NO_BROADCAST ) )
     {
-        // Because the method could be called from outside, check the Da die Methode von aussen aufrufbar ist, hier noch einmal
+        // Because the method could be called from outside, check the
         // rights here again
         if( nHintId & SBX_HINT_DATAWANTED )
             if( !CanRead() )


More information about the Libreoffice-commits mailing list