summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2017-05-19 19:55:00 +0200
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-20 13:48:39 +0200
commitf46e8802c2639cd56b65b35b5eea3a248437dbe4 (patch)
tree3a147a74d6af8bf301f01ca5df7d26ef606b64fd /editeng
parentf80265fc9f9ff35b78609f91440d7515eb49d78a (diff)
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 <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdbg.cxx2
-rw-r--r--editeng/source/editeng/eehtml.cxx4
-rw-r--r--editeng/source/editeng/eertfpar.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx4
-rw-r--r--editeng/source/items/svxitems.src2
-rw-r--r--editeng/source/misc/svxacorr.cxx2
-rw-r--r--editeng/source/uno/unonrule.cxx4
7 files changed, 10 insertions, 10 deletions
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<const SvxEscapementItem*>(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<SvxAdjust, unsigned short> 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];
}