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

Translate German comments and debug strings (leftovers in dirs scaddins to sd)

Translates leftovers found using a custom regex and manually checking
the rest of the affected file.

Additionally:
- A few spelling fixes

Change-Id: If54a0ecc58a429ee1c63abd43411c50304dab176
Reviewed-on: https://gerrit.libreoffice.org/39450Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst a029fd42
...@@ -1436,7 +1436,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, ...@@ -1436,7 +1436,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum,
if (pSourceDoc) if (pSourceDoc)
{ {
std::vector<StyleReplaceData> aReplList; // List of replaced stylesheets std::vector<StyleReplaceData> aReplList; // List of replaced stylesheets
bool bLayoutReloaded = false; // Wurde ex. Layout wieder geladen? bool bLayoutReloaded = false; // Was ex. layout reloaded?
// LayoutName, Page and Notes page // LayoutName, Page and Notes page
if (rLayoutName.isEmpty()) if (rLayoutName.isEmpty())
......
...@@ -83,7 +83,7 @@ void SdPage::SetPresentationLayout(const OUString& rLayoutName, ...@@ -83,7 +83,7 @@ void SdPage::SetPresentationLayout(const OUString& rLayoutName,
/********************************************************************* /*********************************************************************
|* Name of the layout of the page |* Name of the layout of the page
\********************************************************************/ \********************************************************************/
OUString aOldLayoutName(maLayoutName); // merken OUString aOldLayoutName(maLayoutName); // memorize
OUStringBuffer aBuf(rLayoutName); OUStringBuffer aBuf(rLayoutName);
aBuf.append(SD_LT_SEPARATOR).append(STR_LAYOUT_OUTLINE); aBuf.append(SD_LT_SEPARATOR).append(STR_LAYOUT_OUTLINE);
maLayoutName = aBuf.makeStringAndClear(); maLayoutName = aBuf.makeStringAndClear();
......
...@@ -100,7 +100,7 @@ SFX_IMPL_OBJECTFACTORY( ...@@ -100,7 +100,7 @@ SFX_IMPL_OBJECTFACTORY(
void DrawDocShell::Construct( bool bClipboard ) void DrawDocShell::Construct( bool bClipboard )
{ {
mbInDestruction = false; mbInDestruction = false;
SetSlotFilter(); // setzt Filter zurueck SetSlotFilter(); // resets the filter
mbOwnDocument = mpDoc == nullptr; mbOwnDocument = mpDoc == nullptr;
if( mbOwnDocument ) if( mbOwnDocument )
......
...@@ -515,8 +515,8 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt) ...@@ -515,8 +515,8 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
if ((eDragMode == SdrDragMode::Rotate) && (eHit == SdrHitKind::MarkedObject)) if ((eDragMode == SdrDragMode::Rotate) && (eHit == SdrHitKind::MarkedObject))
{ {
// The goal of this request is show always the rotation-arrow for 3D-objects at rotation-modus // The goal of this request is show always the rotation arrow for 3D-objects at rotation mode
// Independent of the settings at Extras->Optionen->Grafik "Objekte immer verschieben" // Independent of the settings at Tools->Options->Draw "Objects always moveable"
// 2D-objects acquit in an other way. Otherwise, the rotation of 3d-objects around any axes // 2D-objects acquit in an other way. Otherwise, the rotation of 3d-objects around any axes
// wouldn't be possible per default. // wouldn't be possible per default.
const SdrMarkList& rMarkList = mpView->GetMarkedObjectList(); const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
......
...@@ -279,25 +279,25 @@ bool FuEditGluePoints::KeyInput(const KeyEvent& rKEvt) ...@@ -279,25 +279,25 @@ bool FuEditGluePoints::KeyInput(const KeyEvent& rKEvt)
sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode(); sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
if (nCode == KEY_UP) if (nCode == KEY_UP)
{ {
// Scroll nach oben // scroll up
nX = 0; nX = 0;
nY =-1; nY =-1;
} }
else if (nCode == KEY_DOWN) else if (nCode == KEY_DOWN)
{ {
// Scroll nach unten // scroll down
nX = 0; nX = 0;
nY = 1; nY = 1;
} }
else if (nCode == KEY_LEFT) else if (nCode == KEY_LEFT)
{ {
// Scroll nach links // scroll left
nX =-1; nX =-1;
nY = 0; nY = 0;
} }
else if (nCode == KEY_RIGHT) else if (nCode == KEY_RIGHT)
{ {
// Scroll nach rechts // scroll right
nX = 1; nX = 1;
nY = 0; nY = 0;
} }
......
...@@ -681,7 +681,7 @@ bool FuInsertFile::InsSDDinOlMode(SfxMedium* pMedium) ...@@ -681,7 +681,7 @@ bool FuInsertFile::InsSDDinOlMode(SfxMedium* pMedium)
// transfer Outliner content to SdDrawDocument // transfer Outliner content to SdDrawDocument
pOlView->PrepareClose(); pOlView->PrepareClose();
// einlesen wie im Zeichenmodus // read in like in the character mode
if (InsSDDinDrMode(pMedium)) if (InsSDDinDrMode(pMedium))
{ {
::Outliner* pOutliner = pOlView->GetViewByWindow(mpWindow)->GetOutliner(); ::Outliner* pOutliner = pOlView->GetViewByWindow(mpWindow)->GetOutliner();
......
...@@ -931,25 +931,25 @@ bool FuSelection::KeyInput(const KeyEvent& rKEvt) ...@@ -931,25 +931,25 @@ bool FuSelection::KeyInput(const KeyEvent& rKEvt)
sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode(); sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
if (nCode == KEY_UP) if (nCode == KEY_UP)
{ {
// Scroll nach oben // scroll up
nX = 0; nX = 0;
nY =-1; nY =-1;
} }
else if (nCode == KEY_DOWN) else if (nCode == KEY_DOWN)
{ {
// Scroll nach unten // scroll down
nX = 0; nX = 0;
nY = 1; nY = 1;
} }
else if (nCode == KEY_LEFT) else if (nCode == KEY_LEFT)
{ {
// Scroll nach links // scroll left
nX =-1; nX =-1;
nY = 0; nY = 0;
} }
else if (nCode == KEY_RIGHT) else if (nCode == KEY_RIGHT)
{ {
// Scroll nach rechts // scroll right
nX = 1; nX = 1;
nY = 0; nY = 0;
} }
......
...@@ -307,7 +307,7 @@ public: ...@@ -307,7 +307,7 @@ public:
administrator. administrator.
@return @return
The number of layers managed by the layer tab control. The The number of layers managed by the layer tab control. The
returned value is independent of whether the layer modus is returned value is independent of whether the layer mode is
currently active and the tab control is visible. currently active and the tab control is visible.
*/ */
int GetTabLayerCount() const; int GetTabLayerCount() const;
......
...@@ -95,7 +95,7 @@ public: ...@@ -95,7 +95,7 @@ public:
void Paint (const ::tools::Rectangle& rRect, ::sd::Window* pWin); void Paint (const ::tools::Rectangle& rRect, ::sd::Window* pWin);
// Callbacks fuer LINKs // Callbacks for LINKs
DECL_LINK( ParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void ); DECL_LINK( ParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void );
DECL_LINK( ParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void ); DECL_LINK( ParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void );
DECL_LINK( DepthChangedHdl, ::Outliner::DepthChangeHdlParam, void ); DECL_LINK( DepthChangedHdl, ::Outliner::DepthChangeHdlParam, void );
......
...@@ -126,7 +126,7 @@ public: ...@@ -126,7 +126,7 @@ public:
void UpdateMapMode(); void UpdateMapMode();
double GetVisibleX(); // Interface fuer ScrollBars double GetVisibleX(); // interface for ScrollBars
double GetVisibleY(); double GetVisibleY();
void SetVisibleXY(double fX, double fY); void SetVisibleXY(double fX, double fY);
double GetVisibleWidth(); double GetVisibleWidth();
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <sfx2/sfx.hrc> #include <sfx2/sfx.hrc>
// Item-Ids fuer Config-Items // Item IDs for config items
#define SDCFG_IMPRESS (SFX_ITEMTYPE_SD_BEGIN + 1) #define SDCFG_IMPRESS (SFX_ITEMTYPE_SD_BEGIN + 1)
#define SDCFG_DRAW (SFX_ITEMTYPE_SD_BEGIN + 3) #define SDCFG_DRAW (SFX_ITEMTYPE_SD_BEGIN + 3)
......
...@@ -46,10 +46,10 @@ class Window; ...@@ -46,10 +46,10 @@ class Window;
class FuPoor : public SimpleReferenceComponent class FuPoor : public SimpleReferenceComponent
{ {
public: public:
static const int HITPIX = 2; // Hit-Toleranz in Pixel static const int HITPIX = 2; // hit tolerance in pixel
static const int HITLOG = 53; // Hit tolerance in mm100 static const int HITLOG = 53; // hit tolerance in mm100
static const int DRGPIX = 2; // Drag MinMove in Pixel static const int DRGPIX = 2; // minimal drag move in pixel
static const int DRGLOG = 53; // Minimal drag move in mm100 static const int DRGLOG = 53; // minimal drag move in mm100
virtual void DoExecute( SfxRequest& rReq ); virtual void DoExecute( SfxRequest& rReq );
...@@ -64,7 +64,7 @@ public: ...@@ -64,7 +64,7 @@ public:
virtual void DoPaste(); virtual void DoPaste();
virtual void DoPasteUnformatted(); virtual void DoPasteUnformatted();
// Mouse- & Key-Events; Returnwert=sal_True: Event wurde bearbeitet // mouse & key events; return value = sal_True: event has been handled
virtual bool KeyInput(const KeyEvent& rKEvt); virtual bool KeyInput(const KeyEvent& rKEvt);
virtual bool MouseMove(const MouseEvent& ); virtual bool MouseMove(const MouseEvent& );
virtual bool MouseButtonUp(const MouseEvent& rMEvt); virtual bool MouseButtonUp(const MouseEvent& rMEvt);
......
...@@ -851,7 +851,7 @@ bool ViewShell::ActivateObject(SdrOle2Obj* pObj, long nVerb) ...@@ -851,7 +851,7 @@ bool ViewShell::ActivateObject(SdrOle2Obj* pObj, long nVerb)
Fraction aScaleWidth (aDrawSize.Width(), aObjAreaSize.Width() ); Fraction aScaleWidth (aDrawSize.Width(), aObjAreaSize.Width() );
Fraction aScaleHeight(aDrawSize.Height(), aObjAreaSize.Height() ); Fraction aScaleHeight(aDrawSize.Height(), aObjAreaSize.Height() );
aScaleWidth.ReduceInaccurate(10); // kompatibel zum SdrOle2Obj aScaleWidth.ReduceInaccurate(10); // compatible to the SdrOle2Obj
aScaleHeight.ReduceInaccurate(10); aScaleHeight.ReduceInaccurate(10);
pSdClient->SetSizeScale(aScaleWidth, aScaleHeight); pSdClient->SetSizeScale(aScaleWidth, aScaleHeight);
......
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