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


Translate the remaining german code comments in writer/sw/source/ui/frmdlg to
english.

This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
license.
---
 sw/source/ui/frmdlg/frmui.src    |   10 +++++-----
 sw/source/ui/frmdlg/uiborder.cxx |    2 +-
 sw/source/ui/frmdlg/wrap.cxx     |   24 ++++++++++++------------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/sw/source/ui/frmdlg/frmui.src b/sw/source/ui/frmdlg/frmui.src
index b420a65..230d170 100644
--- a/sw/source/ui/frmdlg/frmui.src
+++ b/sw/source/ui/frmdlg/frmui.src
@@ -27,7 +27,7 @@
 #include "frmui.hrc"
 
 /*-----------------------------------------------------------------------
-    Beschreibung: V-Align
+    Description: V-Align
  -----------------------------------------------------------------------*/
 String STR_TOP
 {
@@ -46,7 +46,7 @@ String STR_CENTER_HORI
     Text [ en-US ] = "~Center" ;
 };
 /*-----------------------------------------------------------------------
-    Beschreibung: V-Rel
+    Description: V-Rel
  -----------------------------------------------------------------------*/
 String STR_TOPPRT
 {
@@ -54,13 +54,13 @@ String STR_TOPPRT
 };
 
 /*-----------------------------------------------------------------------
-    Beschreibung: H-Rel
+    Description: H-Rel
  -----------------------------------------------------------------------*/
 /*-----------------------------------------------------------------------
-    Beschreibung: V-Rel Zeichenausrichtungen
+    Description: V-Rel character alignment
  -----------------------------------------------------------------------*/
 /*-----------------------------------------------------------------------
-    Beschreibung: Zeichenausrichtungen fuer frmsh.cxx - Kontextmenue
+    Description: character alignment for frmsh.cxx - context menu
  -----------------------------------------------------------------------*/
 String STR_TOP_BASE
 {
diff --git a/sw/source/ui/frmdlg/uiborder.cxx b/sw/source/ui/frmdlg/uiborder.cxx
index 9a60449..78e02d5 100644
--- a/sw/source/ui/frmdlg/uiborder.cxx
+++ b/sw/source/ui/frmdlg/uiborder.cxx
@@ -55,7 +55,7 @@ SwBorderDlg::SwBorderDlg(Window* pParent, SfxItemSet& rSet, sal_uInt16 nType) :
 {
     SetText(SW_RESSTR(STR_FRMUI_BORDER));
 
-    // TabPage erzeugen
+    // create TabPage
     SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
     OSL_ENSURE(pFact, "Dialogdiet fail!");
     ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BORDER );
diff --git a/sw/source/ui/frmdlg/wrap.cxx b/sw/source/ui/frmdlg/wrap.cxx
index 8980b27..213cc95 100644
--- a/sw/source/ui/frmdlg/wrap.cxx
+++ b/sw/source/ui/frmdlg/wrap.cxx
@@ -73,7 +73,7 @@ SwWrapDlg::SwWrapDlg(Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Boo
     pWrtShell(pSh)
 
 {
-    // TabPage erzeugen
+    // create TabPage 
     SwWrapTabPage* pNewPage = (SwWrapTabPage*) SwWrapTabPage::Create(this, rSet);
     pNewPage->SetFormatUsed(sal_False, bDrawMode);
     pNewPage->SetShell(pWrtShell);
@@ -178,7 +178,7 @@ SfxTabPage* SwWrapTabPage::Create(Window *pParent, const SfxItemSet &rSet)
 
 void SwWrapTabPage::Reset(const SfxItemSet &rSet)
 {
-    //Contour fuer Draw, Grafik und OLE (Einfuegen/Grafik/Eigenschaften fehlt noch!)
+    //Contour for Draw, Graphic and OLE (Insert/Graphic/Properties still missing!)
     if( bDrawMode )
     {
         aWrapOutlineCB.Show();
@@ -284,9 +284,9 @@ void SwWrapTabPage::Reset(const SfxItemSet &rSet)
     {
         pBtn->Check();
         WrapTypeHdl(pBtn);
-        // Hier wird fuer Zeichenobjekte, die im Moment auf Durchlauf stehen,
-        // schon mal der Default "Kontur an" vorbereitet, falls man spaeter auf
-        // irgendeinen Umlauf umschaltet.
+        // For character objects that currently are in passage, the default
+        // "contour on" is prepared here, in case we switch to any other
+        // passage later. 
         if (bDrawMode && !aWrapOutlineCB.IsEnabled())
             aWrapOutlineCB.Check();
     }
@@ -295,7 +295,7 @@ void SwWrapTabPage::Reset(const SfxItemSet &rSet)
     const SvxULSpaceItem& rUL = (const SvxULSpaceItem&)rSet.Get(RES_UL_SPACE);
     const SvxLRSpaceItem& rLR = (const SvxLRSpaceItem&)rSet.Get(RES_LR_SPACE);
 
-    // Abstand zum Text
+    // gap to text
     aLeftMarginED.SetValue(aLeftMarginED.Normalize(rLR.GetLeft()), FUNIT_TWIP);
     aRightMarginED.SetValue(aRightMarginED.Normalize(rLR.GetRight()), FUNIT_TWIP);
     aTopMarginED.SetValue(aTopMarginED.Normalize(rUL.GetUpper()), FUNIT_TWIP);
@@ -306,7 +306,7 @@ void SwWrapTabPage::Reset(const SfxItemSet &rSet)
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung:      Attribute in den Set stopfen bei OK
+    Description:       stuff attributes into the set when OK
  --------------------------------------------------------------------*/
 sal_Bool SwWrapTabPage::FillItemSet(SfxItemSet &rSet)
 {
@@ -411,7 +411,7 @@ sal_Bool SwWrapTabPage::FillItemSet(SfxItemSet &rSet)
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung:      Bsp - Update
+    Description:       example update
  --------------------------------------------------------------------*/
 void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
 {
@@ -430,7 +430,7 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
         const SwFmtFrmSize& rFrmSize = (const SwFmtFrmSize&)rSet.Get(RES_FRM_SIZE);
         Size aSize = rFrmSize.GetSize();
 
-        // Rand
+        // Margin
         const SvxULSpaceItem& rUL = (const SvxULSpaceItem&)rSet.Get(RES_UL_SPACE);
         const SvxLRSpaceItem& rLR = (const SvxLRSpaceItem&)rSet.Get(RES_LR_SPACE);
         nOldLeftMargin  = static_cast< sal_uInt16 >(rLR.GetLeft());
@@ -496,7 +496,7 @@ void SwWrapTabPage::ActivatePage(const SfxItemSet& rSet)
                     if (aVal.nVPos <= aVal.nMaxHeight)
                         nTop = aVal.nMaxVPos - aVal.nHeight;
                     else
-                        nTop = nBottom = 0;    // Kein Umlauf
+                        nTop = nBottom = 0;    // no passage
                 }
                 else
                     nTop = aVal.nMaxVPos - aVal.nHeight - aVal.nVPos;
@@ -616,7 +616,7 @@ int SwWrapTabPage::DeactivatePage(SfxItemSet* _pSet)
 }
 
 /*--------------------------------------------------------------------
-    Beschreibung:      Bereichspruefung
+    Description:       range check
  --------------------------------------------------------------------*/
 IMPL_LINK( SwWrapTabPage, RangeModifyHdl, MetricField *, pEdit )
 {
@@ -682,7 +682,7 @@ IMPL_LINK( SwWrapTabPage, ContourHdl, CheckBox *, EMPTYARG )
     aWrapOutsideCB.Enable(!bEnable);
 
     bEnable =  !aWrapOutlineCB.IsChecked();
-    if (bEnable == bContourImage) // damit es nicht immer flackert
+    if (bEnable == bContourImage) // so that it doesn't always flicker
     {
         bContourImage = !bEnable;
         ApplyImageList();
-- 
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.