[Libreoffice-commits] core.git: editeng/source

Jens Carl j.carl43 at gmx.de
Thu Mar 30 10:15:15 UTC 2017


 editeng/source/editeng/editeng.cxx  |    2 +-
 editeng/source/editeng/editundo.cxx |    6 +++---
 editeng/source/editeng/impedit.cxx  |    2 --
 editeng/source/misc/svxacorr.cxx    |    2 +-
 editeng/source/rtf/rtfitem.cxx      |    4 +---
 editeng/source/rtf/svxrtf.cxx       |    4 ++--
 editeng/source/uno/unotext.cxx      |    2 +-
 7 files changed, 9 insertions(+), 13 deletions(-)

New commits:
commit 5aaaa9408a9c2402eaaca9c85b17bcd7bad90164
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Thu Mar 30 03:49:25 2017 +0000

    tdf#39468 Translate German comments
    
    Translate German comments and terms in editeng/
    
    Change-Id: I9bd15ca0914b34839d83751f530dd212d91e029e
    Reviewed-on: https://gerrit.libreoffice.org/35884
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index caad404b50ab..a50e2903ae36 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1226,7 +1226,7 @@ bool EditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditView, v
                             }
                             else
                             {
-                                DBG_ASSERT( !aCurSel.HasRange(), "Selektion bei Complete?!" );
+                                DBG_ASSERT( !aCurSel.HasRange(), "Selction on complete?!" );
                                 EditPaM aStart( pImpEditEngine->WordLeft( aCurSel.Max() ) );
                                 aCurSel = pImpEditEngine->InsertText(
                                                 EditSelection( aStart, aCurSel.Max() ), aAutoText );
diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx
index 1862c9887b64..f10d7636398b 100644
--- a/editeng/source/editeng/editundo.cxx
+++ b/editeng/source/editeng/editundo.cxx
@@ -95,7 +95,7 @@ bool EditUndoManager::Redo()
             mpEditEngine->SetActiveView(mpEditEngine->GetEditViews()[0]);
         else
         {
-            OSL_FAIL( "Redo in Engine ohne View nicht moeglich!" );
+            OSL_FAIL( "Redo in Engine without View not possible!" );
             return false;
         }
     }
@@ -317,7 +317,7 @@ void EditUndoInsertChars::Undo()
 
 void EditUndoInsertChars::Redo()
 {
-    DBG_ASSERT( GetEditEngine()->GetActiveView(), "Undo/Redo: Keine Active View!" );
+    DBG_ASSERT( GetEditEngine()->GetActiveView(), "Undo/Redo: No Active View!" );
     EditPaM aPaM = GetEditEngine()->CreateEditPaM(aEPaM);
     GetEditEngine()->InsertText(EditSelection(aPaM, aPaM), aText);
     EditPaM aNewPaM( aPaM );
@@ -349,7 +349,7 @@ EditUndoRemoveChars::EditUndoRemoveChars(
 
 void EditUndoRemoveChars::Undo()
 {
-    DBG_ASSERT( GetEditEngine()->GetActiveView(), "Undo/Redo: Keine Active View!" );
+    DBG_ASSERT( GetEditEngine()->GetActiveView(), "Undo/Redo: No Active View!" );
     EditPaM aPaM = GetEditEngine()->CreateEditPaM(aEPaM);
     EditSelection aSel( aPaM, aPaM );
     GetEditEngine()->InsertText(aSel, aText);
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index a91649cc9d99..b28cb1023e8e 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1140,8 +1140,6 @@ Pair ImpEditView::Scroll( long ndX, long ndY, ScrollRangeCheck nRangeCheck )
             aVisDocStartPos.Move( -nRealDiffX, -nRealDiffY );
         else
             aVisDocStartPos.Move( -nRealDiffY, nRealDiffX );
-        // Das Move um den allignten Wert ergibt nicht unbedingt ein
-        // alligntes Rechteck...
         // Aligned value of the move does not necessarily result in aligned
         // rectangle ...
         aVisDocStartPos = pOutWin->LogicToPixel( aVisDocStartPos );
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 893f812baccd..f70378dea217 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1344,7 +1344,7 @@ void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt,
         // auto.
         sal_Int32 nCapLttrPos = nPos+1;        // on the 1st Character
         if( !nPos && !IsWordDelim( rTxt[ 0 ]))
-            --nCapLttrPos;          // Absatz Anfang und kein Blank !
+            --nCapLttrPos;          // begin of paragraph and no blank
 
         LanguageType eLang = rDoc.GetLanguage( nCapLttrPos );
         if( LANGUAGE_SYSTEM == eLang )
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 8535bdc99228..da91b578ff33 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -284,9 +284,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
                 else
                 {
                     sal_uInt16 nStyleNo = -1 == nTokenValue ? 0 : sal_uInt16(nTokenValue);
-                    /* setze am akt. auf dem AttrStack stehenden Style die
-                       I sit on akt. which is on the immediate style AttrStack */
-                    // StyleNummer
+                    // set StyleNo to the current style on the AttrStack
                     SvxRTFItemStackType* pAkt = aAttrStack.empty() ? nullptr : aAttrStack.back();
                     if( !pAkt )
                         break;
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 22e73d36b1c7..4ba268e7c90c 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -257,7 +257,7 @@ INSINGLECHAR:
     default:
         switch( nToken & ~(0xff | RTF_SWGDEFS) )
         {
-        case RTF_PARFMT:        // hier gibts keine Swg-Defines
+        case RTF_PARFMT:        // here are no SWGDEFS
             ReadAttr( nToken, &GetAttrSet() );
             break;
 
@@ -365,7 +365,7 @@ void SvxRTFParser::ReadStyleTable()
         default:
             switch( nToken & ~(0xff | RTF_SWGDEFS) )
             {
-            case RTF_PARFMT:        // hier gibts keine Swg-Defines
+            case RTF_PARFMT:        // here are no SWGDEFS
                 ReadAttr( nToken, &pStyle->aAttrSet );
                 break;
 
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index 99f8884d951c..0263f955b9f4 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1859,7 +1859,7 @@ void SAL_CALL SvxUnoTextBase::insertControlCharacter( const uno::Reference< text
                 aRange.nEndPos  = aRange.nStartPos;
 
                 pRange->SetSelection( aRange );
-                const OUString aText( (sal_Unicode)13 );  // '\r' geht auf'm Mac nicht
+                const OUString aText( (sal_Unicode)13 );  // '\r' does not work on Mac
                 pRange->setString( aText );
 
                 aRange.nStartPos = 0;


More information about the Libreoffice-commits mailing list