From f46e8802c2639cd56b65b35b5eea3a248437dbe4 Mon Sep 17 00:00:00 2001 From: Johnny_M Date: Fri, 19 May 2017 19:55:00 +0200 Subject: Translate German comments and debug strings (leftovers in e... dirs) Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "e". Additionally, following is translated: - A help string in /extensions/test/ole/EventListenerSample/EventListener/EventListener.idl Change-Id: Iff521ae1c4a616ed5a4ca79641a5cee6f380bee0 Reviewed-on: https://gerrit.libreoffice.org/37836 Reviewed-by: Chris Sherlock Tested-by: Chris Sherlock --- editeng/source/editeng/editdbg.cxx | 2 +- editeng/source/editeng/eehtml.cxx | 4 ++-- editeng/source/editeng/eertfpar.cxx | 2 +- editeng/source/editeng/impedit2.cxx | 4 ++-- editeng/source/items/svxitems.src | 2 +- editeng/source/misc/svxacorr.cxx | 2 +- editeng/source/uno/unonrule.cxx | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx index 6c2d0c58770c..6bdb9455ddb3 100644 --- a/editeng/source/editeng/editdbg.cxx +++ b/editeng/source/editeng/editdbg.cxx @@ -418,7 +418,7 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, bool bInfoBox ) for ( sal_Int32 nLine = 0; nLine < pPPortion->GetLines().Count(); nLine++ ) { EditLine& rLine = pPPortion->GetLines()[nLine]; - fprintf( fp, "\nZeile %" SAL_PRIdINT32 ":\tStart: %" SAL_PRIdINT32 ",\tEnd: %" SAL_PRIdINT32, nLine, rLine.GetStart(), rLine.GetEnd() ); + fprintf( fp, "\nLine %" SAL_PRIdINT32 ":\tStart: %" SAL_PRIdINT32 ",\tEnd: %" SAL_PRIdINT32, nLine, rLine.GetStart(), rLine.GetEnd() ); fprintf( fp, "\t\tPortions: %" SAL_PRIdINT32 " - %" SAL_PRIdINT32 ".\tHight: %i, Ascent=%i", rLine.GetStartPortion(), rLine.GetEndPortion(), rLine.GetHeight(), rLine.GetMaxAscent() ); } diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx index e625669aea00..0b6dfd182af0 100644 --- a/editeng/source/editeng/eehtml.cxx +++ b/editeng/source/editeng/eehtml.cxx @@ -54,7 +54,7 @@ EditHTMLParser::EditHTMLParser( SvStream& rIn, const OUString& rBaseURL, SvKeyVa DBG_ASSERT( !IsSwitchToUCS2(), "EditHTMLParser::::EditHTMLParser: Switch to UCS2?" ); // Although the real default encoding is ISO8859-1, we use MS-1252 - // als default encoding. + // as default encoding. SetSrcEncoding( GetExtendedCompatibilityTextEncoding( RTL_TEXTENCODING_ISO_8859_1 ) ); // If the file starts with a BOM, switch to UCS2. @@ -443,7 +443,7 @@ void EditHTMLParser::NextToken( HtmlTokenId nToken ) // misc case HtmlTokenId::DIRLIST_ON: case HtmlTokenId::DIRLIST_OFF: - case HtmlTokenId::FOOTNOTE_ON: //! land so im Text + case HtmlTokenId::FOOTNOTE_ON: //! they land so in the text case HtmlTokenId::FOOTNOTE_OFF: case HtmlTokenId::MENULIST_ON: case HtmlTokenId::MENULIST_OFF: diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index 88c0499eb9c2..96aac57b553d 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -344,7 +344,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet ) if( SfxItemState::SET == rSet.GetAttrSet().GetItemState( EE_CHAR_ESCAPEMENT, false, &pItem )) { - // die richtige + // the correct one long nEsc = static_cast(pItem)->GetEsc(); if( ( DFLT_ESC_AUTO_SUPER != nEsc ) && ( DFLT_ESC_AUTO_SUB != nEsc ) ) diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 950a5bf79f1b..366e4f09ed6c 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -370,7 +370,7 @@ void ImpEditEngine::Command( const CommandEvent& rCEvt, EditView* pView ) } else if ( rCEvt.GetCommand() == CommandEventId::EndExtTextInput ) { - OSL_ENSURE( mpIMEInfos, "CommandEventId::EndExtTextInput => Kein Start ?" ); + OSL_ENSURE( mpIMEInfos, "CommandEventId::EndExtTextInput => No start ?" ); if( mpIMEInfos ) { // #102812# convert quotes in IME text @@ -1379,7 +1379,7 @@ EditPaM ImpEditEngine::CursorEndOfDoc() if ( !pLastPortion->IsVisible() ) { pLastNode = GetPrevVisNode( pLastPortion->GetNode() ); - OSL_ENSURE( pLastNode, "Kein sichtbarer Absatz?" ); + OSL_ENSURE( pLastNode, "No visible paragraph?" ); if ( !pLastNode ) pLastNode = aEditDoc.GetObject( aEditDoc.Count()-1 ); } diff --git a/editeng/source/items/svxitems.src b/editeng/source/items/svxitems.src index 47da1c953d5c..3cb496325d97 100644 --- a/editeng/source/items/svxitems.src +++ b/editeng/source/items/svxitems.src @@ -590,7 +590,7 @@ String RID_SVXITEMS_METRIC_PIXEL { Text [ en-US ] = "pixel" ; }; - // GetValueText von BoolItems + // GetValueText of BoolItems String RID_SVXITEMS_SHADOWED_TRUE { Text [ en-US ] = "Shadowed" ; diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index ba9da47e63d6..66357fef4ad0 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -720,7 +720,7 @@ bool SvxAutoCorrect::FnSetINetAttr( SvxAutoCorrDoc& rDoc, const OUString& rTxt, OUString sURL( URIHelper::FindFirstURLInText( rTxt, nSttPos, nEndPos, GetCharClass( eLang ) )); bool bRet = !sURL.isEmpty(); - if( bRet ) // also Attribut setzen: + if( bRet ) // so, set attribute: rDoc.SetINetAttr( nSttPos, nEndPos, sURL ); return bRet; } diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index e9b987799586..92c0b3a9f3ed 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -74,13 +74,13 @@ const o3tl::enumarray aSvxToUnoAdjust SvxAdjust ConvertUnoAdjust( unsigned short nAdjust ) { - DBG_ASSERT( nAdjust <= 7, "Enum hat sich geaendert! [CL]" ); + DBG_ASSERT( nAdjust <= 7, "Enum has changed! [CL]" ); return aUnoToSvxAdjust[nAdjust]; } unsigned short ConvertUnoAdjust( SvxAdjust eAdjust ) { - DBG_ASSERT( (int)eAdjust <= 6, "Enum hat sich geaendert! [CL]" ); + DBG_ASSERT( (int)eAdjust <= 6, "Enum has changed! [CL]" ); return aSvxToUnoAdjust[eAdjust]; } -- cgit