tdf#39468 Translate German comments
Translate German comments in dbaccess/ Change-Id: Ib8e5e737c5d3cd6cd968be45e74d8d015c855e16 Reviewed-on: https://gerrit.libreoffice.org/35620 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
@@ -2170,7 +2170,7 @@ bool SbaXDataBrowserController::SaveModified(bool bAskFor)
|
||||
}
|
||||
}
|
||||
|
||||
if ( !CommitCurrent() ) // das aktuelle Control committen lassen
|
||||
if ( !CommitCurrent() ) // Commit the current control
|
||||
return false;
|
||||
|
||||
Reference< XPropertySet > xFormSet(getRowSet(), UNO_QUERY);
|
||||
@@ -2211,7 +2211,7 @@ bool SbaXDataBrowserController::CommitCurrent()
|
||||
bool bControlIsLocked = xLockingTest.is() && xLockingTest->getLock();
|
||||
if (xActiveControl.is() && !bControlIsLocked)
|
||||
{
|
||||
// zunaechst das Control fragen ob es das IFace unterstuetzt
|
||||
// At first check Control if it supports the IFace
|
||||
Reference< css::form::XBoundComponent > xBoundControl(xActiveControl, UNO_QUERY);
|
||||
if (!xBoundControl.is())
|
||||
xBoundControl.set(xActiveControl->getModel(), UNO_QUERY);
|
||||
|
@@ -68,7 +68,7 @@ ORelationDialog::ORelationDialog( OJoinTableView* pParent,
|
||||
|
||||
m_xConnection = pParent->getDesignView()->getController().getConnection();
|
||||
|
||||
// Connection kopieren
|
||||
// Copy connection
|
||||
m_pConnData.reset( static_cast<ORelationTableConnectionData*>(pConnectionData->NewInstance()) );
|
||||
m_pConnData->CopyFrom( *pConnectionData );
|
||||
|
||||
|
@@ -35,7 +35,7 @@ namespace dbaui
|
||||
FKT_AGGREGATE =0x00000002,
|
||||
FKT_CONDITION =0x00000004,
|
||||
FKT_NUMERIC =0x00000008
|
||||
// if this function type is set, it is either EXISTS oder UNIQUE,
|
||||
// if this function type is set, it is either EXISTS or UNIQUE,
|
||||
// the FieldName contains the complete statement
|
||||
};
|
||||
|
||||
|
@@ -30,7 +30,7 @@ namespace dbaui
|
||||
{
|
||||
protected:
|
||||
VclPtr<OCopyTableWizard> m_pParent;
|
||||
bool m_bFirstTime; // Page wird das erste mal gerufen ; should be set in the reset methode
|
||||
bool m_bFirstTime; // Page is called the first time; should be set in the reset methode
|
||||
|
||||
OWizardPage( vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription );
|
||||
|
||||
|
@@ -521,7 +521,7 @@ sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _n
|
||||
case NumberFormat::TEXT:
|
||||
case NumberFormat::UNDEFINED:
|
||||
case NumberFormat::LOGICAL:
|
||||
nNumberFormat = NumberFormat::TEXT; // Text "uberschreibt alles
|
||||
nNumberFormat = NumberFormat::TEXT; // Text overwrites everything
|
||||
break;
|
||||
case NumberFormat::DATETIME:
|
||||
switch(_nOldNumberFormat)
|
||||
@@ -546,7 +546,7 @@ sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _n
|
||||
}
|
||||
catch(Exception&)
|
||||
{
|
||||
nNumberFormat = NumberFormat::TEXT; // Text "uberschreibt alles
|
||||
nNumberFormat = NumberFormat::TEXT; // Text overwrites everything
|
||||
}
|
||||
|
||||
return nNumberFormat;
|
||||
|
@@ -384,7 +384,7 @@ sal_Int16 OHTMLReader::GetWidthPixel( const HTMLOption& rOption )
|
||||
const OUString& rOptVal = rOption.GetString();
|
||||
if ( rOptVal.indexOf('%') != -1 )
|
||||
{ // percentage
|
||||
OSL_ENSURE( m_nColumnWidth, "WIDTH Option: m_nColumnWidth==0 und Width%" );
|
||||
OSL_ENSURE( m_nColumnWidth, "WIDTH Option: m_nColumnWidth==0 and Width%" );
|
||||
return (sal_Int16)((rOption.GetNumber() * m_nColumnWidth) / 100);
|
||||
}
|
||||
else
|
||||
|
@@ -189,7 +189,7 @@ void OJoinController::SaveTabWinPosSize(OTableWindow* pTabWin, long nOffsetX, lo
|
||||
{
|
||||
// the data for the window
|
||||
TTableWindowData::value_type pData = pTabWin->GetData();
|
||||
OSL_ENSURE(pData != nullptr, "SaveTabWinPosSize : TabWin hat keine Daten !");
|
||||
OSL_ENSURE(pData != nullptr, "SaveTabWinPosSize : TabWin has no data !");
|
||||
|
||||
// set Position & Size of data anew (with current window parameters)
|
||||
Point aPos = pTabWin->GetPosPixel();
|
||||
|
@@ -428,7 +428,7 @@ CellController* OSelectionBrowseBox::GetController(long nRow, sal_uInt16 nColId)
|
||||
if ( nColId > getFields().size() )
|
||||
return nullptr;
|
||||
OTableFieldDescRef pEntry = getFields()[nColId-1];
|
||||
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::GetController : keine FieldDescription !");
|
||||
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::GetController : invalid FieldDescription !");
|
||||
|
||||
if (!pEntry.is())
|
||||
return nullptr;
|
||||
@@ -463,7 +463,7 @@ void OSelectionBrowseBox::InitController(CellControllerRef& /*rController*/, lon
|
||||
if ( nPos == 0 || nPos == BROWSER_INVALIDID || nPos > getFields().size() )
|
||||
return;
|
||||
OTableFieldDescRef pEntry = getFields()[nPos-1];
|
||||
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::InitController : keine FieldDescription !");
|
||||
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::InitController : invalid FieldDescription !");
|
||||
long nCellIndex = GetRealRow(nRow);
|
||||
|
||||
switch (nCellIndex)
|
||||
@@ -683,7 +683,7 @@ bool OSelectionBrowseBox::saveField(OUString& _sFieldName ,OTableFieldDescRef& _
|
||||
|
||||
if ( _pEntry->isAggreateFunction() )
|
||||
{
|
||||
OSL_ENSURE(!_pEntry->GetFunction().isEmpty(),"Functionname darf hier nicht leer sein! ;-(");
|
||||
OSL_ENSURE(!_pEntry->GetFunction().isEmpty(),"No empty Function name allowed here! ;-(");
|
||||
sQuotedFullFieldName = _pEntry->GetFunction() + "(" + sQuotedFullFieldName + ")";
|
||||
sFullFieldName = _pEntry->GetFunction() + "(" + sFullFieldName + ")";
|
||||
}
|
||||
@@ -1633,7 +1633,7 @@ void OSelectionBrowseBox::AddGroupBy( const OTableFieldDescRef& rInfo )
|
||||
Reference< XConnection> xConnection = static_cast<OQueryController&>(getDesignView()->getController()).getConnection();
|
||||
if(!xConnection.is())
|
||||
return;
|
||||
OSL_ENSURE(!rInfo->IsEmpty(),"AddGroupBy:: OTableFieldDescRef sollte nicht Empty sein!");
|
||||
OSL_ENSURE(!rInfo->IsEmpty(),"AddGroupBy:: OTableFieldDescRef should not be empty!");
|
||||
OTableFieldDescRef pEntry;
|
||||
const Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData();
|
||||
const ::comphelper::UStringMixEqual bCase(xMeta.is() && xMeta->supportsMixedCaseQuotedIdentifiers());
|
||||
@@ -1713,7 +1713,7 @@ void OSelectionBrowseBox::AddCondition( const OTableFieldDescRef& rInfo, const O
|
||||
Reference< XConnection> xConnection = static_cast<OQueryController&>(getDesignView()->getController()).getConnection();
|
||||
if(!xConnection.is())
|
||||
return;
|
||||
OSL_ENSURE(rInfo.is() && !rInfo->IsEmpty(),"AddCondition:: OTableFieldDescRef sollte nicht Empty sein!");
|
||||
OSL_ENSURE(rInfo.is() && !rInfo->IsEmpty(),"AddCondition:: OTableFieldDescRef should not be Empty!");
|
||||
|
||||
OTableFieldDescRef pLastEntry;
|
||||
Reference<XDatabaseMetaData> xMeta = xConnection->getMetaData();
|
||||
@@ -2056,7 +2056,7 @@ long OSelectionBrowseBox::GetRealRow(long nRowId) const
|
||||
break;
|
||||
}
|
||||
}
|
||||
OSL_ENSURE(nErg <= long(m_bVisibleRow.size()),"nErg kann nicht groesser als BROW_ROW_CNT sein!");
|
||||
OSL_ENSURE(nErg <= long(m_bVisibleRow.size()),"nErg cannot be greater than BROW_ROW_CNT!");
|
||||
return i;
|
||||
}
|
||||
|
||||
@@ -2316,9 +2316,9 @@ void OSelectionBrowseBox::ColumnResized(sal_uInt16 nColId)
|
||||
// but the changes aren't permanent ...
|
||||
|
||||
sal_uInt16 nPos = GetColumnPos(nColId);
|
||||
OSL_ENSURE(nPos <= getFields().size(),"ColumnResized:: nColId sollte nicht groesser als List::count sein!");
|
||||
OSL_ENSURE(nPos <= getFields().size(),"ColumnResized:: nColId should not be greater than List::count!");
|
||||
OTableFieldDescRef pEntry = getEntry(nPos-1);
|
||||
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::ColumnResized : keine FieldDescription !");
|
||||
OSL_ENSURE(pEntry.is(), "OSelectionBrowseBox::ColumnResized : invalid FieldDescription !");
|
||||
static_cast<OQueryController&>(getDesignView()->getController()).setModified( true );
|
||||
EditBrowseBox::ColumnResized(nColId);
|
||||
|
||||
|
@@ -42,7 +42,7 @@ OTableConnectionData::OTableConnectionData(const TTableWindowData::value_type& _
|
||||
void OTableConnectionData::Init()
|
||||
{
|
||||
// initialise linedatalist with defaults
|
||||
OSL_ENSURE(m_vConnLineData.empty(), "OTableConnectionData::Init() : nur mit leere Linienliste aufzurufen !");
|
||||
OSL_ENSURE(m_vConnLineData.empty(), "OTableConnectionData::Init() : call only with empty line list!");
|
||||
ResetConnLines();
|
||||
// this creates the defaults
|
||||
}
|
||||
|
@@ -346,7 +346,7 @@ IMPL_LINK_NOARG( OTableWindowListBox, OnDoubleClick, SvTreeListBox *, bool )
|
||||
{
|
||||
// tell my parent
|
||||
vcl::Window* pParent = Window::GetParent();
|
||||
OSL_ENSURE(pParent != nullptr, "OTableWindowListBox::OnDoubleClick : habe kein Parent !");
|
||||
OSL_ENSURE(pParent != nullptr, "OTableWindowListBox::OnDoubleClick : have no Parent !");
|
||||
|
||||
static_cast<OTableWindow*>(pParent)->OnEntryDoubleClicked(GetHdlEntry());
|
||||
|
||||
|
@@ -65,7 +65,7 @@ DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
|
||||
get(m_pPB_OK, "ok");
|
||||
|
||||
m_pML_HelpText->SetControlBackground( GetSettings().GetStyleSettings().GetFaceColor() );
|
||||
// Connection kopieren
|
||||
// Copy connection
|
||||
m_pConnData.reset(_pData->NewInstance());
|
||||
m_pConnData->CopyFrom(*_pData);
|
||||
|
||||
|
Reference in New Issue
Block a user