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

Jens Carl j.carl43 at gmx.de
Thu May 11 10:15:11 UTC 2017


 sw/source/filter/html/htmlnumreader.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 6778f40333fef723ef049aa9a90e545e31665358
Author: Jens Carl <j.carl43 at gmx.de>
Date:   Thu May 11 05:34:17 2017 +0000

    tdf#39468: Translate German comments/terms
    
    Change-Id: I85fc05d53c2d53a4922d8322331247ed3ca21361
    Reviewed-on: https://gerrit.libreoffice.org/37493
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/filter/html/htmlnumreader.cxx b/sw/source/filter/html/htmlnumreader.cxx
index d4d4895521e3..3b4ae766bdd3 100644
--- a/sw/source/filter/html/htmlnumreader.cxx
+++ b/sw/source/filter/html/htmlnumreader.cxx
@@ -491,7 +491,7 @@ void SwHTMLParser::NewNumBulListItem( HtmlTokenId nToken )
             aNumFormat.SetBulletFont( &numfunc::GetDefBulletFont() );
         }
         aNumFormat.SetNumberingType(SVX_NUM_CHAR_SPECIAL);
-        aNumFormat.SetBulletChar( cBulletChar );   // das Bulletzeichen !!
+        aNumFormat.SetBulletChar( cBulletChar );   // the bullet character !!
         aNumFormat.SetCharFormat( m_pCSS1Parser->GetCharFormatFromPool(RES_POOLCHR_BUL_LEVEL) );
         aNumFormat.SetFirstLineOffset( HTML_NUMBUL_INDENT );
         aNumRule.Set( 0, aNumFormat );
@@ -499,7 +499,7 @@ void SwHTMLParser::NewNumBulListItem( HtmlTokenId nToken )
         m_xDoc->MakeNumRule( aNumRuleName, &aNumRule );
 
         OSL_ENSURE( m_nOpenParaToken == HtmlTokenId::NONE,
-                "Jetzt geht ein offenes Absatz-Element verloren" );
+                "Now an open paragraph element is lost" );
         // We'll act like we're in a paragraph. On the next paragraph, at least numbering is gone,
         // that's gonna be taken over by the next AppendTextNode
         m_nOpenParaToken = nToken;
@@ -527,7 +527,7 @@ void SwHTMLParser::NewNumBulListItem( HtmlTokenId nToken )
     if( GetNumInfo().GetNumRule() )
         GetNumInfo().GetNumRule()->SetInvalidRule( true );
 
-    // Styles parsen
+    // parse styles
     if( HasStyleOptions( aStyle, aId, aClass, &aLang, &aDir ) )
     {
         SfxItemSet aItemSet( m_xDoc->GetAttrPool(), m_pCSS1Parser->GetWhichMap() );
@@ -545,7 +545,7 @@ void SwHTMLParser::NewNumBulListItem( HtmlTokenId nToken )
     // set the new template
     SetTextCollAttrs( pCntxt );
 
-    // Refresh scrollbar
+    // Refresh scroll bar
     ShowStatline();
 }
 
@@ -599,9 +599,9 @@ void SwHTMLParser::EndNumBulListItem( HtmlTokenId nToken, bool bSetColl )
 void SwHTMLParser::SetNodeNum( sal_uInt8 nLevel )
 {
     SwTextNode* pTextNode = m_pPam->GetNode().GetTextNode();
-    OSL_ENSURE( pTextNode, "Kein Text-Node an PaM-Position" );
+    OSL_ENSURE( pTextNode, "No Text-Node at PaM-Position" );
 
-    OSL_ENSURE( GetNumInfo().GetNumRule(), "Kein Numerierungs-Regel" );
+    OSL_ENSURE( GetNumInfo().GetNumRule(), "No numbering rule" );
     const OUString& rName = GetNumInfo().GetNumRule()->GetName();
     static_cast<SwContentNode *>(pTextNode)->SetAttr( SwNumRuleItem(rName) );
 


More information about the Libreoffice-commits mailing list