From a70ae479fe30db77354159d614dcacc87e4142c4 Mon Sep 17 00:00:00 2001 From: Jens Carl Date: Tue, 28 Mar 2017 07:50:20 +0000 Subject: tdf#39468 Translate German comments Translate German comments and terms in basctl/ Change-Id: I9f284af4d92e61b53a3280c151a37b1dcbeed7c4 Reviewed-on: https://gerrit.libreoffice.org/35791 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- basctl/sdi/baside.sdi | 10 +++++----- basctl/source/basicide/baside2.cxx | 6 +++--- basctl/source/basicide/baside2b.cxx | 6 +++--- basctl/source/basicide/basides1.cxx | 10 +++++----- basctl/source/basicide/basides2.cxx | 2 +- basctl/source/basicide/basides3.cxx | 2 +- basctl/source/basicide/basidesh.cxx | 4 ++-- basctl/source/basicide/bastype3.cxx | 8 ++++---- basctl/source/basicide/bastypes.cxx | 2 +- basctl/source/basicide/brkdlg.cxx | 2 +- basctl/source/basicide/macrodlg.cxx | 6 +++--- basctl/source/basicide/moduldl2.cxx | 8 ++++---- basctl/source/basicide/moduldlg.cxx | 22 +++++++++++----------- 13 files changed, 44 insertions(+), 44 deletions(-) diff --git a/basctl/sdi/baside.sdi b/basctl/sdi/baside.sdi index 6433eccfc53a..180cdf2caa6a 100644 --- a/basctl/sdi/baside.sdi +++ b/basctl/sdi/baside.sdi @@ -25,7 +25,7 @@ shell basctl_Shell import BasicIDEView; - // Current, je nach aktuellem Fenster: + // Current, according to current window: SID_SHOWLINES [ @@ -130,7 +130,7 @@ shell basctl_Shell ] - // Global: Egal, welches Fenster gerade aktiv ist: + // Global: Whatever, which window is currently active: SID_BASICIDE_LIBSELECTOR [ @@ -209,7 +209,7 @@ shell basctl_Shell StateMethod = GetState; ] - // Ab hier normal... + // From here on normal ... SID_BASICIDE_CHOOSEMACRO [ ExecMethod = ExecuteGlobal; @@ -312,7 +312,7 @@ shell basctl_Shell ] - // Nur, wenn BasicFenster oben + // Only, when BasicWindow up SID_BASICRUN [ @@ -399,7 +399,7 @@ shell basctl_Shell ] - // Nur, wenn Dialogfenster oben + // Only, when dialog window up SID_CHOOSE_CONTROLS [ diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 7f89adec43ea..bce9ce80480d 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -488,7 +488,7 @@ void ModulWindow::ImportDialog() void ModulWindow::ToggleBreakPoint( sal_uLong nLine ) { - DBG_ASSERT( XModule().is(), "Kein Modul!" ); + DBG_ASSERT( XModule().is(), "No Modul!" ); if ( XModule().is() ) { @@ -514,7 +514,7 @@ void ModulWindow::ToggleBreakPoint( sal_uLong nLine ) for ( sal_uInt16 nMethod = 0; nMethod < m_xModule->GetMethods()->Count(); nMethod++ ) { SbMethod* pMethod = static_cast(m_xModule->GetMethods()->Get( nMethod )); - assert(pMethod && "Methode nicht gefunden! (NULL)"); + assert(pMethod && "Method not found! (NULL)"); pMethod->SetDebugFlags( pMethod->GetDebugFlags() | BasicDebugFlags::Break ); } } @@ -1279,7 +1279,7 @@ void ModulWindow::BasicStarted() for ( sal_uInt16 nMethod = 0; nMethod < m_xModule->GetMethods()->Count(); nMethod++ ) { SbMethod* pMethod = static_cast(m_xModule->GetMethods()->Get( nMethod )); - assert(pMethod && "Methode nicht gefunden! (NULL)"); + assert(pMethod && "Method not found! (NULL)"); pMethod->SetDebugFlags( pMethod->GetDebugFlags() | BasicDebugFlags::Break ); } } diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index d817a61c8eae..86d6afc49361 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1255,7 +1255,7 @@ void EditorWindow::DoDelayedSyntaxHighlight( sal_uLong nPara ) IMPL_LINK_NOARG(EditorWindow, SyntaxTimerHdl, Timer *, void) { - DBG_ASSERT( pEditView, "Noch keine View, aber Syntax-Highlight ?!" ); + DBG_ASSERT( pEditView, "Not yet a View, but Syntax-Highlight?!" ); bool const bWasModified = pEditEngine->IsModified(); //pEditEngine->SetUpdateMode(false); @@ -1309,7 +1309,7 @@ void EditorWindow::ParagraphInsertedDeleted( sal_uLong nPara, bool bInserted ) void EditorWindow::CreateProgress( const OUString& rText, sal_uLong nRange ) { - DBG_ASSERT( !pProgress, "ProgressInfo existiert schon" ); + DBG_ASSERT( !pProgress, "ProgressInfo exists already" ); pProgress.reset(new ProgressInfo( GetShell()->GetViewFrame()->GetObjectShell(), rText, @@ -2021,7 +2021,7 @@ IMPL_LINK(ComplexEditorWindow, ScrollHdl, ScrollBar *, pCurScrollBar, void ) { if (aEdtWindow->GetEditView()) { - DBG_ASSERT( pCurScrollBar == aEWVScrollBar.get(), "Wer scrollt hier ?" ); + DBG_ASSERT( pCurScrollBar == aEWVScrollBar.get(), "Who is scrolling?" ); long nDiff = aEdtWindow->GetEditView()->GetStartDocPos().Y() - pCurScrollBar->GetThumbPos(); aEdtWindow->GetEditView()->Scroll( 0, nDiff ); aBrkWindow->DoScroll( nDiff ); diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 00962308c1d6..c319abb7c06f 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -276,7 +276,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq ) DBG_ASSERT( rReq.GetArgs(), "arguments expected" ); const SfxMacroInfoItem& rInfo = static_cast(rReq.GetArgs()->Get(SID_BASICIDE_ARG_MACROINFO )); BasicManager* pBasMgr = const_cast(rInfo.GetBasicManager()); - DBG_ASSERT( pBasMgr, "Nichts selektiert im Basic-Baum ?" ); + DBG_ASSERT( pBasMgr, "Nothing selected in basic tree?" ); ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) ); @@ -322,7 +322,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq ) if ( pViewFrame ) pViewFrame->ToTop(); VclPtr pWin = FindBasWin( aDocument, aLibName, rInfo.GetModule(), true ); - DBG_ASSERT( pWin, "Edit/Create Macro: Fenster wurde nicht erzeugt/gefunden!" ); + DBG_ASSERT( pWin, "Edit/Create Macro: Window was not created/found!" ); SetCurWindow( pWin, true ); pWin->EditMacro( rInfo.GetMethod() ); } @@ -486,14 +486,14 @@ void Shell::ExecuteGlobal( SfxRequest& rReq ) case SID_BASICIDE_NEWMODULE: { VclPtr pWin = CreateBasWin( m_aCurDocument, m_aCurLibName, OUString() ); - DBG_ASSERT( pWin, "New Module: Konnte Fenster nicht erzeugen!" ); + DBG_ASSERT( pWin, "New Module: Could not create window!" ); SetCurWindow( pWin, true ); } break; case SID_BASICIDE_NEWDIALOG: { VclPtr pWin = CreateDlgWin( m_aCurDocument, m_aCurLibName, OUString() ); - DBG_ASSERT( pWin, "New Module: Konnte Fenster nicht erzeugen!" ); + DBG_ASSERT( pWin, "New Module: Could not create window!" ); SetCurWindow( pWin, true ); } break; @@ -550,7 +550,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq ) pWin = FindBasWin( aDocument, aLibName, aName, true ); static_cast(pWin)->EditMacro( rSbxItem.GetMethodName() ); } - DBG_ASSERT( pWin, "Fenster wurde nicht erzeugt!" ); + DBG_ASSERT( pWin, "Window was not created!" ); SetCurWindow( pWin, true ); pTabBar->MakeVisible( pTabBar->GetCurPageId() ); } diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 378d4c551bb4..eb5c9b01f410 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -177,7 +177,7 @@ VclPtr Shell::CreateBasWin( const ScriptDocument& rDocument, const { pWin->SetStatus( pWin->GetStatus() & ~BASWIN_SUSPENDED ); nKey = GetWindowId( pWin ); - DBG_ASSERT( nKey, "CreateBasWin: Kein Key- Fenster nicht gefunden!" ); + DBG_ASSERT( nKey, "CreateBasWin: No Key - Window not found!" ); } if( nKey && xLib.is() && rDocument.isInVBAMode() ) { diff --git a/basctl/source/basicide/basides3.cxx b/basctl/source/basicide/basides3.cxx index 218ef5772637..28a43b474f09 100644 --- a/basctl/source/basicide/basides3.cxx +++ b/basctl/source/basicide/basides3.cxx @@ -91,7 +91,7 @@ VclPtr Shell::CreateDlgWin( const ScriptDocument& rDocument, const { pWin->SetStatus( pWin->GetStatus() & ~BASWIN_SUSPENDED ); nKey = GetWindowId( pWin ); - DBG_ASSERT( nKey, "CreateDlgWin: Kein Key - Fenster nicht gefunden!" ); + DBG_ASSERT( nKey, "CreateDlgWin: No Key - Window not found!" ); } if( pWin ) diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 3ec5b45b374b..9ef5777177db 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -444,7 +444,7 @@ IMPL_LINK( Shell, TabBarHdl, ::TabBar *, pCurTabBar, void ) { sal_uInt16 nCurId = pCurTabBar->GetCurPageId(); BaseWindow* pWin = aWindowTable[ nCurId ].get(); - DBG_ASSERT( pWin, "Eintrag in TabBar passt zu keinem Fenster!" ); + DBG_ASSERT( pWin, "Entry in TabBar is not matching a window!" ); SetCurWindow( pWin ); } @@ -744,7 +744,7 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange { VclPtr pWindowTmp( pWindow_ ); - DBG_ASSERT( pWindow_, "Kann keinen NULL-Pointer loeschen!" ); + DBG_ASSERT( pWindow_, "Cannot delete NULL-Pointer!" ); sal_uLong nKey = GetWindowId( pWindow_ ); pTabBar->RemovePage( (sal_uInt16)nKey ); aWindowTable.erase( nKey ); diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx index c197778afe2c..5447dbf585de 100644 --- a/basctl/source/basicide/bastype3.cxx +++ b/basctl/source/basicide/bastype3.cxx @@ -131,7 +131,7 @@ void TreeListBox::RequestingChildren( SvTreeListEntry* pEntry ) void TreeListBox::ExpandedHdl() { SvTreeListEntry* pEntry = GetHdlEntry(); - assert(pEntry && "Was wurde zugeklappt?"); + assert(pEntry && "What was collapsed?"); if ( !IsExpanded( pEntry ) && pEntry->HasChildrenOnDemand() ) { SvTreeListEntry* pChild = FirstChild( pEntry ); @@ -298,9 +298,9 @@ EntryDescriptor TreeListBox::GetEntryDescriptor( SvTreeListEntry* pEntry ) { for (SvTreeListEntry* pLE : aEntries) { - assert(pLE && "Entrie im Array nicht gefunden"); + assert(pLE && "Entry not found in array"); Entry* pBE = static_cast(pLE->GetUserData()); - assert(pBE && "Keine Daten im Eintrag gefunden!"); + assert(pBE && "No data found in entry!"); switch ( pBE->GetType() ) { @@ -434,7 +434,7 @@ SvTreeListEntry* TreeListBox::FindRootEntry( const ScriptDocument& rDocument, Li SvTreeListEntry* pRootEntry = GetEntry( nRootPos ); while ( pRootEntry ) { - DBG_ASSERT( static_cast(pRootEntry->GetUserData())->GetType() == OBJ_TYPE_DOCUMENT, "Kein Shelleintrag?" ); + DBG_ASSERT( static_cast(pRootEntry->GetUserData())->GetType() == OBJ_TYPE_DOCUMENT, "No shell entry?" ); DocumentEntry* pBDEntry = static_cast(pRootEntry->GetUserData()); if (pBDEntry && pBDEntry->GetDocument() == rDocument && pBDEntry->GetLocation() == eLocation) return pRootEntry; diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index c89db1f31c8a..8a2940b39288 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -580,7 +580,7 @@ void CutLines( OUString& rStr, sal_Int32 nStartLine, sal_Int32 nLines, bool bEra nLine++; } - SAL_WARN_IF( nStartPos == -1, "basctl.basicide", "CutLines: Startzeile nicht gefunden!" ); + SAL_WARN_IF( nStartPos == -1, "basctl.basicide", "CutLines: Start line not found!" ); if ( nStartPos == -1 ) return; diff --git a/basctl/source/basicide/brkdlg.cxx b/basctl/source/basicide/brkdlg.cxx index 5695a584b5d8..be07235fb877 100644 --- a/basctl/source/basicide/brkdlg.cxx +++ b/basctl/source/basicide/brkdlg.cxx @@ -165,7 +165,7 @@ IMPL_LINK( BreakPointDialog, ComboBoxHighlightHdl, ComboBox&, rBox, void ) sal_Int32 nEntry = rBox.GetEntryPos( rBox.GetText() ); BreakPoint* pBrk = m_aModifiedBreakPointList.at( nEntry ); - DBG_ASSERT( pBrk, "Kein passender Breakpoint zur Liste ?" ); + DBG_ASSERT( pBrk, "No matching break point to list?" ); UpdateFields( pBrk ); } diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 66fc105536d2..c060df0765fe 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -280,7 +280,7 @@ SbMethod* MacroChooser::GetMacro() void MacroChooser::DeleteMacro() { SbMethod* pMethod = GetMacro(); - DBG_ASSERT( pMethod, "DeleteMacro: Kein Macro !" ); + DBG_ASSERT( pMethod, "DeleteMacro: No Macro !" ); if ( pMethod && QueryDelMacro( pMethod->GetName(), this ) ) { if (SfxDispatcher* pDispatcher = GetDispatcher()) @@ -374,7 +374,7 @@ SbMethod* MacroChooser::CreateMacro() aDocument, *m_pBasicBox, aLibName, aModName, false ); } - DBG_ASSERT( !pModule || !pModule->FindMethod( aSubName, SbxClassType::Method ), "Macro existiert schon!" ); + DBG_ASSERT( !pModule || !pModule->FindMethod( aSubName, SbxClassType::Method ), "Macro exists already!" ); pMethod = pModule ? basctl::CreateMacro( pModule, aSubName ) : nullptr; } @@ -513,7 +513,7 @@ IMPL_LINK( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox, void ) SbMethod* pMethod = static_cast(pModule->GetMethods()->Get( iMeth )); if( pMethod->IsHidden() ) continue; - DBG_ASSERT( pMethod, "Methode nicht gefunden! (NULL)" ); + DBG_ASSERT( pMethod, "Methode not found! (NULL)" ); sal_uInt16 nStart, nEnd; pMethod->GetLineRange( nStart, nEnd ); aMacros.insert( map< sal_uInt16, SbMethod*>::value_type( nStart, pMethod ) ); diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 285b34b2bcda..4bd2b1078ca3 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -257,7 +257,7 @@ bool CheckBox::EditingEntry( SvTreeListEntry* pEntry, Selection& ) if (eMode != ObjectMode::Module) return false; - DBG_ASSERT( pEntry, "Kein Eintrag?" ); + DBG_ASSERT( pEntry, "No entry?" ); // check, if Standard library OUString aLibName = GetEntryText( pEntry, 0 ); @@ -1350,7 +1350,7 @@ void LibPage::DeleteCurrent() void LibPage::EndTabDialog() { - DBG_ASSERT( pTabDlg, "TabDlg nicht gesetzt!" ); + DBG_ASSERT( pTabDlg, "TabDlg not set!" ); if ( pTabDlg ) pTabDlg->EndDialog( 1 ); } @@ -1533,7 +1533,7 @@ void createLibImpl( vcl::Window* pWin, const ScriptDocument& rDocument, Image(BitmapEx(IDEResId(nId))), pRootEntry, false, o3tl::make_unique(OBJ_TYPE_LIBRARY)); - DBG_ASSERT( pNewLibEntry, "InsertEntry fehlgeschlagen!" ); + DBG_ASSERT( pNewLibEntry, "Insert entry failed!" ); if( pNewLibEntry ) { @@ -1542,7 +1542,7 @@ void createLibImpl( vcl::Window* pWin, const ScriptDocument& rDocument, Image(BitmapEx(IDEResId(RID_BMP_MODULE))), pNewLibEntry, false, o3tl::make_unique(OBJ_TYPE_MODULE)); - DBG_ASSERT( pEntry_, "InsertEntry fehlgeschlagen!" ); + DBG_ASSERT( pEntry_, "Insert entry failed!" ); pBasicBox->SetCurEntry( pEntry_ ); pBasicBox->Select( pBasicBox->GetCurEntry() ); // OV-Bug?! } diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 0cce2abeacd5..165fd0b61701 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -309,10 +309,10 @@ TriState ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi SvTreeListEntry*& rpNewParent, sal_uLong& rNewChildPos, bool bMove ) { (void)pEntry; - DBG_ASSERT( pEntry, "Kein Eintrag?" ); // ASS is ok here, should not be reached - DBG_ASSERT( pTarget, "Kein Ziel?" ); // with NULL (right at the beginning) + DBG_ASSERT( pEntry, "No entry?" ); // ASS is ok here, should not be reached + DBG_ASSERT( pTarget, "No target?" ); // with NULL (right at the beginning) sal_uInt16 nDepth = GetModel()->GetDepth( pTarget ); - DBG_ASSERT( nDepth, "Tiefe?" ); + DBG_ASSERT( nDepth, "Depth?" ); if ( nDepth == 1 ) { // Target = Basic => put module/dialog under the Basic @@ -706,9 +706,9 @@ IMPL_LINK( ObjectPage, ButtonHdl, Button *, pButton, void ) SfxCallMode::SYNCHRON, { &aSbxItem }); } } - else // Nur Lib selektiert + else // only Lib selected { - DBG_ASSERT( m_pBasicBox->GetModel()->GetDepth( pCurEntry ) == 1, "Kein LibEntry?!" ); + DBG_ASSERT( m_pBasicBox->GetModel()->GetDepth( pCurEntry ) == 1, "No LibEntry?!" ); ScriptDocument aDocument( ScriptDocument::getApplicationScriptDocument() ); SvTreeListEntry* pParentEntry = m_pBasicBox->GetParent( pCurEntry ); if ( pParentEntry ) @@ -839,7 +839,7 @@ void ObjectPage::NewDialog() if ( !m_pBasicBox->IsExpanded( pRootEntry ) ) m_pBasicBox->Expand( pRootEntry ); SvTreeListEntry* pLibEntry = m_pBasicBox->FindEntry( pRootEntry, aLibName, OBJ_TYPE_LIBRARY ); - DBG_ASSERT( pLibEntry, "Libeintrag nicht gefunden!" ); + DBG_ASSERT( pLibEntry, "LibEntry not found!" ); if ( pLibEntry ) { if ( !m_pBasicBox->IsExpanded( pLibEntry ) ) @@ -852,7 +852,7 @@ void ObjectPage::NewDialog() Image(BitmapEx(IDEResId(RID_BMP_DIALOG))), pLibEntry, false, o3tl::make_unique(OBJ_TYPE_DIALOG)); - DBG_ASSERT( pEntry, "InsertEntry fehlgeschlagen!" ); + DBG_ASSERT( pEntry, "Insert entry failed!" ); } m_pBasicBox->SetCurEntry( pEntry ); m_pBasicBox->Select( m_pBasicBox->GetCurEntry() ); // OV-Bug?! @@ -866,7 +866,7 @@ void ObjectPage::NewDialog() void ObjectPage::DeleteCurrent() { SvTreeListEntry* pCurEntry = m_pBasicBox->GetCurEntry(); - DBG_ASSERT( pCurEntry, "Kein aktueller Eintrag!" ); + DBG_ASSERT( pCurEntry, "No current entry!" ); EntryDescriptor aDesc( m_pBasicBox->GetEntryDescriptor( pCurEntry ) ); ScriptDocument aDocument( aDesc.GetDocument() ); DBG_ASSERT( aDocument.isAlive(), "ObjectPage::DeleteCurrent: no document!" ); @@ -910,7 +910,7 @@ void ObjectPage::DeleteCurrent() void ObjectPage::EndTabDialog() { - DBG_ASSERT( pTabDlg, "TabDlg nicht gesetzt!" ); + DBG_ASSERT( pTabDlg, "TabDlg not set!" ); if ( pTabDlg ) pTabDlg->EndDialog( 1 ); } @@ -997,7 +997,7 @@ SbModule* createModImpl( vcl::Window* pWin, const ScriptDocument& rDocument, if ( !rBasicBox.IsExpanded( pRootEntry ) ) rBasicBox.Expand( pRootEntry ); SvTreeListEntry* pLibEntry = rBasicBox.FindEntry( pRootEntry, aLibName, OBJ_TYPE_LIBRARY ); - DBG_ASSERT( pLibEntry, "Libeintrag nicht gefunden!" ); + DBG_ASSERT( pLibEntry, "LibEntry not found!" ); if ( pLibEntry ) { if ( !rBasicBox.IsExpanded( pLibEntry ) ) @@ -1023,7 +1023,7 @@ SbModule* createModImpl( vcl::Window* pWin, const ScriptDocument& rDocument, Image(BitmapEx(IDEResId(RID_BMP_MODULE))), pSubRootEntry, false, o3tl::make_unique(OBJ_TYPE_MODULE)); - DBG_ASSERT( pEntry, "InsertEntry fehlgeschlagen!" ); + DBG_ASSERT( pEntry, "Insert entry failed!" ); } rBasicBox.SetCurEntry( pEntry ); rBasicBox.Select( rBasicBox.GetCurEntry() ); // OV-Bug?! -- cgit v1.2.3