Kaydet (Commit) 75a96e22 authored tarafından Johnny_M's avatar Johnny_M Kaydeden (comit) Michael Stahl

Translate German comments/debug strings (leftovers in dirs test to uui)

Translates leftovers found using a custom regex.

Additionally:
- A few spelling fixes

Change-Id: I3772e1b914acc487d80ab14efb815cb178ca3dcb
Reviewed-on: https://gerrit.libreoffice.org/41831Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 0a05919f
...@@ -160,7 +160,7 @@ void XNamedRanges::testRemoveByName() ...@@ -160,7 +160,7 @@ void XNamedRanges::testRemoveByName()
uno::Reference< container::XIndexAccess > xIndex(xNamedRanges, UNO_QUERY_THROW); uno::Reference< container::XIndexAccess > xIndex(xNamedRanges, UNO_QUERY_THROW);
bool bHasIt = xNamedRanges->hasByName(maNameToRemove); bool bHasIt = xNamedRanges->hasByName(maNameToRemove);
CPPUNIT_ASSERT_MESSAGE("NamedRange initial1 des not exits, can't remove it", bHasIt); CPPUNIT_ASSERT_MESSAGE("NamedRange initial1 does not exist, can't remove it", bHasIt);
if (bHasIt) if (bHasIt)
{ {
......
...@@ -811,8 +811,8 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, ...@@ -811,8 +811,8 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
} }
if ( !pParent ) if ( !pParent )
{ {
// Wenn die Component einen Parent braucht, dann NULL zurueckgeben, // If the component needs a parent, then return NULL,
// spaeter mal css::uno::Exception... // some time later css::uno::Exception...
bool bException = true; bool bException = true;
if ( ( nType == WindowType::DIALOG ) if ( ( nType == WindowType::DIALOG )
|| ( nType == WindowType::MODALDIALOG ) || ( nType == WindowType::MODALDIALOG )
......
...@@ -657,7 +657,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) ...@@ -657,7 +657,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
CommandEvent* pCmdEvt = static_cast<CommandEvent*>(rVclWindowEvent.GetData()); CommandEvent* pCmdEvt = static_cast<CommandEvent*>(rVclWindowEvent.GetData());
if ( mpImpl->getMouseListeners().getLength() && ( pCmdEvt->GetCommand() == CommandEventId::ContextMenu ) ) if ( mpImpl->getMouseListeners().getLength() && ( pCmdEvt->GetCommand() == CommandEventId::ContextMenu ) )
{ {
// CommandEventId::ContextMenu als mousePressed mit PopupTrigger = sal_True versenden... // CommandEventId::ContextMenu: send as mousePressed with PopupTrigger = true ...
Point aWhere = static_cast< CommandEvent* >( rVclWindowEvent.GetData() )->GetMousePosPixel(); Point aWhere = static_cast< CommandEvent* >( rVclWindowEvent.GetData() )->GetMousePosPixel();
if ( !pCmdEvt->IsMouseEvent() ) if ( !pCmdEvt->IsMouseEvent() )
{ // for keyboard events, we set the coordinates to -1,-1. This is a slight HACK, but the current API { // for keyboard events, we set the coordinates to -1,-1. This is a slight HACK, but the current API
......
...@@ -386,7 +386,7 @@ css::uno::Sequence<OUString> StdTabController::getSupportedServiceNames() ...@@ -386,7 +386,7 @@ css::uno::Sequence<OUString> StdTabController::getSupportedServiceNames()
Reference< XControl > StdTabController::FindControl( Sequence< Reference< XControl > >& rCtrls, Reference< XControl > StdTabController::FindControl( Sequence< Reference< XControl > >& rCtrls,
const Reference< XControlModel > & rxCtrlModel ) const Reference< XControlModel > & rxCtrlModel )
{ {
DBG_ASSERT( rxCtrlModel.is(), "ImplFindControl - welches ?!" ); DBG_ASSERT( rxCtrlModel.is(), "ImplFindControl - which one ?!" );
const Reference< XControl > * pCtrls = rCtrls.getConstArray(); const Reference< XControl > * pCtrls = rCtrls.getConstArray();
sal_Int32 nCtrls = rCtrls.getLength(); sal_Int32 nCtrls = rCtrls.getLength();
......
...@@ -525,7 +525,7 @@ OUString UnoControlModel::getServiceName( ) ...@@ -525,7 +525,7 @@ OUString UnoControlModel::getServiceName( )
{ {
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
OSL_FAIL( "ServiceName von UnoControlModel ?!" ); OSL_FAIL( "ServiceName of UnoControlModel ?!" );
return OUString(); return OUString();
} }
......
...@@ -138,7 +138,7 @@ ImplPropertyInfo* ImplGetPropertyInfos( sal_uInt16& rElementCount ) ...@@ -138,7 +138,7 @@ ImplPropertyInfo* ImplGetPropertyInfos( sal_uInt16& rElementCount )
DECL_PROP_2 ( "FontEmphasisMark", FONTEMPHASISMARK, sal_Int16, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "FontEmphasisMark", FONTEMPHASISMARK, sal_Int16, BOUND, MAYBEDEFAULT ),
DECL_PROP_2 ( "FontDescriptor", FONTDESCRIPTOR, FontDescriptor, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "FontDescriptor", FONTDESCRIPTOR, FontDescriptor, BOUND, MAYBEDEFAULT ),
// Teile des css::awt::FontDescriptor // parts of css::awt::FontDescriptor
DECL_PROP_2 ( "FontName", FONTDESCRIPTORPART_NAME, OUString,BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "FontName", FONTDESCRIPTORPART_NAME, OUString,BOUND, MAYBEDEFAULT ),
DECL_PROP_2 ( "FontStyleName", FONTDESCRIPTORPART_STYLENAME, OUString,BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "FontStyleName", FONTDESCRIPTORPART_STYLENAME, OUString,BOUND, MAYBEDEFAULT ),
DECL_PROP_2 ( "FontFamily", FONTDESCRIPTORPART_FAMILY, sal_Int16, BOUND, MAYBEDEFAULT ), DECL_PROP_2 ( "FontFamily", FONTDESCRIPTORPART_FAMILY, sal_Int16, BOUND, MAYBEDEFAULT ),
......
...@@ -232,7 +232,7 @@ void UnoWrapper::WindowDestroyed( vcl::Window* pWindow ) ...@@ -232,7 +232,7 @@ void UnoWrapper::WindowDestroyed( vcl::Window* pWindow )
pChild = pNextChild; pChild = pNextChild;
} }
// System-Windows suchen... // find system windows...
VclPtr< vcl::Window > pOverlap = pWindow->GetWindow( GetWindowType::Overlap ); VclPtr< vcl::Window > pOverlap = pWindow->GetWindow( GetWindowType::Overlap );
if ( pOverlap ) if ( pOverlap )
{ {
......
...@@ -179,7 +179,7 @@ void ImplPolygon::ImplSetSize( sal_uInt16 nNewSize, bool bResize ) ...@@ -179,7 +179,7 @@ void ImplPolygon::ImplSetSize( sal_uInt16 nNewSize, bool bResize )
if ( mpPointAry ) if ( mpPointAry )
delete[] reinterpret_cast<char*>(mpPointAry); delete[] reinterpret_cast<char*>(mpPointAry);
// ggf. FlagArray beruecksichtigen // take FlagArray into account, if applicable
if( mpFlagAry ) if( mpFlagAry )
{ {
PolyFlags* pNewFlagAry; PolyFlags* pNewFlagAry;
......
...@@ -1464,7 +1464,7 @@ std::size_t SvStream::CryptAndWriteBuffer( const void* pStart, std::size_t nLen) ...@@ -1464,7 +1464,7 @@ std::size_t SvStream::CryptAndWriteBuffer( const void* pStart, std::size_t nLen)
nBufCount = nLen; nBufCount = nLen;
nLen -= nBufCount; nLen -= nBufCount;
memcpy( pTemp, pDataPtr, (sal_uInt16)nBufCount ); memcpy( pTemp, pDataPtr, (sal_uInt16)nBufCount );
// **** Verschluesseln ***** // ******** Encrypt ********
for (unsigned char & rn : pTemp) for (unsigned char & rn : pTemp)
{ {
unsigned char aCh = rn; unsigned char aCh = rn;
......
...@@ -44,7 +44,7 @@ rtl_TextEncoding GetExtendedTextEncoding( rtl_TextEncoding eEncoding ) ...@@ -44,7 +44,7 @@ rtl_TextEncoding GetExtendedTextEncoding( rtl_TextEncoding eEncoding )
// East-Europe - Latin2 // East-Europe - Latin2
else if ( eEncoding == RTL_TEXTENCODING_ISO_8859_2 ) else if ( eEncoding == RTL_TEXTENCODING_ISO_8859_2 )
return RTL_TEXTENCODING_MS_1250; return RTL_TEXTENCODING_MS_1250;
// Latin-15 - Latin 1 mit Euro-Sign // Latin-15 - Latin 1 with euro sign
else if ( eEncoding == RTL_TEXTENCODING_ISO_8859_15 ) else if ( eEncoding == RTL_TEXTENCODING_ISO_8859_15 )
return RTL_TEXTENCODING_MS_1252; return RTL_TEXTENCODING_MS_1252;
else else
......
...@@ -45,7 +45,7 @@ public class _XServiceInfo { ...@@ -45,7 +45,7 @@ public class _XServiceInfo {
boolean result = true; boolean result = true;
log.println("testing getImplementationName() ... "); log.println("testing getImplementationName() ... ");
log.println("The ImplementationName ist "+oObj.getImplementationName()); log.println("The ImplementationName is "+oObj.getImplementationName());
result=true; result=true;
return result; return result;
......
...@@ -59,7 +59,7 @@ published interface XLibraryAccess: com::sun::star::uno::XInterface ...@@ -59,7 +59,7 @@ published interface XLibraryAccess: com::sun::star::uno::XInterface
*/ */
string getModuleSource( [in] string aModulName ); string getModuleSource( [in] string aModulName );
/** Get the hole compiled code of a module. /** Get the whole compiled code of a module.
@param aModuleName the full qualified name of a module. @param aModuleName the full qualified name of a module.
(e.g., "UtilLibrary.ModuleDate") (e.g., "UtilLibrary.ModuleDate")
......
...@@ -267,18 +267,18 @@ SvtDynamicMenuOptions_Impl::SvtDynamicMenuOptions_Impl() ...@@ -267,18 +267,18 @@ SvtDynamicMenuOptions_Impl::SvtDynamicMenuOptions_Impl()
// first "New" menu ... // first "New" menu ...
// Name Value // Name Value
// /New/1/URL "private:factory/swriter" // /New/1/URL "private:factory/swriter"
// /New/1/Title "Neues Writer Dokument" // /New/1/Title "New Writer Document"
// /New/1/ImageIdentifier "icon_writer" // /New/1/ImageIdentifier "icon_writer"
// /New/1/TargetName "_blank" // /New/1/TargetName "_blank"
// /New/2/URL "private:factory/scalc" // /New/2/URL "private:factory/scalc"
// /New/2/Title "Neues Calc Dokument" // /New/2/Title "New Calc Document"
// /New/2/ImageIdentifier "icon_calc" // /New/2/ImageIdentifier "icon_calc"
// /New/2/TargetName "_blank" // /New/2/TargetName "_blank"
// second "Wizard" menu ... // second "Wizard" menu ...
// /Wizard/1/URL "file://b" // /Wizard/1/URL "file://b"
// /Wizard/1/Title "MalWas" // /Wizard/1/Title "PaintSomething"
// /Wizard/1/ImageIdentifier "icon_?" // /Wizard/1/ImageIdentifier "icon_?"
// /Wizard/1/TargetName "_self" // /Wizard/1/TargetName "_self"
......
...@@ -64,7 +64,7 @@ sal_Int32 SAL_CALL OInputStreamWrapper::readBytes(css::uno::Sequence< sal_Int8 > ...@@ -64,7 +64,7 @@ sal_Int32 SAL_CALL OInputStreamWrapper::readBytes(css::uno::Sequence< sal_Int8 >
sal_uInt32 nRead = m_pSvStream->ReadBytes(static_cast<void*>(aData.getArray()), nBytesToRead); sal_uInt32 nRead = m_pSvStream->ReadBytes(static_cast<void*>(aData.getArray()), nBytesToRead);
checkError(); checkError();
// Wenn gelesene Zeichen < MaxLength, css::uno::Sequence anpassen // If read characters < MaxLength, adjust css::uno::Sequence
if (nRead < (std::size_t)aData.getLength()) if (nRead < (std::size_t)aData.getLength())
aData.realloc( nRead ); aData.realloc( nRead );
......
...@@ -52,7 +52,7 @@ private: ...@@ -52,7 +52,7 @@ private:
VclPtr<PushButton> mpEnableBtn; VclPtr<PushButton> mpEnableBtn;
VclPtr<PushButton> mpDisableBtn; VclPtr<PushButton> mpDisableBtn;
const bool mbSignedMode; // modus of dialog (signed / unsigned macros) const bool mbSignedMode; // mode of dialog (signed / unsigned macros)
const bool mbShowSignatures; const bool mbShowSignatures;
sal_Int32 mnActSecLevel; sal_Int32 mnActSecLevel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment