[Libreoffice-commits] core.git: bin/find-german-comments registry/source
Michael Meeks
michael.meeks at collabora.com
Wed Sep 17 06:13:12 PDT 2014
bin/find-german-comments | 4 ++--
registry/source/keyimpl.cxx | 18 +++++++++---------
registry/source/regimpl.cxx | 6 +++---
registry/source/regimpl.hxx | 2 +-
4 files changed, 15 insertions(+), 15 deletions(-)
New commits:
commit c44b8ce27fd5df20b2c871c28cce4cd913551779
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Wed Sep 17 14:15:39 2014 +0100
Translate German comments.
Change-Id: I1d7c1fa2fffe20a0bc60cf5533b8f8c28e360a1d
diff --git a/bin/find-german-comments b/bin/find-german-comments
index dca70e3..7e48b9f 100755
--- a/bin/find-german-comments
+++ b/bin/find-german-comments
@@ -255,7 +255,7 @@ class Parser:
"cpputools" : 1,
"crashrep" : 1,
"cui" : 1,
- "dbaccess" : 0, #
+ "dbaccess" : 1,
"desktop" : 1,
"drawinglayer" : 1,
"dtrans" : 1,
@@ -294,7 +294,7 @@ class Parser:
"package" : 1,
"postprocess" : 1,
"pyuno" : 1,
- "registry" : 0, #
+ "registry" : 1,
"remotebridges" : 1,
"reportdesign" : 0, #
"rsc" : 0, #
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx
index 40f7983..b4e4786 100644
--- a/registry/source/keyimpl.cxx
+++ b/registry/source/keyimpl.cxx
@@ -381,7 +381,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL
return REG_SET_VALUE_FAILED;
}
- sal_uInt32 size = 4; // 4 Bytes (sal_uInt32) fuer die Laenge
+ sal_uInt32 size = 4; // 4 bytes (sal_uInt32) for the length
size += len * 4;
@@ -392,7 +392,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL
writeUINT32(pBuffer+VALUE_TYPEOFFSET, size);
writeUINT32(pBuffer+VALUE_HEADEROFFSET, len);
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array
for (sal_uInt32 i=0; i < len; i++)
{
@@ -440,7 +440,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu
return REG_SET_VALUE_FAILED;
}
- sal_uInt32 size = 4; // 4 Bytes (sal_uInt32) fuer die Laenge
+ sal_uInt32 size = 4; // 4 bytes (sal_uInt32) for the length
sal_uInt32 i;
for (i=0; i < len; i++)
@@ -455,7 +455,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu
writeUINT32(pBuffer+VALUE_TYPEOFFSET, size);
writeUINT32(pBuffer+VALUE_HEADEROFFSET, len);
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays;
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array;
sal_uInt32 sLen = 0;
for (i=0; i < len; i++)
@@ -508,7 +508,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p
return REG_SET_VALUE_FAILED;
}
- sal_uInt32 size = 4; // 4 Bytes (sal_uInt32) fuer die Laenge
+ sal_uInt32 size = 4; // 4 bytes (sal_uInt32) for the length
sal_uInt32 i;
for (i=0; i < len; i++)
@@ -523,7 +523,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p
writeUINT32(pBuffer+VALUE_TYPEOFFSET, size);
writeUINT32(pBuffer+VALUE_HEADEROFFSET, len);
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays;
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array;
sal_uInt32 sLen = 0;
for (i=0; i < len; i++)
@@ -747,7 +747,7 @@ RegError ORegKey::getLongListValue(const OUString& valueName, sal_Int32** pValue
*pLen = len;
sal_Int32* pVList = (sal_Int32*)rtl_allocateZeroMemory(len * sizeof(sal_Int32));
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays;
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array;
for (sal_uInt32 i = 0; i < len; i++)
{
@@ -844,7 +844,7 @@ RegError ORegKey::getStringListValue(const OUString& valueName, sal_Char*** pVal
*pLen = len;
sal_Char** pVList = (sal_Char**)rtl_allocateZeroMemory(len * sizeof(sal_Char*));
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays;
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array;
sal_uInt32 sLen = 0;
sal_Char *pValue;
@@ -950,7 +950,7 @@ RegError ORegKey::getUnicodeListValue(const OUString& valueName, sal_Unicode***
*pLen = len;
sal_Unicode** pVList = (sal_Unicode**)rtl_allocateZeroMemory(len * sizeof(sal_Unicode*));
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays;
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array;
sal_uInt32 sLen = 0;
sal_Unicode *pValue;
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index 9f07d16..7021f45 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -1569,7 +1569,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
break;
case 5:
{
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array
sal_uInt32 len = 0;
readUINT32(pBuffer, len);
@@ -1601,7 +1601,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
break;
case 6:
{
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array
sal_uInt32 sLen = 0;
sal_uInt32 len = 0;
@@ -1639,7 +1639,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
break;
case 7:
{
- sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays
+ sal_uInt32 offset = 4; // initial 4 bytes for the size of the array
sal_uInt32 sLen = 0;
sal_uInt32 len = 0;
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index ad751a1..3b306c0 100644
--- a/registry/source/regimpl.hxx
+++ b/registry/source/regimpl.hxx
@@ -43,7 +43,7 @@
#define VALUE_MODE_OPEN store_AccessReadWrite
#define VALUE_MODE_OPENREAD store_AccessReadOnly
-// 5 Bytes = 1 (Byte fuer den Typ) + 4 (Bytes fuer die Groesse der Daten)
+// 5 bytes = 1 (byte for the type) + 4 (bytes for the size of the data)
#define VALUE_HEADERSIZE 5
#define VALUE_TYPEOFFSET 1
#define VALUE_HEADEROFFSET 5
More information about the Libreoffice-commits
mailing list