summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-04-01 04:49:52 +0000
committerMichael Stahl <mstahl@redhat.com>2017-04-03 19:25:49 +0000
commit6b4a149a656b29d162b2190f1849dc779cba0b0a (patch)
treee4947e3ceb1275f2510a5f628ce2fb713a3daee3 /tools
parentRemove DBG_ASSERT since it's always wrong (diff)
downloadcore-6b4a149a656b29d162b2190f1849dc779cba0b0a.tar.gz
core-6b4a149a656b29d162b2190f1849dc779cba0b0a.zip
tdf#39468 Translate German comments
Translate German comments and terms in UnoControls/, editeng/, filter/, odk/, reportdesign/, sd/, sfx2/, starmath/, svl/, svtools/, toolkit/, tools/, writerfilter/, and xmloff/. Change-Id: Ibc401a425ddfdf41e4e4a78600f3fbce8cfaa2b1 Reviewed-on: https://gerrit.libreoffice.org/35992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/rc/resmgr.cxx2
-rw-r--r--tools/source/ref/errinf.cxx10
-rw-r--r--tools/source/stream/stream.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 55f50ece4c69..646d12723976 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -542,7 +542,7 @@ bool InternalResMgr::Create()
bool InternalResMgr::IsGlobalAvailable( RESOURCE_TYPE nRT, sal_uInt32 nId ) const
{
- // Anfang der Strings suchen
+ // search beginning of string
ImpContent aValue;
aValue.nTypeAndId = ((sal_uInt64(sal_uInt32(nRT)) << 32) | nId);
ImpContent * pFind = ::std::lower_bound(pContent,
diff --git a/tools/source/ref/errinf.cxx b/tools/source/ref/errinf.cxx
index 04464a4f5e02..ee6d54d53b14 100644
--- a/tools/source/ref/errinf.cxx
+++ b/tools/source/ref/errinf.cxx
@@ -87,7 +87,7 @@ void DynamicErrorInfo_Impl::UnRegisterEDcr(DynamicErrorInfo const *pDcr)
{
DynamicErrorInfo **ppDcr = TheEDcrData::get().ppDcr;
sal_uIntPtr lIdx = (((sal_uIntPtr)(*pDcr) & ERRCODE_DYNAMIC_MASK) >> ERRCODE_DYNAMIC_SHIFT) - 1;
- DBG_ASSERT(ppDcr[lIdx]==pDcr,"ErrHdl: Error nicht gefunden");
+ DBG_ASSERT(ppDcr[lIdx]==pDcr,"ErrHdl: Error not found");
if(ppDcr[lIdx]==pDcr)
ppDcr[lIdx]=nullptr;
}
@@ -152,9 +152,9 @@ public:
static void aDspFunc(const OUString &rErr, const OUString &rAction)
{
- OStringBuffer aErr("Aktion: ");
+ OStringBuffer aErr("Action: ");
aErr.append(OUStringToOString(rAction, RTL_TEXTENCODING_ASCII_US));
- aErr.append(" Fehler: ");
+ aErr.append(" Error: ");
aErr.append(OUStringToOString(rErr, RTL_TEXTENCODING_ASCII_US));
OSL_FAIL(aErr.getStr());
}
@@ -307,7 +307,7 @@ ErrorHandlerFlags ErrorHandler::HandleError_Impl(
}
}
}
- OSL_FAIL("Error nicht behandelt");
+ OSL_FAIL("Error not handled");
// Error 1 is General Error in the Sfx
if(pInfo->GetErrorCode()!=1)
{
@@ -315,7 +315,7 @@ ErrorHandlerFlags ErrorHandler::HandleError_Impl(
}
else
{
- OSL_FAIL("Error 1 nicht gehandeled");
+ OSL_FAIL("Error 1 not handled");
}
delete pInfo;
return ErrorHandlerFlags::NONE;
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index b9232183358b..d2de88e44d3e 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1656,7 +1656,7 @@ sal_uInt64 SvMemoryStream::GetSize()
void SvMemoryStream::SetBuffer( void* pNewBuf, std::size_t nCount,
std::size_t nEOF )
{
- SetBufferSize( 0 ); // Buffering in der Basisklasse initialisieren
+ SetBufferSize( 0 ); // Init buffering in the base class
Seek( 0 );
if( bOwnsData )
{