summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorMatthias Freund <matti_lx@yahoo.de>2013-02-10 00:08:20 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-02-10 05:12:33 +0000
commit8d09cb0fc4530c2c1aeb8fa79dc91509de1e8943 (patch)
tree5140d015dd87d4a18e6ec2d4e94f936aa88fb161 /sw
parentfdo#56098 paste special shift options incorrect/incomplete (diff)
downloadcore-8d09cb0fc4530c2c1aeb8fa79dc91509de1e8943.tar.gz
core-8d09cb0fc4530c2c1aeb8fa79dc91509de1e8943.zip
Comment translation german - english.
sw/source/ui/wrtsh/delete.cxx Change-Id: I92487e7474c4e27cee939812edf410e9a26731e7 Reviewed-on: https://gerrit.libreoffice.org/2070 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/wrtsh/delete.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/sw/source/ui/wrtsh/delete.cxx b/sw/source/ui/wrtsh/delete.cxx
index 6f6d3aa1f54f..d85874251f71 100644
--- a/sw/source/ui/wrtsh/delete.cxx
+++ b/sw/source/ui/wrtsh/delete.cxx
@@ -83,7 +83,7 @@ bool SwWrtShell::TryRemoveIndent()
}
/*------------------------------------------------------------------------
- Beschreibung: Zeile loeschen
+ Description: Erase the line
------------------------------------------------------------------------*/
@@ -92,7 +92,7 @@ long SwWrtShell::DelLine()
{
SwActContext aActContext(this);
ResetCursorStack();
- // alten Cursor merken
+ // remember the old cursor
Push();
ClearMark();
SwCrsrShell::LeftMargin();
@@ -130,7 +130,7 @@ long SwWrtShell::DelToEndOfLine()
long SwWrtShell::DelLeft()
{
- // wenns denn ein Fly ist, wech damit
+ // If it's a Fly, throw it away
int nSelType = GetSelectionType();
const int nCmp = nsSelectionType::SEL_FRM | nsSelectionType::SEL_GRF | nsSelectionType::SEL_OLE | nsSelectionType::SEL_DRW;
if( nCmp & nSelType )
@@ -156,13 +156,13 @@ long SwWrtShell::DelLeft()
return 1L;
}
- // wenn eine Selektion existiert, diese loeschen.
+ // If a selection exists, erase this
if ( IsSelection() )
{
if( !IsBlockMode() || HasSelection() )
{
- //OS: wieder einmal Basic: SwActContext muss vor
- //EnterStdMode verlassen werden!
+ //OS: Once again Basic: SwActContext must be leaved
+ //before EnterStdMode!
{
SwActContext aActContext(this);
ResetCursorStack();
@@ -183,7 +183,7 @@ long SwWrtShell::DelLeft()
EnterStdMode();
}
- // JP 29.06.95: nie eine davor stehende Tabelle loeschen.
+ // JP 29.06.95: never erase a table wich standing in front of.
bool bSwap = false;
const SwTableNode * pWasInTblNd = SwCrsrShell::IsCrsrInTbl();
@@ -234,8 +234,8 @@ long SwWrtShell::DelLeft()
long SwWrtShell::DelRight()
{
- // werden verodert, wenn Tabellenselektion vorliegt;
- // wird hier auf nsSelectionType::SEL_TBL umgesetzt.
+ // Will be or'ed, if a tableselection exists;
+ // will here be implemented on nsSelectionType::SEL_TBL
long nRet = 0;
int nSelection = GetSelectionType();
if(nSelection & nsSelectionType::SEL_TBL_CELLS)
@@ -251,13 +251,13 @@ long SwWrtShell::DelRight()
case nsSelectionType::SEL_TXT:
case nsSelectionType::SEL_TBL:
case nsSelectionType::SEL_NUM:
- // wenn eine Selektion existiert, diese loeschen.
+ // If a selection exists, erase it.
if( IsSelection() )
{
if( !IsBlockMode() || HasSelection() )
{
- //OS: wieder einmal Basic: SwActContext muss vor
- //EnterStdMode verlassen werden!
+ //OS: And once again Basic: SwActContext must be
+ //leaved before EnterStdMode !
{
SwActContext aActContext(this);
ResetCursorStack();
@@ -445,9 +445,9 @@ long SwWrtShell::DelToStartOfPara()
return nRet;
}
/*
- * alle Loeschoperationen sollten mit Find statt mit
- * Nxt-/PrvDelim arbeiten, da letzteren mit Wrap Around arbeiten
- * -- das ist wohl nicht gewuenscht.
+ * All erase operations should work with Find instead with
+ * Nxt-/PrvDelim, because the latter works with Wrap Around
+ * -- that's probably not wished.
*/