Translation of messages in test program

Change-Id: I8588f5bad12561b891956cde44daeb4c81f815c3
This commit is contained in:
Urs Fässler
2013-02-21 16:43:22 +01:00
committed by Caolán McNamara
parent 5495184e96
commit 40421ffc4e

View File

@@ -116,7 +116,7 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
{
try
{
fprintf( fstream, "Gelesen: %s\n", iter->c_str( ) );
fprintf( fstream, "Read: %s\n", iter->c_str( ) );
Reference< XMimeContentType > xMCntTyp = cnttypeFactory->createMimeContentType( OUString::createFromAscii( iter->c_str( ) ) );
@@ -134,15 +134,15 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
}
catch( IllegalArgumentException& ex )
{
fwprintf( fstream, OUString("Fehlerhafter Content-Type gelesen!!!\n\n") );
fwprintf( fstream, OUString("Read incorrect content type!\n\n") );
}
catch( NoSuchElementException& )
{
fwprintf( fstream, OUString("Parameterwert nicht vorhanden\n") );
fwprintf( fstream, OUString("Value of parameter not available\n") );
}
catch( ... )
{
fwprintf( fstream, OUString("Unbekannter Fehler!!!\n\n") );
fwprintf( fstream, OUString("Unknown error!\n\n") );
}
fwprintf( fstream, OUString("\n#############################################\n\n") );