summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-04-07 06:57:33 +0000
committerMichael Stahl <mstahl@redhat.com>2017-04-07 11:15:03 +0000
commit7d98edfa4955ab6280655a9678d6a913845fa2f3 (patch)
tree3be35e656b76b3192061e02df7f703c3359595a3 /vcl/source/control
parent6584735bba4b96fbde5c7be55dc6c98878ad059a (diff)
tdf#39468 Translate German comments
Translate German comments and terms in dbaccess/, extensions/, formula/, include/, reportdesign/, rsc/, sd/, svtools/, and vcl/ Change-Id: Ie20dadda0eeb0786eb328c6c652287d5481c5e3b Reviewed-on: https://gerrit.libreoffice.org/36249 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/edit.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index fa559c150117..7039dd14f578 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -74,7 +74,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
// - Redo
-// - Bei Tracking-Cancel DefaultSelection wieder herstellen
+// - if Tracking-Cancel recreate DefaultSelection
static FncGetSpecialChars pImplFncGetSpecialChars = nullptr;
@@ -1124,18 +1124,18 @@ void Edit::ImplShowCursor( bool bOnlyIfVisible )
else
{
mnXOffset = (aOutSize.Width()-ImplGetExtraXOffset()) - nTextPos;
- // Etwas mehr?
+ // Somthing more?
if ( (aOutSize.Width()-ImplGetExtraXOffset()) < nTextPos )
{
long nMaxNegX = (aOutSize.Width()-ImplGetExtraXOffset()) - GetTextWidth( aText );
mnXOffset -= aOutSize.Width() / 5;
- if ( mnXOffset < nMaxNegX ) // beides negativ...
+ if ( mnXOffset < nMaxNegX ) // both negativ...
mnXOffset = nMaxNegX;
}
}
nCursorPosX = nTextPos + mnXOffset + ImplGetExtraXOffset();
- if ( nCursorPosX == aOutSize.Width() ) // dann nicht sichtbar...
+ if ( nCursorPosX == aOutSize.Width() ) // then invisible...
nCursorPosX--;
if ( mnXOffset != nOldXOffset )
@@ -2678,7 +2678,7 @@ void Edit::SetSubEdit(Edit* pEdit)
if (mpSubEdit)
{
- SetPointer(PointerStyle::Arrow); // Nur das SubEdit hat den BEAM...
+ SetPointer(PointerStyle::Arrow); // Only SubEdit has the BEAM...
mpSubEdit->mbIsSubEdit = true;
mpSubEdit->SetReadOnly(mbReadOnly);
@@ -2815,12 +2815,12 @@ void Edit::dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent
SolarMutexGuard aVclGuard;
if ( !IsTracking() && maSelection.Len() &&
- !(GetStyle() & WB_PASSWORD) && (!mpDDInfo || !mpDDInfo->bStarterOfDD) ) // Kein Mehrfach D&D
+ !(GetStyle() & WB_PASSWORD) && (!mpDDInfo || !mpDDInfo->bStarterOfDD) ) // no repeated D&D
{
Selection aSel( maSelection );
aSel.Justify();
- // Nur wenn Maus in der Selektion...
+ // only if mouse in the selection...
Point aMousePos( rDGE.DragOriginX, rDGE.DragOriginY );
sal_Int32 nCharPos = ImplGetCharPos( aMousePos );
if ( (nCharPos >= aSel.Min()) && (nCharPos < aSel.Max()) )
@@ -2832,7 +2832,7 @@ void Edit::dragGestureRecognized( const css::datatransfer::dnd::DragGestureEvent
mpDDInfo->aDndStartSel = aSel;
if ( IsTracking() )
- EndTracking(); // Vor D&D Tracking ausschalten
+ EndTracking(); // before D&D disable tracking
vcl::unohelper::TextDataObject* pDataObj = new vcl::unohelper::TextDataObject( GetSelected() );
sal_Int8 nActions = datatransfer::dnd::DNDConstants::ACTION_COPY;