Kaydet (Commit) 1471103b authored tarafından Zolnai Tamás's avatar Zolnai Tamás

fdo#87754: duplicated strings in an ItemList are not translated

Change-Id: I72c6e234ff999a6dbed48cc62fe7d39aeb798f35
üst 04fa50e3
......@@ -1156,16 +1156,19 @@ void Export::MergeRest( ResData *pResData )
}
MergeEntrys* pEntrys = pMergeDataFile->GetMergeEntrysCaseSensitive( pResData );
OString sText;
bool bText = pEntrys && pEntrys->GetText( sText, STRING_TYP_TEXT, sCur, true );
if( bText && !sText.isEmpty())
if( pEntrys )
{
ConvertMergeContent( sText );
sLine =
sLine.copy( 0 , sLine.indexOf('"') ) +
sText +
sLine.copy( sLine.lastIndexOf('"') + 1 );
OString sText;
pEntrys->GetText( sText, STRING_TYP_TEXT, sCur, false );
if( !sText.isEmpty())
{
ConvertMergeContent( sText );
sLine =
sLine.copy( 0 , sLine.indexOf('"') ) +
sText +
sLine.copy( sLine.lastIndexOf('"') + 1 );
}
}
OString sText1( "\t" );
......
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