[ooo-build-commit] .: basic/source

Noel Power noelp at kemper.freedesktop.org
Thu Sep 30 15:00:23 PDT 2010


 basic/source/app/basmsg.src   |   13 +++++++------
 basic/source/app/dialogs.cxx  |    4 +---
 basic/source/app/msgedit.cxx  |    4 ++--
 basic/source/app/msgedit.hxx  |    2 +-
 basic/source/app/processw.cxx |    3 +--
 basic/source/app/textedit.cxx |    8 ++++----
 6 files changed, 16 insertions(+), 18 deletions(-)

New commits:
commit f0073b4c6e9eee3ddb855a8e704e9226898b7090
Author: Andreas Mantke <maand at gmx.de>
Date:   Thu Sep 30 22:59:37 2010 +0100

    Translation of comments from German to English

diff --git a/basic/source/app/basmsg.src b/basic/source/app/basmsg.src
index af24ea9..ba96cf5 100644
--- a/basic/source/app/basmsg.src
+++ b/basic/source/app/basmsg.src
@@ -27,18 +27,19 @@
 #include "basmsg.hrc"
 
 
-// Hier sind die Messages aus dem Verzeichnis /basic/source/app enhalten
+// Here are included the messages of the folder /basic/source/app
 
 
 ///////////////////////////////
-// Fehlermeldungen, die in das Resultfile gelangen.
+// Error messages which go to the result file.
 // *********************
-// ***  !!ACHTUNG!!	 ***
+// ***  !!ATTENTION!!	 ***
 // *********************
-// Die Nummern dürfen sich NIE! ändern,
-// da sie in den Resultfiles gespeichert sind, und bei erneutem Anzeigen
-// statdessen die entsprechenden neuen oder garkeine Strings angzeigt werden.
+// The numbers must NEVER(!) change,
+// because they are saved in the result files and a renewed display
+// would display new strings or no strings.
 ///////////////////////////////
+
 String S_PROG_START
 {
     Text[ en-US ] = "Program start: ($Arg1); ($Arg2)";
diff --git a/basic/source/app/dialogs.cxx b/basic/source/app/dialogs.cxx
index 4236555..bce96c1 100644
--- a/basic/source/app/dialogs.cxx
+++ b/basic/source/app/dialogs.cxx
@@ -61,7 +61,7 @@
 #endif
 #include <svtools/ctrltool.hxx>
 
-// Ohne Includeschutz
+
 #include <svtools/svtdata.hxx>
 #include <svl/solar.hrc>
 
@@ -1199,8 +1199,6 @@ void DisplayHidDlg::AddData( WinInfoRec* pWinInfo )
 
         if ( pWinInfo->nRType & DH_MODE_DATA_VALID )	// no old office
             nDisplayMode = pWinInfo->nRType; // Is used for mode transmission while reset
-//        if ( pWinInfo->aUId.GetULONG() & DH_MODE_DATA_VALID )	// kein altes Office
-//			nDisplayMode = pWinInfo->aUId.GetULONG();	// Wird im Reset zur �bermittlung des Modus verwendet
 
         return;
     }
diff --git a/basic/source/app/msgedit.cxx b/basic/source/app/msgedit.cxx
index 0e592d8..bb22390 100644
--- a/basic/source/app/msgedit.cxx
+++ b/basic/source/app/msgedit.cxx
@@ -846,7 +846,7 @@ void TTTreeListBox::SelectHdl()
 
     SelectChildren( pHdlEntry, TRUE );
     Select( pHdlEntry, TRUE );
-//	InitMenu(pApp->GetAppMenu()->GetPopupMenu( RID_APPEDIT ));	// So daß Delete richtig ist
+//	InitMenu(pApp->GetAppMenu()->GetPopupMenu( RID_APPEDIT ));	// so that delete works correct
 }
 
 void TTTreeListBox::DeselectHdl()
@@ -953,7 +953,7 @@ void TTLBoxString::Paint( const Point& rPos, SvLBox& rDev, USHORT nFlags,
         if ( ( aFeatures & HasError ) == HasError )
             aCol = Color( 255, 130, 130 );	// Red
         else if ( ( aFeatures & HasWarning ) == HasWarning )
-            aCol = Color( 255, 200, 120 );	// Ocker oder so
+            aCol = Color( 255, 200, 120 );	// Ochre or so
         else if ( ( aFeatures & HasAssertion ) == HasAssertion )
             aCol = Color( 0xd0, 0xd0, 0xff );	// blueish
         else
diff --git a/basic/source/app/msgedit.hxx b/basic/source/app/msgedit.hxx
index 997b575..b2a6ffd 100644
--- a/basic/source/app/msgedit.hxx
+++ b/basic/source/app/msgedit.hxx
@@ -35,7 +35,7 @@
 class BasicFrame;
 class AppError;
 
-#define SelectChildren SelectChilds		// Sonst wird mir schlecht
+#define SelectChildren SelectChilds
 
 typedef USHORT TTFeatures;			// Bitfield for features of the entries
 #define HasNothing	TTFeatures(0x00)
diff --git a/basic/source/app/processw.cxx b/basic/source/app/processw.cxx
index 285c847..ae8dfe3 100644
--- a/basic/source/app/processw.cxx
+++ b/basic/source/app/processw.cxx
@@ -204,8 +204,7 @@ void ProcessWrapper::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCT,
 SbxInfo* ProcessWrapper::GetInfo( short nIdx )
 {
     Methods* p = &pMethods[ nIdx ];
-    // Wenn mal eine Hilfedatei zur Verfuegung steht:
-    // SbxInfo* pResultInfo = new SbxInfo( Hilfedateiname, p->nHelpId );
+    // In case there is a help file available:
     SbxInfo* pResultInfo = new SbxInfo;
     short nPar = p->nArgs & _ARGSMASK;
     for( short i = 0; i < nPar; i++ )
diff --git a/basic/source/app/textedit.cxx b/basic/source/app/textedit.cxx
index 89a0657..a9bcd83 100644
--- a/basic/source/app/textedit.cxx
+++ b/basic/source/app/textedit.cxx
@@ -217,7 +217,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff )
     {
         SbTextPortion& r = aPortionList[i];
 //		DBG_ASSERT( r.nStart <= r.nEnd, "Highlight: Start > End?" );
-        if ( r.nStart > r.nEnd ) 	// Nur bis Bug von MD behoben
+        if ( r.nStart > r.nEnd ) 	// Only up to the bug of MD repaired
             continue;
 
         SbTextType eType = r.eType;
@@ -247,7 +247,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff )
         }
     }
 
-        // Es muessen nur die Blanks und Tabs mit attributiert werden.
+        // Only the blanks and tabs had to be attributed.
         // If there are two equal attributes one after another,
         // they are optimized by the EditEngine.
         xub_StrLen nLastEnd = 0;
@@ -264,8 +264,8 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff )
 
             if ( r.nStart > nLastEnd )
             {
-                // Kann ich mich drauf verlassen, dass alle ausser
-                // Blank und Tab gehighlightet wird ?!
+                // can I trust that all of them except
+                // blank und tab will be highlighted?!
                 r.nStart = nLastEnd;
             }
             nLastEnd = r.nEnd+1;


More information about the ooo-build-commit mailing list