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

Translate german comments

Translate more code comments in writer/sw/source/ui/frmdlg from german to
english.

This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
license.
üst 73b7c694
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#include "colmgr.hxx" #include "colmgr.hxx"
/*----------------------------------------------------------------------- /*-----------------------------------------------------------------------
Beschreibung: Uebernahme der aktualisierten Werte aus dem Set Description: acquisition of the updates values from the set
-----------------------------------------------------------------------*/ -----------------------------------------------------------------------*/
void SwPageExample::UpdateExample( const SfxItemSet& rSet ) void SwPageExample::UpdateExample( const SfxItemSet& rSet )
{ {
...@@ -62,7 +62,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) ...@@ -62,7 +62,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{ {
// Ausrichtung // alignment
pPage = (const SvxPageItem*)&rSet.Get( nWhich ); pPage = (const SvxPageItem*)&rSet.Get( nWhich );
if ( pPage ) if ( pPage )
...@@ -73,14 +73,14 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) ...@@ -73,14 +73,14 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{ {
// Orientation und Size aus dem PageItem // Orientation and Size from PageItem
const SvxSizeItem& rSize = (const SvxSizeItem&)rSet.Get( nWhich ); const SvxSizeItem& rSize = (const SvxSizeItem&)rSet.Get( nWhich );
SetSize( rSize.GetSize() ); SetSize( rSize.GetSize() );
} }
nWhich = RES_LR_SPACE; nWhich = RES_LR_SPACE;
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{ {
// linken und rechten Rand einstellen // set left and right border
const SvxLRSpaceItem& rLRSpace = (const SvxLRSpaceItem&)rSet.Get( nWhich ); const SvxLRSpaceItem& rLRSpace = (const SvxLRSpaceItem&)rSet.Get( nWhich );
SetLeft( rLRSpace.GetLeft() ); SetLeft( rLRSpace.GetLeft() );
...@@ -96,7 +96,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) ...@@ -96,7 +96,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET ) if ( rSet.GetItemState( nWhich, sal_False ) == SFX_ITEM_SET )
{ {
// oberen und unteren Rand einstellen // set upper and lower border
const SvxULSpaceItem& rULSpace = (const SvxULSpaceItem&)rSet.Get( nWhich ); const SvxULSpaceItem& rULSpace = (const SvxULSpaceItem&)rSet.Get( nWhich );
SetTop( rULSpace.GetUpper() ); SetTop( rULSpace.GetUpper() );
...@@ -109,7 +109,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet ) ...@@ -109,7 +109,7 @@ void SwPageExample::UpdateExample( const SfxItemSet& rSet )
} }
// Kopfzeilen-Attribute auswerten // evaluate header-attributes
const SfxPoolItem* pItem; const SfxPoolItem* pItem;
if( SFX_ITEM_SET == rSet.GetItemState( pPool->GetWhich( SID_ATTR_PAGE_HEADERSET), if( SFX_ITEM_SET == rSet.GetItemState( pPool->GetWhich( SID_ATTR_PAGE_HEADERSET),
sal_False, &pItem ) ) sal_False, &pItem ) )
...@@ -219,7 +219,7 @@ void SwColExample::DrawPage( const Point& rOrg, ...@@ -219,7 +219,7 @@ void SwColExample::DrawPage( const Point& rOrg,
if ( GetUsage() == SVX_PAGE_MIRROR && !bSecond ) if ( GetUsage() == SVX_PAGE_MIRROR && !bSecond )
{ {
// fuer gespiegelt drehen // rotate for mirrored
nL = GetRight(); nL = GetRight();
nR = GetLeft(); nR = GetLeft();
} }
...@@ -360,7 +360,7 @@ void SwColumnOnlyExample::Paint( const Rectangle& /*rRect*/ ) ...@@ -360,7 +360,7 @@ void SwColumnOnlyExample::Paint( const Rectangle& /*rRect*/ )
SetFillColor( aGrayColor ); SetFillColor( aGrayColor );
//Spaltentrenner? //column seperator?
long nLength = aLogSize.Height() - 2 * aTL.Y(); long nLength = aLogSize.Height() - 2 * aTL.Y();
Point aUp( aTL ); Point aUp( aTL );
Point aDown( aTL.X(), nLength ); Point aDown( aTL.X(), nLength );
...@@ -487,7 +487,7 @@ void SwPageGridExample::DrawPage( const Point& rOrg, ...@@ -487,7 +487,7 @@ void SwPageGridExample::DrawPage( const Point& rOrg,
if ( GetUsage() == SVX_PAGE_MIRROR && !bSecond ) if ( GetUsage() == SVX_PAGE_MIRROR && !bSecond )
{ {
// fuer gespiegelt drehen // rotate for mirrored
nL = GetRight(); nL = GetRight();
nR = GetLeft(); nR = GetLeft();
} }
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
// PRIVATE METHODES ------------------------------------------------------ // PRIVATE METHODES ------------------------------------------------------
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
Beschreibung: Spaltenbreite auf aktuelle Breite einstellen Description: set column width to current width
------------------------------------------------------------------------*/ ------------------------------------------------------------------------*/
void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth) void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth)
{ {
...@@ -56,7 +56,7 @@ void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth) ...@@ -56,7 +56,7 @@ void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth)
// PUBLIC METHODES ------------------------------------------------------- // PUBLIC METHODES -------------------------------------------------------
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
Beschreibung: Setzen Spaltenanzahl und Gutterwidth Description: set column quantity and Gutterwidth
------------------------------------------------------------------------*/ ------------------------------------------------------------------------*/
void SwColMgr::SetCount(sal_uInt16 nCount, sal_uInt16 nGutterWidth) void SwColMgr::SetCount(sal_uInt16 nCount, sal_uInt16 nGutterWidth)
{ {
...@@ -94,7 +94,7 @@ void SwColMgr::SetGutterWidth(sal_uInt16 nGutterWidth, sal_uInt16 nPos ) ...@@ -94,7 +94,7 @@ void SwColMgr::SetGutterWidth(sal_uInt16 nGutterWidth, sal_uInt16 nPos )
} }
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
Beschreibung: Hoehe Trennlinie Description: height seperation line
------------------------------------------------------------------------*/ ------------------------------------------------------------------------*/
short SwColMgr::GetLineHeightPercent() const short SwColMgr::GetLineHeightPercent() const
{ {
...@@ -108,7 +108,7 @@ void SwColMgr::SetLineHeightPercent(short nPercent) ...@@ -108,7 +108,7 @@ void SwColMgr::SetLineHeightPercent(short nPercent)
} }
/*------------------------------------------------------------------------ /*------------------------------------------------------------------------
Beschreibung: Spaltenbreite Description: column width
------------------------------------------------------------------------*/ ------------------------------------------------------------------------*/
sal_uInt16 SwColMgr::GetColWidth(sal_uInt16 nIdx) const sal_uInt16 SwColMgr::GetColWidth(sal_uInt16 nIdx) const
{ {
...@@ -124,7 +124,7 @@ void SwColMgr::SetColWidth(sal_uInt16 nIdx, sal_uInt16 nWd) ...@@ -124,7 +124,7 @@ void SwColMgr::SetColWidth(sal_uInt16 nIdx, sal_uInt16 nWd)
} }
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Groesse neu setzen Description: newly set size
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
void SwColMgr::SetActualWidth(sal_uInt16 nW) void SwColMgr::SetActualWidth(sal_uInt16 nW)
{ {
...@@ -133,7 +133,7 @@ void SwColMgr::SetActualWidth(sal_uInt16 nW) ...@@ -133,7 +133,7 @@ void SwColMgr::SetActualWidth(sal_uInt16 nW)
} }
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: ctor Description: ctor
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
SwColMgr::SwColMgr(const SfxItemSet& rSet, sal_uInt16 nActWidth) : SwColMgr::SwColMgr(const SfxItemSet& rSet, sal_uInt16 nActWidth) :
aFmtCol((const SwFmtCol&)rSet.Get(RES_COL)), aFmtCol((const SwFmtCol&)rSet.Get(RES_COL)),
......
This diff is collapsed.
...@@ -377,7 +377,7 @@ void SwCaptionDialog::DrawSample() ...@@ -377,7 +377,7 @@ void SwCaptionDialog::DrawSample()
String aStr; String aStr;
String sCaption = aTextEdit.GetText(); String sCaption = aTextEdit.GetText();
// Nummer // number
String sFldTypeName = aCategoryBox.GetText(); String sFldTypeName = aCategoryBox.GetText();
sal_Bool bNone = sFldTypeName == sNone; sal_Bool bNone = sFldTypeName == sNone;
if( !bNone ) if( !bNone )
...@@ -386,7 +386,7 @@ void SwCaptionDialog::DrawSample() ...@@ -386,7 +386,7 @@ void SwCaptionDialog::DrawSample()
aFormatBox.GetSelectEntryPos() ); aFormatBox.GetSelectEntryPos() );
if( SVX_NUM_NUMBER_NONE != nNumFmt ) if( SVX_NUM_NUMBER_NONE != nNumFmt )
{ {
// Kategorie // category
//#i61007# order of captions //#i61007# order of captions
if( !bOrderNumberingFirst ) if( !bOrderNumberingFirst )
{ {
...@@ -543,7 +543,7 @@ void SwSequenceOptionDialog::Apply() ...@@ -543,7 +543,7 @@ void SwSequenceOptionDialog::Apply()
} }
else if( aFldTypeName.Len() && nLvl < MAXLEVEL ) else if( aFldTypeName.Len() && nLvl < MAXLEVEL )
{ {
// dann muessen wir das mal einfuegen // then we have to insert that
SwSetExpFieldType aFldType( rSh.GetDoc(), aFldTypeName, nsSwGetSetExpType::GSE_SEQ ); SwSetExpFieldType aFldType( rSh.GetDoc(), aFldTypeName, nsSwGetSetExpType::GSE_SEQ );
aFldType.SetDelimiter( cDelim ); aFldType.SetDelimiter( cDelim );
aFldType.SetOutlineLvl( nLvl ); aFldType.SetOutlineLvl( nLvl );
......
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