[Libreoffice] [PATCH 2/2] Translate german comments

Martin Kepplinger martinkepplinger at eml.cc
Sun Jun 5 07:46:42 PDT 2011


Translate the remaining german code comments in writer/sw/source/ui/misc
to english!

This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
license.
---
 sw/source/ui/misc/glossary.hrc                |    8 +-
 sw/source/ui/misc/glshell.cxx                 |   13 ++--
 sw/source/ui/misc/insfnote.cxx                |    4 +-
 sw/source/ui/misc/insrule.cxx                 |    6 +-
 sw/source/ui/misc/linenum.cxx                 |   38 +++++-----
 sw/source/ui/misc/num.cxx                     |   10 +-
 sw/source/ui/misc/num.src                     |    4 +-
 sw/source/ui/misc/outline.cxx                 |   54 +++++++-------
 sw/source/ui/misc/pgfnote.cxx                 |   32 ++++----
 sw/source/ui/misc/redlndlg.cxx                |  100 ++++++++++++------------
 sw/source/ui/misc/srtdlg.cxx                  |   14 ++--
 sw/source/ui/misc/swmodalredlineacceptdlg.cxx |    6 +-
 12 files changed, 141 insertions(+), 148 deletions(-)

diff --git a/sw/source/ui/misc/glossary.hrc b/sw/source/ui/misc/glossary.hrc
index 52208bc..8f43937 100644
--- a/sw/source/ui/misc/glossary.hrc
+++ b/sw/source/ui/misc/glossary.hrc
@@ -26,7 +26,7 @@
  ************************************************************************/
 
 
-// Box Textbausteine
+// Box text blocks
 #define	FT_SHORTNAME		1
 #define ED_SHORTNAME		2
 #define FT_NAME				3
@@ -63,7 +63,7 @@
 #define FN_GL_REPLACE_TEXT	78
 #define WIN_EXAMPLE_DUMMY   79
 
-// Box Bibliothek Textbausteine
+// Box library text blocks
 #define FL_EDIT                         1
 #define FL_BIB                          2
 #define ED_BIB				3
@@ -73,10 +73,10 @@
 
 #define BT_OK				100
 
-// beide
+// both
 #define LB_BIB				80
 
-// Dialog Namensaenderung
+// Dialog name changing
 #define   FT_ON				 1
 #define   FT_OS              2
 #define   FT_NN              3
diff --git a/sw/source/ui/misc/glshell.cxx b/sw/source/ui/misc/glshell.cxx
index 480d815..df8465f 100644
--- a/sw/source/ui/misc/glshell.cxx
+++ b/sw/source/ui/misc/glshell.cxx
@@ -52,7 +52,7 @@
 #include <IDocumentUndoRedo.hxx>
 #include <glosdoc.hxx>
 #include <shellio.hxx>
-#include <initui.hxx>					// fuer ::GetGlossaries()
+#include <initui.hxx>					// for ::GetGlossaries()
 #include <cmdid.h>
 #include <swerror.h>
 #include <misc.hrc>
@@ -216,8 +216,7 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const String& rGroup, const String& rS
     SwTextBlocks* pGroup = GetGroupDoc( rGroup );
     if( pGroup && pGroup->GetCount() )
     {
-        // erfrage welche View registriert ist. Im WebWriter gibts es keine
-        // normale View
+        // query which view is registered. In WebWriter there is no normal view
         sal_uInt16 nViewId = 0 != &SwView::Factory() ? 2 : 6;
         String sLongName = pGroup->GetLongName(pGroup->GetIndex( rShortName ));
 
@@ -240,7 +239,7 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const String& rGroup, const String& rS
             pDocSh->SetGroupName( rGroup );
         }
 
-        // Dokumenttitel setzen
+        // set document title
         SfxViewFrame* pFrame = bShow ? SfxViewFrame::LoadDocument( *xDocSh, nViewId ) : SfxViewFrame::LoadHiddenDocument( *xDocSh, nViewId );
         String aDocTitle(SW_RES( STR_GLOSSARY ));
         aDocTitle += ' ';
@@ -253,8 +252,8 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const String& rGroup, const String& rS
         xDocSh->GetWrtShell()->InsertGlossary( *pGroup, rShortName );
         if( !xDocSh->GetDoc()->getPrinter( false ) )
         {
-            // wir erzeugen einen default SfxPrinter.
-            // Das ItemSet wird vom Sfx geloescht!
+            // we create a default SfxPrinter.
+            // ItemSet is deleted by Sfx!
             SfxItemSet *pSet = new SfxItemSet( xDocSh->GetDoc()->GetAttrPool(),
                         FN_PARAM_ADDPRINTER, FN_PARAM_ADDPRINTER,
                         SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
@@ -262,7 +261,7 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const String& rGroup, const String& rS
                         0 );
             SfxPrinter* pPrinter = new SfxPrinter( pSet );
 
-            // und haengen ihn ans Dokument.
+            // and append it to the document.
             xDocSh->GetDoc()->setPrinter( pPrinter, true, true );
         }
 
diff --git a/sw/source/ui/misc/insfnote.cxx b/sw/source/ui/misc/insfnote.cxx
index efbe591..14eea45 100644
--- a/sw/source/ui/misc/insfnote.cxx
+++ b/sw/source/ui/misc/insfnote.cxx
@@ -56,7 +56,7 @@
 static sal_Bool bFootnote = sal_True;
 
 /*------------------------------------------------------------------------
- Beschreibung:	Einfuegen der Fussnote durch OK
+ Description:	inserting a footnote with OK
 ------------------------------------------------------------------------*/
 
 void SwInsFootNoteDlg::Apply()
@@ -170,7 +170,7 @@ IMPL_LINK( SwInsFootNoteDlg, NextPrevHdl, Button *, pBtn )
 {
     Apply();
 
-    // Hier zur naechsten Fuss/Endnote wandern
+    // go to the next foot/endnote here
     rSh.ResetSelect(0, sal_False);
     if (pBtn == &aNextBT)
         rSh.GotoNextFtnAnchor();
diff --git a/sw/source/ui/misc/insrule.cxx b/sw/source/ui/misc/insrule.cxx
index b341d04..170187b 100644
--- a/sw/source/ui/misc/insrule.cxx
+++ b/sw/source/ui/misc/insrule.cxx
@@ -68,7 +68,7 @@ SwInsertGrfRulerDlg::SwInsertGrfRulerDlg( Window* pParent ) :
     pExampleVS->SetDoubleClickHdl(LINK(this, SwInsertGrfRulerDlg, DoubleClickHdl));
     pExampleVS->GrabFocus();
 
-    // Grafiknamen ermitteln
+    // determine graphic name
     GalleryExplorer::BeginLocking(GALLERY_THEME_RULERS);
     GalleryExplorer::FillObjList( GALLERY_THEME_RULERS, aGrfNames );
     pExampleVS->SetHelpId(HID_VS_RULER);
@@ -126,7 +126,7 @@ void SwRulerValueSet::UserDraw( const UserDrawEvent& rUDEvt )
     sal_uInt16	nItemId = rUDEvt.GetItemId();
     Point aBLPos = aRect.TopLeft();
 
-    // Itemzaehlung beginnt bei 1, und die 1. ist die einfache Linie
+    // item count starts with 1 and the 1st is the simple line
     if(nItemId > 1)
     {
         Graphic aGraphic;
@@ -170,7 +170,7 @@ void SwRulerValueSet::UserDraw( const UserDrawEvent& rUDEvt )
     }
     else
     {
-        // Text fuer einfache Linie painten
+        // paint text for simple line
         Font aOldFont = pDev->GetFont();
         Font aFont = pDev->GetFont();
         Size aSize = aFont.GetSize();
diff --git a/sw/source/ui/misc/linenum.cxx b/sw/source/ui/misc/linenum.cxx
index 72f76f8..4bd6f46 100644
--- a/sw/source/ui/misc/linenum.cxx
+++ b/sw/source/ui/misc/linenum.cxx
@@ -57,7 +57,7 @@ SwLineNumberingDlg::SwLineNumberingDlg(SwView *pVw) :
     SfxSingleTabDialog(&pVw->GetViewFrame()->GetWindow(), 0, 0),
     pSh(pVw->GetWrtShellPtr())
 {
-    // TabPage erzeugen
+    // create TabPage 
     SetTabPage(SwLineNumberingPage::Create(this, *(SfxItemSet*)0));
 
     GetOKButton()->SetClickHdl(LINK(this, SwLineNumberingDlg, OKHdl));
@@ -123,7 +123,7 @@ SwLineNumberingPage::SwLineNumberingPage( Window* pParent,
     FreeResource();
     SwLineNumberingDlg *pDlg = (SwLineNumberingDlg *)GetParent();
     pSh = pDlg->GetWrtShell();
-    // Zeichenvorlagen
+    // char styles
     ::FillCharStyleListBox(aCharStyleLB, pSh->GetView().GetDocShell());
 }
 
@@ -155,31 +155,31 @@ void SwLineNumberingPage::Reset( const SfxItemSet&  )
         }
     }
 
-    // Format
+    // format
     sal_uInt16 nSelFmt = rInf.GetNumType().GetNumberingType();
 
     aFormatLB.SelectNumberingType(nSelFmt);
 
-    // Position
+    // position
     aPosLB.SelectEntryPos((sal_uInt16)rInf.GetPos());
 
-    // Offset
+    // offset
     sal_uInt16 nOffset = rInf.GetPosFromLeft();
     if (nOffset == USHRT_MAX)
         nOffset = 0;
 
     aOffsetMF.SetValue(aOffsetMF.Normalize(nOffset), FUNIT_TWIP);
 
-    // Numerierungsoffset
+    // numbering offset
     aNumIntervalNF.SetValue(rInf.GetCountBy());
 
-    // Teiler
+    // divider
     aDivisorED.SetText(rInf.GetDivider());
 
-    // Teileroffset
+    // divider offset
     aDivIntervalNF.SetValue(rInf.GetDividerCountBy());
 
-    // Zaehlen
+    // count
     aCountEmptyLinesCB.Check(rInf.IsCountBlankLines());
     aCountFrameLinesCB.Check(rInf.IsCountInFlys());
     aRestartEachPageCB.Check(rInf.IsRestartEachPage());
@@ -193,7 +193,7 @@ void SwLineNumberingPage::Reset( const SfxItemSet&  )
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung: Modify
+    Description: modify
  --------------------------------------------------------------------*/
 IMPL_LINK( SwLineNumberingPage, ModifyHdl, Edit *, EMPTYARG )
 {
@@ -207,7 +207,7 @@ IMPL_LINK( SwLineNumberingPage, ModifyHdl, Edit *, EMPTYARG )
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung: On/Off
+    Description: On/Off
  --------------------------------------------------------------------*/
 IMPL_LINK( SwLineNumberingPage, LineOnOffHdl, CheckBox *, EMPTYARG )
 {
@@ -243,7 +243,7 @@ sal_Bool SwLineNumberingPage::FillItemSet( SfxItemSet& )
 {
     SwLineNumberInfo aInf(pSh->GetLineNumberInfo());
 
-    // Zeichenvorlagen
+    // char styles
     String sCharFmtName(aCharStyleLB.GetSelectEntry());
     SwCharFmt *pCharFmt = pSh->FindCharFmtByName(sCharFmtName);
 
@@ -260,27 +260,27 @@ sal_Bool SwLineNumberingPage::FillItemSet( SfxItemSet& )
     if (pCharFmt)
         aInf.SetCharFmt(pCharFmt);
 
-    // Format
+    // format
     SvxNumberType aType;
     aType.SetNumberingType(aFormatLB.GetSelectedNumberingType());
     aInf.SetNumType(aType);
 
-    // Position
+    // position
     aInf.SetPos((LineNumberPosition)aPosLB.GetSelectEntryPos());
 
-    // Offset
+    // offset
     aInf.SetPosFromLeft((sal_uInt16)aOffsetMF.Denormalize(aOffsetMF.GetValue(FUNIT_TWIP)));
 
-    // Numerierungsoffset
+    // numbering offset
     aInf.SetCountBy((sal_uInt16)aNumIntervalNF.GetValue());
 
-    // Teiler
+    // divider
     aInf.SetDivider(aDivisorED.GetText());
 
-    // Teileroffset
+    // divider offset
     aInf.SetDividerCountBy((sal_uInt16)aDivIntervalNF.GetValue());
 
-    // Zaehlen
+    // count
     aInf.SetCountBlankLines(aCountEmptyLinesCB.IsChecked());
     aInf.SetCountInFlys(aCountFrameLinesCB.IsChecked());
     aInf.SetRestartEachPage(aRestartEachPageCB.IsChecked());
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx
index 2b8f5e7..c24f397 100644
--- a/sw/source/ui/misc/num.cxx
+++ b/sw/source/ui/misc/num.cxx
@@ -166,7 +166,7 @@ SwNumPositionTabPage::SwNumPositionTabPage(Window* pParent,
     aRelativeCB.SetClickHdl(LINK(this, SwNumPositionTabPage, RelativeHdl));
     aStandardPB.SetClickHdl(LINK(this, SwNumPositionTabPage, StandardHdl));
 
-    // Ebenen einfuegen
+    // insert levels
     for(sal_uInt16 i = 1; i <= MAXLEVEL; i++)
         aLevelLB.InsertEntry(String::CreateFromInt32(i));
     String sEntry(String::CreateFromAscii("1 - "));
@@ -294,7 +294,7 @@ void SwNumPositionTabPage::InitControls()
 
     if(bSameAdjust)
     {
-        sal_uInt16 nPos = 1; // zentriert
+        sal_uInt16 nPos = 1; // centered
         if(aNumFmtArr[nLvl]->GetNumAdjust() == SVX_ADJUST_LEFT)
             nPos = 0;
         else if(aNumFmtArr[nLvl]->GetNumAdjust() == SVX_ADJUST_RIGHT)
@@ -685,7 +685,7 @@ IMPL_LINK( SwNumPositionTabPage, DistanceHdl, MetricField *, pFld )
             }
             else if(pFld == &aIndentMF)
             {
-                //jetzt muss mit dem FirstLineOffset auch der AbsLSpace veraendert werden
+                // now AbsLSpace also has to be modified by FirstLineOffset
                 long nDiff = nValue + aNumFmt.GetFirstLineOffset();
                 long nAbsLSpace = aNumFmt.GetAbsLSpace();
                 aNumFmt.SetAbsLSpace(sal_uInt16(nAbsLSpace + nDiff));
@@ -957,7 +957,7 @@ SwSvxNumBulletTabDialog::~SwSvxNumBulletTabDialog()
 
 void SwSvxNumBulletTabDialog::PageCreated(sal_uInt16 nPageId, SfxTabPage& rPage)
 {
-    //Namen der Vorlagen und Metric setzen
+    // set styles' names and metric
     String sNumCharFmt, sBulletCharFmt;
     SwStyleNameMapper::FillUIName( RES_POOLCHR_NUM_LEVEL, sNumCharFmt );
     SwStyleNameMapper::FillUIName( RES_POOLCHR_BUL_LEVEL, sBulletCharFmt );
@@ -985,7 +985,7 @@ void SwSvxNumBulletTabDialog::PageCreated(sal_uInt16 nPageId, SfxTabPage& rPage)
             SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));
             aSet.Put (SfxStringItem(SID_NUM_CHAR_FMT,sNumCharFmt));
             aSet.Put (SfxStringItem(SID_BULLET_CHAR_FMT,sBulletCharFmt));
-            // Zeichenvorlagen sammeln
+            // collect char styles
             ListBox rCharFmtLB(this);
             rCharFmtLB.Clear();
             rCharFmtLB.InsertEntry( ViewShell::GetShellRes()->aStrNone );
diff --git a/sw/source/ui/misc/num.src b/sw/source/ui/misc/num.src
index 3d5f83f..a0540c9 100644
--- a/sw/source/ui/misc/num.src
+++ b/sw/source/ui/misc/num.src
@@ -36,7 +36,7 @@
 
 /**************************************************************************/
 /*                                                                        */
-/* 	TabPage Positionen                                                    */
+/* 	TabPage positions                                                 */
 /*                                                                        */
 /**************************************************************************/
 TabPage TP_NUM_POSITION
@@ -296,7 +296,7 @@ TabPage TP_NUM_POSITION
 
 /**************************************************************************/
 /*                                                                        */
-/*  Dialog fuer Test der Svx-Implementation                               */
+/*  dialog for Svx-implementation's test                                  */
 /*                                                                        */
 /**************************************************************************/
 TabDialog DLG_SVXTEST_NUM_BULLET
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index 6c0438b..f140ec0 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -60,7 +60,7 @@
 #include <viewopt.hxx>
 #include <svtools/ctrlbox.hxx>
 #include <helpid.h>
-#include <globals.hrc>		// fuer Vorlagenname 'keins'
+#include <globals.hrc>		// for template name 'none'
 #include <misc.hrc>
 #include <outline.hrc>
 #include <paratr.hxx>
@@ -100,7 +100,7 @@ public:
 };
 
 /*------------------------------------------------------------------------
- Beschreibung:  selektierten Eintrag merken
+ Description:  remember selected entry
 ------------------------------------------------------------------------*/
 IMPL_LINK_INLINE_START( SwNumNamesDlg, SelectHdl, ListBox *, pBox )
 {
@@ -111,9 +111,9 @@ IMPL_LINK_INLINE_START( SwNumNamesDlg, SelectHdl, ListBox *, pBox )
 IMPL_LINK_INLINE_END( SwNumNamesDlg, SelectHdl, ListBox *, pBox )
 
 /*------------------------------------------------------------------------
- Beschreibung:  Setzen der vom Benutzer vergebenen Namen
- Parameter:     Liste der vom Benutzer vergebenen Namen;
-                nicht vom Benutzer benannte Positionen sind 0.
+ Description:  set user defined names
+ Parameter:    list of user defined names;
+               unknown positions for the user are 0.
 ------------------------------------------------------------------------*/
 void SwNumNamesDlg::SetUserNames(const String *pList[])
 {
@@ -133,7 +133,7 @@ void SwNumNamesDlg::SetUserNames(const String *pList[])
 }
 
 /*------------------------------------------------------------------------
- Beschreibung:  OK-Button freischalten, wenn Text im Edit steht.
+ Description:  unlock OK-Button when text is in Edit
 ------------------------------------------------------------------------*/
 IMPL_LINK_INLINE_START( SwNumNamesDlg, ModifyHdl, Edit *, pBox )
 {
@@ -143,7 +143,7 @@ IMPL_LINK_INLINE_START( SwNumNamesDlg, ModifyHdl, Edit *, pBox )
 IMPL_LINK_INLINE_END( SwNumNamesDlg, ModifyHdl, Edit *, pBox )
 
 /*------------------------------------------------------------------------
- Beschreibung:  DoubleClickHdl
+ Description:  DoubleClickHdl
 ------------------------------------------------------------------------*/
 IMPL_LINK_INLINE_START( SwNumNamesDlg, DoubleClickHdl, ListBox *, EMPTYARG )
 {
@@ -183,7 +183,7 @@ sal_uInt16 SwOutlineTabDialog::nNumLevel = 1;
 SwOutlineTabDialog::SwOutlineTabDialog(Window* pParent,
                     const SfxItemSet* pSwItemSet,
                     SwWrtShell &rSh) :
-                                    //der UserString wird danach richtig gesetzt
+                                    // the UserString is set correctly afterwards
         SfxTabDialog(pParent, SW_RES(DLG_TAB_OUTLINE), pSwItemSet, sal_False, &aEmptyStr),
         aNullStr(C2S("____")),
         aFormMenu(SW_RES(MN_FORM)),
@@ -211,14 +211,14 @@ SwOutlineTabDialog::SwOutlineTabDialog(Window* pParent,
 
     for( i = 0; i < MAXLEVEL; ++i )
     {
-        // wurde die Vorlage noch nicht angelegt, dann ist sie noch an dieserPosition
+        // if the style wasn't created yet, it's still at this position
         if( !rWrtSh.GetParaStyle( sHeadline =
             SwStyleNameMapper::GetUIName( static_cast< sal_uInt16 >(RES_POOLCOLL_HEADLINE1 + i),
                                           sHeadline )) )
             aCollNames[i] = sHeadline;
     }
 
-    // Erfragen der Gliederungsebenen der Textvorlagen
+    // query the text templates' outlining levels
     const sal_uInt16 nCount = rWrtSh.GetTxtFmtCollCount();
     for(i = 0; i < nCount; ++i )
     {
@@ -265,7 +265,7 @@ IMPL_LINK( SwOutlineTabDialog, CancelHdl, Button *, EMPTYARG )
 
 IMPL_LINK( SwOutlineTabDialog, FormHdl, Button *, pBtn )
 {
-    //PopupMenu auffuellen
+    // fill PopupMenu 
     for( sal_uInt16 i = 0; i < SwChapterNumRules::nMaxRules; ++i )
     {
         const SwNumRulesWithName *pRules = pChapterNumRules->GetRules(i);
@@ -352,9 +352,8 @@ sal_uInt16 	SwOutlineTabDialog::GetLevel(const String &rFmtName) const
 short SwOutlineTabDialog::Ok()
 {
     SfxTabDialog::Ok();
-    // bei allen erzeugten Vorlagen die Ebenen setzen, muss
-    // geschehen, um evtl. aufgehobene Zuordnungen
-    // auch wieder zu loeschen
+    // set levels for all created templates; has to be done in order to
+    // delete possibly cancelled assignments again.
 
     // #130443#
     // encapsulate changes into a action to avoid effects on the current cursor
@@ -482,8 +481,7 @@ SwOutlineSettingsTabPage::SwOutlineSettingsTabPage(Window* pParent, const SfxIte
 
 void   	SwOutlineSettingsTabPage::Update()
 {
-        // falls eine Vorlage fuer diese Ebene bereits selektiert wurde,
-        // diese in der ListBox auswaehlean
+        // if a template was already selected for this level, select it in the ListBox
     aCollBox.Enable(USHRT_MAX != nActLevel);
     if(USHRT_MAX == nActLevel)
     {
@@ -637,7 +635,7 @@ IMPL_LINK( SwOutlineSettingsTabPage, CollSelect, ListBox *, pBox )
     sal_uInt8 i;
 
     const String aCollName(pBox->GetSelectEntry());
-    //0xFFFF darf hier nicht sein (disable)
+    //0xFFFF not allowed here (disable)
     sal_uInt16 nTmpLevel = lcl_BitToLevel(nActLevel);
     String sOldName( pCollNames[nTmpLevel] );
 
@@ -649,7 +647,7 @@ IMPL_LINK( SwOutlineSettingsTabPage, CollSelect, ListBox *, pBox )
     else
     {
         pCollNames[nTmpLevel] = aCollName;
-                // wird die Vorlage bereits verwendet ?
+                // template already in use?
         for( i = 0; i < MAXLEVEL; ++i)
             if(i != nTmpLevel && pCollNames[i] == aCollName )
                 pCollNames[i] = aEmptyStr;
@@ -789,18 +787,18 @@ SwOutlineSettingsTabPage::~SwOutlineSettingsTabPage()
 void SwOutlineSettingsTabPage::SetWrtShell(SwWrtShell* pShell)
 {
     pSh = pShell;
-    // Erfragen der NumRules dieses Dokumentes
+    // query this document's NumRules
     pNumRule = ((SwOutlineTabDialog*)GetTabDialog())->GetNumRule();
     pCollNames = ((SwOutlineTabDialog*)GetTabDialog())->GetCollNames();
 
     aPreviewWIN.SetNumRule(pNumRule);
     aPreviewWIN.SetOutlineNames(pCollNames);
-    // Startwert setzen - nActLevel muss hier 1 sein
+    // set start value - nActLevel must be 1 here
     sal_uInt16 nTmpLevel = lcl_BitToLevel(nActLevel);
     const SwNumFmt& rNumFmt = pNumRule->Get( nTmpLevel );
     aStartEdit.SetValue( rNumFmt.GetStart() );
 
-    // Poolformate fuer Ueberschriften anlegen
+    // create pool formats for headlines
     String sStr;
     sal_uInt16 i;
     for( i = 0; i < MAXLEVEL; ++i )
@@ -813,7 +811,7 @@ void SwOutlineSettingsTabPage::SetWrtShell(SwWrtShell* pShell)
     sStr += String::CreateFromInt32(MAXLEVEL);
     aLevelLB.InsertEntry( sStr );
 
-    // Erfragen der Gliederungsebenen der Textvorlagen
+    // query the texttemplates' outlining levels
     const sal_uInt16 nCount = pSh->GetTxtFmtCollCount();
     for( i = 0; i < nCount; ++i )
     {
@@ -835,11 +833,11 @@ void SwOutlineSettingsTabPage::SetWrtShell(SwWrtShell* pShell)
     }
     aLevelLB.SelectEntryPos(nTmp-1);//nTmp);//#outline level,zhaojianwei
 
-    // Zeichenvorlagen sammeln
+    // collect char styles
     aCharFmtLB.Clear();
     aCharFmtLB.InsertEntry( ViewShell::GetShellRes()->aStrNone );
 
-    // Zeichenvorlagen
+    // char styles
     ::FillCharStyleListBox(aCharFmtLB,
                         pSh->GetView().GetDocShell());
     Update();
@@ -929,7 +927,7 @@ sal_uInt16 lcl_DrawGraphic(VirtualDevice* pVDev, const SwNumFmt &rFmt, sal_uInt1
 }
 
 /*--------------------------------------------------
-    Vorschau der Numerierung painten
+    paint numbering's preview
 --------------------------------------------------*/
 void    NumberingPreview::Paint( const Rectangle& /*rRect*/ )
 {
@@ -957,9 +955,9 @@ void    NumberingPreview::Paint( const Rectangle& /*rRect*/ )
                 nWidthRelation = nWidthRelation / 4;
         }
         else
-            nWidthRelation = 30; // Kapiteldialog
+            nWidthRelation = 30; // chapter dialog
 
-        //Hoehe pro Ebene
+        // height per level
         sal_uInt16 nXStep = sal_uInt16(aSize.Width() / (3 * MAXLEVEL));
         if(MAXLEVEL < 10)
             nXStep /= 2;
@@ -986,7 +984,7 @@ void    NumberingPreview::Paint( const Rectangle& /*rRect*/ )
             {
                 nStart++;
             }
-            if(nStart) // damit moeglichs Vorgaenger und Nachfolger gezeigt werden
+            if(nStart) // so that possible predecessors and successors are showed
                 nStart--;
 
             SwNumberTree::tNumberVector aNumVector;
diff --git a/sw/source/ui/misc/pgfnote.cxx b/sw/source/ui/misc/pgfnote.cxx
index 2e899cf..4abda6d 100644
--- a/sw/source/ui/misc/pgfnote.cxx
+++ b/sw/source/ui/misc/pgfnote.cxx
@@ -67,9 +67,8 @@ static sal_uInt16 aPageRg[] = {
 };
 
 /*------------------------------------------------------------------------
- Beschreibung:	Handler fuer umschalten zwischen den unterschiedlichen
-                Arten, wie die Hoehe des Fussnotenbereiches angegeben
-                werden kann.
+ Description:  handler to switch between the different possibilities
+               how the footnote region's height can be set.
 ------------------------------------------------------------------------*/
 IMPL_LINK_INLINE_START( SwFootNotePage, HeightPage, Button *, EMPTYARG )
 {
@@ -88,7 +87,7 @@ IMPL_LINK_INLINE_START( SwFootNotePage, HeightMetric, Button *, EMPTYARG )
 IMPL_LINK_INLINE_END( SwFootNotePage, HeightMetric, Button *, EMPTYARG )
 
 /*------------------------------------------------------------------------
- Beschreibung:	Handler Grenzwerte
+ Description:	handler limit values
 ------------------------------------------------------------------------*/
 IMPL_LINK( SwFootNotePage, HeightModify, MetricField *, EMPTYARG )
 {
@@ -178,8 +177,7 @@ SfxTabPage* SwFootNotePage::Create(Window *pParent, const SfxItemSet &rSet)
 
 void SwFootNotePage::Reset(const SfxItemSet &rSet)
 {
-    // Falls noch kein Bsp vorhanden Init hier sonst im Activate
-    //
+    // if no example exists, otherwise Init here in Activate
     SwPageFtnInfo* pDefFtnInfo = 0;
     const SwPageFtnInfo* pFtnInfo;
     const SfxPoolItem* pItem = SfxTabPage::GetItem(rSet, FN_PARAM_FTN_INFO);
@@ -189,12 +187,12 @@ void SwFootNotePage::Reset(const SfxItemSet &rSet)
     }
     else
     {
-        // wenn "Standard" betaetigt wird, wird das Fussnotenitem geloescht,
-        // deswegen muss hier eine Fussnotenstruktur erzeugt werden
+        // when "standard" is being activated the footnote item is deleted,
+        // that's why a footnote structure has to be created here
         pDefFtnInfo = new SwPageFtnInfo();
         pFtnInfo = pDefFtnInfo;
     }
-        // Hoehe Fussnotenbereich
+        // footnote area's height
     SwTwips lHeight = pFtnInfo->GetHeight();
     if(lHeight)
     {
@@ -270,15 +268,15 @@ void SwFootNotePage::Reset(const SfxItemSet &rSet)
     aLineTypeBox.SetColor( pFtnInfo->GetLineColor() );
 
 
-    // Position
+    // position
     aLinePosBox.SelectEntryPos( static_cast< sal_uInt16 >(pFtnInfo->GetAdj()) );
 
-        // Breite
+        // width
     Fraction aTmp( 100, 1 );
     aTmp *= pFtnInfo->GetWidth();
     aLineLengthEdit.SetValue( static_cast<long>(aTmp) );
 
-        // Abstand Fussnotenbereich
+        // gap footnote area
     aDistEdit.SetValue(aDistEdit.Normalize(pFtnInfo->GetTopDist()),FUNIT_TWIP);
     aLineDistEdit.SetValue(
         aLineDistEdit.Normalize(pFtnInfo->GetBottomDist()), FUNIT_TWIP);
@@ -287,23 +285,23 @@ void SwFootNotePage::Reset(const SfxItemSet &rSet)
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung:	Attribute in den Set stopfen bei OK
+    Description:	stuff attributes into the set, when OK
  --------------------------------------------------------------------*/
 sal_Bool SwFootNotePage::FillItemSet(SfxItemSet &rSet)
 {
     SwPageFtnInfoItem aItem((const SwPageFtnInfoItem&)GetItemSet().Get(FN_PARAM_FTN_INFO));
 
-    // Das ist das Original
+    // that's the original
     SwPageFtnInfo &rFtnInfo = aItem.GetPageFtnInfo();
 
-        // Hoehe Fussnotenbereich
+        // footnote area's height
     if(aMaxHeightBtn.IsChecked())
         rFtnInfo.SetHeight( static_cast< SwTwips >(
                 aMaxHeightEdit.Denormalize(aMaxHeightEdit.GetValue(FUNIT_TWIP))));
     else
         rFtnInfo.SetHeight(0);
 
-        // Abstand Fussnotenbereich
+        // gap footnote area
     rFtnInfo.SetTopDist(  static_cast< SwTwips >(
             aDistEdit.Denormalize(aDistEdit.GetValue(FUNIT_TWIP))));
     rFtnInfo.SetBottomDist(  static_cast< SwTwips >(
@@ -380,7 +378,7 @@ void SwFootNotePage::ActivatePage(const SfxItemSet& rSet)
     lMaxHeight *= 8;
     lMaxHeight /= 10;
 
-    // Maximalwerte setzen
+    // set maximum values
     HeightModify(0);
 }
 
diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx
index aef9050..f802815 100644
--- a/sw/source/ui/misc/redlndlg.cxx
+++ b/sw/source/ui/misc/redlndlg.cxx
@@ -99,13 +99,13 @@ SwRedlineAcceptChild::SwRedlineAcceptChild( Window* _pParent,
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung: Nach Dok-Wechsel Dialog neu initialisieren
+    Description: newly initialise dialog after document switch
  --------------------------------------------------------------------*/
 sal_Bool SwRedlineAcceptChild::ReInitDlg(SwDocShell *pDocSh)
 {
     sal_Bool bRet;
 
-    if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == sal_True)	// Sofort aktualisieren, Dok-Wechsel
+    if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == sal_True)	// update immediately, doc switch!
         ((SwModelessRedlineAcceptDlg*)GetWindow())->Activate();
 
     return bRet;
@@ -126,17 +126,17 @@ void SwModelessRedlineAcceptDlg::Activate()
 {
     SwView *pView = ::GetActiveView();
 
-    if (!pView)	// Kann passieren, wenn man auf eine andere App umschaltet, wenn
-        return;	// vorher eine Listbox im Dialog den Focus hatte (eigentlich THs Bug)
+    if (!pView)	// can happen when switching to another app, when a Listbox in dialog
+        return; // had the focus previously (actually THs Bug)
 
     SwDocShell *pDocSh = pView->GetDocShell();
 
     if (pChildWin->GetOldDocShell() != pDocSh)
-    {	// Dok-Wechsel
+    {	// doc-switch
         SwWait aWait( *pDocSh, sal_False );
         SwWrtShell* pSh = pView->GetWrtShellPtr();
 
-        pChildWin->SetOldDocShell(pDocSh);	// Rekursion vermeiden (durch Modified-Hdl)
+        pChildWin->SetOldDocShell(pDocSh);	// avoid recursion (using modified-Hdl)
 
         sal_Bool bMod = pSh->IsModified();
         SfxBoolItem aShow(FN_REDLINE_SHOW, sal_True);
@@ -217,7 +217,7 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(Dialog *pParent, sal_Bool bAutoFmt) :
         pActLB->InsertEntry(sFmtCollSet);
         pActLB->InsertEntry(sAutoFormat);
         pTPView->ShowUndo(sal_True);
-        pTPView->DisableUndo();		// Noch gibts keine UNDO-Events
+        pTPView->DisableUndo();		// no UNDO events yet
     }
 
     pActLB->SelectEntryPos(0);
@@ -234,7 +234,7 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(Dialog *pParent, sal_Bool bAutoFmt) :
 
     pTable->SetTabs(aStaticTabs);
 
-    // Minimalgroesse setzen
+    // set minimum size
     Size aMinSz(aTabPagesCTRL.GetMinSizePixel());
     Point aPos(aTabPagesCTRL.GetPosPixel());
 
@@ -255,11 +255,11 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(Dialog *pParent, sal_Bool bAutoFmt) :
     pTable->SetDeselectHdl(LINK(this, SwRedlineAcceptDlg, DeselectHdl));
     pTable->SetCommandHdl(LINK(this, SwRedlineAcceptDlg, CommandHdl));
 
-    // Flackern der Buttons vermeiden:
+    // avoid flickering of buttons:
     aDeselectTimer.SetTimeout(100);
     aDeselectTimer.SetTimeoutHdl(LINK(this, SwRedlineAcceptDlg, SelectHdl));
 
-    // Mehrfachselektion der selben Texte vermeiden:
+    // avoid multiple selection of the same texts:
     aSelectTimer.SetTimeout(100);
     aSelectTimer.SetTimeoutHdl(LINK(this, SwRedlineAcceptDlg, GotoHdl));
 }
@@ -283,7 +283,7 @@ void SwRedlineAcceptDlg::Init(sal_uInt16 nStart)
         aRedlineParents.DeleteAndDestroy(nStart, aRedlineParents.Count() - nStart);
     }
 
-    // Parents einfuegen
+    // insert parents
     InsertParents(nStart);
     InitAuthors();
 
@@ -313,7 +313,7 @@ void SwRedlineAcceptDlg::InitAuthors()
     sal_Bool bIsNotFormated = sal_False;
     sal_uInt16 i;
 
-    // Autoren ermitteln
+    // determine authors
     for ( i = 0; i < nCount; i++)
     {
         const SwRedline& rRedln = pSh->GetRedline(i);
@@ -406,7 +406,7 @@ void SwRedlineAcceptDlg::Resize()
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung: Nach Aktivierung neu initialisieren
+    Description: newly initialise after activation
  --------------------------------------------------------------------*/
 void SwRedlineAcceptDlg::Activate()
 {
@@ -419,14 +419,14 @@ void SwRedlineAcceptDlg::Activate()
 
     aUsedSeqNo.Remove((sal_uInt16)0, aUsedSeqNo.Count());
 
-    if (!pView)	// Kann passieren, wenn man auf eine andere App umschaltet, wenn
-        return;	// vorher eine Listbox im Dialog den Focus hatte (eigentlich THs Bug)
+    if (!pView)	// can happen when switching to another app, when a Listbox in the dialog 
+        return;	// had the focus previously (actually THs Bug)
 
-    // Hat sich was geaendert?
+    // did something change?
     SwWrtShell* pSh = pView->GetWrtShellPtr();
     sal_uInt16 nCount = pSh->GetRedlineCount();
 
-    // Anzahl und Pointer ueberpruefen
+    // check the number of pointers
     SwRedlineDataParent *pParent = 0;
     sal_uInt16 i;
 
@@ -436,7 +436,7 @@ void SwRedlineAcceptDlg::Activate()
 
         if (i >= aRedlineParents.Count())
         {
-            // Neue Eintraege wurden angehaengt
+            // new entries have been appended
             Init(i);
             return;
         }
@@ -444,7 +444,7 @@ void SwRedlineAcceptDlg::Activate()
         pParent = aRedlineParents[i];
         if (&rRedln.GetRedlineData() != pParent->pData)
         {
-            // Redline-Parents wurden eingefuegt, geaendert oder geloescht
+            // Redline-Parents were inserted, changed or deleted
             if ((i = CalcDiff(i, sal_False)) == USHRT_MAX)
                 return;
             continue;
@@ -455,7 +455,7 @@ void SwRedlineAcceptDlg::Activate()
 
         if (!pRedlineData && pBackupData)
         {
-            // Redline-Childs wurden geloescht
+            // Redline-Childs were deleted
             if ((i = CalcDiff(i, sal_True)) == USHRT_MAX)
                 return;
             continue;
@@ -466,7 +466,7 @@ void SwRedlineAcceptDlg::Activate()
             {
                 if (pRedlineData != pBackupData->pChild)
                 {
-                    // Redline-Childs wurden eingefuegt, geaendert oder geloescht
+                    // Redline-Childs were inserted, changed or deleted
                     if ((i = CalcDiff(i, sal_True)) == USHRT_MAX)
                         return;
                     continue;
@@ -480,12 +480,12 @@ void SwRedlineAcceptDlg::Activate()
 
     if (nCount != aRedlineParents.Count())
     {
-        // Redlines wurden am Ende geloescht
+        // Redlines were deleted at the end
         Init(nCount);
         return;
     }
 
-    // Kommentar ueberpruefen
+    // check comment
     for (i = 0; i < nCount; i++)
     {
         const SwRedline& rRedln = pSh->GetRedline(i);
@@ -495,7 +495,7 @@ void SwRedlineAcceptDlg::Activate()
         {
             if (pParent->pTLBParent)
             {
-                // Nur Kommentar aktualisieren
+                // update only comment
                 String sComment(rRedln.GetComment());
                 sComment.SearchAndReplaceAll((sal_Unicode)_LF,(sal_Unicode)' ');
                 pTable->SetEntryText(sComment, pParent->pTLBParent, 3);
@@ -522,9 +522,9 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild)
     SwRedlineDataParent *pParent = aRedlineParents[nStart];
     const SwRedline& rRedln = pSh->GetRedline(nStart);
 
-    if (bChild)		// Sollte eigentlich nie vorkommen, aber sicher ist sicher...
+    if (bChild)		// should actually never happen, but just in case...
     {
-        // Alle Childs des Eintrags wegwerfen und neu initialisieren
+        // throw away all entry's childs and initialise newly
         SwRedlineDataChildPtr pBackupData = (SwRedlineDataChildPtr)pParent->pNext;
         SwRedlineDataChildPtr pNext;
 
@@ -539,28 +539,28 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild)
         }
         pParent->pNext = 0;
 
-        // Neue Childs einfuegen
+        // insert new childs
         InsertChilds(pParent, rRedln, nAutoFmt);
 
         pTable->SetUpdateMode(sal_True);
         return nStart;
     }
 
-    // Wurden Eintraege geloescht?
+    // have entries been deleted?
     const SwRedlineData *pRedlineData = &rRedln.GetRedlineData();
     sal_uInt16 i;
     for ( i = nStart + 1; i < aRedlineParents.Count(); i++)
     {
         if (aRedlineParents[i]->pData == pRedlineData)
         {
-            // Eintraege von nStart bis i-1 entfernen
+            // remove entries from nStart to i-1
             RemoveParents(nStart, i - 1);
             pTable->SetUpdateMode(sal_True);
             return nStart - 1;
         }
     }
 
-    // Wurden Eintraege eingefuegt?
+    // entries been inserted?
     sal_uInt16 nCount = pSh->GetRedlineCount();
     pRedlineData = aRedlineParents[nStart]->pData;
 
@@ -568,7 +568,7 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild)
     {
         if (&pSh->GetRedline(i).GetRedlineData() == pRedlineData)
         {
-            // Eintraege von nStart bis i-1 einfuegen
+            // insert entries from nStart to i-1
             InsertParents(nStart, i - 1);
             pTable->SetUpdateMode(sal_True);
             return nStart - 1;
@@ -576,7 +576,7 @@ sal_uInt16 SwRedlineAcceptDlg::CalcDiff(sal_uInt16 nStart, sal_Bool bChild)
     }
 
     pTable->SetUpdateMode(sal_True);
-    Init(nStart);	// Alle Eintraege bis zum Ende abgleichen
+    Init(nStart);	// adjust all entries until the end
     return USHRT_MAX;
 }
 
@@ -594,7 +594,7 @@ void SwRedlineAcceptDlg::InsertChilds(SwRedlineDataParent *pParent, const SwRedl
     {
         sal_uInt16 nPos;
 
-        if (pParent->pData->GetSeqNo() && !aUsedSeqNo.Insert(pParent, nPos))	// Gibts schon
+        if (pParent->pData->GetSeqNo() && !aUsedSeqNo.Insert(pParent, nPos))	// already there
         {
             if (pParent->pTLBParent)
             {
@@ -666,14 +666,14 @@ void SwRedlineAcceptDlg::RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd)
 
     SvLBoxEntryArr aLBoxArr;
 
-    // Wegen Bug der TLB, die bei Remove den SelectHandler IMMER ruft:
+    // because of Bug of TLB that ALWAYS calls the SelectHandler at Remove:
     pTable->SetSelectHdl(aOldSelectHdl);
     pTable->SetDeselectHdl(aOldDeselectHdl);
     sal_Bool bChildsRemoved = sal_False;
     pTable->SelectAll(sal_False);
 
-    // Hinter dem letzten Eintrag Cursor setzen, da sonst Performance-Problem in TLB.
-    // TLB wuerde sonst bei jedem Remove den Cursor erneut umsetzen (teuer)
+    // set the cursor after the last entry because otherwise performance problem in TLB.
+    // TLB would otherwise reset the cursor at every Remove (expensive)
     sal_uInt16 nPos = Min((sal_uInt16)nCount, (sal_uInt16)aRedlineParents.Count());
     SvLBoxEntry *pCurEntry = NULL;
     while( ( pCurEntry == NULL ) && ( nPos > 0 ) )
@@ -720,14 +720,14 @@ void SwRedlineAcceptDlg::RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd)
         }
     }
 
-    // TLB von hinten abraeumen
+    // clear TLB from behind
     long nIdx = (long)aLBoxArr.Count() - 1L;
     while (nIdx >= 0)
         pTable->RemoveEntry(aLBoxArr[ static_cast< sal_uInt16 >(nIdx--) ]);
 
     pTable->SetSelectHdl(LINK(this, SwRedlineAcceptDlg, SelectHdl));
     pTable->SetDeselectHdl(LINK(this, SwRedlineAcceptDlg, DeselectHdl));
-    // Durch Remove wurde leider wieder dauernd von der TLB selektiert...
+    // unfortunately by Remove it was selected from the TLB always again ...
     pTable->SelectAll(sal_False);
 
     aRedlineParents.DeleteAndDestroy( nStart, nEnd - nStart + 1);
@@ -741,10 +741,10 @@ void SwRedlineAcceptDlg::InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd)
 
     String sParent;
     sal_uInt16 nCount = pSh->GetRedlineCount();
-    nEnd = Min((sal_uInt16)nEnd, (sal_uInt16)(nCount - 1));	// Handelt auch nEnd=USHRT_MAX (bis zum Ende) ab
+    nEnd = Min((sal_uInt16)nEnd, (sal_uInt16)(nCount - 1));	// also treats nEnd=USHRT_MAX (until the end)
 
     if (nEnd == USHRT_MAX)
-        return;		// Keine Redlines im Dokument
+        return;		// no redlines in the document
 
     RedlinData *pData;
     SvLBoxEntry *pParent;
@@ -954,7 +954,7 @@ IMPL_LINK( SwRedlineAcceptDlg, FilterChangedHdl, void*, EMPTYARG )
 
 IMPL_LINK( SwRedlineAcceptDlg, DeselectHdl, void*, EMPTYARG )
 {
-    // Flackern der Buttons vermeiden:
+    // avoid flickering of buttons:
     aDeselectTimer.Start();
 
     return 0;
@@ -1001,7 +1001,7 @@ IMPL_LINK( SwRedlineAcceptDlg, GotoHdl, void*, EMPTYARG )
                 if (pTable->IsSelected(pActEntry))
                 {
                     pSelEntry = pActEntry = pTable->NextSelected(pSelEntry);
-                    continue;	// Nicht zweimal selektieren
+                    continue;	// don't select twice
                 }
             }
             else
@@ -1058,7 +1058,7 @@ IMPL_LINK( SwRedlineAcceptDlg, CommandHdl, void*, EMPTYARG )
 
                 sal_uInt16 nPos = GetRedlinePos(*pTopEntry);
 
-                // Bei geschuetzten Bereichen kommentieren disablen
+                // disable commenting for protected areas
                 if ((pRed = pSh->GotoRedline(nPos, sal_True)) != 0)
                 {
                     if( pSh->IsCrsrPtAtEnd() )
@@ -1159,7 +1159,7 @@ IMPL_LINK( SwRedlineAcceptDlg, CommandHdl, void*, EMPTYARG )
                             const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
                             String sMsg(((const SvxPostItTextItem&)pOutSet->Get(SID_ATTR_POSTIT_TEXT)).GetValue());
 
-                            // Kommentar einfuegen bzw aendern
+                            // insert / change comment
                             pSh->SetRedlineComment(sMsg);
                             sMsg.SearchAndReplaceAll((sal_Unicode)_LF,(sal_Unicode)' ');
                             pTable->SetEntryText(sMsg, pEntry, 3);
@@ -1180,11 +1180,11 @@ IMPL_LINK( SwRedlineAcceptDlg, CommandHdl, void*, EMPTYARG )
                 {
                     bSortDir = sal_True;
                     if (nRet - MN_SORT_ACTION == 4 && pTable->GetSortedCol() == 0xffff)
-                        break;	// Haben wir schon
+                        break;	// we already have it
 
                     nSortMode = nRet - MN_SORT_ACTION;
                     if (nSortMode == 4)
-                        nSortMode = 0xffff;	// unsortiert bzw sortiert nach Position
+                        nSortMode = 0xffff;	// unsorted / sorted by position
 
                     if (pTable->GetSortedCol() == nSortMode)
                         bSortDir = !pTable->GetSortDirection();
@@ -1192,7 +1192,7 @@ IMPL_LINK( SwRedlineAcceptDlg, CommandHdl, void*, EMPTYARG )
                     SwWait aWait( *::GetActiveView()->GetDocShell(), sal_False );
                     pTable->SortByCol(nSortMode, bSortDir);
                     if (nSortMode == 0xffff)
-                        Init();				// Alles neu fuellen
+                        Init();				// newly fill everything
                 }
                 break;
             }
@@ -1209,8 +1209,8 @@ void SwRedlineAcceptDlg::Initialize(const String& rExtraData)
     {
         sal_uInt16 nPos = rExtraData.Search(C2S("AcceptChgDat:"));
 
-        // Versuche, den Alignment-String "ALIGN:(...)" einzulesen; wenn
-        // er nicht vorhanden ist, liegt eine "altere Version vor
+        // try to read the alignment string "ALIGN:(...)"; if none existing,
+        // it's an old version
         if (nPos != STRING_NOTFOUND)
         {
             sal_uInt16 n1 = rExtraData.Search('(', nPos);
@@ -1219,7 +1219,7 @@ void SwRedlineAcceptDlg::Initialize(const String& rExtraData)
                 sal_uInt16 n2 = rExtraData.Search(')', n1);
                 if (n2 != STRING_NOTFOUND)
                 {
-                    // Alignment-String herausschneiden
+                    // cut out the alignment string
                     String aStr = rExtraData.Copy(nPos, n2 - nPos + 1);
                     aStr.Erase(0, n1 - nPos + 1);
 
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index 6d8c8f0..c115b1c 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -95,8 +95,7 @@ void lcl_ClearLstBoxAndDelUserData( ListBox& rLstBox )
 }
 
 /*--------------------------------------------------------------------
-     Beschreibung: 	Fuer Tabellenselektion sel. Zeilen und Spalten
-                    feststellen
+     Description: determine lines and columns for table selection
  --------------------------------------------------------------------*/
 sal_Bool lcl_GetSelTbl( SwWrtShell &rSh, sal_uInt16& rX, sal_uInt16& rY )
 {
@@ -106,7 +105,7 @@ sal_Bool lcl_GetSelTbl( SwWrtShell &rSh, sal_uInt16& rX, sal_uInt16& rY )
 
     _FndBox aFndBox( 0, 0 );
 
-    // suche alle Boxen / Lines
+    // look for all boxes / lines
     {
         SwSelBoxes aSelBoxes;
         ::GetTblSel( rSh, aSelBoxes );
@@ -123,7 +122,7 @@ sal_Bool lcl_GetSelTbl( SwWrtShell &rSh, sal_uInt16& rX, sal_uInt16& rY )
 }
 
 /*--------------------------------------------------------------------
-     Beschreibung: Init-Liste
+     Description: init list
  --------------------------------------------------------------------*/
 SwSortDlg::SwSortDlg(Window* pParent, SwWrtShell &rShell) :
 
@@ -212,7 +211,7 @@ SwSortDlg::SwSortDlg(Window* pParent, SwWrtShell &rShell) :
         aColLbl.SetText(aColTxt);
     }
 
-    // Initialisieren
+    // initialise
     Link aLk = LINK(this,SwSortDlg, CheckHdl);
     aKeyCB1.SetClickHdl( aLk );
     aKeyCB2.SetClickHdl( aLk );
@@ -313,12 +312,11 @@ sal_Unicode	SwSortDlg::GetDelimChar() const
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung: An die Core weiterreichen
+    Description: pass on to the Core
  --------------------------------------------------------------------*/
 void SwSortDlg::Apply()
 {
-    // Alte Einstellung speichern
-    //
+    // save all settings
     bCheck1 = aKeyCB1.IsChecked();
     bCheck2 = aKeyCB2.IsChecked();
     bCheck3 = aKeyCB3.IsChecked();
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index 0e16b9e..d1da2c4 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -76,14 +76,14 @@ SwModalRedlineAcceptDlg::SwModalRedlineAcceptDlg(Window *pParent) :
     pImplDlg = new SwRedlineAcceptDlg(this, sal_True);
 
     pImplDlg->Initialize(GetExtraData());
-    pImplDlg->Activate();	// Zur Initialisierung der Daten
+    pImplDlg->Activate();	// for data's initialisation
 
     FreeResource();
 }
 
 SwModalRedlineAcceptDlg::~SwModalRedlineAcceptDlg()
 {
-    AcceptAll(sal_False);	// Alles uebriggebliebene ablehnen
+    AcceptAll(sal_False);	// refuse everything remaining
     pImplDlg->FillInfo(GetExtraData());
 
     delete pImplDlg;
@@ -106,7 +106,7 @@ void SwModalRedlineAcceptDlg::AcceptAll( sal_Bool bAccept )
     if (pFilterTP->IsDate() || pFilterTP->IsAuthor() ||
         pFilterTP->IsRange() || pFilterTP->IsAction())
     {
-        pFilterTP->CheckDate(sal_False);	// Alle Filter abschalten
+        pFilterTP->CheckDate(sal_False);	// turn off all filters
         pFilterTP->CheckAuthor(sal_False);
         pFilterTP->CheckRange(sal_False);
         pFilterTP->CheckAction(sal_False);
-- 
1.7.1



More information about the LibreOffice mailing list