[Libreoffice-commits] core.git: include/sfx2 include/svl

Michael Weghorn m.weghorn at posteo.de
Sat Nov 22 22:55:05 PST 2014


 include/sfx2/zoomitem.hxx |   10 +++++-----
 include/svl/filerec.hxx   |   14 +++++++-------
 include/svl/mailenum.hxx  |   16 ++++++++--------
 include/svl/ownlist.hxx   |   21 +++++++++------------
 include/svl/srchitem.hxx  |   22 +++++++++++-----------
 include/svl/urlbmk.hxx    |   18 +++++++-----------
 include/svl/zformat.hxx   |    6 ++----
 7 files changed, 49 insertions(+), 58 deletions(-)

New commits:
commit 55e9fac7e642de3ee7190c3987a40a768172eb9f
Author: Michael Weghorn <m.weghorn at posteo.de>
Date:   Sat Nov 22 18:30:38 2014 +0100

    fdo#39468 translate German comments
    
    Change-Id: Ic385faed251970c0c686b099023af9efca10a121
    Reviewed-on: https://gerrit.libreoffice.org/13040
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/sfx2/zoomitem.hxx b/include/sfx2/zoomitem.hxx
index 90c5154..e086653 100644
--- a/include/sfx2/zoomitem.hxx
+++ b/include/sfx2/zoomitem.hxx
@@ -27,10 +27,10 @@
 
 enum SvxZoomType
 {
-    SVX_ZOOM_PERCENT,       // GetValue() ist kein besonderer prozentualer Wert
-    SVX_ZOOM_OPTIMAL,       // GetValue() entspricht der optimalen Gr"o\se
-    SVX_ZOOM_WHOLEPAGE,     // GetValue() entspricht der ganzen Seite
-    SVX_ZOOM_PAGEWIDTH,      // GetValue() entspricht der Seitenbreite
+    SVX_ZOOM_PERCENT,       // GetValue() is no special percentage value
+    SVX_ZOOM_OPTIMAL,       // GetValue() corresponds to the optimal size
+    SVX_ZOOM_WHOLEPAGE,     // GetValue() corresponds to the whole page
+    SVX_ZOOM_PAGEWIDTH,      // GetValue() corresponds to the page width
     SVX_ZOOM_PAGEWIDTH_NOBORDER  // GetValue() pagewidth without border
 };
 
