Kaydet (Commit) 2dfc83ec authored tarafından Martin Kepplinger's avatar Martin Kepplinger

Translate german comments

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.
üst 5cb5d02b
......@@ -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;}
};
......
......@@ -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();
}
......
......@@ -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()
......
......@@ -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();
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment