[PATCH] fdo#39468 Translate German comments - vcl/win/source/app

Christian M. Heller (via Code Review) gerrit at gerrit.libreoffice.org
Sat Mar 23 10:10:22 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2938

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/38/2938/1

fdo#39468 Translate German comments - vcl/win/source/app

Change-Id: I5bd5851f763a392cad658d206d23ea055456fce2
---
M vcl/win/source/app/saldata.cxx
M vcl/win/source/app/salinst.cxx
M vcl/win/source/app/saltimer.cxx
3 files changed, 10 insertions(+), 11 deletions(-)



diff --git a/vcl/win/source/app/saldata.cxx b/vcl/win/source/app/saldata.cxx
index ff5a10f..2a3ea09 100644
--- a/vcl/win/source/app/saldata.cxx
+++ b/vcl/win/source/app/saldata.cxx
@@ -61,7 +61,7 @@
     char       c2;
     do
     {
-        // Ist das Zeichen zwischen 'A' und 'Z' dann umwandeln
+        // change to LowerCase if the char is between 'A' and 'Z'
         c1 = *pStr1;
         c2 = *pStr2;
         if ( (c1 >= 65) && (c1 <= 90) )
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index 9f30139..021ebc7 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -212,8 +212,7 @@
     SalData* pSalData = GetSalData();
     if ( pSalData->mnAppThreadId == nThreadId )
     {
-        // Wenn wir den Mutex nicht bekommen, muessen wir solange
-        // warten, bis wir Ihn bekommen
+        // wait till we get the Mutex
         sal_Bool bAcquire = FALSE;
         do
         {
@@ -399,13 +398,13 @@
     }
     mnStockPenCount = 0;        // count of static pens
     mnStockBrushCount = 0;      // count of static brushes
-    mnSalObjWantKeyEvt = 0;     // KeyEvent, welcher vom SalObj-Hook verarbeitet werden soll
+    mnSalObjWantKeyEvt = 0;     // KeyEvent for the SalObj hook
     mnCacheDCInUse = 0;         // count of CacheDC in use
     mbObjClassInit = FALSE;     // is SALOBJECTCLASS initialised
     mbInPalChange = FALSE;      // is in WM_QUERYNEWPALETTE
     mnAppThreadId = 0;          // Id from Applikation-Thread
     mbScrSvrEnabled = FALSE;    // ScreenSaver enabled
-    mnSageStatus = 0;           // status of Sage-DLL (DISABLE_AGENT == nicht vorhanden)
+    mnSageStatus = 0;           // status of Sage-DLL (DISABLE_AGENT == not available)
     mpSageEnableProc = 0;       // funktion to deactivate the system agent
     mpFirstIcon = 0;            // icon cache, points to first icon, NULL if none
     mpTempFontItem = 0;
@@ -940,7 +939,7 @@
 
 void SalTimer::Start( sal_uLong nMS )
 {
-    // Um auf Main-Thread umzuschalten
+    // to switch to Main-Thread
     SalData* pSalData = GetSalData();
     if ( pSalData->mpFirstInstance )
     {
@@ -957,7 +956,7 @@
 
 SalFrame* WinSalInstance::CreateChildFrame( SystemParentData* pSystemParentData, sal_uLong nSalFrameStyle )
 {
-    // Um auf Main-Thread umzuschalten
+    // to switch to Main-Thread
     return (SalFrame*)ImplSendMessage( mhComWnd, SAL_MSG_CREATEFRAME, nSalFrameStyle, (LPARAM)pSystemParentData->hWnd );
 }
 
@@ -965,7 +964,7 @@
 
 SalFrame* WinSalInstance::CreateFrame( SalFrame* pParent, sal_uLong nSalFrameStyle )
 {
-    // Um auf Main-Thread umzuschalten
+    // to switch to Main-Thread
     HWND hWndParent;
     if ( pParent )
         hWndParent = static_cast<WinSalFrame*>(pParent)->mhWnd;
@@ -987,7 +986,7 @@
                                          SystemWindowData* /*pWindowData*/, // SystemWindowData meaningless on Windows
                                          sal_Bool /*bShow*/ )
 {
-    // Um auf Main-Thread umzuschalten
+    // to switch to Main-Thread
     return (SalObject*)ImplSendMessage( mhComWnd, SAL_MSG_CREATEOBJECT, 0, (LPARAM)static_cast<WinSalFrame*>(pParent) );
 }
 
diff --git a/vcl/win/source/app/saltimer.cxx b/vcl/win/source/app/saltimer.cxx
index c042c2f..dbe4ddc 100644
--- a/vcl/win/source/app/saltimer.cxx
+++ b/vcl/win/source/app/saltimer.cxx
@@ -42,11 +42,11 @@
     if ( !bMutex )
         pSalData->mnTimerOrgMS = nMS;
 
-    // Periode darf nicht zu gross sein, da Windows mit sal_uInt16 arbeitet
+    // duration has to fit into Window's sal_uInt16
     if ( nMS > MAX_SYSPERIOD )
         nMS = MAX_SYSPERIOD;
 
-    // Gibt es einen Timer, dann zerstoren
+    // kill timer if it exists
     if ( pSalData->mnTimerId )
         KillTimer( 0, pSalData->mnTimerId );
 

-- 
To view, visit https://gerrit.libreoffice.org/2938
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5bd5851f763a392cad658d206d23ea055456fce2
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christian M. Heller <christian.heller63 at gmail.com>



More information about the LibreOffice mailing list