Kaydet (Commit) 1aa7f86c authored tarafından Andreas Mantke's avatar Andreas Mantke Kaydeden (comit) Noel Power

Translation of comments from German to English

üst eb532314
...@@ -27,18 +27,19 @@ ...@@ -27,18 +27,19 @@
#include "basmsg.hrc" #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 drfen sich NIE! ndern, // The numbers must NEVER(!) change,
// da sie in den Resultfiles gespeichert sind, und bei erneutem Anzeigen // because they are saved in the result files and a renewed display
// statdessen die entsprechenden neuen oder garkeine Strings angzeigt werden. // would display new strings or no strings.
/////////////////////////////// ///////////////////////////////
String S_PROG_START String S_PROG_START
{ {
Text[ en-US ] = "Program start: ($Arg1); ($Arg2)"; Text[ en-US ] = "Program start: ($Arg1); ($Arg2)";
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
#endif #endif
#include <svtools/ctrltool.hxx> #include <svtools/ctrltool.hxx>
// Ohne Includeschutz
#include <svtools/svtdata.hxx> #include <svtools/svtdata.hxx>
#include <svl/solar.hrc> #include <svl/solar.hrc>
...@@ -1199,8 +1199,6 @@ void DisplayHidDlg::AddData( WinInfoRec* pWinInfo ) ...@@ -1199,8 +1199,6 @@ void DisplayHidDlg::AddData( WinInfoRec* pWinInfo )
if ( pWinInfo->nRType & DH_MODE_DATA_VALID ) // no old office if ( pWinInfo->nRType & DH_MODE_DATA_VALID ) // no old office
nDisplayMode = pWinInfo->nRType; // Is used for mode transmission while reset 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; return;
} }
......
...@@ -846,7 +846,7 @@ void TTTreeListBox::SelectHdl() ...@@ -846,7 +846,7 @@ void TTTreeListBox::SelectHdl()
SelectChildren( pHdlEntry, TRUE ); SelectChildren( pHdlEntry, TRUE );
Select( 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() void TTTreeListBox::DeselectHdl()
...@@ -953,7 +953,7 @@ void TTLBoxString::Paint( const Point& rPos, SvLBox& rDev, USHORT nFlags, ...@@ -953,7 +953,7 @@ void TTLBoxString::Paint( const Point& rPos, SvLBox& rDev, USHORT nFlags,
if ( ( aFeatures & HasError ) == HasError ) if ( ( aFeatures & HasError ) == HasError )
aCol = Color( 255, 130, 130 ); // Red aCol = Color( 255, 130, 130 ); // Red
else if ( ( aFeatures & HasWarning ) == HasWarning ) 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 ) else if ( ( aFeatures & HasAssertion ) == HasAssertion )
aCol = Color( 0xd0, 0xd0, 0xff ); // blueish aCol = Color( 0xd0, 0xd0, 0xff ); // blueish
else else
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
class BasicFrame; class BasicFrame;
class AppError; class AppError;
#define SelectChildren SelectChilds // Sonst wird mir schlecht #define SelectChildren SelectChilds
typedef USHORT TTFeatures; // Bitfield for features of the entries typedef USHORT TTFeatures; // Bitfield for features of the entries
#define HasNothing TTFeatures(0x00) #define HasNothing TTFeatures(0x00)
......
...@@ -204,8 +204,7 @@ void ProcessWrapper::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCT, ...@@ -204,8 +204,7 @@ void ProcessWrapper::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCT,
SbxInfo* ProcessWrapper::GetInfo( short nIdx ) SbxInfo* ProcessWrapper::GetInfo( short nIdx )
{ {
Methods* p = &pMethods[ nIdx ]; Methods* p = &pMethods[ nIdx ];
// Wenn mal eine Hilfedatei zur Verfuegung steht: // In case there is a help file available:
// SbxInfo* pResultInfo = new SbxInfo( Hilfedateiname, p->nHelpId );
SbxInfo* pResultInfo = new SbxInfo; SbxInfo* pResultInfo = new SbxInfo;
short nPar = p->nArgs & _ARGSMASK; short nPar = p->nArgs & _ARGSMASK;
for( short i = 0; i < nPar; i++ ) for( short i = 0; i < nPar; i++ )
......
...@@ -217,7 +217,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff ) ...@@ -217,7 +217,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff )
{ {
SbTextPortion& r = aPortionList[i]; SbTextPortion& r = aPortionList[i];
// DBG_ASSERT( r.nStart <= r.nEnd, "Highlight: Start > End?" ); // 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; continue;
SbTextType eType = r.eType; SbTextType eType = r.eType;
...@@ -247,7 +247,7 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff ) ...@@ -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, // If there are two equal attributes one after another,
// they are optimized by the EditEngine. // they are optimized by the EditEngine.
xub_StrLen nLastEnd = 0; xub_StrLen nLastEnd = 0;
...@@ -264,8 +264,8 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff ) ...@@ -264,8 +264,8 @@ void TextEditImp::ImpDoHighlight( const String& rSource, ULONG nLineOff )
if ( r.nStart > nLastEnd ) if ( r.nStart > nLastEnd )
{ {
// Kann ich mich drauf verlassen, dass alle ausser // can I trust that all of them except
// Blank und Tab gehighlightet wird ?! // blank und tab will be highlighted?!
r.nStart = nLastEnd; r.nStart = nLastEnd;
} }
nLastEnd = r.nEnd+1; nLastEnd = r.nEnd+1;
......
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