Kaydet (Commit) 3bbb934d authored tarafından Christian M. Heller's avatar Christian M. Heller Kaydeden (comit) Noel Grandin

fdo#39468 Translate German Comments - sc/cource/filter/dif

Change-Id: I1d44c2538baac9a1443118c95a2886db5098dab1
Reviewed-on: https://gerrit.libreoffice.org/11736Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst d691156d
...@@ -121,7 +121,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc, ...@@ -121,7 +121,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc,
} }
if( eTopic == T_DATA ) if( eTopic == T_DATA )
{ // Ab hier kommen die Daten { // data starts here
SCCOL nBaseCol = rInsPos.Col(); SCCOL nBaseCol = rInsPos.Col();
SCCOL nColCnt = SCCOL_MAX; SCCOL nColCnt = SCCOL_MAX;
...@@ -149,7 +149,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc, ...@@ -149,7 +149,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc,
break; break;
case D_EOD: case D_EOD:
break; break;
case D_NUMERIC: // Numbercell case D_NUMERIC: // Number cell
if( nColCnt == SCCOL_MAX ) if( nColCnt == SCCOL_MAX )
nColCnt = nBaseCol; nColCnt = nBaseCol;
...@@ -188,7 +188,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc, ...@@ -188,7 +188,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc,
nColCnt++; nColCnt++;
break; break;
case D_STRING: // Textcell case D_STRING: // Text cell
if( nColCnt == SCCOL_MAX ) if( nColCnt == SCCOL_MAX )
nColCnt = nBaseCol; nColCnt = nBaseCol;
...@@ -221,7 +221,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc, ...@@ -221,7 +221,7 @@ FltError ScFormatFilterPluginImpl::ScImportDif( SvStream& rIn, ScDocument* pDoc,
if( bSyntErrWarn ) if( bSyntErrWarn )
// ACHTUNG: Hier fehlt noch die richtige Warnung! // FIXME: Add proper Warnung!
return eERR_RNGOVRFLW; return eERR_RNGOVRFLW;
else if( bOverflowWarn ) else if( bOverflowWarn )
...@@ -369,7 +369,7 @@ TOPIC DifParser::GetNextTopic( void ) ...@@ -369,7 +369,7 @@ TOPIC DifParser::GetNextTopic( void )
break; break;
case S_Data: case S_Data:
OSL_ENSURE( aLine.getLength() >= 2, OSL_ENSURE( aLine.getLength() >= 2,
"+GetNextTopic(): <String> ist zu kurz!" ); "+GetNextTopic(): <String> is too short!" );
if( aLine.getLength() > 2 ) if( aLine.getLength() > 2 )
aData = aLine.copy( 1, aLine.getLength() - 2 ); aData = aLine.copy( 1, aLine.getLength() - 2 );
else else
...@@ -380,11 +380,11 @@ TOPIC DifParser::GetNextTopic( void ) ...@@ -380,11 +380,11 @@ TOPIC DifParser::GetNextTopic( void )
OSL_FAIL( "DifParser::GetNextTopic - unexpected state" ); OSL_FAIL( "DifParser::GetNextTopic - unexpected state" );
break; break;
case S_UNKNOWN: case S_UNKNOWN:
// 2 Zeilen ueberlesen // skip 2 lines
ReadNextLine( aLine ); ReadNextLine( aLine );
// fall-through // fall-through
case S_ERROR_L2: // Fehler in Line 2 aufgetreten case S_ERROR_L2: // Fehler in Line 2 aufgetreten
// eine Zeile ueberlesen // skip 1 line
ReadNextLine( aLine ); ReadNextLine( aLine );
eS = S_END; eS = S_END;
break; break;
...@@ -418,7 +418,7 @@ DATASET DifParser::GetNumberDataset( const sal_Unicode* pPossibleNumericData ) ...@@ -418,7 +418,7 @@ DATASET DifParser::GetNumberDataset( const sal_Unicode* pPossibleNumericData )
eRet = D_SYNT_ERROR; eRet = D_SYNT_ERROR;
} }
else else
{ // ...und zur Strafe mit'm Numberformatter... { // ...and for punishment, with number formatting...
OSL_ENSURE( pNumFormatter, "-DifParser::GetNextDataset(): No Formatter, more fun!" ); OSL_ENSURE( pNumFormatter, "-DifParser::GetNextDataset(): No Formatter, more fun!" );
OUString aTestVal( pPossibleNumericData ); OUString aTestVal( pPossibleNumericData );
sal_uInt32 nFormat = 0; sal_uInt32 nFormat = 0;
...@@ -514,7 +514,7 @@ DATASET DifParser::GetNextDataset( void ) ...@@ -514,7 +514,7 @@ DATASET DifParser::GetNextDataset( void )
} }
break; break;
case '0': // Numeric Data case '0': // Numeric Data
pAktBuffer++; // Wert in fVal, 2. Zeile in aData pAktBuffer++; // value in fVal, 2. line in aData
if( *pAktBuffer == ',' ) if( *pAktBuffer == ',' )
{ {
pAktBuffer++; pAktBuffer++;
...@@ -636,7 +636,7 @@ bool DifParser::ScanFloatVal( const sal_Unicode* pStart ) ...@@ -636,7 +636,7 @@ bool DifParser::ScanFloatVal( const sal_Unicode* pStart )
sal_Int32 nExp = 0; sal_Int32 nExp = 0;
bool bExpNeg = false; bool bExpNeg = false;
bool bExpOverflow = false; bool bExpOverflow = false;
static const sal_uInt16 nExpLimit = 4096; // ACHTUNG: muss genauer ermittelt werden! static const sal_uInt16 nExpLimit = 4096; // FIXME: has to be set more accurately!
sal_Unicode cAkt; sal_Unicode cAkt;
bool bRet = false; bool bRet = false;
...@@ -774,7 +774,7 @@ bool DifParser::ScanFloatVal( const sal_Unicode* pStart ) ...@@ -774,7 +774,7 @@ bool DifParser::ScanFloatVal( const sal_Unicode* pStart )
case S_FINDEND: case S_FINDEND:
if( IsNumberEnding( cAkt ) ) if( IsNumberEnding( cAkt ) )
{ {
bRet = true; // damit sinnvoll weitergeparst werden kann bRet = true; // to continue parsing
eS = S_END; eS = S_END;
} }
break; break;
...@@ -790,7 +790,7 @@ bool DifParser::ScanFloatVal( const sal_Unicode* pStart ) ...@@ -790,7 +790,7 @@ bool DifParser::ScanFloatVal( const sal_Unicode* pStart )
if( bRet ) if( bRet )
{ {
if( bExpOverflow ) if( bExpOverflow )
return false; // ACHTUNG: hier muss noch differenziert werden return false; // FIXME: add special cases here
if( bNeg ) if( bNeg )
fNewVal *= 1.0; fNewVal *= 1.0;
...@@ -883,7 +883,7 @@ void DifColumn::Apply( ScDocument& rDoc, const SCCOL nCol, const SCTAB nTab ) ...@@ -883,7 +883,7 @@ void DifColumn::Apply( ScDocument& rDoc, const SCCOL nCol, const SCTAB nTab )
for (boost::ptr_vector<ENTRY>::const_iterator it = aEntries.begin(); it != aEntries.end(); ++it) for (boost::ptr_vector<ENTRY>::const_iterator it = aEntries.begin(); it != aEntries.end(); ++it)
{ {
OSL_ENSURE( it->nNumFormat > 0, OSL_ENSURE( it->nNumFormat > 0,
"+DifColumn::Apply(): Numberformat darf hier nicht 0 sein!" ); "+DifColumn::Apply(): Number format must not be 0!" );
rItemSet.Put( SfxUInt32Item( ATTR_VALUE_FORMAT, it->nNumFormat ) ); rItemSet.Put( SfxUInt32Item( ATTR_VALUE_FORMAT, it->nNumFormat ) );
......
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