[PATCH] Comment translation german - english
Matthias Freund (via Code Review)
gerrit at gerrit.libreoffice.org
Mon Feb 11 13:28:02 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2111
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/11/2111/1
Comment translation german - english
Change-Id: I241f9b6c1be875577e7bc647583783bc24446413
---
M sw/source/core/docnode/ndnum.cxx
M sw/source/core/docnode/ndsect.cxx
M sw/source/core/draw/dpage.cxx
M sw/source/core/draw/drawdoc.cxx
4 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/sw/source/core/docnode/ndnum.cxx b/sw/source/core/docnode/ndnum.cxx
index 86d3e44..91b861ec 100644
--- a/sw/source/core/docnode/ndnum.cxx
+++ b/sw/source/core/docnode/ndnum.cxx
@@ -21,7 +21,7 @@
#include <doc.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <fldbas.hxx> // UpdateFlds der KapitelNummerierung
+#include <fldbas.hxx> // UpdateFlds of the chapter numbering
#include <docary.hxx>
bool CompareSwOutlineNodes::operator()( SwNode* const& lhs, SwNode* const& rhs) const
@@ -67,20 +67,20 @@
pTxtNd->UpdateOutlineState();
- // die Gliederungs-Felder Updaten
+ // update the structure fields
GetDoc()->GetSysFldType( RES_CHAPTERFLD )->UpdateFlds();
}
}
void SwNodes::UpdtOutlineIdx( const SwNode& rNd )
{
- if( pOutlineNds->empty() ) // keine OutlineNodes vorhanden ?
+ if( pOutlineNds->empty() ) // no OutlineNodes present ?
return;
const SwNodePtr pSrch = (SwNodePtr)&rNd;
sal_uInt16 nPos;
pOutlineNds->Seek_Entry( pSrch, &nPos );
- if( nPos == pOutlineNds->size() ) // keine zum Updaten vorhanden ?
+ if( nPos == pOutlineNds->size() ) // none present for updating ?
return;
if( nPos )
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 42983c9..d798fa1 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -1227,7 +1227,7 @@
// In which array am I: Nodes, UndoNodes?
const SwNodes& rNds = GetNodes();
- // Copy the das SectionFrmFmt
+ // Copy the SectionFrmFmt
SwSectionFmt* pSectFmt = pDoc->MakeSectionFmt( 0 );
pSectFmt->CopyAttrs( *GetSection().GetFmt() );
diff --git a/sw/source/core/draw/dpage.cxx b/sw/source/core/draw/dpage.cxx
index c10134d..72cf1be 100644
--- a/sw/source/core/draw/dpage.cxx
+++ b/sw/source/core/draw/dpage.cxx
@@ -111,7 +111,7 @@
if ( pRect )
{
- //Das Drawing verlang alle Seiten, die mit dem Rect ueberlappen.
+ //The drawing demands all sides which overlap with the rest.
const SwRect aRect( *pRect );
const SwFrm *pPg = pSh->GetLayout()->Lower();
do
@@ -122,7 +122,7 @@
}
else
{
- //Das Drawing verlangt alle sichbaren Seiten
+ //The drawing demands all visible sides
const SwFrm *pPg = pSh->Imp()->GetFirstVisPage();
if ( pPg )
do
@@ -174,11 +174,11 @@
if( rURL.IsServerMap() )
{
- // dann die rel. Pixel Position anhaengen !!
+ // then append the relative pixel position!!
Point aPt( aPos );
aPt -= pFly->Frm().Pos();
- // ohne MapMode-Offset !!!!!
- // ohne MapMode-Offset, ohne Offset, o ... !!!!!
+ // without MapMode-Offset !!!!!
+ // without MapMode-Offset, without Offset, w ... !!!!!
aPt = pWindow->LogicToPixel(
aPt, MapMode( MAP_TWIP ) );
((( sTxt += '?' ) += String::CreateFromInt32( aPt.X() ))
@@ -209,7 +209,7 @@
}
else
{
- // dann zeige die Hilfe mal an:
+ // then display the help:
Rectangle aRect( rEvt.GetMousePosPixel(), Size(1,1) );
Help::ShowQuickHelp( pWindow, aRect, sTxt );
}
diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx
index ef814bc..000ef8e 100644
--- a/sw/source/core/draw/drawdoc.cxx
+++ b/sw/source/core/draw/drawdoc.cxx
@@ -42,7 +42,7 @@
/*************************************************************************
|*
-|* Konstruktor
+|* Constructor
|*
\************************************************************************/
@@ -122,7 +122,7 @@
/*************************************************************************
|*
-|* Destruktor
+|* Destructor
|*
\************************************************************************/
@@ -136,10 +136,10 @@
/*************************************************************************
|*
-|* Diese Methode erzeugt eine neue Seite (SdPage) und gibt einen Zeiger
-|* darauf zurueck. Die Drawing Engine benutzt diese Methode beim Laden
-|* zur Erzeugung von Seiten (deren Typ sie ja nicht kennt, da es ABLEITUNGEN
-|* der SdrPage sind).
+|* This method creates a new page (SdPage) and thereupon returns a pointer
+|* back. The drawing engine is unsing this method while loading for the
+|* creating of pages (whose type it not even know, because they are
+|* derivations of the SdrPage).
|*
\************************************************************************/
@@ -158,7 +158,7 @@
SdrLayerID SwDrawDocument::GetControlExportLayerId( const SdrObject & ) const
{
- //fuer Versionen < 5.0, es gab nur Hell und Heaven
+ //for versions < 5.0, there was only Hell and Heaven
return (SdrLayerID)pDoc->GetHeavenId();
}
--
To view, visit https://gerrit.libreoffice.org/2111
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I241f9b6c1be875577e7bc647583783bc24446413
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matthias Freund <matti_lx at yahoo.de>
More information about the LibreOffice
mailing list