Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi,

I have added four files inside the libs-core directory. Find my changes in the 
attachment.
I hope every thing works with the patch. This is my first patch with git.

Regards,
Andreas
-- 
## Content Developer OpenOffice.org: lang/DE
## Freie Office-Suite für Linux, Mac, Windows, Solaris
## http://de.openoffice.org
## OpenOffice.org Portable: http://oooportable.org
## OOoPDFConverter: http://ooopdfconverter.sourceforge.net
## Meine Seite: http://www.amantke.de 
r
From 04160807ec2f8c2e6835d6ff37b0309e6e2aae13 Mon Sep 17 00:00:00 2001
From: Andreas Mantke <andi@linux-87ht.site>
Date: Wed, 29 Sep 2010 16:40:12 +0200
Subject: [PATCH] the German comments translated to English

---
 basic/inc/basic/basmgr.hxx |    4 ++--
 basic/inc/basic/sbmeth.hxx |    2 +-
 basic/inc/basic/sbx.hxx    |    6 +++---
 basic/inc/basic/sbxdef.hxx |   22 +++++++++++-----------
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx
index 886aa7f..18b851d 100644
--- a/basic/inc/basic/basmgr.hxx
+++ b/basic/inc/basic/basmgr.hxx
@@ -166,7 +166,7 @@ protected:
     BasicLibInfo*      FindLibInfo( StarBASIC* pBasic ) const;
     void                       CheckModules( StarBASIC* pBasic, BOOL bReference ) const;
     void                       SetFlagToAllLibs( short nFlag, BOOL bSet ) const;
-                    BasicManager();    // Nur zum anpassen von Pfaden bei 'Speichern unter'.
+                    BasicManager();    // This is used only to customize the paths of 'Save as'.
                     ~BasicManager();
 
 public:
@@ -211,7 +211,7 @@ public:
     BOOL                   LoadLib( USHORT nLib );
     BOOL                   RemoveLib( USHORT nLib, BOOL bDelBasicFromStorage );
 
-    // Modify-Flag wird nur beim Speichern zurueckgesetzt.
+    // Modify-Flag will be reset only during save.
     BOOL                   IsModified() const;
     BOOL                   IsBasicModified() const;
 
diff --git a/basic/inc/basic/sbmeth.hxx b/basic/inc/basic/sbmeth.hxx
index 38319ac..7b3cd4d 100644
--- a/basic/inc/basic/sbmeth.hxx
+++ b/basic/inc/basic/sbmeth.hxx
@@ -71,7 +71,7 @@ public:
     void         SetDebugFlags( USHORT n )  { nDebugFlags = n;    }
     void         GetLineRange( USHORT&, USHORT& );
 
-    // Schnittstelle zum Ausfuehren einer Methode aus den Applikationen
+    // Interface to execute a method from the applications
     virtual ErrCode Call( SbxValue* pRet = NULL );
     virtual void Broadcast( ULONG nHintId );
 };
diff --git a/basic/inc/basic/sbx.hxx b/basic/inc/basic/sbx.hxx
index 647aeea..4dc2fbd 100644
--- a/basic/inc/basic/sbx.hxx
+++ b/basic/inc/basic/sbx.hxx
@@ -158,9 +158,9 @@ public:
 #ifndef __SBX_SBXARRAY
 #define __SBX_SBXARRAY
 
-// SbxArray ist ein eindimensionales, dynamisches Array
-// von SbxVariablen. Put()/Insert() konvertieren die Variablen in den
-// angegebenen Datentyp, falls er nicht SbxVARIANT ist.
+// SbxArray is an unidimensional, dynamic Array
+// The variables convert from SbxVariablen. Put()/Insert() into the
+// declared datatype, if they are not SbxVARIANT.
 
 class SbxVarRefs;
 class SbxVariableRef;
