[Libreoffice] [PATCH] translated comments from german to english
Some more translated files. This and subsequent contributions submitted under LGPL3+ / MPL. Winfried 0001-german-comments-translated-to-english.patch Description: 0001-german-comments-translated-to-english.patch ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PATCH] Translated comments from German to English / Removed unnecessary comments
Hi, some translations and removed comments. Christina >From 35effb9535c170a3bedbb55b941d5d59b4aac8cb Mon Sep 17 00:00:00 2001 From: Christina Rossmanith Date: Tue, 11 Jan 2011 21:53:29 +0100 Subject: [PATCH] Translated comments from German to English / Removed unnecessary comments --- sc/inc/drwlayer.hxx | 15 +++ sc/inc/editutil.hxx | 18 ++ sc/inc/fielduno.hxx |6 +++--- sc/inc/filter.hxx | 48 ++-- 4 files changed, 38 insertions(+), 49 deletions(-) diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx index 3429f10..baa8098 100644 --- a/sc/inc/drwlayer.hxx +++ b/sc/inc/drwlayer.hxx @@ -74,8 +74,8 @@ public: // --- // -// Das Anpassen der Detektiv-UserData muss zusammen mit den Draw-Undo's -// in der SdrUndoGroup liegen, darum von SdrUndoAction abgeleitet: +// Adjusting of detective UserData and draw undo's both have to be in SdrUndoGroup; +// therefore derived from SdrUndoAction class ScUndoObjData : public SdrUndoObj { @@ -133,17 +133,17 @@ public: void ScRemovePage( SCTAB nTab ); void ScRenamePage( SCTAB nTab, const String& rNewName ); void ScMovePage( USHORT nOldPos, USHORT nNewPos ); -// inkl. Inhalt, bAlloc=FALSE -> nur Inhalt +// incl. content, bAlloc=FALSE -> only content void ScCopyPage( USHORT nOldPos, USHORT nNewPos, BOOL bAlloc ); ScDocument* GetDocument() const { return pDoc; } -void UpdateBasic();// DocShell-Basic in DrawPages setzen +void UpdateBasic();// set DocShell Basic in DrawPages void UseHyphenator(); BOOL GetPrintArea( ScRange& rRange, BOOL bSetHor, BOOL bSetVer ) const; -// automatische Anpassungen +// automatical adjustments void EnableAdjust( BOOL bSet = TRUE ) { bAdjustEnabled = bSet; } @@ -188,11 +188,10 @@ public: String GetNewGraphicName( long* pnCounter = NULL ) const; void EnsureGraphicNames(); -// Verankerung setzen und ermitteln static void SetAnchor( SdrObject*, ScAnchorType ); static ScAnchorType GetAnchor( const SdrObject* ); -// Positionen fuer Detektivlinien +// positions for detektive lines static ScDrawObjData* GetObjData( SdrObject* pObj, BOOL bCreate=FALSE ); // The sheet information in ScDrawObjData isn't updated when sheets are inserted/deleted. @@ -215,7 +214,7 @@ public: static ScMacroInfo* GetMacroInfo( SdrObject* pObj, BOOL bCreate = FALSE ); private: -static SfxObjectShell* pGlobalDrawPersist; // fuer AllocModel +static SfxObjectShell* pGlobalDrawPersist; // for AllocModel public: static void SetGlobalDrawPersist(SfxObjectShell* pPersist); protected: diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 2d8c307..e6abedc 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -51,7 +51,7 @@ class ScEditUtil SCROW nRow; SCTAB nTab; Point aScrPos; -OutputDevice* pDev; // MapMode muss eingestellt sein +OutputDevice* pDev; // MapMode has to be set double nPPTX; double nPPTY; Fraction aZoomX; @@ -178,8 +178,6 @@ private: void Init(const ScPatternAttr& rPattern); public: ScTabEditEngine( ScDocument* pDoc ); // Default -// pEnginePool = ScDocument.GetEnginePool() -// pTextObjectPool = ScDocument.GetEditPool() ScTabEditEngine( const ScPatternAttr& rPattern, SfxItemPool* pEnginePool, SfxItemPool* pTextObjectPool = NULL ); @@ -188,9 +186,9 @@ public: struct ScHeaderFieldData { -String aTitle;// Titel oder Dateiname wenn kein Titel -String aLongDocName; // Pfad und Dateiname -String aShortDocName; // nur Dateiname +String aTitle;// title or file name (if no title) +String aLongDocName; // path and file name +String aShortDocName; // pure file name String aTabName; Date aDate; Time aTime; @@ -202,15 +200,13 @@ struct ScHeaderFieldData }; -// fuer Feldbefehle in der Tabelle +// for field commands (or just fields?) in a table class SC_DLLPUBLIC ScFieldEditEngine : public ScEditEngineDefaulter { private: BOOL bExecuteURL; public: -// pEnginePool = ScDocument.GetEnginePool() -// pTextObjectPool = ScDocument.GetEditPool() ScFieldEditEngine( SfxItemPool* pEnginePool, SfxItemPool* pTextObjectPool = NULL, BOOL bDeleteEnginePool = FALSE ); @@ -249,15 +245,13 @@ class ScNoteEditEngine : public ScEditEngineDefaulter { public: -// pEnginePool = ScDocument.GetEnginePool() -// pTextObjectPool = ScDocument.GetEditPool() ScNoteEditEngine( SfxItemPool* pEnginePool, SfxItemPool* pTextObjectPool = NULL, BOOL bDeleteEnginePool = FALSE ); };
[Libreoffice] [PATCH] Translated comments from German to English
Hi, I started with a fresh clone this evening and reapplied my changes. So this patch is meant for pushing :-) Christina >From 897639961ab86d9aa7b50a91acea19c3d47b8106 Mon Sep 17 00:00:00 2001 From: Christina Rossmanith Date: Sat, 8 Jan 2011 23:09:47 +0100 Subject: [PATCH] Translated comments from German to English --- sc/inc/dbcolect.hxx | 18 sc/inc/dociter.hxx | 39 sc/inc/docoptio.hxx | 28 ++-- sc/inc/docpool.hxx |2 +- sc/inc/document.hxx | 120 ++- 5 files changed, 105 insertions(+), 102 deletions(-) diff --git a/sc/inc/dbcolect.hxx b/sc/inc/dbcolect.hxx index 95d2649..8715505 100644 --- a/sc/inc/dbcolect.hxx +++ b/sc/inc/dbcolect.hxx @@ -108,18 +108,18 @@ private: SCCOL nSubTotals[MAXSUBTOTAL]; SCCOL* pSubTotals[MAXSUBTOTAL]; ScSubTotalFunc* pFunctions[MAXSUBTOTAL]; -// Datenbank-Import +// data base import BOOL bDBImport; String aDBName; String aDBStatement; BOOL bDBNative; -BOOL bDBSelection; // nicht im Param: Wenn Selektion, Update sperren -BOOL bDBSql;// aDBStatement ist SQL und kein Name -BYTE nDBType; // enum DBObject (bisher nur dbTable, dbQuery) +BOOL bDBSelection; // not in Param: if selection, block update +BOOL bDBSql;// aDBStatement is SQL not a name +BYTE nDBType; // enum DBObject (up to now only dbTable, dbQuery) -USHORT nIndex; // eindeutiger Index fuer Formeln -BOOL bAutoFilter; // AutoFilter? (nicht gespeichert) -BOOL bModified; // wird bei UpdateReference gesetzt/geloescht +USHORT nIndex; // unique index formulas +BOOL bAutoFilter; // AutoFilter? (not saved) +BOOL bModified; // is set/cleared for/by(?) UpdateReference using ScRefreshTimer::operator==; @@ -201,13 +201,13 @@ class SC_DLLPUBLIC ScDBCollection : public ScSortedCollection private: Link aRefreshHandler; ScDocument* pDoc; -USHORT nEntryIndex; // Zaehler fuer die eindeutigen Indizes +USHORT nEntryIndex; // counter for unique indices public: ScDBCollection(USHORT nLim = 4, USHORT nDel = 4, BOOL bDup = FALSE, ScDocument* pDocument = NULL) : ScSortedCollection ( nLim, nDel, bDup ), pDoc( pDocument ), -nEntryIndex ( SC_START_INDEX_DB_COLL ) // oberhalb der Namen +nEntryIndex ( SC_START_INDEX_DB_COLL ) // above the names {} ScDBCollection(const ScDBCollection& rScDBCollection) : ScSortedCollection ( rScDBCollection ), diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 0c1b06a..0159357 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -49,7 +49,7 @@ class ScAttrIterator; class ScRange; class ScFlatBoolRowSegments; -class ScDocumentIterator// alle nichtleeren Zellen durchgehen +class ScDocumentIterator// walk through all non-empty cells { private: ScDocument*pDoc; @@ -83,13 +83,13 @@ public: void GetPos( SCCOL& rCol, SCROW& rRow, SCTAB& rTab ); }; -class ScValueIterator// alle Zahlenwerte in einem Bereich durchgehen +class ScValueIterator// walk through all values in an area { private: double fNextValue; ScDocument* pDoc; const ScAttrArray* pAttrArray; -ULONG nNumFormat; // fuer CalcAsShown +ULONG nNumFormat; // for CalcAsShown ULONG nNumFmtIndex; SCCOL nStartCol; SCROW nStartRow; @@ -218,9 +218,9 @@ public: // -class ScCellIterator// alle Zellen in einem Bereich durchgehen -{// bei SubTotal aber keine ausgeblendeten und -private: // SubTotalZeilen +class ScCellIterator// walk through all cells in an area +{// for SubTotal no hidden and no sub-total lines +private: ScDocument* pDoc; SCCOL nStartCol; SCROW nStartRow; @@ -250,8 +250,8 @@ public: ScAddress GetPos() const { return ScAddress( nCol, nRow, nTab ); } }; -class ScQueryCellIterator // alle nichtleeren Zellen in einem Bereich -{ // durchgehen +class ScQueryCellIterator // walk through all non-empty cells in an area +{ enum StopOnMismatchBits { nStopOnMismatchDisabled = 0x00, @@ -299,15 +299,15 @@ private: public: ScQueryCellIterator(ScDocument* pDocument, SCTAB nTable, const ScQueryParam& aParam, BOOL bMod = TRUE); -// fuer bMod = FALSE muss der QueryParam -// weiter aufgefuellt sein (bIsString) +// for bMod = FALSE the QueryParam has to be filled +// (bIsString) ScBaseCell* GetFirst(
[Libreoffice] [PATCH] Translated comments from German to English
...some more translations. Christina Rossmanith >From b28f7f1929c2b9204427f105f87a747dd1075c51 Mon Sep 17 00:00:00 2001 From: Christina Rossmanith Date: Tue, 4 Jan 2011 22:20:29 +0100 Subject: [PATCH] Translated comments from German to English --- sc/inc/chgtrack.hxx | 59 -- sc/inc/column.hxx | 24 ++-- sc/inc/conditio.hxx | 40 +- sc/inc/consoli.hxx | 25 ++--- sc/inc/datauno.hxx | 42 ++-- 5 files changed, 98 insertions(+), 92 deletions(-) diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx index b1984b0..6ddc527 100644 --- a/sc/inc/chgtrack.hxx +++ b/sc/inc/chgtrack.hxx @@ -1264,50 +1264,57 @@ public: SC_DLLPUBLIC voidUndo( ULONG nStartAction, ULONG nEndAction, bool bMerge = false ); -// for MergeDocument, adjust references, -//! may only be used in a temporary opened document -//! der Track ist danach verhunzt +// adjust references for MergeDocument +//! may only be used in a temporary opened document. +//! the Track (?) is unclean afterwards voidMergePrepare( ScChangeAction* pFirstMerge, bool bShared = false ); voidMergeOwn( ScChangeAction* pAct, ULONG nFirstMerge, bool bShared = false ); static BOOLMergeIgnore( const ScChangeAction&, ULONG nFirstMerge ); +// This comment was already really strange in German. +// Tried to structure it a little. Hope no information got lost... +// // Insert dependents into table. -// Bei Insert sind es echte Abhaengige, -// bei Move abhaengige Contents im FromRange -// und geloeschte im ToRange bzw. Inserts in -// FromRange oder ToRange, -// bei Delete eine Liste der geloeschten, -// bei Content andere Contents an gleicher -// Position oder MatrixReferences zu MatrixOrigin. -// Mit bListMasterDelete werden unter einem -// MasterDelete alle zu diesem Delete gehoerenden -// Deletes einer Reihe gelistet. -// Mit bAllFlat werden auch alle Abhaengigen -// der Abhaengigen flach eingefuegt. +// ScChangeAction is +// - "Insert": really dependents +// - "Move": dependent contents in FromRange / +// deleted contents in ToRange +// OR inserts in FromRange or ToRange +// - "Delete": a list of deleted (what?) +// OR for content, different contents at the same position +// OR MatrixReferences belonging to MatrixOrigin +// +// With bListMasterDelete (==TRUE ?) all Deletes of a row belonging +// to a MasterDelete are listed (possibly it is +// "all Deletes belonging...are listed in a row?) +// +// With bAllFlat (==TRUE ?) all dependents of dependents +// will be inserted flatly. + SC_DLLPUBLIC voidGetDependents( ScChangeAction*, ScChangeActionTable&, BOOL bListMasterDelete = FALSE, BOOL bAllFlat = FALSE ) const; -// Reject visible Action (und abhaengige) +// Reject visible action (and dependents) BOOLReject( ScChangeAction*, bool bShared = false ); -// Accept visible Action (und abhaengige) +// Accept visible action (and dependents) SC_DLLPUBLIC BOOLAccept( ScChangeAction* ); -voidAcceptAll(); // alle Virgins -BOOLRejectAll(); // alle Virgins +voidAcceptAll(); // all Virgins +BOOLRejectAll(); // all Virgins -// Selektiert einen Content von mehreren an -// gleicher Position und akzeptiert diesen und -// die aelteren, re
[Libreoffice] [PATCH] Translated comments from German to English.
Hi, my first patch... Christina Rossmanith >From 5967c1f8775734ecf63ac41c8e4766df2147bb7c Mon Sep 17 00:00:00 2001 From: cr Date: Mon, 3 Jan 2011 14:04:34 +0100 Subject: [PATCH] Translated comments from German to English. --- .../source/controller/dialogs/tp_TitleRotation.cxx |2 +- sc/inc/arealink.hxx|3 +- sc/inc/attrib.hxx | 20 ++-- sc/inc/bigrange.hxx|2 +- sc/inc/callform.hxx|4 +- sc/inc/cell.hxx| 17 +-- sc/inc/cellsuno.hxx| 32 ++-- sc/inc/chartpos.hxx| 18 ++-- sc/inc/chgtrack.hxx| 150 +--- 9 files changed, 117 insertions(+), 131 deletions(-) diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx index f21fa6a..697b3a0 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx @@ -91,7 +91,7 @@ SfxTabPage* SchAlignmentTabPage::CreateWithoutRotation(Window* pParent, BOOL SchAlignmentTabPage::FillItemSet(SfxItemSet& rOutAttrs) { -//Seit 4/1998 koennen Texte frei gedreht werden: SCHATTR_TEXT_DEGREES +//Since 04/1998 text can be rotated by an arbitrary angle: SCHATTR_TEXT_DEGREES bool bStacked = aOrientHlp.GetStackedState() == STATE_CHECK; rOutAttrs.Put( SfxBoolItem( SCHATTR_TEXT_STACKED, bStacked ) ); diff --git a/sc/inc/arealink.hxx b/sc/inc/arealink.hxx index ac46754..b45c207 100644 --- a/sc/inc/arealink.hxx +++ b/sc/inc/arealink.hxx @@ -51,8 +51,7 @@ private: ScRange aDestArea; BOOLbAddUndo; BOOLbInCreate; -BOOLbDoInsert; // wird fuer das erste Update auf FALSE gesetzt - +BOOLbDoInsert; // is set to FALSE for first update (Is that comment correct? Can't find statement containing "bDoInsert" and "FALSE" using grok) BOOL FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const String& rAreaName ); public: diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index 7ab362f..9200b88 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -38,8 +38,8 @@ // -// Flags fuer durch Merge verdeckte Zellen -// und Control fuer Auto-Filter +// flags for cells hidden by merge +// and control for auto filter #define SC_MF_HOR 0x0001 #define SC_MF_VER 0x0002 #define SC_MF_AUTO 0x0004 /// autofilter arrow @@ -161,7 +161,7 @@ public: // -// ScRangeItem: verwaltet einen Tabellenbereich +// ScRangeItem: manages an area of a table #define SCR_INVALID 0x01 #define SCR_ALLTABS 0x02 @@ -180,7 +180,7 @@ public: inline ScRangeItem& operator=( const ScRangeItem &rCpy ); -// "pure virtual Methoden" vom SfxPoolItem +// "pure virtual methods" from SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, @@ -201,7 +201,7 @@ private: }; inline ScRangeItem::ScRangeItem( const USHORT nWhichP ) -: SfxPoolItem( nWhichP ), nFlags( SCR_INVALID ) // == ungueltige Area +: SfxPoolItem( nWhichP ), nFlags( SCR_INVALID ) // == invalid area { } @@ -223,7 +223,7 @@ inline ScRangeItem& ScRangeItem::operator=( const ScRangeItem &rCpy ) } // -// ScTableListItem: verwaltet eine Liste von Tabellen +// ScTableListItem: manages a list of tables // class ScTableListItem : public SfxPoolItem { @@ -236,7 +236,7 @@ public: ScTableListItem& operator=( const ScTableListItem &rCpy ); -// "pure virtual Methoden" vom SfxPoolItem +// "pure virtual Methoden" from SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, @@ -255,7 +255,7 @@ inline ScTableListItem::ScTableListItem( const USHORT nWhichP ) {} // -// Seitenformat-Item: Kopf-/Fusszeileninhalte +// page format item: contents of header and footer #define SC_HF_LEFTAREA 1 #define SC_HF_CENTERAREA 2 @@ -290,13 +290,13 @@ public: void SetCenterArea( const Edit