summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorJohnny_M <klasse@partyheld.de>2017-05-13 15:23:33 +0200
committerEike Rathke <erack@redhat.com>2017-05-15 15:27:52 +0200
commit2c3f58eff2bac36e39d81c1f8facce5ed6a1ffd2 (patch)
tree2cf0de7634391266bab6ca7724a449d83f54d768 /basic
parentSAL_WARN_IF is more appropriate here (diff)
downloadcore-2c3f58eff2bac36e39d81c1f8facce5ed6a1ffd2.tar.gz
core-2c3f58eff2bac36e39d81c1f8facce5ed6a1ffd2.zip
Translate German comments and debug strings (leftovers in dirs a... to c...)
Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "a" to "c". Change-Id: I3b0152ee78ad80a29d714cbd98bf888f31be4763 Reviewed-on: https://gerrit.libreoffice.org/37573 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx2
-rw-r--r--basic/source/comp/codegen.cxx2
-rw-r--r--basic/source/inc/filefmt.hxx4
-rw-r--r--basic/source/runtime/methods.cxx2
-rw-r--r--basic/source/runtime/runtime.cxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index aca923d8c7d5..9f74c7415172 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -2063,7 +2063,7 @@ ErrCode SbMethod::Call( SbxValue* pRet, SbxVariable* pCaller )
SAL_INFO("basic", "SbMethod::Call Have been passed a caller 0x" << pCaller );
mCaller = pCaller;
}
- // RefCount vom Modul hochzaehlen
+ // Increment the RefCount of the module
tools::SvRef<SbModule> pMod_ = static_cast<SbModule*>(GetParent());
tools::SvRef<StarBASIC> pBasic = static_cast<StarBASIC*>(pMod_->GetParent());
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index 94e1356394ba..a3acf6732b9f 100644
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -180,7 +180,7 @@ void SbiCodeGen::Save()
{
p->SetFlag( SbiImageFlags::INITCODE );
}
- // Die Entrypoints:
+ // The entry points:
for( SbiSymDef* pDef = pParser->aPublics.First(); pDef;
pDef = pParser->aPublics.Next() )
{
diff --git a/basic/source/inc/filefmt.hxx b/basic/source/inc/filefmt.hxx
index 94be6db80b39..03ef2f0dc3ab 100644
--- a/basic/source/inc/filefmt.hxx
+++ b/basic/source/inc/filefmt.hxx
@@ -156,8 +156,8 @@ enum class FileOffset {
// sal_uInt32 the record's length
// sal_uInt16 number of strings
// Data for every public:
-// sal_uInt16 1. Zeile (Sub XXX)
-// sal_uInt16 2. Zeile (End Sub)
+// sal_uInt16 1st line (Sub XXX)
+// sal_uInt16 2nd line (End Sub)
// SBX-objects:
// sal_uInt16 number of objects
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 3fd6e025a7c9..42c4a4703364 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -3647,7 +3647,7 @@ RTLFUNC(Rnd)
// Syntax: Shell("Path",[ Window-Style,[ "Params", [ bSync = sal_False ]]])
-// WindowStyles (VBA-kompatibel):
+// WindowStyles (VBA compatible):
// 2 == Minimized
// 3 == Maximized
// 10 == Full-Screen (text mode applications OS/2, WIN95, WNT)
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 526c51054513..5314e8f413c7 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -203,7 +203,7 @@ SbiRuntime::pStep0 SbiRuntime::aStep0[] = { // all opcodes without operands
SbiRuntime::pStep1 SbiRuntime::aStep1[] = { // all opcodes with one operand
&SbiRuntime::StepLOADNC, // loading a numeric constant (+ID)
&SbiRuntime::StepLOADSC, // loading a string constant (+ID)
- &SbiRuntime::StepLOADI, // Immediate Load (+Wert)
+ &SbiRuntime::StepLOADI, // Immediate Load (+value)
&SbiRuntime::StepARGN, // save a named Args in Argv (+StringID)
&SbiRuntime::StepPAD, // bring string to a definite length (+length)
// branches
@@ -2777,7 +2777,7 @@ void SbiRuntime::StepLOADSC( sal_uInt32 nOp1 )
PushVar( p );
}
-// Immediate Load (+Wert)
+// Immediate Load (+value)
void SbiRuntime::StepLOADI( sal_uInt32 nOp1 )
{