diff options
author | Johnny_M <klasse@partyheld.de> | 2017-06-24 15:12:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 09:09:22 +0200 |
commit | d416a5ff59b31dd7250d392278c43f66cdb81e35 (patch) | |
tree | 31b9746d30243f29d0f3bc4c0e303be899124105 /rsc | |
parent | 97ee2bbd402c8457f4bf8fe6fd8f5f36590b963f (diff) |
Translate German comments and debug strings (leftovers in r... dirs)
Translates all (leftovers) found using a custom regex, in directories not
shown by /bin/find-german-comments and beginning with "r".
Additionally:
- Translates test strings in /registry/test/testregcpp.cxx
Change-Id: I9fda72a3d1830268c4eb83d67ee7a95e38c31c0d
Reviewed-on: https://gerrit.libreoffice.org/39210
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rsctools.hxx | 4 | ||||
-rw-r--r-- | rsc/source/parser/rscibas.cxx | 2 | ||||
-rw-r--r-- | rsc/source/prj/gui.cxx | 2 | ||||
-rw-r--r-- | rsc/source/res/rscarray.cxx | 2 | ||||
-rw-r--r-- | rsc/source/rscpp/cpp.h | 2 | ||||
-rw-r--r-- | rsc/source/rscpp/cppdef.h | 6 |
6 files changed, 10 insertions, 8 deletions
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx index c54b4a1dd4e7..dcfade4adaf7 100644 --- a/rsc/inc/rsctools.hxx +++ b/rsc/inc/rsctools.hxx @@ -30,7 +30,7 @@ class RscPtrPtr; #include <rtl/ustring.hxx> #include <osl/endian.h> -// Zeichensatz +// character set enum COMPARE { LESS = -1, EQUAL = 0, GREATER = 1 }; enum RSCBYTEORDER_TYPE { RSC_BIGENDIAN, RSC_LITTLEENDIAN, RSC_SYSTEMENDIAN }; @@ -84,7 +84,7 @@ class RscWriteRc public: RscWriteRc( RSCBYTEORDER_TYPE nOrder = RSC_SYSTEMENDIAN ); ~RscWriteRc(); - sal_uInt32 IncSize( sal_uInt32 nSize );// gibt die vorherige Groesse + sal_uInt32 IncSize( sal_uInt32 nSize ); // gives the previous size void * GetBuffer() { return GetPointer( 0 ); diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx index 4ad3c6b522b0..556563b76512 100644 --- a/rsc/source/parser/rscibas.cxx +++ b/rsc/source/parser/rscibas.cxx @@ -187,7 +187,7 @@ RscTupel * RscTypCont::InitStringLongTupel() RscTop * pTupel; Atom nId; - // Clientvariablen einfuegen + // insert client variables pTupel = new RscTupel( pHS->getID( "CharsLongTupel" ), RSC_NOTYPE ); nId = aNmTb.Put( "ItemText", VARNAME ); pTupel->SetVariable( nId, &aString ); diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx index 10b3565dcaac..323bc5728cc0 100644 --- a/rsc/source/prj/gui.cxx +++ b/rsc/source/prj/gui.cxx @@ -63,7 +63,7 @@ int rsc2_main( int argc, char **argv ) aError = pCompiler->Start(); } - delete pHS; // wird durch InitRscCompiler erzeugt + delete pHS; // is generated by InitRscCompiler if( aError.IsOk() ) return 0; diff --git a/rsc/source/res/rscarray.cxx b/rsc/source/res/rscarray.cxx index 08dd08d4b8cc..ba5f8fe16cbc 100644 --- a/rsc/source/res/rscarray.cxx +++ b/rsc/source/res/rscarray.cxx @@ -129,7 +129,7 @@ void RscArray::Destroy( const RSCINST & rInst ) pClassData = reinterpret_cast<RscArrayInst *>(rInst.pData + nOffInstData); - //Baum rekursiv loeschen + // delete the tree recursively ::Destroy( pClassData->pNode ); } diff --git a/rsc/source/rscpp/cpp.h b/rsc/source/rscpp/cpp.h index 11524ecfb4be..4dcf1c89abd9 100644 --- a/rsc/source/rscpp/cpp.h +++ b/rsc/source/rscpp/cpp.h @@ -245,7 +245,7 @@ extern SIZES size_table[]; /* For #if sizeof sizes */ #ifndef _NO_PROTO int rscpp_main( int argc, char **argv ); #endif -#define MAIN rscpp_main /* fuer die cpp.lib muss main() geandert werden */ +#define MAIN rscpp_main /* main() needs to be changed for the cpp.lib */ #else #ifdef _WIN32 #define MAIN __cdecl main diff --git a/rsc/source/rscpp/cppdef.h b/rsc/source/rscpp/cppdef.h index ffbb57c567c0..32d35a87d252 100644 --- a/rsc/source/rscpp/cppdef.h +++ b/rsc/source/rscpp/cppdef.h @@ -151,8 +151,10 @@ #else #define PAR_MAC (31 + 1) #endif -/* NWORK wg. grooossen Makros in *.src erhoeht, - da wir bald 10 Sprachen haben werden gleich ordentlich reingehauen.. */ +/* + * NWORK increased due to large macros in *.src, + * added a proper bunch right away, because we are soon going to have 10 languages. + */ #define NWORK 128000 #define NBUFF NWORK #define NFWORK 1024 |