Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2619

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/19/2619/1

Comment translation DE-EN in /sw/source/ui/web/

Translations and some cleanups...

Change-Id: I70484c2b3e1380e611ed1456a7befccafee58f37
---
M sw/source/ui/web/wdocsh.cxx
M sw/source/ui/web/wfrmsh.cxx
M sw/source/ui/web/wtextsh.cxx
M sw/source/ui/web/wview.cxx
4 files changed, 17 insertions(+), 19 deletions(-)



diff --git a/sw/source/ui/web/wdocsh.cxx b/sw/source/ui/web/wdocsh.cxx
index fd5622c..67ca9f4 100644
--- a/sw/source/ui/web/wdocsh.cxx
+++ b/sw/source/ui/web/wdocsh.cxx
@@ -30,7 +30,7 @@
 #include "swtypes.hxx"
 
 #include "shellio.hxx"
-// nur wegen des Itemtypes
+// just because of the itemtypes
 #include "wdocsh.hxx"
 #include "web.hrc"
 
diff --git a/sw/source/ui/web/wfrmsh.cxx b/sw/source/ui/web/wfrmsh.cxx
index 03aa043..c30d0f7 100644
--- a/sw/source/ui/web/wfrmsh.cxx
+++ b/sw/source/ui/web/wfrmsh.cxx
@@ -20,8 +20,7 @@
 #include "hintids.hxx"
 #include <sfx2/app.hxx>
 #include <sfx2/objface.hxx>
-#include <svl/srchitem.hxx> //***
-
+#include <svl/srchitem.hxx>
 #include "swtypes.hxx"
 #include "cmdid.h"
 #include "view.hxx"
@@ -32,7 +31,7 @@
 #include "web.hrc"
 
 
-// STATIC DATA -----------------------------------------------------------
+// STATIC DATA
 #define SwWebFrameShell
 #include <sfx2/msg.hxx>
 #include "swslots.hxx"
diff --git a/sw/source/ui/web/wtextsh.cxx b/sw/source/ui/web/wtextsh.cxx
index 633d6ba..d433a6e 100644
--- a/sw/source/ui/web/wtextsh.cxx
+++ b/sw/source/ui/web/wtextsh.cxx
@@ -36,8 +36,7 @@
 
 #include <unomid.h>
 
-
-// STATIC DATA -----------------------------------------------------------
+// STATIC DATA
 #define SwWebTextShell
 #define Paragraph
 #define HyphenZone
diff --git a/sw/source/ui/web/wview.cxx b/sw/source/ui/web/wview.cxx
index 707e128..072d92a 100644
--- a/sw/source/ui/web/wview.cxx
+++ b/sw/source/ui/web/wview.cxx
@@ -47,7 +47,7 @@
 #include <barcfg.hxx>
 #include <doc.hxx>
 
-// EIGENTLICH nicht moeglich !!
+// TECHNICALLY not possible !!
 #include <beziersh.hxx>
 #include <drawsh.hxx>
 #include <drwtxtsh.hxx>
@@ -104,15 +104,15 @@
 
 void SwWebView::SelectShell()
 {
-    // Entscheidung, ob UpdateTable gerufen werden muss
+    // Decision whether UpdateTable must be called
     bool bUpdateTable = false;
     const SwFrmFmt* pCurTableFmt = GetWrtShell().GetTableFmt();
     if(pCurTableFmt && pCurTableFmt != GetLastTblFrmFmt())
     {
-        bUpdateTable = true; // kann erst spaeter ausgefuehrt werden
+        bUpdateTable = true; // can only be executed later
     }
     SetLastTblFrmFmt(pCurTableFmt);
-    //SEL_TBL und SEL_TBL_CELLS koennen verodert sein!
+    //SEL_TBL and SEL_TBL_CELLS can be ored!
     int nNewSelectionType = (GetWrtShell().GetSelectionType()
                                 & ~nsSelectionType::SEL_TBL_CELLS);
 
@@ -122,7 +122,7 @@
         GetViewFrame()->GetBindings().InvalidateAll( sal_False );
         if ( _nSelectionType & nsSelectionType::SEL_OLE ||
              _nSelectionType & nsSelectionType::SEL_GRF )
-            //Fuer Grafiken und OLE kann sich natuerlich das Verb aendern!
+            //The verb may of course change for graphics and OLE!
             ImpSetVerb( nNewSelectionType );
     }
     else
@@ -132,9 +132,9 @@
 
         if( GetCurShell() )
         {
-            rDispatcher.Flush();        // alle gecachten Shells wirklich loeschen
+            rDispatcher.Flush();        // really delete all cached shells
 
-            //Zur alten Selektion merken welche Toolbar sichtbar war
+            //Additonal to the old selection remember which toolbar was visible.
             sal_Int32 nId = rDispatcher.GetObjectBarId( SFX_OBJECTBAR_OBJECT );
             if ( nId )
                 pBarCfg->SetTopToolbar( _nSelectionType, nId );
@@ -269,10 +269,10 @@
             GetEditWin().SetInputContext( aCntxt );
         }
 
-        //Zur neuen Selektion die Toolbar aktivieren, die auch beim letzten Mal
-        //aktiviert war
-        //Vorher muss ein Flush() sein, betrifft aber lt. MBA nicht das UI und ist
-        //kein Performance-Problem
+        //Additional to the selection enable the toolbar, which was
+        //activated last time
+        //Before must be a Flush(), but concerns according to MBA not the
+        //user interface and is not a performance issue.
         // TODO/LATER: maybe now the Flush() command is superfluous?!
         rDispatcher.Flush();
 
@@ -288,11 +288,11 @@
     }
     GetViewImpl()->GetUNOObject_Impl()->NotifySelChanged();
 
-    //Guenstiger Zeitpunkt fuer die Kommunikation mit OLE-Objekten?
+    //Opportune time for the communication with OLE objects?
     if ( GetDocShell()->GetDoc()->IsOLEPrtNotifyPending() )
         GetDocShell()->GetDoc()->PrtOLENotify( sal_False );
 
-    //jetzt das Tabellen-Update
+    //now the table update
     if(bUpdateTable)
         GetWrtShell().UpdateTable();
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70484c2b3e1380e611ed1456a7befccafee58f37
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matthias Freund <matti_lx@yahoo.de>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.