Kaydet (Commit) 5c4746f3 authored tarafından Martin Kepplinger's avatar Martin Kepplinger

Translate german code comments

Translate german code comments to english!

This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
license.
üst 43401d5f
...@@ -49,7 +49,7 @@ class SwSrcView: public SfxViewShell ...@@ -49,7 +49,7 @@ class SwSrcView: public SfxViewShell
rtl_TextEncoding eLoadEncoding; rtl_TextEncoding eLoadEncoding;
void Init(); void Init();
// fuer Readonly-Umschaltung // for read-only switching
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
class SwContentType; class SwContentType;
//Reihenfolge und Anzahl mit ResIds abgleichen!! // synchronize order and number with ResIds!!
#define CONTENT_TYPE_OUTLINE 0 #define CONTENT_TYPE_OUTLINE 0
#define CONTENT_TYPE_TABLE 1 #define CONTENT_TYPE_TABLE 1
#define CONTENT_TYPE_FRAME 2 #define CONTENT_TYPE_FRAME 2
...@@ -49,17 +49,17 @@ class SwContentType; ...@@ -49,17 +49,17 @@ class SwContentType;
#define CONTENT_TYPE_MAX CONTENT_TYPE_DRAWOBJECT +1 #define CONTENT_TYPE_MAX CONTENT_TYPE_DRAWOBJECT +1
// Typen fuer das Globaldokument // types for global document
#define GLOBAL_CONTENT_REGION 100 #define GLOBAL_CONTENT_REGION 100
#define GLOBAL_CONTENT_INDEX 101 #define GLOBAL_CONTENT_INDEX 101
#define GLOBAL_CONTENT_TEXT 102 #define GLOBAL_CONTENT_TEXT 102
#define GLOBAL_CONTENT_MAX 3 #define GLOBAL_CONTENT_MAX 3
// Strings fuer Kontextmenue // strings for context menus
#define CONTEXT_COUNT 12 #define CONTEXT_COUNT 12
#define GLOBAL_CONTEXT_COUNT 14 #define GLOBAL_CONTEXT_COUNT 14
// Modi fuer Drag 'n Drop // modes for Drag 'n Drop
#define REGION_MODE_NONE 0 #define REGION_MODE_NONE 0
#define REGION_MODE_LINK 1 #define REGION_MODE_LINK 1
#define REGION_MODE_EMBEDDED 2 #define REGION_MODE_EMBEDDED 2
...@@ -94,12 +94,12 @@ public: ...@@ -94,12 +94,12 @@ public:
const String& GetName() const {return sContentName;} const String& GetName() const {return sContentName;}
int operator==(const SwContent& /*rCont*/) const int operator==(const SwContent& /*rCont*/) const
{ {
//gleich sind sie nie, sonst fallen sie aus dem Array // they're never equal, otherwise they'd fall out of the array
return sal_False; return sal_False;
} }
int operator<(const SwContent& rCont) const int operator<(const SwContent& rCont) const
{ {
//zuerst nach Position dann nach Name sortieren // at first sort by position and then by name
return nYPosition != rCont.nYPosition ? return nYPosition != rCont.nYPosition ?
nYPosition < rCont.nYPosition : nYPosition < rCont.nYPosition :
sContentName < rCont.sContentName;; sContentName < rCont.sContentName;;
......
...@@ -58,7 +58,7 @@ namespace nsTransferBufferType ...@@ -58,7 +58,7 @@ namespace nsTransferBufferType
const sal_uInt16 TRNSFR_DDELINK = 0x0010; const sal_uInt16 TRNSFR_DDELINK = 0x0010;
const sal_uInt16 TRNSFR_OLE = 0x0020; const sal_uInt16 TRNSFR_OLE = 0x0020;
const sal_uInt16 TRNSFR_INETFLD = 0x0040; const sal_uInt16 TRNSFR_INETFLD = 0x0040;
const sal_uInt16 TRNSFR_DRAWING = 0x0081; //Drawing ist auch intern! const sal_uInt16 TRNSFR_DRAWING = 0x0081; // drawing is internal too!
} }
#define DATA_FLAVOR ::com::sun::star::datatransfer::DataFlavor #define DATA_FLAVOR ::com::sun::star::datatransfer::DataFlavor
...@@ -77,7 +77,7 @@ class SwTransferable : public TransferableHelper ...@@ -77,7 +77,7 @@ class SwTransferable : public TransferableHelper
const ViewShell *pCreatorView; const ViewShell *pCreatorView;
SwDocFac *pClpDocFac; SwDocFac *pClpDocFac;
Graphic *pClpGraphic, *pClpBitmap, *pOrigGrf; Graphic *pClpGraphic, *pClpBitmap, *pOrigGrf;
INetBookmark *pBkmk; // URL und Beschreibung! INetBookmark *pBkmk; // URL and description!
ImageMap *pImageMap; ImageMap *pImageMap;
INetImage *pTargetURL; INetImage *pTargetURL;
......
...@@ -41,7 +41,7 @@ class Window; ...@@ -41,7 +41,7 @@ class Window;
SV_DECL_PTRARR_DEL(SwEntryLst, SwBoxEntry*, 10, 10) SV_DECL_PTRARR_DEL(SwEntryLst, SwBoxEntry*, 10, 10)
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: SwBoxEntry Description: SwBoxEntry
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SW_DLLPUBLIC SwBoxEntry class SW_DLLPUBLIC SwBoxEntry
{ {
...@@ -62,7 +62,7 @@ public: ...@@ -62,7 +62,7 @@ public:
}; };
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: fuer ComboBoxen Description: for combo boxes
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
typedef sal_uInt16 SwComboBoxStyle; typedef sal_uInt16 SwComboBoxStyle;
......
...@@ -52,7 +52,7 @@ class SwWrtShell; ...@@ -52,7 +52,7 @@ class SwWrtShell;
class SwTOXMgr; class SwTOXMgr;
class SwTOXMark; class SwTOXMark;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Markierung fuer Verzeichniseintrag einfuegen Description: insert mark for index entry
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwIndexMarkFloatDlg; class SwIndexMarkFloatDlg;
class SwIndexMarkModalDlg; class SwIndexMarkModalDlg;
......
...@@ -39,7 +39,7 @@ class SwTabCols; ...@@ -39,7 +39,7 @@ class SwTabCols;
struct TColumn; struct TColumn;
/*------------------------------------------------------- /*-------------------------------------------------------
Tabellendialog table dialog
--------------------------------------------------------- */ --------------------------------------------------------- */
class SwTableTabDlg : public SfxTabDialog class SwTableTabDlg : public SfxTabDialog
{ {
......
...@@ -34,7 +34,7 @@ class SfxItemSet; ...@@ -34,7 +34,7 @@ class SfxItemSet;
class SwWrtShell; class SwWrtShell;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Der Tabdialog Traeger der TabPages Description: the tab dialog carrier of TabPages
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwTemplateDlg: public SfxStyleDialog class SwTemplateDlg: public SfxStyleDialog
{ {
......
...@@ -37,7 +37,7 @@ class SwWrtShell; ...@@ -37,7 +37,7 @@ class SwWrtShell;
class SwForm; class SwForm;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Manager fuer Verzeichnisfunktionalitaet Description: manager for directory functionality
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
//one single method will be sufficient to insert AND upate indexes //one single method will be sufficient to insert AND upate indexes
class SW_DLLPUBLIC SwTOXDescription class SW_DLLPUBLIC SwTOXDescription
...@@ -281,7 +281,7 @@ public: ...@@ -281,7 +281,7 @@ public:
explicit SwTOXMgr(SwWrtShell* pShell); explicit SwTOXMgr(SwWrtShell* pShell);
// //
// Methoden fuer Verzeichnismarkierungen // methods for directory marks
// //
void InsertTOXMark(const SwTOXMarkDescription& rDesc); void InsertTOXMark(const SwTOXMarkDescription& rDesc);
...@@ -292,7 +292,7 @@ public: ...@@ -292,7 +292,7 @@ public:
void NextTOXMark(sal_Bool bSame=sal_False); void NextTOXMark(sal_Bool bSame=sal_False);
void PrevTOXMark(sal_Bool bSame=sal_False); void PrevTOXMark(sal_Bool bSame=sal_False);
// Aktuelle TOXmarks holen // get current TOXmarks
sal_uInt16 GetTOXMarks(); sal_uInt16 GetTOXMarks();
sal_uInt16 GetTOXMarkCount(); sal_uInt16 GetTOXMarkCount();
SwTOXMark* GetTOXMark(sal_uInt16 nId); SwTOXMark* GetTOXMark(sal_uInt16 nId);
...@@ -300,7 +300,7 @@ public: ...@@ -300,7 +300,7 @@ public:
void SetCurTOXMark(sal_uInt16 nId); void SetCurTOXMark(sal_uInt16 nId);
// //
// Methoden fuer Verzeichnisse // methods for directories
// //
sal_Bool UpdateOrInsertTOX(const SwTOXDescription& rDesc, SwTOXBase** ppBase = 0, const SfxItemSet* pSet = 0); sal_Bool UpdateOrInsertTOX(const SwTOXDescription& rDesc, SwTOXBase** ppBase = 0, const SfxItemSet* pSet = 0);
...@@ -310,7 +310,7 @@ public: ...@@ -310,7 +310,7 @@ public:
}; };
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Inlines Description: inlines
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
inline sal_uInt16 SwTOXMgr::GetTOXMarkCount() inline sal_uInt16 SwTOXMgr::GetTOXMarkCount()
{ return aCurMarks.Count(); } { return aCurMarks.Count(); }
......
...@@ -37,7 +37,7 @@ class SwNumRule; ...@@ -37,7 +37,7 @@ class SwNumRule;
class IntlWrapper; class IntlWrapper;
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Container fuer FootNote Description: container for FootNote
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SW_DLLPUBLIC SwPageFtnInfoItem : public SfxPoolItem class SW_DLLPUBLIC SwPageFtnInfoItem : public SfxPoolItem
{ {
......
...@@ -44,8 +44,8 @@ SV_DECL_PTRARR_DEL( _SwNumFmtsAttrs, SfxPoolItemPtr, 5,0 ) ...@@ -44,8 +44,8 @@ SV_DECL_PTRARR_DEL( _SwNumFmtsAttrs, SfxPoolItemPtr, 5,0 )
class SW_DLLPUBLIC SwNumRulesWithName class SW_DLLPUBLIC SwNumRulesWithName
{ {
String aName; String aName;
// die Formate der NumRule muessen! unabhaengig von einem Document sein // the NumRule's formats _have_ to be independent of a document
// (Sie sollen immer vorhanden sein!) // (They should always be there!)
class SW_DLLPRIVATE _SwNumFmtGlobal class SW_DLLPRIVATE _SwNumFmtGlobal
{ {
SwNumFmt aFmt; SwNumFmt aFmt;
...@@ -87,7 +87,7 @@ public: ...@@ -87,7 +87,7 @@ public:
class SwBaseNumRules class SwBaseNumRules
{ {
public: public:
enum { nMaxRules = MAX_NUM_RULES }; // zur Zeit 9 definierte Forms enum { nMaxRules = MAX_NUM_RULES }; // currently 9 defined forms
protected: protected:
SwNumRulesWithName *pNumRules[ MAX_NUM_RULES ]; SwNumRulesWithName *pNumRules[ MAX_NUM_RULES ];
String sFileName; String sFileName;
......
...@@ -46,28 +46,28 @@ class SwTabCols; ...@@ -46,28 +46,28 @@ class SwTabCols;
class DateTime; class DateTime;
class SfxViewFrame; class SfxViewFrame;
// Umschalten einer Metric // switch a metric
SW_DLLPUBLIC void SetMetric(MetricFormatter& rCtrl, FieldUnit eUnit); SW_DLLPUBLIC void SetMetric(MetricFormatter& rCtrl, FieldUnit eUnit);
// BoxInfoAttribut fuellen // fill BoxInfoAttribut
SW_DLLPUBLIC void PrepareBoxInfo(SfxItemSet& rSet, const SwWrtShell& rSh); SW_DLLPUBLIC void PrepareBoxInfo(SfxItemSet& rSet, const SwWrtShell& rSh);
// SfxItemSets <-> PageDesc // SfxItemSets <-> PageDesc
void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc ); void ItemSetToPageDesc( const SfxItemSet& rSet, SwPageDesc& rPageDesc );
void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet); void PageDescToItemSet( const SwPageDesc& rPageDesc, SfxItemSet& rSet);
// Auffuellen der Tabs mit DefaultTabs // fill tabs with default tabs
SW_DLLPUBLIC void MakeDefTabs(SwTwips nDefDist, SvxTabStopItem& rTabs); SW_DLLPUBLIC void MakeDefTabs(SwTwips nDefDist, SvxTabStopItem& rTabs);
// DefaultTabs loeschen aus dem TabStopArray // erase DefaultTabs from TabStopArray
//void EraseDefTabs(SvxTabStopItem& rTabs); //void EraseDefTabs(SvxTabStopItem& rTabs);
// Abstand zwischen dem 1. und zweitem Element ermitteln // determine space between 1st and 2nd element
SW_DLLPUBLIC sal_uInt16 GetTabDist(const SvxTabStopItem& rTabs); SW_DLLPUBLIC sal_uInt16 GetTabDist(const SvxTabStopItem& rTabs);
// erfrage ob im Set eine Sfx-PageDesc-Kombination vorliegt // determine whether a Sfx-PageDesc combination exists in the set
// und setze diesen im Set und loesche die Transport Items // and set this in the set and delete the transport items
// (PageBreak & PageModel) aus dem Set // (PageBreak & PageModel) from the set
void SwToSfxPageDescAttr( SfxItemSet& rSet ); void SwToSfxPageDescAttr( SfxItemSet& rSet );
void SfxToSwPageDescAttr( const SwWrtShell& rShell, SfxItemSet& rSet ); void SfxToSwPageDescAttr( const SwWrtShell& rShell, SfxItemSet& rSet );
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define STR_HYPERCTRL_SEL (RC_UTLUI_BEGIN + 5) #define STR_HYPERCTRL_SEL (RC_UTLUI_BEGIN + 5)
#define STR_HYPERCTRL_HYP (RC_UTLUI_BEGIN + 6) #define STR_HYPERCTRL_HYP (RC_UTLUI_BEGIN + 6)
// Namene der Inhaltstypen (RC_UTLUI_BEGIN + 7) // names of content types (RC_UTLUI_BEGIN + 7)
#define STR_CONTENT_TYPE_FIRST (RC_UTLUI_BEGIN + 8) #define STR_CONTENT_TYPE_FIRST (RC_UTLUI_BEGIN + 8)
#define STR_CONTENT_TYPE_OUTLINE STR_CONTENT_TYPE_FIRST #define STR_CONTENT_TYPE_OUTLINE STR_CONTENT_TYPE_FIRST
#define STR_CONTENT_TYPE_TABLE (RC_UTLUI_BEGIN + 9) #define STR_CONTENT_TYPE_TABLE (RC_UTLUI_BEGIN + 9)
......
This diff is collapsed.
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
class PopupMenu; class PopupMenu;
class SwView; class SwView;
// doppelter Eintrag! hrc und hxx // double entry! hrc and hxx
// diese Ids bestimmen, was die Buttons unter dem Scrollbar tun // these Ids say what the buttons below the scrollbar are doing
#define NID_START 20000 #define NID_START 20000
#define NID_NEXT 20000 #define NID_NEXT 20000
#define NID_PREV 20001 #define NID_PREV 20001
...@@ -186,7 +186,7 @@ class SwNaviImageButton : public ImageButton ...@@ -186,7 +186,7 @@ class SwNaviImageButton : public ImageButton
}; };
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
// Die ImageButtons muessen sich bei Bedarf den HelpText selbst setzen // ImageButtons have to set the HelpText themselves if needed
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
class SwHlpImageButton : public ImageButton class SwHlpImageButton : public ImageButton
......
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Umlauf-TabPage Description: circulation TabPage
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
class SwWrapTabPage: public SfxTabPage class SwWrapTabPage: public SfxTabPage
......
This diff is collapsed.
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