Kaydet (Commit) 3a70ae03 authored tarafından Daniel Sikeler's avatar Daniel Sikeler Kaydeden (comit) Michael Stahl

fdo#39468 translated german comments

also tranlated some error messages

Change-Id: Ia5035c7c2f5379a0b419fc5514a288368e687c83
Reviewed-on: https://gerrit.libreoffice.org/14382Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst c6d64578
...@@ -711,9 +711,9 @@ void SaveProgressDialog::stepNext(TURLInfo* ) ...@@ -711,9 +711,9 @@ void SaveProgressDialog::stepNext(TURLInfo* )
{ {
/* TODO /* TODO
wenn die m_pCore noch ein Member m_nCurrentItem haette if m_pCore would have a member m_mCurrentItem, you could see,
koennte man dort erkennen, wer gerade drann war, wer demnaechst who is current, who is next ... You can show this information
dran ist ... Diese Info kann man dann in unserem Progress FixText anzeigen ... in progress report FixText
*/ */
} }
......
...@@ -179,7 +179,7 @@ sal_Int32 getElementPos(const Reference< ::com::sun::star::container::XIndexAcce ...@@ -179,7 +179,7 @@ sal_Int32 getElementPos(const Reference< ::com::sun::star::container::XIndexAcce
DBG_ASSERT( xNormalized.is(), "getElementPos: invalid element!" ); DBG_ASSERT( xNormalized.is(), "getElementPos: invalid element!" );
if ( xNormalized.is() ) if ( xNormalized.is() )
{ {
// Feststellen an welcher Position sich das Kind befindet // find child position
nIndex = xCont->getCount(); nIndex = xCont->getCount();
while (nIndex--) while (nIndex--)
{ {
......
...@@ -248,7 +248,7 @@ class FmFilterNavigator : public SvTreeListBox, public SfxListener ...@@ -248,7 +248,7 @@ class FmFilterNavigator : public SvTreeListBox, public SfxListener
AutoTimer m_aDropActionTimer; AutoTimer m_aDropActionTimer;
unsigned short m_aTimerCounter; unsigned short m_aTimerCounter;
Point m_aTimerTriggered; // die Position, an der der DropTimer angeschaltet wurde Point m_aTimerTriggered; // position, where DropTimer was started
DROP_ACTION m_aDropActionType; DROP_ACTION m_aDropActionType;
public: public:
......
...@@ -145,8 +145,7 @@ SvxNumberFormatShell::~SvxNumberFormatShell() ...@@ -145,8 +145,7 @@ SvxNumberFormatShell::~SvxNumberFormatShell()
if ( bUndoAddList ) if ( bUndoAddList )
{ {
// Hinzugefuegte Formate sind nicht gueltig: // Added formats are invalid => remove them
// => wieder entfernen:
for ( std::vector<sal_uInt32>::const_iterator it(aAddList.begin()); it != aAddList.end(); ++it ) for ( std::vector<sal_uInt32>::const_iterator it(aAddList.begin()); it != aAddList.end(); ++it )
pFormatter->DeleteEntry( *it ); pFormatter->DeleteEntry( *it );
...@@ -166,7 +165,7 @@ void SvxNumberFormatShell::GetUpdateData( sal_uInt32* pDelArray, const sal_uInt3 ...@@ -166,7 +165,7 @@ void SvxNumberFormatShell::GetUpdateData( sal_uInt32* pDelArray, const sal_uInt3
{ {
const size_t nListSize = aDelList.size(); const size_t nListSize = aDelList.size();
DBG_ASSERT( pDelArray && ( nSize == nListSize ), "Array nicht initialisiert!" ); DBG_ASSERT( pDelArray && ( nSize == nListSize ), "Array not initialised!" );
if ( pDelArray && ( nSize == nListSize ) ) if ( pDelArray && ( nSize == nListSize ) )
for (std::vector<sal_uInt32>::const_iterator it(aDelList.begin()); it != aDelList.end(); ++it ) for (std::vector<sal_uInt32>::const_iterator it(aDelList.begin()); it != aDelList.end(); ++it )
...@@ -236,7 +235,7 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos, ...@@ -236,7 +235,7 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
bool bInserted = false; bool bInserted = false;
sal_uInt32 nAddKey = pFormatter->GetEntryKey( rFormat, eCurLanguage ); sal_uInt32 nAddKey = pFormatter->GetEntryKey( rFormat, eCurLanguage );
if ( nAddKey != NUMBERFORMAT_ENTRY_NOT_FOUND ) // bereits vorhanden? if ( nAddKey != NUMBERFORMAT_ENTRY_NOT_FOUND ) // exists already?
{ {
::std::vector<sal_uInt32>::iterator nAt = GetRemoved_Impl( nAddKey ); ::std::vector<sal_uInt32>::iterator nAt = GetRemoved_Impl( nAddKey );
if ( nAt != aDelList.end() ) if ( nAt != aDelList.end() )
...@@ -246,10 +245,10 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos, ...@@ -246,10 +245,10 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
} }
else else
{ {
OSL_FAIL( "Doppeltes Format!" ); OSL_FAIL( "duplicate format!" );
} }
} }
else // neues Format else // new format
{ {
sal_Int32 nPos; sal_Int32 nPos;
bInserted = pFormatter->PutEntry( rFormat, nPos, bInserted = pFormatter->PutEntry( rFormat, nPos,
...@@ -273,27 +272,27 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos, ...@@ -273,27 +272,27 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
} }
} }
if ( bInserted ) // eingefuegt if ( bInserted )
{ {
nCurFormatKey = nAddKey; nCurFormatKey = nAddKey;
DBG_ASSERT( !IsAdded_Impl( nCurFormatKey ), "Doppeltes Format!" ); DBG_ASSERT( !IsAdded_Impl( nCurFormatKey ), "duplicate format!" );
aAddList.push_back( nCurFormatKey ); aAddList.push_back( nCurFormatKey );
// aktuelle Tabelle holen // get current table
pCurFmtTable = &(pFormatter->GetEntryTable( nCurCategory, pCurFmtTable = &(pFormatter->GetEntryTable( nCurCategory,
nCurFormatKey, nCurFormatKey,
eCurLanguage )); eCurLanguage ));
nCurCategory=pFormatter->GetType(nAddKey); //@@ ??? nCurCategory=pFormatter->GetType(nAddKey);
CategoryToPos_Impl( nCurCategory, rCatLbSelPos ); CategoryToPos_Impl( nCurCategory, rCatLbSelPos );
rFmtSelPos = FillEntryList_Impl( rFmtEntries ); rFmtSelPos = FillEntryList_Impl( rFmtEntries );
} }
else if ( rErrPos != 0 ) // Syntaxfehler else if ( rErrPos != 0 ) // syntax error
{ {
; ;
} }
else // Doppelt einfuegen nicht moeglich else // insert twice not possible
{ {
OSL_FAIL( "Doppeltes Format!" ); // oder doch? OSL_FAIL( "duplicate format!" );
} }
return bInserted; return bInserted;
...@@ -308,8 +307,8 @@ bool SvxNumberFormatShell::RemoveFormat( const OUString& rFormat, ...@@ -308,8 +307,8 @@ bool SvxNumberFormatShell::RemoveFormat( const OUString& rFormat,
{ {
sal_uInt32 nDelKey = pFormatter->GetEntryKey( rFormat, eCurLanguage ); sal_uInt32 nDelKey = pFormatter->GetEntryKey( rFormat, eCurLanguage );
DBG_ASSERT( nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND, "Eintrag nicht gefunden!" ); DBG_ASSERT( nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND, "entry not found!" );
DBG_ASSERT( !IsRemoved_Impl( nDelKey ), "Eintrag bereits geloescht!" ); DBG_ASSERT( !IsRemoved_Impl( nDelKey ), "entry already removed!" );
if ( (nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND) && !IsRemoved_Impl( nDelKey ) ) if ( (nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND) && !IsRemoved_Impl( nDelKey ) )
{ {
...@@ -512,7 +511,7 @@ void SvxNumberFormatShell::GetInitSettings( sal_uInt16& nCatLbPos, ...@@ -512,7 +511,7 @@ void SvxNumberFormatShell::GetInitSettings( sal_uInt16& nCatLbPos,
Color*& rpPrevColor ) Color*& rpPrevColor )
{ {
// Vorbedingung: Zahlenformatierer gefunden // precondition: number formater found
DBG_ASSERT( pFormatter != NULL, "Zahlenformatierer nicht gefunden!" ); DBG_ASSERT( pFormatter != NULL, "Zahlenformatierer nicht gefunden!" );
short nSelPos = SELPOS_NONE; short nSelPos = SELPOS_NONE;
......
...@@ -168,7 +168,7 @@ SfxPoolItem* SvxNumberInfoItem::Clone( SfxItemPool * ) const ...@@ -168,7 +168,7 @@ SfxPoolItem* SvxNumberInfoItem::Clone( SfxItemPool * ) const
return new SvxNumberInfoItem( *this ); return new SvxNumberInfoItem( *this );
} }
// Laden/Speichern wird nicht gebraucht! // Load/Save is unused!
SfxPoolItem* SvxNumberInfoItem::Create( SvStream& /*rStream*/, sal_uInt16 ) const SfxPoolItem* SvxNumberInfoItem::Create( SvStream& /*rStream*/, sal_uInt16 ) const
......
...@@ -33,7 +33,6 @@ using namespace ::com::sun::star; ...@@ -33,7 +33,6 @@ using namespace ::com::sun::star;
TYPEINIT1_FACTORY( SvxPageItem, SfxPoolItem , new SvxPageItem(0)); TYPEINIT1_FACTORY( SvxPageItem, SfxPoolItem , new SvxPageItem(0));
// Konstruktor
SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ), SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ),
eNumType ( SVX_ARABIC ), eNumType ( SVX_ARABIC ),
...@@ -42,7 +41,7 @@ SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ), ...@@ -42,7 +41,7 @@ SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ),
{ {
} }
// Copy-Konstruktor // Copy-Ctor
SvxPageItem::SvxPageItem( const SvxPageItem& rItem ) SvxPageItem::SvxPageItem( const SvxPageItem& rItem )
: SfxPoolItem( rItem ) : SfxPoolItem( rItem )
{ {
...@@ -51,13 +50,13 @@ SvxPageItem::SvxPageItem( const SvxPageItem& rItem ) ...@@ -51,13 +50,13 @@ SvxPageItem::SvxPageItem( const SvxPageItem& rItem )
eUse = rItem.eUse; eUse = rItem.eUse;
} }
// Clonen // Clone
SfxPoolItem* SvxPageItem::Clone( SfxItemPool * ) const SfxPoolItem* SvxPageItem::Clone( SfxItemPool * ) const
{ {
return new SvxPageItem( *this ); return new SvxPageItem( *this );
} }
// Abfrage auf Gleichheit // Test for equality
bool SvxPageItem::operator==( const SfxPoolItem& rAttr ) const bool SvxPageItem::operator==( const SfxPoolItem& rAttr ) const
{ {
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" ); DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" );
...@@ -147,7 +146,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const ...@@ -147,7 +146,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
{ {
case MID_PAGE_NUMTYPE: case MID_PAGE_NUMTYPE:
{ {
//! die Konstanten sind nicht mehr in den IDLs ?!? //! constants aren't in IDLs any more ?!?
rVal <<= (sal_Int16)( eNumType ); rVal <<= (sal_Int16)( eNumType );
} }
break; break;
...@@ -165,7 +164,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const ...@@ -165,7 +164,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
case SVX_PAGE_ALL : eRet = style::PageStyleLayout_ALL; break; case SVX_PAGE_ALL : eRet = style::PageStyleLayout_ALL; break;
case SVX_PAGE_MIRROR: eRet = style::PageStyleLayout_MIRRORED; break; case SVX_PAGE_MIRROR: eRet = style::PageStyleLayout_MIRRORED; break;
default: default:
OSL_FAIL("was fuer ein Layout ist das?"); OSL_FAIL("what layout is this?");
return false; return false;
} }
rVal <<= eRet; rVal <<= eRet;
......
...@@ -40,7 +40,7 @@ TYPEINIT1_FACTORY(SvxRotateModeItem, SfxEnumItem, new SvxRotateModeItem(SVX_ROTA ...@@ -40,7 +40,7 @@ TYPEINIT1_FACTORY(SvxRotateModeItem, SfxEnumItem, new SvxRotateModeItem(SVX_ROTA
// SvxRotateModeItem - Ausrichtung bei gedrehtem Text // SvxRotateModeItem - orientation with turned text
SvxRotateModeItem::SvxRotateModeItem( SvxRotateMode eMode, sal_uInt16 _nWhich ) SvxRotateModeItem::SvxRotateModeItem( SvxRotateMode eMode, sal_uInt16 _nWhich )
...@@ -75,7 +75,7 @@ bool SvxRotateModeItem::GetPresentation( ...@@ -75,7 +75,7 @@ bool SvxRotateModeItem::GetPresentation(
{ {
case SFX_ITEM_PRESENTATION_COMPLETE: case SFX_ITEM_PRESENTATION_COMPLETE:
rText += "...: "; rText += "...: ";
// break; // DURCHFALLEN!!! // break; // FALL THROUGH!!!
case SFX_ITEM_PRESENTATION_NAMELESS: case SFX_ITEM_PRESENTATION_NAMELESS:
rText += OUString( GetValue() ); rText += OUString( GetValue() );
......
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