[Libreoffice-commits] core.git: sc/source

Laurent Balland-Poirier laurent.balland-poirier at laposte.net
Sat Feb 18 14:23:27 UTC 2017


 sc/source/core/tool/interpr1.cxx |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 22c9828f1d61af976133bf517431862126496d30
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date:   Thu Feb 16 21:48:36 2017 +0100

    Translate German comments in interpr1.cxx
    
    Change-Id: Ie9a8693af9f8bb6413c7feecf45f20d971209da7
    Reviewed-on: https://gerrit.libreoffice.org/34344
    Reviewed-by: Lukas Röllin <lsroellin at gmail.com>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
    Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index bc0407e..da43d6e 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6403,7 +6403,7 @@ void ScInterpreter::CalculateLookup(bool bHLookup)
 
     if (!pMat)
     {
-        nZIndex += nRow1;                       // Wertzeile
+        nZIndex += nRow1;                       // value row
         nSpIndex = sal::static_int_cast<SCCOL>( nSpIndex + nCol1 );     // value column
     }
 
@@ -6419,12 +6419,12 @@ void ScInterpreter::CalculateLookup(bool bHLookup)
     if ( bHLookup )
     {
         aParam.nCol2 = nCol2;
-        aParam.nRow2 = nRow1;     // nur in der ersten Zeile suchen
+        aParam.nRow2 = nRow1;     // search only in the first row
         aParam.bByRow = false;
     }
     else
     {
-        aParam.nCol2 = nCol1;     // nur in der ersten Spalte suchen
+        aParam.nCol2 = nCol1;     // search only in the first column
         aParam.nRow2 = nRow2;
         aParam.nTab  = nTab1;
     }
@@ -7891,9 +7891,9 @@ void ScInterpreter::ScCurrency()
             OUString sFormatString = pFormatter->GenerateFormat(
                                                    nIndex,
                                                    ScGlobal::eLnge,
-                                                   true,        // mit Tausenderpunkt
-                                                   false,       // nicht rot
-                                                  (sal_uInt16) fDec);// Nachkommastellen
+                                                   true,        // with thousands separator
+                                                   false,       // not red
+                                                  (sal_uInt16) fDec);// decimal places
             if (!pFormatter->GetPreviewString(sFormatString,
                                               fVal,
                                               aStr,
@@ -7945,7 +7945,7 @@ void ScInterpreter::ScFixed()
         double fDec;
         bool bThousand;
         if (nParamCount == 3)
-            bThousand = !GetBool();     // Param TRUE: keine Tausenderpunkte
+            bThousand = !GetBool();     // Param true: no thousands separator
         else
             bThousand = true;
         if (nParamCount >= 2)
@@ -7978,9 +7978,9 @@ void ScInterpreter::ScFixed()
         OUString sFormatString = pFormatter->GenerateFormat(
                                                nIndex,
                                                ScGlobal::eLnge,
-                                               bThousand,   // mit Tausenderpunkt
-                                               false,       // nicht rot
-                                               (sal_uInt16) fDec);// Nachkommastellen
+                                               bThousand,   // with thousands separator
+                                               false,       // not red
+                                               (sal_uInt16) fDec);// decimal places
         if (!pFormatter->GetPreviewString(sFormatString,
                                                   fVal,
                                                   aStr,


More information about the Libreoffice-commits mailing list