summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2017-03-04 16:30:54 +0000
committerEike Rathke <erack@redhat.com>2017-03-14 23:25:28 +0000
commitaaa3fc0192c02389be2cde2ecd38085d0c304c44 (patch)
tree576333752b6cebd3bceeb849ec69555ad23323a9
parentd4873496e8c74192f50f061cd8ab512e706a44ad (diff)
Translate German comments in sc/source/ui (part of its sub-dirs)
Change-Id: I9149316b71a897404a248276cc0ded9cdd50d627 Reviewed-on: https://gerrit.libreoffice.org/34886 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx4
-rw-r--r--sc/source/ui/dbgui/dbnamdlg.cxx38
-rw-r--r--sc/source/ui/dbgui/foptmgr.cxx9
-rw-r--r--sc/source/ui/dbgui/imoptdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/scendlg.cxx4
-rw-r--r--sc/source/ui/dbgui/scuiimoptdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx25
-rw-r--r--sc/source/ui/dbgui/tpsubt.cxx10
8 files changed, 48 insertions, 50 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index f4d219044b2a..f146fd45a41d 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -424,7 +424,7 @@ void ScChildrenShapes::Notify(SfxBroadcaster&, const SfxHint& rHint)
{
switch (pSdrHint->GetKind())
{
- case SdrHintKind::ObjectChange : // Objekt geaendert
+ case SdrHintKind::ObjectChange : // object changed
{
uno::Reference<drawing::XShape> xShape (pObj->getUnoShape(), uno::UNO_QUERY);
if (xShape.is())
@@ -435,7 +435,7 @@ void ScChildrenShapes::Notify(SfxBroadcaster&, const SfxHint& rHint)
}
}
break;
- case SdrHintKind::ObjectInserted : // Neues Zeichenobjekt eingefuegt
+ case SdrHintKind::ObjectInserted : // new drawing object inserted
{
uno::Reference<drawing::XShape> xShape (pObj->getUnoShape(), uno::UNO_QUERY);
if (xShape.is())
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index 45967294d460..c4cc4ce4fcb8 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -148,7 +148,7 @@ ScDbNameDlg::ScDbNameDlg(SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pPar
m_pFTSource->SetStyle(m_pFTSource->GetStyle() | WB_NOLABEL);
m_pFTOperations->SetStyle(m_pFTOperations->GetStyle() | WB_NOLABEL);
- // damit die Strings in der Resource bei den FixedTexten bleiben koennen:
+ // so that the strings in the resource can stay with fixed texts:
aStrSource = m_pFTSource->GetText();
aStrOperations = m_pFTOperations->GetText();
@@ -223,7 +223,7 @@ void ScDbNameDlg::Init()
if ( pDBColl )
{
- // Feststellen, ob definierter DB-Bereich markiert wurde:
+ // determine if the defined DB area has been marked:
pDBData = pDBColl->GetDBAtCursor( nStartCol, nStartRow, nStartTab, ScDBDataPortion::TOP_LEFT );
if ( pDBData )
{
@@ -283,8 +283,8 @@ void ScDbNameDlg::SetInfoStrings( const ScDBData* pDBData )
m_pFTOperations->SetText(aBuf.makeStringAndClear());
}
-// Uebergabe eines mit der Maus selektierten Tabellenbereiches, der dann als
-// neue Selektion im Referenz-Fenster angezeigt wird.
+// Transfer of a table area selected with the mouse, which is then displayed
+// as a new selection in the reference window.
void ScDbNameDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
{
@@ -313,9 +313,9 @@ void ScDbNameDlg::SetActive()
{
m_pEdAssign->GrabFocus();
- // kein NameModifyHdl, weil sonst Bereiche nicht geaendert werden koennen
- // (nach dem Aufziehen der Referenz wuerde der alte Inhalt wieder angezeigt)
- // (der ausgewaehlte DB-Name hat sich auch nicht veraendert)
+ // No NameModifyHdl, because otherwise areas can not be changed
+ // (the old content would be displayed again after the reference selection is pulled)
+ // (the selected DB name has not changed either)
RefInputDone();
}
@@ -392,9 +392,9 @@ IMPL_LINK_NOARG(ScDbNameDlg, OkBtnHdl, Button*, void)
{
AddBtnHdl( nullptr );
- // Der View die Aenderungen und die Remove-Liste uebergeben:
- // beide werden nur als Referenz uebergeben, so dass an dieser
- // Stelle keine Speicherleichen entstehen koennen:
+ // Pass the changes and the remove list to the view: both are
+ // transferred as a reference only, so that no dead memory can
+ // be created at this point:
if ( pViewData )
{
ScDBDocFunc aFunc(*pViewData->GetDocShell());
@@ -418,7 +418,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl, Button*, void)
{
if ( ScRangeData::IsNameValid( aNewName, pDoc ) == ScRangeData::NAME_VALID && aNewName != STR_DB_LOCAL_NONAME )
{
- // weil jetzt editiert werden kann, muss erst geparst werden
+ // because editing can be done now, parsing is needed first
ScRange aTmpRange;
OUString aText = m_pEdAssign->GetText();
if ( aTmpRange.ParseAny( aText, pDoc, aAddrDetails ) & ScRefFlags::VALID )
@@ -430,7 +430,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl, Button*, void)
ScDBData* pOldEntry = aLocalDbCol.getNamedDBs().findByUpperName(ScGlobal::pCharClass->uppercase(aNewName));
if (pOldEntry)
{
- // Bereich veraendern
+ // modify area
pOldEntry->MoveTo( aStart.Tab(), aStart.Col(), aStart.Row(),
aEnd.Col(), aEnd.Row() );
@@ -443,7 +443,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl, Button*, void)
}
else
{
- // neuen Bereich einfuegen
+ // insert new area
ScDBData* pNewEntry = new ScDBData( aNewName, aStart.Tab(),
aStart.Col(), aStart.Row(),
@@ -471,7 +471,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl, Button*, void)
m_pBtnDoSize->Check( false );
m_pBtnKeepFmt->Check( false );
m_pBtnStripData->Check( false );
- SetInfoStrings( nullptr ); // leer
+ SetInfoStrings( nullptr ); // empty
theCurArea = ScRange();
bSaved = true;
pSaveObj->Save();
@@ -551,7 +551,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, RemoveBtnHdl, Button*, void)
m_pBtnDoSize->Check( false );
m_pBtnKeepFmt->Check( false );
m_pBtnStripData->Check( false );
- SetInfoStrings( nullptr ); // leer
+ SetInfoStrings( nullptr ); // empty
bSaved=false;
pSaveObj->Restore();
NameModifyHdl( *m_pEdName );
@@ -575,8 +575,8 @@ IMPL_LINK_NOARG(ScDbNameDlg, NameModifyHdl, Edit&, void)
m_pOptions->Disable();
//bSaved=sal_False;
//pSaveObj->Restore();
- //@BugID 54702 Enablen/Disablen nur noch in Basisklasse
- //SFX_APPWINDOW->Disable(sal_False); //! allgemeine Methode im ScAnyRefDlg
+ //@BugID 54702 enable/disable in the base class only
+ //SFX_APPWINDOW->Disable(sal_False); //! general method in ScAnyRefDlg
bRefInputMode = false;
}
else
@@ -616,7 +616,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, NameModifyHdl, Edit&, void)
m_pAssignFrame->Enable();
- //@BugID 54702 Enablen/Disablen nur noch in Basisklasse
+ //@BugID 54702 enable/disable in the base class only
//SFX_APPWINDOW->Enable();
bRefInputMode = true;
}
@@ -624,7 +624,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, NameModifyHdl, Edit&, void)
IMPL_LINK_NOARG(ScDbNameDlg, AssModifyHdl, Edit&, void)
{
- // hier parsen fuer Save() etc.
+ // parse here for Save(), etc.
ScRange aTmpRange;
OUString aText = m_pEdAssign->GetText();
diff --git a/sc/source/ui/dbgui/foptmgr.cxx b/sc/source/ui/dbgui/foptmgr.cxx
index e29b91f8574b..deea6733f395 100644
--- a/sc/source/ui/dbgui/foptmgr.cxx
+++ b/sc/source/ui/dbgui/foptmgr.cxx
@@ -102,7 +102,7 @@ void ScFilterOptionsMgr::Init()
theAreaStr = theCurArea.Format(ScRefFlags::RANGE_ABS_3D, pDoc, eConv);
- // Zielbereichsliste fuellen
+ // fill the target area list
pLbCopyArea->Clear();
pLbCopyArea->InsertEntry( rStrUndefined, 0 );
@@ -118,13 +118,12 @@ void ScFilterOptionsMgr::Init()
pLbCopyArea->SetEntryData( nInsert, new OUString( aRefStr ) );
}
- pBtnDestPers->Check(); // beim Aufruf immer an
+ pBtnDestPers->Check(); // always on when called
pLbCopyArea->SelectEntryPos( 0 );
pEdCopyArea->SetText( EMPTY_OUSTRING );
/*
- * Ueberpruefen, ob es sich bei dem uebergebenen
- * Bereich um einen Datenbankbereich handelt:
+ * Check whether the transferred area is a database area:
*/
theDbArea = theAreaStr;
@@ -160,7 +159,7 @@ void ScFilterOptionsMgr::Init()
pFtDbArea->SetText( OUString() );
}
- // Kopierposition:
+ // position to copy to:
if ( !rQueryData.bInplace )
{
diff --git a/sc/source/ui/dbgui/imoptdlg.cxx b/sc/source/ui/dbgui/imoptdlg.cxx
index ce2ae0bfa3fd..0d9a2460b411 100644
--- a/sc/source/ui/dbgui/imoptdlg.cxx
+++ b/sc/source/ui/dbgui/imoptdlg.cxx
@@ -26,8 +26,8 @@
static const sal_Char pStrFix[] = "FIX";
-// Der Options-String darf kein Semikolon mehr enthalten (wegen Pickliste)
-// darum ab Version 336 Komma stattdessen
+// The option string can no longer contain a semicolon (because of pick list),
+// therefore, starting with version 336 comma instead
ScImportOptions::ScImportOptions( const OUString& rStr )
{
diff --git a/sc/source/ui/dbgui/scendlg.cxx b/sc/source/ui/dbgui/scendlg.cxx
index efcd657caed7..ce61274909be 100644
--- a/sc/source/ui/dbgui/scendlg.cxx
+++ b/sc/source/ui/dbgui/scendlg.cxx
@@ -138,7 +138,7 @@ void ScNewScenarioDlg::SetScenarioData(const OUString& rName, const OUString& rC
m_pCbShowFrame->Check ( (nFlags & ScScenarioFlags::ShowFrame) != ScScenarioFlags::NONE );
EnableHdl(m_pCbShowFrame);
m_pCbTwoWay->Check ( (nFlags & ScScenarioFlags::TwoWay) != ScScenarioFlags::NONE );
- // CopyAll nicht
+ // not CopyAll
m_pCbProtect->Check ( (nFlags & ScScenarioFlags::Protected) != ScScenarioFlags::NONE );
}
@@ -162,7 +162,7 @@ IMPL_LINK_NOARG(ScNewScenarioDlg, OkHdl, Button*, void)
else
EndDialog( RET_OK );
- //! beim Editieren testen, ob eine andere Tabelle den Namen hat!
+ //! when editing, test whether another table has the name!
}
IMPL_LINK( ScNewScenarioDlg, EnableHdl, Button*, pBox, void )
diff --git a/sc/source/ui/dbgui/scuiimoptdlg.cxx b/sc/source/ui/dbgui/scuiimoptdlg.cxx
index 3123f3aeb0a1..33db5aa95bd0 100644
--- a/sc/source/ui/dbgui/scuiimoptdlg.cxx
+++ b/sc/source/ui/dbgui/scuiimoptdlg.cxx
@@ -136,7 +136,7 @@ ScImportOptionsDlg::ScImportOptionsDlg(
sFieldSep = sFieldSep.replaceFirst( "%TAB", SC_RESSTR(SCSTR_FIELDSEP_TAB) );
sFieldSep = sFieldSep.replaceFirst( "%SPACE", SC_RESSTR(SCSTR_FIELDSEP_SPACE) );
- // im Ctor-Initializer nicht moeglich (MSC kann das nicht):
+ // not possible in the Ctor initializer (MSC cannot do that):
pFieldSepTab = new ScDelimiterTable( sFieldSep );
pTextSepTab = new ScDelimiterTable( OUString(ScResId(SCSTR_TEXTSEP)) );
@@ -234,7 +234,7 @@ ScImportOptionsDlg::ScImportOptionsDlg(
m_pLbCharset->SelectTextEncoding( pOptions ? pOptions->eCharSet :
osl_getThreadTextEncoding() );
- // optionaler Titel:
+ // optional title:
if ( pStrTitle )
SetText( *pStrTitle );
}
diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx
index dedb7880c3d7..08fed1a6e690 100644
--- a/sc/source/ui/dbgui/sfiltdlg.cxx
+++ b/sc/source/ui/dbgui/sfiltdlg.cxx
@@ -85,7 +85,7 @@ ScSpecialFilterDlg::ScSpecialFilterDlg( SfxBindings* pB, SfxChildWindow* pCW, vc
Init( rArgSet );
pEdFilterArea->GrabFocus();
- // Hack: RefInput-Kontrolle
+ // hack: control of RefInput
pIdle = new Idle;
// FIXME: this is an abomination
pIdle->SetPriority( TaskPriority::LOWEST );
@@ -109,7 +109,7 @@ void ScSpecialFilterDlg::dispose()
delete pOutItem;
- // Hack: RefInput-Kontrolle
+ // hack: control of RefInput
pIdle->Stop();
delete pIdle;
@@ -184,7 +184,7 @@ void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet )
pLbFilterArea->SelectEntryPos( 0 );
- // Optionen initialisieren lassen:
+ // let options be initilized:
pOptionsMgr = new ScFilterOptionsMgr(
pViewData,
@@ -202,14 +202,14 @@ void ScSpecialFilterDlg::Init( const SfxItemSet& rArgSet )
pFtDbArea,
aStrUndefined );
- // Spezialfilter braucht immer Spaltenkoepfe
+ // special filter always needs column headers
pBtnHeader->Check();
pBtnHeader->Disable();
- // Modal-Modus einschalten
+ // turn on modal mode
// SetDispatcherLock( true );
- //@BugID 54702 Enablen/Disablen nur noch in Basisklasse
- //SFX_APPWINDOW->Disable(false); //! allgemeine Methode im ScAnyRefDlg
+ //@BugID 54702 enable/disalbe in base class only
+ //SFX_APPWINDOW->Disable(false); //! general method in ScAnyRefDlg
}
bool ScSpecialFilterDlg::Close()
@@ -220,12 +220,12 @@ bool ScSpecialFilterDlg::Close()
return DoClose( ScSpecialFilterDlgWrapper::GetChildWindowId() );
}
-// Uebergabe eines mit der Maus selektierten Tabellenbereiches, der dann als
-// neue Selektion im Referenz-Edit angezeigt wird.
+// Transfer of a table area selected with the mouse, which is then displayed
+// as a new selection in the reference edit.
void ScSpecialFilterDlg::SetReference( const ScRange& rRef, ScDocument* pDocP )
{
- if ( bRefInputMode && pRefInputEdit ) // Nur moeglich, wenn im Referenz-Editmodus
+ if ( bRefInputMode && pRefInputEdit ) // only possible if in the reference edit mode
{
if ( rRef.aStart != rRef.aEnd )
RefInputStart( pRefInputEdit );
@@ -330,9 +330,8 @@ IMPL_LINK( ScSpecialFilterDlg, EndDlgHdl, Button*, pBtn, void )
if ( bEditInputOk )
{
/*
- * Alle Edit-Felder enthalten gueltige Bereiche.
- * Nun wird versucht aus dem Filterbereich
- * ein ScQueryParam zu erzeugen:
+ * All edit fields contain valid areas. Now try to create
+ * a ScQueryParam from the filter area:
*/
ScRefFlags nResult = theFilterArea.Parse( theAreaStr, pDoc, eConv );
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx
index e591c3ef1185..5771d16e4d13 100644
--- a/sc/source/ui/dbgui/tpsubt.cxx
+++ b/sc/source/ui/dbgui/tpsubt.cxx
@@ -187,7 +187,7 @@ bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo,
else
nGroupIdx = nGroupNo-1;
- ScSubTotalParam theSubTotalData; // auslesen, wenn schon teilweise gefuellt
+ ScSubTotalParam theSubTotalData; // read out, if already partly filled
SfxTabDialog* pDlg = GetTabDialog();
if ( pDlg )
{
@@ -231,10 +231,10 @@ bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo,
nCheck++;
}
}
- theSubTotalData.SetSubTotals( nGroupNo, // Gruppen-Nr.
+ theSubTotalData.SetSubTotals( nGroupNo, // group number
pSubTotals.get(),
pFunctions.get(),
- nCheckCount ); // Anzahl der Array-Elemente
+ nCheckCount ); // number of array elements
}
@@ -433,7 +433,7 @@ bool ScTpSubTotalGroup2::FillItemSet( SfxItemSet* rArgSet ) { return FILLSET(2);
bool ScTpSubTotalGroup3::FillItemSet( SfxItemSet* rArgSet ) { return FILLSET(3); }
#undef FILL
-// Optionen-Tabpage:
+// options tab page:
ScTpSubTotalOptions::ScTpSubTotalOptions( vcl::Window* pParent,
const SfxItemSet& rArgSet )
@@ -529,7 +529,7 @@ void ScTpSubTotalOptions::Reset( const SfxItemSet* /* rArgSet */ )
bool ScTpSubTotalOptions::FillItemSet( SfxItemSet* rArgSet )
{
- ScSubTotalParam theSubTotalData; // auslesen, wenn schon teilweise gefuellt
+ ScSubTotalParam theSubTotalData; // read out, if already partly filled
SfxTabDialog* pDlg = GetTabDialog();
if ( pDlg )
{