diff options
author | Daniel Herde <daniel@dher.de> | 2012-08-09 18:25:53 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-08-09 20:46:17 +0100 |
commit | b803fa2579256979bac83f0b193f2c30d524d76b (patch) | |
tree | edf0affac1b4085956ba4df1d8481f238d560a12 /dbaccess/source/ui/control | |
parent | 21d7f4b4bba79558de830d9e815e127f67274355 (diff) |
translated the german comments in a bunch of source files in dbaccess/source
Change-Id: I2d4b10d96668502a4fe84af70d43bd3abaa5ed23
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r-- | dbaccess/source/ui/control/marktree.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/control/sqledit.cxx | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/dbaccess/source/ui/control/marktree.cxx b/dbaccess/source/ui/control/marktree.cxx index e1b17b04c4aa..830f1381ec73 100644 --- a/dbaccess/source/ui/control/marktree.cxx +++ b/dbaccess/source/ui/control/marktree.cxx @@ -193,7 +193,7 @@ void OMarkableTreeListBox::CheckButtonHdl() void OMarkableTreeListBox::checkedButton_noBroadcast(SvLBoxEntry* _pEntry) { SvButtonState eState = GetCheckButtonState( _pEntry); - if (GetModel()->HasChildren(_pEntry)) // Falls Kinder, dann diese auch checken + if (GetModel()->HasChildren(_pEntry)) // if it has children, check those too { SvLBoxEntry* pChildEntry = GetModel()->Next(_pEntry); SvLBoxEntry* pSiblingEntry = GetModel()->NextSibling(_pEntry); @@ -208,7 +208,7 @@ void OMarkableTreeListBox::checkedButton_noBroadcast(SvLBoxEntry* _pEntry) while(pEntry) { SetCheckButtonState(pEntry,eState); - if(GetModel()->HasChildren(pEntry)) // Falls Kinder, dann diese auch checken + if(GetModel()->HasChildren(pEntry)) // if it has children, check those too { SvLBoxEntry* pChildEntry = GetModel()->Next(pEntry); SvLBoxEntry* pSiblingEntry = GetModel()->NextSibling(pEntry); diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx index 0ce5c2b24196..289960a3e95c 100644 --- a/dbaccess/source/ui/control/sqledit.cxx +++ b/dbaccess/source/ui/control/sqledit.cxx @@ -134,7 +134,7 @@ void OSqlEdit::KeyInput( const KeyEvent& rKEvt ) rController.InvalidateFeature(SID_CUT); rController.InvalidateFeature(SID_COPY); - // Ist dies ein Cut, Copy, Paste Event? + // Is this a cut, copy, paste event? KeyFuncType aKeyFunc = rKEvt.GetKeyCode().GetFunction(); if( (aKeyFunc==KEYFUNC_CUT)||(aKeyFunc==KEYFUNC_COPY)||(aKeyFunc==KEYFUNC_PASTE) ) m_bAccelAction = sal_True; @@ -149,10 +149,9 @@ void OSqlEdit::KeyInput( const KeyEvent& rKEvt ) sal_Bool OSqlEdit::IsInAccelAct() { DBG_CHKTHIS(OSqlEdit,NULL); - // Das Cut, Copy, Paste per Accel. fuehrt neben der Aktion im Edit im View - // auch die entsprechenden Slots aus. Die Aktionen finden also zweimal statt. - // Um dies zu verhindern, kann im View beim SlotExec diese Funktion - // aufgerufen werden. + // Cut, Copy, Paste by Accel. runs the action in the Edit but also the + // corresponding slot in the View. Therefore, the action occurs twice. + // To prevent this, SlotExec in View can call this function. return m_bAccelAction; } @@ -220,7 +219,7 @@ void OSqlEdit::SetText(const String& rNewText) { DBG_CHKTHIS(OSqlEdit,NULL); if (m_timerUndoActionCreation.IsActive()) - { // die noch anstehenden Undo-Action erzeugen + { // create the trailing undo-actions m_timerUndoActionCreation.Stop(); LINK(this, OSqlEdit, OnUndoActionTimer).Call(NULL); } |