[Libreoffice] [PATCH 5/5] Translate german comments
Martin Kepplinger
martinkepplinger at eml.cc
Tue Mar 8 18:08:41 PST 2011
This translates the remaining german code comments in writer/sw/source/ui/fldui
to english.
This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
license.
---
sw/source/ui/fldui/fldvar.hxx | 2 +-
sw/source/ui/fldui/fldwrap.cxx | 14 +++++++-------
sw/source/ui/fldui/inpdlg.cxx | 14 +++++++-------
sw/source/ui/fldui/javaedit.cxx | 6 +++---
sw/source/ui/fldui/xfldui.cxx | 6 +++---
5 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/sw/source/ui/fldui/fldvar.hxx b/sw/source/ui/fldui/fldvar.hxx
index e08187c..63fdfb9 100644
--- a/sw/source/ui/fldui/fldvar.hxx
+++ b/sw/source/ui/fldui/fldvar.hxx
@@ -52,7 +52,7 @@ class SelectionListBox : public ListBox
public:
SelectionListBox( SwFldVarPage* pDialog, const ResId& rResId );
- // Selektieren per Ctrl oder Alt erkennen und mit SelectHdl auswerten
+ // detect selection via Ctrl or Alt and evaluate with SelectHdl
BOOL IsCallAddSelection() const {return bCallAddSelection;}
void ResetCallAddSelection() {bCallAddSelection = FALSE;}
};
diff --git a/sw/source/ui/fldui/fldwrap.cxx b/sw/source/ui/fldui/fldwrap.cxx
index abe6b86..3c2b92d 100644
--- a/sw/source/ui/fldui/fldwrap.cxx
+++ b/sw/source/ui/fldui/fldwrap.cxx
@@ -56,20 +56,20 @@ SwChildWinWrapper::SwChildWinWrapper(Window *pParentWindow, USHORT nId) :
SfxChildWindow(pParentWindow, nId),
m_pDocSh(0)
{
- // Flackern der Buttons vermeiden:
+ // avoid flickering of buttons:
m_aUpdateTimer.SetTimeout(200);
m_aUpdateTimer.SetTimeoutHdl(LINK(this, SwChildWinWrapper, UpdateHdl));
}
IMPL_LINK( SwChildWinWrapper, UpdateHdl, void*, EMPTYARG )
{
- GetWindow()->Activate(); // Dialog aktualisieren
+ GetWindow()->Activate(); // update dialog
return 0;
}
/*--------------------------------------------------------------------
- Beschreibung: Nach Dok-Wechsel Dialog neu initialisieren
+ Description: newly initialise dialog after Doc switch
--------------------------------------------------------------------*/
BOOL SwChildWinWrapper::ReInitDlg(SwDocShell *)
{
@@ -78,7 +78,7 @@ BOOL SwChildWinWrapper::ReInitDlg(SwDocShell *)
if (m_pDocSh != GetOldDocShell())
{
m_aUpdateTimer.Stop();
- bRet = TRUE; // Sofortiges Update
+ bRet = TRUE; // immediate Update
}
else
m_aUpdateTimer.Start();
@@ -110,13 +110,13 @@ SwFldDlgWrapper::SwFldDlgWrapper( Window* _pParent, USHORT nId,
}
/*--------------------------------------------------------------------
- Beschreibung: Nach Dok-Wechsel Dialog neu initialisieren
+ Description: newly initialise dialog after Doc switch
--------------------------------------------------------------------*/
BOOL SwFldDlgWrapper::ReInitDlg(SwDocShell *pDocSh)
{
BOOL bRet;
- if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == TRUE) // Sofort aktualisieren, Dok-Wechsel
+ if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == TRUE) // update immediately, Doc switch
{
pDlgInterface->ReInitDlg();
}
@@ -165,7 +165,7 @@ SwFldDataOnlyDlgWrapper::SwFldDataOnlyDlgWrapper( Window* _pParent, USHORT nId,
BOOL SwFldDataOnlyDlgWrapper::ReInitDlg(SwDocShell *pDocSh)
{
BOOL bRet;
- if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == TRUE) // Sofort aktualisieren, Dok-Wechsel
+ if ((bRet = SwChildWinWrapper::ReInitDlg(pDocSh)) == TRUE) // update immediately, Doc switch
{
pDlgInterface->ReInitDlg();
}
diff --git a/sw/source/ui/fldui/inpdlg.cxx b/sw/source/ui/fldui/inpdlg.cxx
index d6fecac..ef42e20 100644
--- a/sw/source/ui/fldui/inpdlg.cxx
+++ b/sw/source/ui/fldui/inpdlg.cxx
@@ -52,7 +52,7 @@
/*--------------------------------------------------------------------
- Beschreibung: Feldeinfuegen bearbeiten
+ Description: edit field-insert
--------------------------------------------------------------------*/
SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS,
@@ -74,7 +74,7 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS,
aNextBT (this, SW_RES(PB_NEXT )),
aHelpBT (this, SW_RES(PB_HELP ))
{
- // Font fuers Edit umschalten
+ // switch font for Edit
Font aFont(aEditED.GetFont());
aFont.SetWeight(WEIGHT_LIGHT);
aEditED.SetFont(aFont);
@@ -92,10 +92,10 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS,
aHelpBT.SetPosPixel(aPos);
}
- // Auswertung hier
+ // evaluation here
String aStr;
if( RES_INPUTFLD == pField->GetTyp()->Which() )
- { // Es ist eine Eingabefeld
+ { // it is an input field
//
pInpFld = (SwInputField*)pField;
aLabelED.SetText( pInpFld->GetPar2() );
@@ -108,7 +108,7 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS,
break;
case INP_USR:
- // Benutzerfeld
+ // user field
if( 0 != ( pUsrType = (SwUserFieldType*)rSh.GetFldType(
RES_USERFLD, pInpFld->GetPar1() ) ) )
aStr = pUsrType->GetContent();
@@ -117,7 +117,7 @@ SwFldInputDlg::SwFldInputDlg( Window *pParent, SwWrtShell &rS,
}
else
{
- // es ist eine SetExpression
+ // it is a SetExpression
pSetFld = (SwSetExpField*)pField;
String sFormula(pSetFld->GetFormula());
//values are formatted - formulas are not
@@ -153,7 +153,7 @@ void SwFldInputDlg::StateChanged( StateChangedType nType )
}
/*--------------------------------------------------------------------
- Beschreibung: Schliessen
+ Description: Close
--------------------------------------------------------------------*/
void SwFldInputDlg::Apply()
diff --git a/sw/source/ui/fldui/javaedit.cxx b/sw/source/ui/fldui/javaedit.cxx
index a87dad9..5118e28 100644
--- a/sw/source/ui/fldui/javaedit.cxx
+++ b/sw/source/ui/fldui/javaedit.cxx
@@ -89,7 +89,7 @@ SwJavaEditDialog::SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh) :
pFileDlg(NULL),
pOldDefDlgParent(NULL)
{
- // Handler installieren
+ // install handler
aPrevBtn.SetClickHdl( LINK( this, SwJavaEditDialog, PrevHdl ) );
aNextBtn.SetClickHdl( LINK( this, SwJavaEditDialog, NextHdl ) );
aOKBtn.SetClickHdl( LINK( this, SwJavaEditDialog, OKHdl ) );
@@ -113,7 +113,7 @@ SwJavaEditDialog::SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh) :
if( !bNew )
SetText( SW_RES( STR_JAVA_EDIT ) );
else
- // neu anlegen
+ // newly create
SetText( SW_RES( STR_JAVA_INSERT ) );
FreeResource();
@@ -170,7 +170,7 @@ void SwJavaEditDialog::CheckTravel()
if(!bNew)
{
- // Traveling nur bei mehr als einem Feld
+ // Traveling only when more than one field
pSh->StartAction();
pSh->CreateCrsr();
diff --git a/sw/source/ui/fldui/xfldui.cxx b/sw/source/ui/fldui/xfldui.cxx
index 5395a11..55aa048 100644
--- a/sw/source/ui/fldui/xfldui.cxx
+++ b/sw/source/ui/fldui/xfldui.cxx
@@ -42,7 +42,7 @@
#include <comphelper/processfactory.hxx>
#include <fldmgr.hxx>
#include <dbmgr.hxx>
-#include <wrtsh.hxx> // Actives Fenster
+#include <wrtsh.hxx> // active window
#include <view.hxx>
#include <swmodule.hxx>
@@ -63,8 +63,8 @@ using namespace ::com::sun::star::beans;
// ---------------------------------------------------------------------------
/*--------------------------------------------------------------------
- Beschreibung: Ist das Datenbankfeld numerisch?
- Anm: Im Fehlerfall wird TRUE returnt.
+ Description: Is the database field numeric?
+ remark: in case of error TURE is returned
--------------------------------------------------------------------*/
BOOL SwFldMgr::IsDBNumeric( const String& rDBName, const String& rTblQryName,
--
1.7.1
More information about the LibreOffice
mailing list