Kaydet (Commit) c44b8ce2 authored tarafından Michael Meeks's avatar Michael Meeks

Translate German comments.

Change-Id: I1d7c1fa2fffe20a0bc60cf5533b8f8c28e360a1d
üst be75acef
...@@ -255,7 +255,7 @@ class Parser: ...@@ -255,7 +255,7 @@ class Parser:
"cpputools" : 1, "cpputools" : 1,
"crashrep" : 1, "crashrep" : 1,
"cui" : 1, "cui" : 1,
"dbaccess" : 0, # "dbaccess" : 1,
"desktop" : 1, "desktop" : 1,
"drawinglayer" : 1, "drawinglayer" : 1,
"dtrans" : 1, "dtrans" : 1,
...@@ -294,7 +294,7 @@ class Parser: ...@@ -294,7 +294,7 @@ class Parser:
"package" : 1, "package" : 1,
"postprocess" : 1, "postprocess" : 1,
"pyuno" : 1, "pyuno" : 1,
"registry" : 0, # "registry" : 1,
"remotebridges" : 1, "remotebridges" : 1,
"reportdesign" : 0, # "reportdesign" : 0, #
"rsc" : 0, # "rsc" : 0, #
......
...@@ -381,7 +381,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL ...@@ -381,7 +381,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL
return REG_SET_VALUE_FAILED; 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; size += len * 4;
...@@ -392,7 +392,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL ...@@ -392,7 +392,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL
writeUINT32(pBuffer+VALUE_TYPEOFFSET, size); writeUINT32(pBuffer+VALUE_TYPEOFFSET, size);
writeUINT32(pBuffer+VALUE_HEADEROFFSET, len); 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++) for (sal_uInt32 i=0; i < len; i++)
{ {
...@@ -440,7 +440,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu ...@@ -440,7 +440,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu
return REG_SET_VALUE_FAILED; 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; sal_uInt32 i;
for (i=0; i < len; i++) for (i=0; i < len; i++)
...@@ -455,7 +455,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu ...@@ -455,7 +455,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu
writeUINT32(pBuffer+VALUE_TYPEOFFSET, size); writeUINT32(pBuffer+VALUE_TYPEOFFSET, size);
writeUINT32(pBuffer+VALUE_HEADEROFFSET, len); 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; sal_uInt32 sLen = 0;
for (i=0; i < len; i++) for (i=0; i < len; i++)
...@@ -508,7 +508,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p ...@@ -508,7 +508,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p
return REG_SET_VALUE_FAILED; 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; sal_uInt32 i;
for (i=0; i < len; i++) for (i=0; i < len; i++)
...@@ -523,7 +523,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p ...@@ -523,7 +523,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p
writeUINT32(pBuffer+VALUE_TYPEOFFSET, size); writeUINT32(pBuffer+VALUE_TYPEOFFSET, size);
writeUINT32(pBuffer+VALUE_HEADEROFFSET, len); 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; sal_uInt32 sLen = 0;
for (i=0; i < len; i++) for (i=0; i < len; i++)
...@@ -747,7 +747,7 @@ RegError ORegKey::getLongListValue(const OUString& valueName, sal_Int32** pValue ...@@ -747,7 +747,7 @@ RegError ORegKey::getLongListValue(const OUString& valueName, sal_Int32** pValue
*pLen = len; *pLen = len;
sal_Int32* pVList = (sal_Int32*)rtl_allocateZeroMemory(len * sizeof(sal_Int32)); 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++) for (sal_uInt32 i = 0; i < len; i++)
{ {
...@@ -844,7 +844,7 @@ RegError ORegKey::getStringListValue(const OUString& valueName, sal_Char*** pVal ...@@ -844,7 +844,7 @@ RegError ORegKey::getStringListValue(const OUString& valueName, sal_Char*** pVal
*pLen = len; *pLen = len;
sal_Char** pVList = (sal_Char**)rtl_allocateZeroMemory(len * sizeof(sal_Char*)); 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_uInt32 sLen = 0;
sal_Char *pValue; sal_Char *pValue;
...@@ -950,7 +950,7 @@ RegError ORegKey::getUnicodeListValue(const OUString& valueName, sal_Unicode*** ...@@ -950,7 +950,7 @@ RegError ORegKey::getUnicodeListValue(const OUString& valueName, sal_Unicode***
*pLen = len; *pLen = len;
sal_Unicode** pVList = (sal_Unicode**)rtl_allocateZeroMemory(len * sizeof(sal_Unicode*)); 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_uInt32 sLen = 0;
sal_Unicode *pValue; sal_Unicode *pValue;
......
...@@ -1569,7 +1569,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ ...@@ -1569,7 +1569,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
break; break;
case 5: 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; sal_uInt32 len = 0;
readUINT32(pBuffer, len); readUINT32(pBuffer, len);
...@@ -1601,7 +1601,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ ...@@ -1601,7 +1601,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
break; break;
case 6: 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 sLen = 0;
sal_uInt32 len = 0; sal_uInt32 len = 0;
...@@ -1639,7 +1639,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ ...@@ -1639,7 +1639,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
break; break;
case 7: 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 sLen = 0;
sal_uInt32 len = 0; sal_uInt32 len = 0;
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#define VALUE_MODE_OPEN store_AccessReadWrite #define VALUE_MODE_OPEN store_AccessReadWrite
#define VALUE_MODE_OPENREAD store_AccessReadOnly #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_HEADERSIZE 5
#define VALUE_TYPEOFFSET 1 #define VALUE_TYPEOFFSET 1
#define VALUE_HEADEROFFSET 5 #define VALUE_HEADEROFFSET 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment