[Libreoffice] [PATCH] Translate german comments
Martin Kepplinger
martinkepplinger at eml.cc
Sun Feb 20 15:20:43 PST 2011
This translates the code-comments of 3 files from german to english.
This is contributed under the terms of the LGPLv3+/MPL dual license.
---
sw/source/ui/app/error.src | 7 +++----
sw/source/ui/app/mn.src | 2 +-
sw/source/ui/app/swdll.cxx | 16 ++++++++--------
3 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/sw/source/ui/app/error.src b/sw/source/ui/app/error.src
index 822bf54..6b4c43f 100644
--- a/sw/source/ui/app/error.src
+++ b/sw/source/ui/app/error.src
@@ -30,11 +30,10 @@
#include "globals.hrc"
#include "app.hrc"
#include "swerror.h"
-#include "comcore.hrc" // MS: Warum gibst auf der Core-Seite
- // jetzt Resourcen
+#include "comcore.hrc" // MS: Why are there resources at the Core-Side now
/*--------------------------------------------------------------------
- Beschreibung: Strings
+ Description: Strings
--------------------------------------------------------------------*/
String STR_COMCORE_READERROR
@@ -46,7 +45,7 @@ String STR_COMCORE_CANT_SHOW
Text [ en-US ] = "Graphic cannot be displayed." ;
};
/*--------------------------------------------------------------------
- Beschreibung: Boxes
+ Description: Boxes
--------------------------------------------------------------------*/
InfoBox ERR_CLPBRD_WRITE
{
diff --git a/sw/source/ui/app/mn.src b/sw/source/ui/app/mn.src
index a252388..68c8bbb 100644
--- a/sw/source/ui/app/mn.src
+++ b/sw/source/ui/app/mn.src
@@ -28,7 +28,7 @@
#include "swmn.hrc"
/*------------------------------------------------------------------------
- Beschreibung: Menu Window
+ Description: Menu Window
------------------------------------------------------------------------*/
#define MN_FRM_CAPTION_ITEM \
diff --git a/sw/source/ui/app/swdll.cxx b/sw/source/ui/app/swdll.cxx
index 2c58a9d..d3a55d9 100644
--- a/sw/source/ui/app/swdll.cxx
+++ b/sw/source/ui/app/swdll.cxx
@@ -84,26 +84,26 @@ void SwDLL::Init()
pDocFact->SetDocumentServiceName(C2S("com.sun.star.text.TextDocument"));
}
- // SvDraw-Felder registrieren
+ // register SvDraw-Fields
SdrRegisterFieldClasses();
- // 3D-Objekt-Factory eintragen
+ // register 3D-Objekt-Factory
E3dObjFactory();
- // form::component::Form-Objekt-Factory eintragen
+ // register form::component::Form-Objekt-Factory
FmFormObjFactory();
SdrObjFactory::InsertMakeObjectHdl( LINK( &aSwObjectFactory, SwObjectFactory, MakeObject ) );
RTL_LOGFILE_CONTEXT_TRACE( aLog, "Init Core/UI/Filter" );
- //Initialisierung der Statics
+ // Initialisation of Statics
::_InitCore();
::_InitFilter();
::_InitUI();
pModule->InitAttrPool();
- //jetzt darf das SwModule seinen Pool anlegen
+ // now SWModule can create its Pool
// register your view-factories here
RegisterFactories();
@@ -120,15 +120,15 @@ void SwDLL::Exit()
// called directly befor unloading the DLL
// do whatever you want, Sw-DLL is accessible
- // der Pool muss vor den statics geloescht werden
+ // Pool has to be deleted before statics are
SW_MOD()->RemoveAttrPool();
::_FinitUI();
::_FinitFilter();
::_FinitCore();
- // Objekt-Factory austragen
+ // sign out Objekt-Factory
SdrObjFactory::RemoveMakeObjectHdl(LINK(&aSwObjectFactory, SwObjectFactory, MakeObject ));
- // the SwModule must be destroyed
+ // the SwModule must be destroyed
SwModule** ppShlPtr = (SwModule**) GetAppData(SHL_WRITER);
delete (*ppShlPtr);
(*ppShlPtr) = NULL;
--
1.7.1
More information about the LibreOffice
mailing list