diff --git a/basic/inc/basic/sbxdef.hxx b/basic/inc/basic/sbxdef.hxx
index 42117ce..98c26bc 100644
--- a/basic/inc/basic/sbxdef.hxx
+++ b/basic/inc/basic/sbxdef.hxx
@@ -67,7 +67,7 @@ enum SbxDataType {
     SbxOBJECT     =  9,        // * SbxBase object pointer
     SbxERROR      = 10,        // * Error (UINT16)
     SbxBOOL              = 11, // * Boolean (0 or -1)
-    SbxVARIANT    = 12,        // * Anzeige fuer varianten Datentyp
+    SbxVARIANT    = 12,        // * Display for variant datatype
     SbxDATAOBJECT = 13,        // * Common data object w/o ref count
 
     SbxCHAR              = 16, // * signed char
@@ -86,9 +86,9 @@ enum SbxDataType {
     SbxUSERDEF   = 29, //   user defined
     SbxLPSTR     = 30, // * null terminated string
     SbxLPWSTR    = 31, //   wide null terminated string
-    SbxCoreSTRING = 32,        //   AB 10.4.97, fuer GetCoreString(), nur zum Konvertieren
-    SbxWSTRING   = 33, //   AB 4.10.2000 Reimplemented for backwards compatibility (#78919)
-    SbxWCHAR     = 34, //   AB 4.10.2000 Reimplemented for backwards compatibility (#78919)
+    SbxCoreSTRING = 32,        //   from 1997/4/10 for GetCoreString(), only for converting
+    SbxWSTRING   = 33, //   from 2000/10/4 Reimplemented for backwards compatibility (#78919)
+    SbxWCHAR     = 34, //   from 2000/10/4 Reimplemented for backwards compatibility (#78919)
     SbxSALINT64          = 35, //   for UNO hyper
     SbxSALUINT64  = 36,        //   for UNO unsigned hyper
     SbxDECIMAL    = 37,        //   for UNO/automation Decimal
@@ -155,7 +155,7 @@ enum SbxNameType {                          // Type of the questioned name of a 
variable
 
 #endif
 
-// AB: 20.3.96: New error messages
+// from 1996/3/20: New error messages
 typedef ULONG SbxError;                        // Preserve old type
 
 #endif
@@ -189,7 +189,7 @@ typedef ULONG SbxError;                     // Preserve old type
 #define ERRCODE_SBX_BAD_INDEX                              (12UL | ERRCODE_AREA_SBX | \
                                                 ERRCODE_CLASS_SBX)                             // 
Invalid object index
 #define ERRCODE_SBX_NO_ACTIVE_OBJECT               (13UL | ERRCODE_AREA_SBX | \
-                                                ERRCODE_CLASS_ACCESS)                  // Object 
ist not activated
+                                                ERRCODE_CLASS_ACCESS)                  // Object 
is not activated
 #define ERRCODE_SBX_BAD_PROP_VALUE                         (14UL | ERRCODE_AREA_SBX | \
                                                 ERRCODE_CLASS_RUNTIME)                 // Bad 
property value
 #define ERRCODE_SBX_PROP_READONLY                          (15UL | ERRCODE_AREA_SBX | \
@@ -270,7 +270,7 @@ enum SbxError {                                     // Ergebnis einer 
Rechenoperation/Konversion
     SbxERR_BOUNDS = 9,                 // Array-Index ungueltig
     SbxERR_ZERODIV = 11,               // Division durch Null
     SbxERR_CONVERSION = 13,            // falscher Datentyp
-    SbxERR_BAD_PARAMETER = 14, // ung�ltiger Parameter
+    SbxERR_BAD_PARAMETER = 14, // ung�ltiger Parameter
     SbxERR_PROC_UNDEFINED = 35,        // BASIC-Sub oder Function undefiniert
     SbxERR_ERROR = 51,                 // andere Fehler
                                 // Objektbezogene Fehler
@@ -285,15 +285,15 @@ enum SbxError {                                   // Ergebnis einer 
Rechenoperation/Konversion
     SbxERR_NO_METHOD = 423,            // Property oder Methode unbekannt
     SbxERR_INVALID_USAGE_OBJECT=425,// Falsche Verwendung eines Objekts
     SbxERR_NO_OLE = 430,               // Kein OLE-Objekt
-    SbxERR_BAD_METHOD = 438,   // Methode nicht unterst�tzt
+    SbxERR_BAD_METHOD = 438,   // Methode nicht unterst�tzt
     SbxERR_OLE_ERROR = 440,            // OLE Automation-Fehler
-    SbxERR_BAD_ACTION = 445,           // Aktion nicht unterst�tzt
+    SbxERR_BAD_ACTION = 445,           // Aktion nicht unterst�tzt
     SbxERR_NO_NAMED_ARGS = 446,        // Keine benannten Argumente
-    SbxERR_BAD_LOCALE = 447,   // Laenderspezifische Einstellungen nicht unterst�tzt
+    SbxERR_BAD_LOCALE = 447,   // Laenderspezifische Einstellungen nicht unterst�tzt
     SbxERR_NAMED_NOT_FOUND = 448,// Unbekanntes benanntes Argument
     SbxERR_NOT_OPTIONAL        = 449,  // Argument nicht optional
     SbxERR_WRONG_ARGS = 450,   // Falsche Zahl von Argumenten
-    SbxERR_NOT_A_COLL = 451            // Objekt enth�lt keine Elemente
+    SbxERR_NOT_A_COLL = 451            // Objekt enth�lt keine Elemente
 };
 */
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.