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


Hi

Some translations of german comments.

Its my first patch to LO so something may be missing?


gerhard
From 8a6431891604f6be5676003470d4240a4a1c4902 Mon Sep 17 00:00:00 2001
From: gerhard oettl <gerhard.oettl@ogersoft.at>
Date: Mon, 27 Aug 2012 09:39:35 +0200
Subject: [PATCH 1/1] fdo#39468: Translated German comments in sc/source/core/inc
Content-Type: text/plain; charset="utf-8"

---
 sc/source/core/inc/adiasync.hxx |   20 ++++++++++----------
 sc/source/core/inc/ddelink.hxx  |   14 +++++++-------
 sc/source/core/inc/interpre.hxx |   18 +++++++++---------
 3 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx
index 54625c8..fe4863d 100644
--- a/sc/source/core/inc/adiasync.hxx
+++ b/sc/source/core/inc/adiasync.hxx
@@ -49,20 +49,20 @@ class ScAddInAsync : public SvtBroadcaster
 private:
     union
     {
-        double      nVal;               // aktueller Wert
+        double      nVal;               // current value
         String*     pStr;
     };
-    ScAddInDocs*    pDocs;              // Liste der benutzenden Dokumente
-    FuncData*       mpFuncData;          // Zeiger auf die Daten in der Collection
-    sal_uLong           nHandle;            // wird von double auf sal_uLong gecasted
-    ParamType       meType;              // PTR_DOUBLE oder PTR_STRING Ergebnis
-    sal_Bool            bValid;             // ob Wert gueltig
+    ScAddInDocs*    pDocs;              // list of using documents
+    FuncData*       mpFuncData;         // pointer to files in collection
+    sal_uLong       nHandle;            // is casted from double to sal_uLong
+    ParamType       meTypce;            // result of type PTR_DOUBLE or PTR_STRING
+    sal_Bool        bValid;             // marker if value is valid

 public:
-    // cTor nur wenn ScAddInAsync::Get fehlschlaegt!
-    // nIndex: Index aus der FunctionCollection
+    // cTor only if ScAddInAsync::Get fails!
+    // nIndex: Index from FunctionCollection
     ScAddInAsync(sal_uLong nHandle, FuncData* pFuncData, ScDocument* pDoc);
-                    // default-cTor nur fuer das eine globale aSeekObj !!!
+                    // default-cTor only for that one aSeekObj !!!
                     ScAddInAsync();
     virtual         ~ScAddInAsync();
     static ScAddInAsync*    Get( sal_uLong nHandle );
@@ -76,7 +76,7 @@ public:
                         { return pDocs->find( pDoc ) != pDocs->end(); }
     void            AddDocument( ScDocument* pDoc ) { pDocs->insert( pDoc ); }

-    // Vergleichsoperatoren fuer PtrArrSort
+    // Comparator for PtrArrSort
     bool operator< ( const ScAddInAsync& r ) const { return nHandle <  r.nHandle; }
     bool operator==( const ScAddInAsync& r ) const { return nHandle == r.nHandle; }
 };
diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx
index 216d6d6..eeb9108 100644
--- a/sc/source/core/inc/ddelink.hxx
+++ b/sc/source/core/inc/ddelink.hxx
@@ -46,14 +46,14 @@ static sal_Bool bIsInUpdate;

     ScDocument*     pDoc;

-    String          aAppl;          // Verbindungsdaten
+    String          aAppl;          // connection/link data
     String          aTopic;
     String          aItem;
-    sal_uInt8           nMode;          // Zahlformat-Modus
+    sal_uInt8       nMode;          // number format mode

-    sal_Bool            bNeedUpdate;    // wird gesetzt, wenn Update nicht moeglich war
+    sal_Bool        bNeedUpdate;    // is set, if update was not possible

-    ScMatrixRef     pResult;        // Ergebnis
+    ScMatrixRef     pResult;

 public:
     TYPEINFO();
@@ -67,14 +67,14 @@ public:

     void            Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const;

-                                            // von SvBaseLink ueberladen:
+                                            // overloaded by SvBaseLink:
     virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
         const String& rMimeType, const ::com::sun::star::uno::Any & rValue );

-                                            // von SvtBroadcaster ueberladen:
+                                            // overloaded by SvtBroadcaster:
     virtual void    ListenersGone();

-                                            // fuer Interpreter:
+                                            // for interpreter:

     const ScMatrix* GetResult() const           { return pResult.get(); }
     void            SetResult( ScMatrixRef pRes ) { pResult = pRes; }
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 3affc4e..9ac3ea5 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -102,7 +102,7 @@ public:
     static void SetGlobalConfig(const ScCalcConfig& rConfig);
     static const ScCalcConfig& GetGlobalConfig();

-    static void GlobalExit();           // aus ScGlobal::Clear() gerufen
+    static void GlobalExit();           // called by ScGlobal::Clear()

     /// Could string be a regular expression?
     /// If pDoc!=NULL the document options are taken into account and if
@@ -173,7 +173,7 @@ void PushIllegalArgument();
 void PushNoValue();
 void PushNA();
 //-------------------------------------------------------------------------
-// Funktionen fuer den Zugriff auf das Document
+// Functions for accessing the document
 //-------------------------------------------------------------------------
 void ReplaceCell( ScAddress& );     // for TableOp
 void ReplaceCell( SCCOL& rCol, SCROW& rRow, SCTAB& rTab );  // for TableOp
@@ -350,10 +350,10 @@ ScMatrixRef CreateMatrixFromDoubleRef( const formula::FormulaToken* pToken,
 inline ScTokenMatrixMap& GetTokenMatrixMap();
 ScTokenMatrixMap* CreateTokenMatrixMap();
 ScMatrixRef GetMatrix();
-void ScTableOp();                                       // Mehrfachoperationen
-void ScErrCell();                                       // Sonderbehandlung
-                                                        // Fehlerzelle
-//-----------------------------allgemeine Hilfsfunktionen
+void ScTableOp();                                       // repeated operations
+void ScErrCell();                                       // special handling
+                                                        // error cell
+//----------------------------- common helper functions
 void SetMaxIterationCount(sal_uInt16 n);
 inline void CurFmtToFuncFmt()
     { nFuncFmtType = nCurFmtType; nFuncFmtIndex = nCurFmtIndex; }
@@ -615,7 +615,7 @@ void ScDecimal();
 void ScConvert();
 void ScEuroConvert();

-//----------------------- Finanzfunktionen ------------------------------------
+//----------------------- Financial functions ------------------------------------
 void ScNPV();
 void ScIRR();
 void ScMIRR();
@@ -656,11 +656,11 @@ void ScNominal();
 void ScMod();
 void ScBackSolver();
 void ScIntercept();
-//-------------------------Funktionen in interpr5.cxx--------------------------
+//------------------------- Functions in interpr5.cxx--------------------------
 double ScGetGCD(double fx, double fy);
 void ScGCD();
 void ScLCM();
-//-------------------------- Matrixfunktionen ---------------------------------
+//-------------------------- matrix functions ---------------------------------

 void ScMatValue();
 void MEMat(const ScMatrixRef& mM, SCSIZE n);
--
1.7.2.5

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.