@@ -38,7 +38,7 @@ enum SvxZoomType
 
 class SFX2_DLLPUBLIC SvxZoomItem: public SfxUInt16Item
 {
-    sal_uInt16                  nValueSet;  // erlaubte Werte (siehe #defines unten)
+    sal_uInt16                  nValueSet;  // allowed values (see #defines below)
     SvxZoomType             eType;
 
 public:
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx
index d078ad1..9bc2922 100644
--- a/include/svl/filerec.hxx
+++ b/include/svl/filerec.hxx
@@ -356,9 +356,9 @@ public:
  *  which stores its own length so that it can be skipped by
  *  older versions and readers that do not known the record type (tag).
  *
- *  It contains multipl contents of the same type (tag) and the same
+ *  It contains multiple contents of the same type (tag) and the same
  *  version, which have been identified once and for all in the
- *  header of the reacord. All contents have a length which is
+ *  header of the record. All contents have a length which is
  *  known in advance and identical.
  *
  *  To be able to guarantee forward and backwards compatibility,
@@ -397,11 +397,11 @@ public:
 class SVL_DLLPUBLIC SfxMultiFixRecordWriter: public SfxSingleRecordWriter
 {
 protected:
-    sal_uInt32          _nContentStartPos;  /*  Startposition des jeweiligen
-                                            Contents - nur bei DBG_UTIL
-                                            und f"ur Subklassen */
-    sal_uInt32          _nContentSize;      //  Gr"o\se jedes Contents
-    sal_uInt16          _nContentCount;     //  jeweilige Anzahl der Contents
+    sal_uInt32          _nContentStartPos;  /*  start position of respective
+                                            content - only with DBG_UTIL
+                                            and for subclasses */
+    sal_uInt32          _nContentSize;      //  size of each content
+    sal_uInt16          _nContentCount;     //  number of contents
 
                     SfxMultiFixRecordWriter( sal_uInt8 nRecordType,
                                              SvStream *pStream,
diff --git a/include/svl/mailenum.hxx b/include/svl/mailenum.hxx
index 70581f7..ceee806 100644
--- a/include/svl/mailenum.hxx
+++ b/include/svl/mailenum.hxx
@@ -66,16 +66,16 @@ enum MailReceiverRole
 
 enum MailAction
 {
-    MAIL_ACTION_DYING,      // Server stirbt
-    MAIL_ACTION_SEND,       // Mail wurde versendet
-    MAIL_ACTION_READ,       // Mail wurde als gelesen gekennzeichnet
-    MAIL_ACTION_REMOVED,    // Mail wurde gel"oscht
-    MAIL_ACTION_UPDATED,    // alle Mails wurden neu eingelesen
-    MAIL_ACTION_NEXT,       // Sprung zur n"achsten Mail
-    MAIL_ACTION_PREV        // Sprung zur vorherigen Mail
+    MAIL_ACTION_DYING,      // server dies
+    MAIL_ACTION_SEND,       // mail was sent
+    MAIL_ACTION_READ,       // mail was marked as read
+    MAIL_ACTION_REMOVED,    // mail was deleted
+    MAIL_ACTION_UPDATED,    // all mails were updated
+    MAIL_ACTION_NEXT,       // jump to next mail
+    MAIL_ACTION_PREV        // jump to previous mail
 };
 
-// Textformat zum Versenden von Nachrichten ------------------------------
+// text format for the sending of messages ------------------------------
 
 #define TXTFORMAT_ASCII     ((sal_uInt8)0x01)
 #define TXTFORMAT_HTML      ((sal_uInt8)0x02)
diff --git a/include/svl/ownlist.hxx b/include/svl/ownlist.hxx
index 3d1e997..fbd0123 100644
--- a/include/svl/ownlist.hxx
+++ b/include/svl/ownlist.hxx
@@ -32,12 +32,10 @@ namespace com { namespace sun { namespace star {
 
 
 class SvCommand
-/*  [Beschreibung]
-
-    Enth"alt einen String, welcher das Kommando angibt und eine weiteren
-    String, der das Argument des Kommandos bildet. W"urde solch ein
-    Kommando "uber die Kommandozeile angegeben werden, s"ahe es wie folgt
-    aus: Kommando = Argument.
+/*
+    Contains a string that defines the command and another string for the
+    command arguments. If such a command were given in the command line,
+    it would look like this: command = argument
 */
 {
     OUString aCommand;
@@ -57,12 +55,11 @@ typedef ::std::vector< SvCommand > SvCommandList_impl;
 
 
 class SVL_DLLPUBLIC SvCommandList
-/*  [Beschreibung]
-
-    Die Liste enth"alt Objekte vom Typ SvCommand. Wird ein Objekt
-    eingef"ugt, dann wird es kopiert und das neue Objekt wird
-    in die Liste gestellt.
-*/
+/*
+  The list contains objects of type SvCommand.
+  If an object is inserted, it is copied and inserted at the end
+  of the list.
+ */
 {
 private:
     SvCommandList_impl  aCommandList;
diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx
index a6edfcb..0b2ef01 100644
--- a/include/svl/srchitem.hxx
+++ b/include/svl/srchitem.hxx
@@ -55,23 +55,23 @@ class SVL_DLLPUBLIC SvxSearchItem :
 {
     com::sun::star::util::SearchOptions aSearchOpt;
 
-    SfxStyleFamily  eFamily;            // Vorlagen-Familie
+    SfxStyleFamily  eFamily;            // style family
 
-    sal_uInt16      nCommand;           // Kommando (Suchen, Alle Suchen, Ersetzen, Alle Ersetzen)
+    sal_uInt16      nCommand;           // command (Search, Search all, Replace, Replace all)
 
-    // Calc-Spezifische Daten
-    sal_uInt16      nCellType;          // Suche in Formeln/Werten/Notizen
-    sal_uInt16      nAppFlag;           // Fuer welche Applikation ist der Dialog ueberhaupt
-    bool            bRowDirection;      // Suchrichtung Zeilenweise/Spaltenweise
-    bool            bAllTables;         // in alle Tabellen suchen
+    // Calc-specific
+    sal_uInt16      nCellType;          // Search in Formulas/Values/Notes
+    sal_uInt16      nAppFlag;           // application which the dialog is for
+    bool            bRowDirection;      // search direction: row-wise/column-wise
+    bool            bAllTables;         // search in all sheets
     bool            bSearchFiltered;      // search filtered cells.
 
-    // Writer-spezifisch
+    // Writer-specific
     bool            bNotes;
 
-    bool            bBackward;          // Suche Rueckwaerts
-    bool            bPattern;           // Suche nach Vorlagen
-    bool            bContent;           // Suche im Inhalt
+    bool            bBackward;          // search backwards
+    bool            bPattern;           // search for styles
+    bool            bContent;           // search in content
     bool            bAsianOptions;      // use asian options?
 
 public:
diff --git a/include/svl/urlbmk.hxx b/include/svl/urlbmk.hxx
index b2e3771..3cdf343 100644
--- a/include/svl/urlbmk.hxx
+++ b/include/svl/urlbmk.hxx
@@ -23,18 +23,14 @@
 #include <rtl/ustring.hxx>
 
 
-
+/**
+ * This class represents a bookmark that consists of a URL and
+ * a corresponding description text.
+ *
+ * There is an own clipboard format and helper methods to copy
+ * to and from clipboard and DragServer.
+ */
 class INetBookmark
-
-/*  [Beschreibung]
-
-    Diese Klasse stellt ein Bookmark dar, welches aus einer URL und
-    einem dazuge"horigen Beschreibungstext besteht.
-
-    Es gibt ein eigenes Clipboardformat und Hilfsmethoden zum Kopieren
-    und Einf"ugen in und aus Clipboard und DragServer.
-*/
-
 {
     OUString          aUrl;
     OUString          aDescr;
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 00b1aa6..631a20b 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -140,8 +140,8 @@ public:
     const SvNumberNatNum& GetNatNum() const { return aNatNum; }
 
 private:
-    ImpSvNumberformatInfo aI;           // Hilfsstruct fuer die restlichen Infos
-    OUString sColorName;                  // color name
+    ImpSvNumberformatInfo aI;           // helper struct for remaining information
+    OUString sColorName;                // color name
     Color* pColor;                      // pointer to color of subformat
     sal_uInt16 nAnzStrings;             // count of symbols
     SvNumberNatNum aNatNum;             // DoubleByteNumber
@@ -582,8 +582,6 @@ private:
                                  sal_uInt16 j,
                                  sal_uInt16 nIx,
                                  sal_Int32 nDigCnt );
-                                    // Hilfsfunktion zum Auffuellen der Vor-
-                                    // kommazahl auch mit Tausenderpunkt
 
     // Helper function to fill in the group (AKA thousand) separators
     // or to skip additional digits


More information about the Libreoffice-commits mailing list