Kaydet (Commit) ec45130e authored tarafından Nicolas Christener's avatar Nicolas Christener Kaydeden (comit) Caolán McNamara

translate DE->EN

Change-Id: Ic0afa7dc008d1c36b68f37a915f575b21e1548da
Reviewed-on: https://gerrit.libreoffice.org/18840Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c70fc890
...@@ -56,7 +56,7 @@ ScPivotFilterDlg::ScPivotFilterDlg(vcl::Window* pParent, const SfxItemSet& rArgS ...@@ -56,7 +56,7 @@ ScPivotFilterDlg::ScPivotFilterDlg(vcl::Window* pParent, const SfxItemSet& rArgS
pOutItem ( NULL ), pOutItem ( NULL ),
pViewData ( NULL ), pViewData ( NULL ),
pDoc ( NULL ), pDoc ( NULL ),
nSrcTab ( nSourceTab ), // ist nicht im QueryParam nSrcTab ( nSourceTab ), // is not in QueryParam
nFieldCount ( 0 ) nFieldCount ( 0 )
{ {
get(m_pLbField1, "field1"); get(m_pLbField1, "field1");
...@@ -133,7 +133,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet ) ...@@ -133,7 +133,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet )
pViewData = rQueryItem.GetViewData(); pViewData = rQueryItem.GetViewData();
pDoc = pViewData ? pViewData->GetDocument() : NULL; pDoc = pViewData ? pViewData->GetDocument() : NULL;
// fuer leichteren Zugriff: // for easier access:
aFieldLbArr [0] = m_pLbField1; aFieldLbArr [0] = m_pLbField1;
aFieldLbArr [1] = m_pLbField2; aFieldLbArr [1] = m_pLbField2;
aFieldLbArr [2] = m_pLbField3; aFieldLbArr [2] = m_pLbField3;
...@@ -155,10 +155,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet ) ...@@ -155,10 +155,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet )
ScDBCollection* pDBColl = pDoc->GetDBCollection(); ScDBCollection* pDBColl = pDoc->GetDBCollection();
OUString theDbName = OUString(STR_DB_LOCAL_NONAME); OUString theDbName = OUString(STR_DB_LOCAL_NONAME);
/* // Check if the passed range is a database range
* Ueberpruefen, ob es sich bei dem uebergebenen
* Bereich um einen Datenbankbereich handelt:
*/
if ( pDBColl ) if ( pDBColl )
{ {
...@@ -182,7 +179,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet ) ...@@ -182,7 +179,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet )
m_pFtDbArea->SetText( EMPTY_OUSTRING ); m_pFtDbArea->SetText( EMPTY_OUSTRING );
} }
// Feldlisten einlesen und Eintraege selektieren: // Read the field lists and select the entries:
FillFieldLists(); FillFieldLists();
...@@ -209,15 +206,15 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet ) ...@@ -209,15 +206,15 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet )
} }
else else
{ {
aFieldLbArr[i]->SelectEntryPos( 0 ); // "keiner" selektieren aFieldLbArr[i]->SelectEntryPos( 0 ); // "none" selected
aCondLbArr [i]->SelectEntryPos( 0 ); // "=" selektieren aCondLbArr [i]->SelectEntryPos( 0 ); // "=" selected
UpdateValueList( static_cast<sal_uInt16>(i) ); UpdateValueList( static_cast<sal_uInt16>(i) );
aValueEdArr[i]->SetText( EMPTY_OUSTRING ); aValueEdArr[i]->SetText( EMPTY_OUSTRING );
} }
aValueEdArr[i]->SetModifyHdl( LINK( this, ScPivotFilterDlg, ValModifyHdl ) ); aValueEdArr[i]->SetModifyHdl( LINK( this, ScPivotFilterDlg, ValModifyHdl ) );
} }
// Disable/Enable Logik: // disable/enable logic:
(m_pLbField1->GetSelectEntryPos() != 0) (m_pLbField1->GetSelectEntryPos() != 0)
&& (m_pLbField2->GetSelectEntryPos() != 0) && (m_pLbField2->GetSelectEntryPos() != 0)
...@@ -381,9 +378,9 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem() ...@@ -381,9 +378,9 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem()
OUString aStrVal = aValueEdArr[i]->GetText(); OUString aStrVal = aValueEdArr[i]->GetText();
/* /*
* Dialog liefert die ausgezeichneten Feldwerte "leer"/"nicht leer" * The dialog returns the specifc field values "empty"/"non empty"
* als Konstanten in nVal in Verbindung mit dem Schalter * as constant in nVal in connection with the bQueryByString switch
* bQueryByString auf FALSE. * set to false
*/ */
if ( aStrVal.equals(aStrEmpty) ) if ( aStrVal.equals(aStrEmpty) )
{ {
...@@ -416,7 +413,7 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem() ...@@ -416,7 +413,7 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem()
: SC_AND; : SC_AND;
theParam.bInplace = false; theParam.bInplace = false;
theParam.nDestTab = 0; // Woher kommen diese Werte? theParam.nDestTab = 0; // Where do those values come from?
theParam.nDestCol = 0; theParam.nDestCol = 0;
theParam.nDestRow = 0; theParam.nDestRow = 0;
...@@ -434,11 +431,10 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem() ...@@ -434,11 +431,10 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem()
IMPL_LINK( ScPivotFilterDlg, LbSelectHdl, ListBox*, pLb ) IMPL_LINK( ScPivotFilterDlg, LbSelectHdl, ListBox*, pLb )
{ {
/* /*
* Behandlung der Enable/Disable-Logik, * Handling the enable/disable logic based on which ListBox was touched:
* abhaengig davon, welche ListBox angefasst wurde:
*/ */
if (pLb == m_pLbConnect1) if (pLb == m_pLbConnect1)
{ {
if ( !m_pLbField2->IsEnabled() ) if ( !m_pLbField2->IsEnabled() )
...@@ -525,9 +521,9 @@ IMPL_LINK( ScPivotFilterDlg, LbSelectHdl, ListBox*, pLb ) ...@@ -525,9 +521,9 @@ IMPL_LINK( ScPivotFilterDlg, LbSelectHdl, ListBox*, pLb )
IMPL_LINK_TYPED( ScPivotFilterDlg, CheckBoxHdl, Button*, pBox, void ) IMPL_LINK_TYPED( ScPivotFilterDlg, CheckBoxHdl, Button*, pBox, void )
{ {
// bei Gross-/Kleinschreibung die Werte-Listen aktualisieren // update the value lists when dealing with uppercase/lowercase
if (pBox == m_pBtnCase) // Wertlisten if (pBox == m_pBtnCase) // value lists
{ {
for (sal_uInt16 i=0; i<=MAXCOL; i++) for (sal_uInt16 i=0; i<=MAXCOL; i++)
DELETEZ( pEntryLists[i] ); DELETEZ( pEntryLists[i] );
...@@ -554,8 +550,8 @@ IMPL_LINK( ScPivotFilterDlg, ValModifyHdl, ComboBox*, pEd ) ...@@ -554,8 +550,8 @@ IMPL_LINK( ScPivotFilterDlg, ValModifyHdl, ComboBox*, pEd )
if ( pEd == m_pEdVal2 ) pLb = m_pLbCond2; if ( pEd == m_pEdVal2 ) pLb = m_pLbCond2;
else if ( pEd == m_pEdVal3 ) pLb = m_pLbCond3; else if ( pEd == m_pEdVal3 ) pLb = m_pLbCond3;
// wenn einer der Sonderwerte leer/nicht-leer // if ond of the special values "empty"/"non-empty" was chosen only the
// gewaehlt wird, so macht nur der =-Operator Sinn: // =-operand makes sense:
if ( aStrEmpty.equals(aStrVal) || aStrNotEmpty.equals(aStrVal) ) if ( aStrEmpty.equals(aStrVal) || aStrNotEmpty.equals(aStrVal) )
{ {
......
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