Hi
This patch is the result of a collaboration between myself and Mike Whitely.
I machine-translated some German comments using google-translate and then Mike
fixed up the results so the translations
matched the original sense of the German comments :-)
Patch is submitted under MPL/ LGPL3+, and I believe Mike has already submitted
patches and given blanket permission.
Regards, Noel Grandin
Disclaimer: http://www.peralex.com/disclaimer.html
--- a/autodoc/source/parser/cpp/all_toks.hxx
+++ b/autodoc/source/parser/cpp/all_toks.hxx
@@ -188,12 +187,12 @@ /* just for viewing:
class Tok_TypeKey : public cpp::Token // file-type-PE
class Tok_Template : public cpp::Token // file
class Tok_Namespace : public cpp::Token// file
-class Tok_Bracket : public cpp::Token // ueberall
-class Tok_Separator : public cpp::Token// ueberall
+class Tok_Bracket : public cpp::Token // everywhere
+class Tok_Separator : public cpp::Token// everywhere
class Tok_Identifier : public cpp::Token // ueberall
class Tok_NameSeparator : public cpp::Token// Type, Name
class Tok_BuiltInType : public cpp::Token // ueberall
class Tok_ConVol : public cpp::Token // class-FuVa
class Tok_StorageClass : public cpp::Token // file-type,FuVa
class Tok_OperatorFunctionName : public cpp::Token // class
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -247,7 +246,7 @@ Size(
GetOutputSizePixel() ) );
}
-// Import von baside4.cxx
+// Import of baside4.cxx
void CreateEngineForBasic( StarBASIC* pBasic );
void ModulWindow::CheckCompileBasic()
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -35,7 +34,7 @@ #include macrodlg.hxx
#include macrodlg.hrc
#include basidesh.hrc
#include basidesh.hxx
-#include baside2.hrc // ID's fuer Imagese
+#include baside2.hrc // ID's for Images
#include basobj.hxx
#include baside3.hxx
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1475,7 +1474,7 @@ // The mapping between the old and the new error codes
take place by searching
// through the table SFX_VB_ErrorTab[]. This is indeed not with good
performance,
// but it consumes much less memory than corresponding switch blocs.
// Because the conversion of error codes has not to be fast. there is no
-// binaere search by VB-Error - SFX-Error.
+// binary search by VB Error - Error SFX.
// Map back new error codes to old, Sbx-compatible
sal_uInt16 StarBASIC::GetVBErrorCode( SbError nError )
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2470,7 +2469,7 @@ }
if( !mxUnoAccess.is() )
{
-// #51475 mark an invalid objekt kennzeichnen (no mxMaterialHolder)
+// #51475 mark to indicate an invalid object (no mxMaterialHolder)
return;
}
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2700,9 +2699,9 @@ if( xNameAccess.is()
xNameAccess-hasByName( aUName2 ) )
{
Any aAny = xNameAccess-getByName( aUName2 );
-// ATTENTION: Die hier erzeugte Variable darf wegen
bei XNameAccess
-// nicht als feste Property in das Object aufgenommen
werden und
-// wird daher nirgendwo gehalten.
+// ATTENTION: The variables generated here may account
for XNameAccess
+// may not be included as a fixed property in the
Object and therefore
+// won't be kept anywhere.
// If this leads to problems, it has to be created
synthetically or
// a class SbUnoNameAccessProperty, whose existence
had to be checked
// constantly and which were if necessary thrown away
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2971,7 +2970,7 @@ SbUnoObjectRef xUnoObj = Impl_CreateUnoStruct(
aClassName );
if( !xUnoObj )
return;
-// return the objekt
+// return the object
SbxVariableRef refVar = rPar.Get(0);
refVar-PutObject( (SbUnoObject*)xUnoObj );
}
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1993,7 +1992,7 @@ SbModule::Notify( rBC, rHint );
}
-// Implementation SbJScriptModule (Basic-Modul fuer JavaScript-Sourcen)
+// Implementation SbJScriptModule (Basic module for JavaScript source code)
SbJScriptModule::SbJScriptModule( const String rName )
:SbModule( rName )
{
--- a/basic/source/inc/parser.hxx
+++ b/basic/source/inc/parser.hxx
@@ -83,7 +82,7 @@ sal_Bool bExplicit;// sal_True: OPTION
EXPLICIT
sal_Bool